aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/SystemZ/SystemZInstrFP.td
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 14:20:39 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 14:20:39 +0000
commit6030b05dcde066c29bb4b716d95278b4369703a7 (patch)
tree87410dc4b7b01aa9f371f616f8b1d3d14b0f88e5 /lib/Target/SystemZ/SystemZInstrFP.td
parent3b6124ecca3109bff22142d087ee45a7f956d4f8 (diff)
downloadexternal_llvm-6030b05dcde066c29bb4b716d95278b4369703a7.zip
external_llvm-6030b05dcde066c29bb4b716d95278b4369703a7.tar.gz
external_llvm-6030b05dcde066c29bb4b716d95278b4369703a7.tar.bz2
More sint_to_fp stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76020 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/SystemZInstrFP.td')
-rw-r--r--lib/Target/SystemZ/SystemZInstrFP.td7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Target/SystemZ/SystemZInstrFP.td b/lib/Target/SystemZ/SystemZInstrFP.td
index da74497..05f9f81 100644
--- 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}",