Skip to content
Commit 20680b1c authored by Michel Danzer's avatar Michel Danzer
Browse files

R600/SI: Fix broken encoding of DS_WRITE_B32



The logic in SIInsertWaits::getHwCounts() only really made sense for SMRD
instructions, and trying to shoehorn it into handling DS_WRITE_B32 caused
it to corrupt the encoding of that by clobbering the first operand with
the second one.

Undo that damage and only apply the SMRD logic to that.

Fixes some derivates related piglit regressions with radeonsi.

Reviewed-by: default avatarTom Stellard <thomas.stellard@amd.com>
llvm-svn: 188558
parent 6b32f892
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment