Skip to content
  • Michel Danzer's avatar
    R600/SI: Fix broken encoding of DS_WRITE_B32 · 20680b1c
    Michel Danzer authored
    
    
    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
    20680b1c
Loading