aco/wave32: Introduce emit_mbcnt which takes wave size into account.
authorTimur Kristóf <timur.kristof@gmail.com>
Thu, 31 Oct 2019 10:26:14 +0000 (11:26 +0100)
committerDaniel Schürmann <daniel@schuermann.dev>
Wed, 4 Dec 2019 10:36:01 +0000 (10:36 +0000)
commitc44af6cbc7731f8f482da38298887198d975e245
treef7898ddbd1e4febdc5eeaf07f8fa82364132c51f
parent07754a9c9eb597c1f0f12c898fb46298eb38e6be
aco/wave32: Introduce emit_mbcnt which takes wave size into account.

This is relevant because in wave32 mode the v_mbcnt_hi_u32_b32
instruction is superfluous.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
src/amd/compiler/aco_instruction_selection.cpp