diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-11-15 00:40:57 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-11-15 00:40:57 +0000 |
commit | bd05c5ff3268bfc5533ec6f8a04ff7ff89a4eabc (patch) | |
tree | dd7e1145ddc2d632cd282ac9b27eb35020c66c49 | |
parent | 7893971cb10d33c82d099eff08a0c6cd2bbb27bc (diff) | |
download | external_llvm-bd05c5ff3268bfc5533ec6f8a04ff7ff89a4eabc.zip external_llvm-bd05c5ff3268bfc5533ec6f8a04ff7ff89a4eabc.tar.gz external_llvm-bd05c5ff3268bfc5533ec6f8a04ff7ff89a4eabc.tar.bz2 |
Fix fuitos encoding.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59344 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/ARM/ARMInstrVFP.td | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/Target/ARM/ARMInstrVFP.td b/lib/Target/ARM/ARMInstrVFP.td index 16518f5..1391dff 100644 --- a/lib/Target/ARM/ARMInstrVFP.td +++ b/lib/Target/ARM/ARMInstrVFP.td @@ -253,26 +253,22 @@ def FMDRR : AVConv5I<0b11000100, 0b1011, (outs DPR:$dst), (ins GPR:$src1, GPR:$s def FSITOD : AVConv1I<0b11101011, 0b1000, 0b1011, (outs DPR:$dst), (ins SPR:$a), "fsitod", " $dst, $a", [(set DPR:$dst, (arm_sitof SPR:$a))]> { - let Inst{7} = 1; // Z bit + let Inst{7} = 1; } def FSITOS : AVConv1I<0b11101011, 0b1000, 0b1010, (outs SPR:$dst), (ins SPR:$a), "fsitos", " $dst, $a", [(set SPR:$dst, (arm_sitof SPR:$a))]> { - let Inst{7} = 1; // Z bit + let Inst{7} = 1; } def FUITOD : AVConv1I<0b11101011, 0b1000, 0b1011, (outs DPR:$dst), (ins SPR:$a), "fuitod", " $dst, $a", - [(set DPR:$dst, (arm_uitof SPR:$a))]> { - let Inst{7} = 0; // Z bit -} + [(set DPR:$dst, (arm_uitof SPR:$a))]>; def FUITOS : AVConv1I<0b11101011, 0b1000, 0b1010, (outs SPR:$dst), (ins SPR:$a), "fuitos", " $dst, $a", - [(set SPR:$dst, (arm_uitof SPR:$a))]> { - let Inst{7} = 1; // Z bit -} + [(set SPR:$dst, (arm_uitof SPR:$a))]>; // FP to Int: // Always set Z bit in the instruction, i.e. "round towards zero" variants. |