agx: Lower more ALU operations

Noticed while switching idiv lowerings. We could do better on some of these.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17198>
This commit is contained in:
Alyssa Rosenzweig 2022-08-02 12:07:59 -04:00 committed by Alyssa Rosenzweig
parent f759459cd6
commit 5631b3352e

View file

@ -268,6 +268,8 @@ static const nir_shader_compiler_options agx_nir_options = {
.lower_fmod = true,
.lower_ifind_msb = true,
.lower_find_lsb = true,
.lower_uadd_carry = true,
.lower_usub_borrow = true,
.lower_scmp = true,
.lower_isign = true,
.lower_fsign = true,
@ -275,6 +277,8 @@ static const nir_shader_compiler_options agx_nir_options = {
.lower_fdph = true,
.lower_ffract = true,
.lower_pack_split = true,
.lower_extract_byte = true,
.lower_extract_word = true,
.lower_insert_byte = true,
.lower_insert_word = true,
.lower_cs_local_index_to_id = true,