summaryrefslogtreecommitdiffstats
path: root/common.py
diff options
context:
space:
mode:
authorDaniel Schürmann <[email protected]>2019-06-13 11:34:01 +0200
committerDaniel Schürmann <[email protected]>2019-06-24 18:42:20 +0200
commita8b0b6e52b095f03c96a72394d15327c42512815 (patch)
treebb28cda68486d85053ae043526e4ab0c832fa5ee /common.py
parent1403c3a7bff43d37cd4bb10e4f31927597af894a (diff)
nir: introduce lowering of bitfield_insert to bfm and a new opcode bitfield_select.
bitfield_select is defined as: bitfield_select(mask, base, insert) = (mask & base) | (~mask & insert) matching the behavior of AMD's BFI instruction. Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions