aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/SIInstructions.td
diff options
context:
space:
mode:
authorThomas Stellard <[email protected]>2012-06-07 19:33:24 +0200
committerMichel Dänzer <[email protected]>2012-06-12 18:48:16 +0200
commit4c418cf1a37f824676bcc0454fcc4cf6916e0fdd (patch)
tree9534d9d845bee568810d13700c953853d19ee0dd /src/gallium/drivers/radeon/SIInstructions.td
parent4c4ef9c29acf4f1f40aa3c5d268322efd26c1786 (diff)
radeonsi: Handle SUB_f32.
Signed-off-by: Thomas Stellard <[email protected]> Signed-off-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/SIInstructions.td')
-rw-r--r--src/gallium/drivers/radeon/SIInstructions.td4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/SIInstructions.td b/src/gallium/drivers/radeon/SIInstructions.td
index 8fd0c4933fd..a96d7839fba 100644
--- a/src/gallium/drivers/radeon/SIInstructions.td
+++ b/src/gallium/drivers/radeon/SIInstructions.td
@@ -602,7 +602,9 @@ defm V_ADD_F32 : VOP2_32 <
[(set VReg_32:$dst, (fadd AllReg_32:$src0, VReg_32:$src1))]
>;
-defm V_SUB_F32 : VOP2_32 <0x00000004, "V_SUB_F32", []>;
+defm V_SUB_F32 : VOP2_32 <0x00000004, "V_SUB_F32",
+ [(set VReg_32:$dst, (fsub AllReg_32:$src0, VReg_32:$src1))]
+>;
defm V_SUBREV_F32 : VOP2_32 <0x00000005, "V_SUBREV_F32", []>;
defm V_MAC_LEGACY_F32 : VOP2_32 <0x00000006, "V_MAC_LEGACY_F32", []>;
defm V_MUL_LEGACY_F32 : VOP2_32 <