diff options
| author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 14:25:12 +0000 |
|---|---|---|
| committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 14:25:12 +0000 |
| commit | 1ae8098144dc1475453f65c32700a7e061de6b4d (patch) | |
| tree | 26f1eb2f6f32d598470b5d53aac4d58eea8fe73d /llvm/lib/Target | |
| parent | 35a5d6f7ca3d4f991aa36096fa435338db496a23 (diff) | |
| download | bcm5719-llvm-1ae8098144dc1475453f65c32700a7e061de6b4d.tar.gz bcm5719-llvm-1ae8098144dc1475453f65c32700a7e061de6b4d.zip | |
Emit proper rounding mode for fp_to_sint
llvm-svn: 76037
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/SystemZ/SystemZInstrFP.td | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZInstrFP.td b/llvm/lib/Target/SystemZ/SystemZInstrFP.td index 390104cf590..9e367fe43a5 100644 --- a/llvm/lib/Target/SystemZ/SystemZInstrFP.td +++ b/llvm/lib/Target/SystemZ/SystemZInstrFP.td @@ -277,20 +277,20 @@ def FCONVFP64 : Pseudo<(outs FP64:$dst), (ins GR64:$src), (implicit PSW)]>; def FCONVGR32 : Pseudo<(outs GR32:$dst), (ins FP32:$src), - "cfebr\t{$dst, $src}", + "cfebr\t{$dst, 5, $src}", [(set GR32:$dst, (fp_to_sint FP32:$src)), (implicit PSW)]>; def FCONVGR32r64: Pseudo<(outs GR32:$dst), (ins FP64:$src), - "cgebr\t{$dst, $src}", + "cgebr\t{$dst, 5, $src}", [(set GR32:$dst, (fp_to_sint FP64:$src)), (implicit PSW)]>; def FCONVGR64r32: Pseudo<(outs GR64:$dst), (ins FP32:$src), - "cfdbr\t{$dst, $src}", + "cfdbr\t{$dst, 5, $src}", [(set GR64:$dst, (fp_to_sint FP32:$src)), (implicit PSW)]>; def FCONVGR64 : Pseudo<(outs GR64:$dst), (ins FP64:$src), - "cgdbr\t{$dst, $src}", + "cgdbr\t{$dst, 5, $src}", [(set GR64:$dst, (fp_to_sint FP64:$src)), (implicit PSW)]>; } // Defs = [PSW] |

