diff options
author | Chris Lattner <sabre@nondot.org> | 2005-12-17 06:32:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-12-17 06:32:52 +0000 |
commit | dc6938ac23f49c35ac551b6f5541e926a357de1b (patch) | |
tree | d6a0bf8a205ee2151776ac32dc540c8751a9ee81 /lib/Target/Sparc/SparcInstrFormats.td | |
parent | 45f37bc5275762ea61d680a040fa36f06468ffc7 (diff) | |
download | llvm-dc6938ac23f49c35ac551b6f5541e926a357de1b.tar.gz llvm-dc6938ac23f49c35ac551b6f5541e926a357de1b.tar.bz2 llvm-dc6938ac23f49c35ac551b6f5541e926a357de1b.tar.xz |
convert FP instructions to use an asmstring and operand list, allowing FP
programs to work on V8 again
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24761 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc/SparcInstrFormats.td')
-rw-r--r-- | lib/Target/Sparc/SparcInstrFormats.td | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/Target/Sparc/SparcInstrFormats.td b/lib/Target/Sparc/SparcInstrFormats.td index d2ed82ebba..4961d23063 100644 --- a/lib/Target/Sparc/SparcInstrFormats.td +++ b/lib/Target/Sparc/SparcInstrFormats.td @@ -89,12 +89,15 @@ class F3_2<bits<2> opVal, bits<6> op3val, dag ops, string asmstr> : F3 { } // floating-point -class F3_3<bits<2> opVal, bits<6> op3val, bits<9> opfval, string name> : F3 { +class F3_3<bits<2> opVal, bits<6> op3val, bits<9> opfval, dag ops, + string asmstr> : F3 { bits<5> rs2; + dag OperandList = ops; + let AsmString = asmstr; + let op = opVal; let op3 = op3val; - let Name = name; let Inst{13-5} = opfval; // fp opcode let Inst{4-0} = rs2; |