mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
intel/mi: Add a gen_mi_ior() to go with gen_mi_iand()
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
This commit is contained in:
parent
79b8e3c260
commit
4e16b838ba
1 changed files with 8 additions and 0 deletions
|
|
@ -644,6 +644,14 @@ gen_mi_iand(struct gen_mi_builder *b,
|
|||
MI_ALU_STORE, MI_ALU_ACCU);
|
||||
}
|
||||
|
||||
static inline struct gen_mi_value
|
||||
gen_mi_ior(struct gen_mi_builder *b,
|
||||
struct gen_mi_value src0, struct gen_mi_value src1)
|
||||
{
|
||||
return gen_mi_math_binop(b, MI_ALU_OR, src0, src1,
|
||||
MI_ALU_STORE, MI_ALU_ACCU);
|
||||
}
|
||||
|
||||
static inline struct gen_mi_value
|
||||
gen_mi_imul_imm(struct gen_mi_builder *b,
|
||||
struct gen_mi_value src, uint32_t N)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue