[llvm-commits] [llvm] r59344 - /llvm/trunk/lib/Target/ARM/ARMInstrVFP.td
Evan Cheng
evan.cheng at apple.com
Fri Nov 14 16:40:58 PST 2008
Author: evancheng
Date: Fri Nov 14 18:40:57 2008
New Revision: 59344
URL: http://llvm.org/viewvc/llvm-project?rev=59344&view=rev
Log:
Fix fuitos encoding.
Modified:
llvm/trunk/lib/Target/ARM/ARMInstrVFP.td
Modified: llvm/trunk/lib/Target/ARM/ARMInstrVFP.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrVFP.td?rev=59344&r1=59343&r2=59344&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrVFP.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrVFP.td Fri Nov 14 18:40:57 2008
@@ -253,26 +253,22 @@
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.
More information about the llvm-commits
mailing list