diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2010-02-11 18:47:03 +0000 |
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2010-02-11 18:47:03 +0000 |
| commit | 3964059a1666d1cd1fd4d19c317357b70514da85 (patch) | |
| tree | e8e612a6dafe6f56ae5a4f406bfa69efa577ae32 | |
| parent | 177ced39537286337e965a7d6709bf1d17860b1c (diff) | |
| download | bcm5719-llvm-3964059a1666d1cd1fd4d19c317357b70514da85.tar.gz bcm5719-llvm-3964059a1666d1cd1fd4d19c317357b70514da85.zip | |
Forgot to also check in this file for vcvt (floating-point <-> fixed-point, VFP).
Sorry!
llvm-svn: 95892
| -rw-r--r-- | llvm/lib/Target/ARM/ARMInstrFormats.td | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrFormats.td b/llvm/lib/Target/ARM/ARMInstrFormats.td index 169eeed5258..8ad7c092b7c 100644 --- a/llvm/lib/Target/ARM/ARMInstrFormats.td +++ b/llvm/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, |

