mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
pco: lower nir_b2b* ops
Signed-off-by: Simon Perretta <simon.perretta@imgtec.com> Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36412>
This commit is contained in:
parent
fcef4b74ec
commit
f2c1f4009b
1 changed files with 7 additions and 0 deletions
|
|
@ -45,6 +45,13 @@ lower_insert_extract = [
|
|||
|
||||
lower_algebraic.extend(lower_insert_extract)
|
||||
|
||||
lower_b2b = [
|
||||
(('b2b32', a), ('ineg', ('b2i32', a))),
|
||||
(('b2b1', a), ('ine', a, 0)),
|
||||
]
|
||||
|
||||
lower_algebraic.extend(lower_b2b)
|
||||
|
||||
lower_scmp = [
|
||||
# Float comparisons + bool conversions.
|
||||
(('b2f32', ('flt', a, b)), ('slt', a, 'b@32'), '!options->lower_scmp'),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue