summaryrefslogtreecommitdiffstats
path: root/scons/custom.py
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-10-05 18:09:37 -0400
committerMarek Olšák <[email protected]>2018-10-05 19:04:13 -0400
commit86f004bdfcc1c14ace99f5fccf540c0d813d2254 (patch)
treeb9e4e493a5536c1bd20f26c30875e5d2c400c7e3 /scons/custom.py
parenteeb9170599468f4e9c0a48e1507a53cde66a9825 (diff)
radeonsi: optimize and allow reg > 31 in radeon_opt_set_context_reg functions
reg_saved will have 64 bits, and (1 << reg) where reg > 31 has undefined behavior. (1ull << reg) would be correct for 64 bits. This commit shifts the other way in order to merge the conditions.
Diffstat (limited to 'scons/custom.py')
0 files changed, 0 insertions, 0 deletions