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:
Alyssa Rosenzweig 2020-12-28 09:26:07 -05:00 committed by Marge Bot
parent 3483b4e24c
commit b33ae46806
1 changed files with 3 additions and 0 deletions

View File

@ -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)
{