diff options
author | Daniel Schürmann <[email protected]> | 2019-06-13 11:34:01 +0200 |
---|---|---|
committer | Daniel Schürmann <[email protected]> | 2019-06-24 18:42:20 +0200 |
commit | a8b0b6e52b095f03c96a72394d15327c42512815 (patch) | |
tree | bb28cda68486d85053ae043526e4ab0c832fa5ee /src/gallium/drivers | |
parent | 1403c3a7bff43d37cd4bb10e4f31927597af894a (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 'src/gallium/drivers')
0 files changed, 0 insertions, 0 deletions