nir: Add umad24 and umul24 opcodes
authorGert Wollny <gert.wollny@collabora.com>
Sun, 12 Apr 2020 14:36:20 +0000 (16:36 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 23 Apr 2020 18:23:04 +0000 (18:23 +0000)
commit49ce749d0e25d957c6a38f1165b63a31baed708d
tree278c20439247df6b88dd0f64854c1647a0026883
parent42aa348dadeac7faf21ec8e9d8109255f2adf124
nir: Add umad24 and umul24 opcodes

So far only the singed versions are defined.

v2: Make umad24 and umul24 non-driver specific (Eric Anholt)

v3: Take care of nir_builder and automatic lowering of the
    opcodes if they are not supported by the backend.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4610>
src/compiler/nir/nir.h
src/compiler/nir/nir_builtin_builder.h
src/compiler/nir/nir_opcodes.py
src/compiler/nir/nir_opt_algebraic.py