From: Michel Dänzer Date: Tue, 21 Aug 2012 10:51:18 +0000 (+0200) Subject: radeon/llvm: Match fexp2 for SI. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3144821ef6543675a504088197af53af4b88f851;p=mesa.git radeon/llvm: Match fexp2 for SI. Signed-off-by: Michel Dänzer Reviewed-by: Alex Deucher Reviewed-by: Tom Stellard --- diff --git a/src/gallium/drivers/radeon/SIInstructions.td b/src/gallium/drivers/radeon/SIInstructions.td index 286819638a8..8f9de525340 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", []>;