pan/bi: Add bi_not alias of bi_neg
For bitwise ops, we define .neg to mean .not to keep the IR manageable ("complement" more generally), but it's convenient to have specialized names. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8135>
This commit is contained in:
parent
3483b4e24c
commit
b33ae46806
|
@ -520,6 +520,9 @@ bi_neg(bi_index idx)
|
|||
return idx;
|
||||
}
|
||||
|
||||
/* For bitwise instructions */
|
||||
#define bi_not(x) bi_neg(x)
|
||||
|
||||
static inline bi_index
|
||||
bi_imm_u8(uint8_t imm)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue