summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/SIInstrFormats.td
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-05-24 09:28:44 -0400
committerTom Stellard <[email protected]>2012-05-24 14:12:32 -0400
commitd088da917bb3495491b9a5da5ca1716ddd91ddd5 (patch)
tree04e6db13a10f4eea63067429781fcb398cc0d915 /src/gallium/drivers/radeon/SIInstrFormats.td
parent662ccbfc21a650e0a52f6d293fa33f9e23e654c6 (diff)
radeon/llvm: Remove auto-generated AMDIL->ISA conversion code
Diffstat (limited to 'src/gallium/drivers/radeon/SIInstrFormats.td')
-rw-r--r--src/gallium/drivers/radeon/SIInstrFormats.td26
1 files changed, 8 insertions, 18 deletions
diff --git a/src/gallium/drivers/radeon/SIInstrFormats.td b/src/gallium/drivers/radeon/SIInstrFormats.td
index de0d4fa39d2..ac8465cdf52 100644
--- a/src/gallium/drivers/radeon/SIInstrFormats.td
+++ b/src/gallium/drivers/radeon/SIInstrFormats.td
@@ -47,16 +47,10 @@ class VOP1_Helper <bits<8> op, RegisterClass vrc, RegisterClass arc,
op, (outs vrc:$dst), (ins arc:$src0), opName, pattern
>;
-multiclass VOP1_32 <bits<8> op, string opName, list<dag> pattern,
- bits<16> amdil = AMDILInst.NONE> {
-
- let AMDILOp = amdil in {
- def _e32: VOP1_Helper <op, VReg_32, AllReg_32, opName, pattern>;
- }
-
- def _e64 : VOP3_32 <
- {1, 1, op{6}, op{5}, op{4}, op{3}, op{2}, op{1}, op{0}},
- opName, []
+multiclass VOP1_32 <bits<8> op, string opName, list<dag> pattern> {
+ def _e32: VOP1_Helper <op, VReg_32, AllReg_32, opName, pattern>;
+ def _e64 : VOP3_32 <{1, 1, op{6}, op{5}, op{4}, op{3}, op{2}, op{1}, op{0}},
+ opName, []
>;
}
@@ -76,16 +70,12 @@ class VOP2_Helper <bits<6> op, RegisterClass vrc, RegisterClass arc,
op, (outs vrc:$dst), (ins arc:$src0, vrc:$src1), opName, pattern
>;
-multiclass VOP2_32 <bits<6> op, string opName, list<dag> pattern,
- bits<16> amdil = AMDILInst.NONE> {
+multiclass VOP2_32 <bits<6> op, string opName, list<dag> pattern> {
- let AMDILOp = amdil in {
- def _e32 : VOP2_Helper <op, VReg_32, AllReg_32, opName, pattern>;
- }
+ def _e32 : VOP2_Helper <op, VReg_32, AllReg_32, opName, pattern>;
- def _e64 : VOP3_32 <
- {1, 0, 0, op{5}, op{4}, op{3}, op{2}, op{1}, op{0}},
- opName, []
+ def _e64 : VOP3_32 <{1, 0, 0, op{5}, op{4}, op{3}, op{2}, op{1}, op{0}},
+ opName, []
>;
}