From: Anton Korobeynikov Date: Thu, 16 Jul 2009 14:20:39 +0000 (+0000) Subject: More sint_to_fp stuff X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=1d0ec0b4fc948f437b3ffbbf4b7c47ca5cd971fd;p=oota-llvm.git More sint_to_fp stuff git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76020 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/SystemZ/SystemZInstrFP.td b/lib/Target/SystemZ/SystemZInstrFP.td index da744971cd7..05f9f814641 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}",