diff options
author | Christian König <[email protected]> | 2012-09-14 16:32:43 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2012-09-14 17:03:24 +0200 |
commit | fb541662ebab5297e0e926f76ef5aacd8552b18e (patch) | |
tree | 784cf972559d652d1b2a1f7c7d1494ca18c578e9 /src/gallium | |
parent | fac7031a04a581c377140320bedd4cdcaa9baa9b (diff) |
radeon/llvm: Support frint on SI
Gets VDPAUs shaders working again.
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Tom Stellard <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium')
-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 05665629428..4d907e84656 100644 --- a/src/gallium/drivers/radeon/SIInstructions.td +++ b/src/gallium/drivers/radeon/SIInstructions.td @@ -527,7 +527,9 @@ defm V_MOV_FED_B32 : VOP1_32 <0x00000009, "V_MOV_FED_B32", []>; defm V_FRACT_F32 : VOP1_32 <0x00000020, "V_FRACT_F32", []>; 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_RNDNE_F32 : VOP1_32 <0x00000023, "V_RNDNE_F32", + [(set VReg_32:$dst, (frint AllReg_32:$src0))] +>; defm V_FLOOR_F32 : VOP1_32 <0x00000024, "V_FLOOR_F32", []>; defm V_EXP_F32 : VOP1_32 <0x00000025, "V_EXP_F32", [(set VReg_32:$dst, (fexp2 AllReg_32:$src0))] |