diff options
author | Connor Abbott <[email protected]> | 2015-08-03 14:38:12 -0700 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2015-11-23 08:30:30 +0100 |
commit | b1a83b5d1b677faf650a41cd2c152b4d1cd18f84 (patch) | |
tree | 3315487b36ce2c84d4685608115f918771fcb7bc /include | |
parent | 718b9f52dd9ba780decf5bb59f5100cf590393a0 (diff) |
i965: fix 64-bit immediates in brw_inst(_set)_bits
If we tried to get/set something that was exactly 64 bits, we would
try to do (1 << 64) - 1 to calculate the mask which doesn't give us all
1's like we want.
v2 (Iago)
- Replace ~0 by ~0ull
- Removed unnecessary parenthesis
v3 (Kristian)
- Avoid the conditional
Reviewed-by: Iago Toral Quiroga <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions