aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-02-11 18:47:03 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-02-11 18:47:03 +0000
commit811663f799ce1af18ef704fab14afc02ac94b652 (patch)
tree0701bd0f435f7f81351c90e9d20db0b1717a4855 /lib
parent39c7a198ea0e10ec258c7df6bba25d4bcaf0792c (diff)
downloadexternal_llvm-811663f799ce1af18ef704fab14afc02ac94b652.zip
external_llvm-811663f799ce1af18ef704fab14afc02ac94b652.tar.gz
external_llvm-811663f799ce1af18ef704fab14afc02ac94b652.tar.bz2
Forgot to also check in this file for vcvt (floating-point <-> fixed-point, VFP).
Sorry! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95892 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/ARM/ARMInstrFormats.td9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMInstrFormats.td b/lib/Target/ARM/ARMInstrFormats.td
index 169eeed..8ad7c09 100644
--- a/lib/Target/ARM/ARMInstrFormats.td
+++ b/lib/Target/ARM/ARMInstrFormats.td
@@ -1324,6 +1324,15 @@ class AVConv1I<bits<5> opcod1, bits<2> opcod2, bits<4> opcod3, bits<4> opcod4,
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,