diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 14:20:39 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 14:20:39 +0000 |
commit | 1d0ec0b4fc948f437b3ffbbf4b7c47ca5cd971fd (patch) | |
tree | 87410dc4b7b01aa9f371f616f8b1d3d14b0f88e5 | |
parent | 7aa03ac8271689e6ceae3afd6d63463bd6a70088 (diff) |
More sint_to_fp stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76020 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/SystemZ/SystemZInstrFP.td | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Target/SystemZ/SystemZInstrFP.td b/lib/Target/SystemZ/SystemZInstrFP.td index da744971cd..05f9f81464 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}", |