summaryrefslogtreecommitdiffstats
path: root/src/gbm/main
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2019-06-12 13:19:25 -0700
committerIan Romanick <[email protected]>2019-07-08 11:30:10 -0700
commit47c2aa5b481389bfc68d688f02aa1fd4f095713a (patch)
tree1ce7f9d1c63d253e4a215fcc5e41ab775361d9ad /src/gbm/main
parentb08d7040518cdf76792952ceef72cadaa54d0179 (diff)
intel/vec4: Reswizzle VF immediates too
Previously, an instruction like mul(8) vgrf29.xy:F, vgrf25.yxxx:F, [-1F, 1F, 0F, 0F] would get rewritten as mul(8) vgrf0.yz:F, vgrf25.yyxx:F, [-1F, 1F, 0F, 0F] The latter does not produce the correct result. The VF immediate in the second should be either [-1F, -1F, 1F, 1F] or [0F, -1F, 1F, 0F]. This commit produces the former. Fixes: 1ee1d8ab468 ("i965/vec4: Reswizzle sources when necessary.") Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/gbm/main')
0 files changed, 0 insertions, 0 deletions