projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7aa03ac
)
More sint_to_fp stuff
author
Anton Korobeynikov
<asl@math.spbu.ru>
Thu, 16 Jul 2009 14:20:39 +0000
(14:20 +0000)
committer
Anton Korobeynikov
<asl@math.spbu.ru>
Thu, 16 Jul 2009 14:20:39 +0000
(14:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76020
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/SystemZ/SystemZInstrFP.td
patch
|
blob
|
history
diff --git
a/lib/Target/SystemZ/SystemZInstrFP.td
b/lib/Target/SystemZ/SystemZInstrFP.td
index da744971cd77f56d7eb3100441aff88cda26c16f..05f9f81464107ca5c2ca674aae676ebc0bcf757b 100644
(file)
--- a/
lib/Target/SystemZ/SystemZInstrFP.td
+++ b/
lib/Target/SystemZ/SystemZInstrFP.td
@@
-128,6
+128,13
@@
def FROUND64r32 : Pseudo<(outs FP32:$dst), (ins FP64:$src),
def FCONVFP32 : Pseudo<(outs FP32:$dst), (ins GR32:$src),
"cefbr\t{$dst, $src}",
[(set FP32:$dst, (sint_to_fp GR32:$src))]>;
+def FCONVFP32r64: Pseudo<(outs FP32:$dst), (ins GR64:$src),
+ "cegbr\t{$dst, $src}",
+ [(set FP32:$dst, (sint_to_fp GR64:$src))]>;
+
+def FCONVFP64r32: Pseudo<(outs FP64:$dst), (ins GR32:$src),
+ "cdfbr\t{$dst, $src}",
+ [(set FP64:$dst, (sint_to_fp GR32:$src))]>;
def FCONVFP64 : Pseudo<(outs FP64:$dst), (ins GR64:$src),
"cdgbr\t{$dst, $src}",