Mesa (master): radeon/llvm: Match fexp2 for SI.
Michel Dänzer
daenzer at kemper.freedesktop.org
Fri Sep 7 14:12:58 UTC 2012
Module: Mesa
Branch: master
Commit: 3144821ef6543675a504088197af53af4b88f851
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3144821ef6543675a504088197af53af4b88f851
Author: Michel Dänzer <michel.daenzer at amd.com>
Date: Tue Aug 21 12:51:18 2012 +0200
radeon/llvm: Match fexp2 for SI.
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
---
src/gallium/drivers/radeon/SIInstructions.td | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/gallium/drivers/radeon/SIInstructions.td b/src/gallium/drivers/radeon/SIInstructions.td
index 2868196..8f9de52 100644
--- a/src/gallium/drivers/radeon/SIInstructions.td
+++ b/src/gallium/drivers/radeon/SIInstructions.td
@@ -529,7 +529,9 @@ defm V_TRUNC_F32 : VOP1_32 <0x00000021, "V_TRUNC_F32", []>;
defm V_CEIL_F32 : VOP1_32 <0x00000022, "V_CEIL_F32", []>;
defm V_RNDNE_F32 : VOP1_32 <0x00000023, "V_RNDNE_F32", []>;
defm V_FLOOR_F32 : VOP1_32 <0x00000024, "V_FLOOR_F32", []>;
-defm V_EXP_F32 : VOP1_32 <0x00000025, "V_EXP_F32", []>;
+defm V_EXP_F32 : VOP1_32 <0x00000025, "V_EXP_F32",
+ [(set VReg_32:$dst, (fexp2 AllReg_32:$src0))]
+>;
defm V_LOG_CLAMP_F32 : VOP1_32 <0x00000026, "V_LOG_CLAMP_F32", []>;
defm V_LOG_F32 : VOP1_32 <0x00000027, "V_LOG_F32", []>;
defm V_RCP_CLAMP_F32 : VOP1_32 <0x00000028, "V_RCP_CLAMP_F32", []>;
More information about the mesa-commit
mailing list