diff options
author | David Goodwin <david_goodwin@apple.com> | 2009-08-04 20:39:05 +0000 |
---|---|---|
committer | David Goodwin <david_goodwin@apple.com> | 2009-08-04 20:39:05 +0000 |
commit | bc7c05eba593dc873637ba6b42afe4fb153c8ff0 (patch) | |
tree | b041842c5f5c4d02a530e5a49aff380bd4880734 /lib/Target/ARM/ARMInstrFormats.td | |
parent | 815c7aba99c80f463d4ffc3d7de30efd0c973965 (diff) | |
download | external_llvm-bc7c05eba593dc873637ba6b42afe4fb153c8ff0.zip external_llvm-bc7c05eba593dc873637ba6b42afe4fb153c8ff0.tar.gz external_llvm-bc7c05eba593dc873637ba6b42afe4fb153c8ff0.tar.bz2 |
Add NEON single-precision FP support for fabs and fneg.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78101 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMInstrFormats.td')
-rw-r--r-- | lib/Target/ARM/ARMInstrFormats.td | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMInstrFormats.td b/lib/Target/ARM/ARMInstrFormats.td index de2bb78..ce39a3f 100644 --- a/lib/Target/ARM/ARMInstrFormats.td +++ b/lib/Target/ARM/ARMInstrFormats.td @@ -1071,6 +1071,14 @@ class ASuI<bits<8> opcod1, bits<4> opcod2, bits<4> opcod3, dag oops, dag iops, let Inst{7-4} = opcod3; } +// Single precision, unary if no NEON +// Same as ASuI except not available if NEON is enabled +class ASuIn<bits<8> opcod1, bits<4> opcod2, bits<4> opcod3, dag oops, dag iops, + string opc, string asm, list<dag> pattern> + : ASuI<opcod1, opcod2, opcod2, oops, iops, opc, asm, pattern> { + list<Predicate> Predicates = [HasVFP2,DontUseNEONForFP]; +} + // Single precision, binary class ASbI<bits<8> opcod, dag oops, dag iops, string opc, string asm, list<dag> pattern> |