diff options
author | Michel Dänzer <[email protected]> | 2012-08-21 12:51:18 +0200 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2012-09-07 12:16:32 +0200 |
commit | 3144821ef6543675a504088197af53af4b88f851 (patch) | |
tree | e378157e2320eacad5de0ac7fb1743a87f1c3f6e /src | |
parent | 043f66204b1a190e18747c3befa8826c82dd87a7 (diff) |
radeon/llvm: Match fexp2 for SI.
Signed-off-by: Michel Dänzer <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | 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 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", []>; |