[llvm-commits] [llvm] r95892 - /llvm/trunk/lib/Target/ARM/ARMInstrFormats.td
Johnny Chen
johnny.chen at apple.com
Thu Feb 11 10:47:04 PST 2010
Author: johnny
Date: Thu Feb 11 12:47:03 2010
New Revision: 95892
URL: http://llvm.org/viewvc/llvm-project?rev=95892&view=rev
Log:
Forgot to also check in this file for vcvt (floating-point <-> fixed-point, VFP).
Sorry!
Modified:
llvm/trunk/lib/Target/ARM/ARMInstrFormats.td
Modified: llvm/trunk/lib/Target/ARM/ARMInstrFormats.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrFormats.td?rev=95892&r1=95891&r2=95892&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrFormats.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrFormats.td Thu Feb 11 12:47:03 2010
@@ -1324,6 +1324,15 @@
let Inst{4} = 0;
}
+// VFP conversion between floating-point and fixed-point
+class AVConv1XI<bits<5> op1, bits<2> op2, bits<4> op3, bits<4> op4, bit op5,
+ dag oops, dag iops, InstrItinClass itin, string opc, string asm,
+ list<dag> pattern>
+ : AVConv1I<op1, op2, op3, op4, oops, iops, itin, opc, asm, pattern> {
+ // size (fixed-point number): sx == 0 ? 16 : 32
+ let Inst{7} = op5; // sx
+}
+
// VFP conversion instructions, if no NEON
class AVConv1In<bits<5> opcod1, bits<2> opcod2, bits<4> opcod3, bits<4> opcod4,
dag oops, dag iops, InstrItinClass itin,
More information about the llvm-commits
mailing list