summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-11-15 00:40:57 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-11-15 00:40:57 +0000
commit9c205bf03cddf12e476b9c2ac328735193f1679c (patch)
tree300699380ca377015caa538d445d431921bb115e /llvm
parent519a223056e0340e81485a87971394ae5c5ebf42 (diff)
downloadbcm5719-llvm-9c205bf03cddf12e476b9c2ac328735193f1679c.tar.gz
bcm5719-llvm-9c205bf03cddf12e476b9c2ac328735193f1679c.zip
Fix fuitos encoding.
llvm-svn: 59344
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Target/ARM/ARMInstrVFP.td12
1 files changed, 4 insertions, 8 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrVFP.td b/llvm/lib/Target/ARM/ARMInstrVFP.td
index 16518f5ce48..1391dffceee 100644
--- a/llvm/lib/Target/ARM/ARMInstrVFP.td
+++ b/llvm/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.
OpenPOWER on IntegriCloud