OSDN Git Service

r600g: fix replace_gpr_with_pv_ps
authorVadim Girlin <vadimgirlin@gmail.com>
Wed, 24 Aug 2011 20:32:55 +0000 (00:32 +0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Aug 2011 20:59:10 +0000 (16:59 -0400)
commitfdb62ef3f5b0fadd3cbac610f5b612bcfad5af1a
tree6abe952c5b834bfb6cd054b02c59644713f392ff
parent6ba68c7654ee9c2e90b99b4ba653287684904c74
r600g: fix replace_gpr_with_pv_ps

Instructions with 3 source operands have no write mask, so we may replace their
destinations with PV/PS in the next group even if their dst.write is 0.

Note: This is a candidate for the 7.11 branch.

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/r600_asm.c