summaryrefslogtreecommitdiffstats
path: root/common.py
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2017-11-10 14:00:24 -0800
committerMatt Turner <[email protected]>2017-11-14 10:56:18 -0800
commit6ac2d16901927013393f873a34c717ece5014c1a (patch)
tree8b3e6b8d806f0f8d89e9148569aa3c07592d0ad2 /common.py
parentcfcfa0b9cd1b1d563a988b1250950057c4612ac9 (diff)
i965/fs: Fix extract_i8/u8 to a 64-bit destination
The MOV instruction can extract bytes to words/double words, and words/double words to quadwords, but not byte to quadwords. For unsigned byte to quadword, we can read them as words and AND off the high byte and extract to quadword in one instruction. For signed bytes, we need to first sign extend to word and the sign extend that word to a quadword. Fixes the following test on CHV, BXT, and GLK: KHR-GL46.shader_ballot_tests.ShaderBallotBitmasks Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103628 Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions