diff options
author | Chris Lattner <sabre@nondot.org> | 2005-12-16 06:25:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-12-16 06:25:42 +0000 |
commit | 96b84beb77d5209d2d5db4db9a6dc07461de2f7e (patch) | |
tree | 285ddfc626c3cf88033263790c8f816447e2b314 /lib/Target/Sparc/SparcInstrFormats.td | |
parent | 504640333dce1370a69e85fc5549bce78ae1e855 (diff) | |
download | external_llvm-96b84beb77d5209d2d5db4db9a6dc07461de2f7e.zip external_llvm-96b84beb77d5209d2d5db4db9a6dc07461de2f7e.tar.gz external_llvm-96b84beb77d5209d2d5db4db9a6dc07461de2f7e.tar.bz2 |
Add operand info for F3_[12] instructions, getting V8 back to basic functionality.
With this, Regression/CodeGen/SparcV8/basictest.ll now passes. Lets hear it
for regression tests :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24738 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc/SparcInstrFormats.td')
-rw-r--r-- | lib/Target/Sparc/SparcInstrFormats.td | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/Target/Sparc/SparcInstrFormats.td b/lib/Target/Sparc/SparcInstrFormats.td index 14c10fb..752c59f 100644 --- a/lib/Target/Sparc/SparcInstrFormats.td +++ b/lib/Target/Sparc/SparcInstrFormats.td @@ -58,10 +58,12 @@ class F3 : InstV8 { // Specific F3 classes: SparcV8 manual, page 44 // -class F3_1<bits<2> opVal, bits<6> op3val, string name> : F3 { +class F3_1<bits<2> opVal, bits<6> op3val, dag ops, string name> : F3 { bits<8> asi = 0; // asi not currently used in SparcV8 bits<5> rs2; + dag OperandList = ops; + let op = opVal; let op3 = op3val; let Name = name; @@ -71,9 +73,11 @@ class F3_1<bits<2> opVal, bits<6> op3val, string name> : F3 { let Inst{4-0} = rs2; } -class F3_2<bits<2> opVal, bits<6> op3val, string name> : F3 { +class F3_2<bits<2> opVal, bits<6> op3val, dag ops, string name> : F3 { bits<13> simm13; + dag OperandList = ops; + let op = opVal; let op3 = op3val; let Name = name; |