mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-27 09:50:20 +01:00
agx: add more 8-bit address fusing rules
helps kernel I'm writing Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32759>
This commit is contained in:
parent
e110b8f2c9
commit
fc4e533709
1 changed files with 5 additions and 0 deletions
|
|
@ -292,6 +292,11 @@ for s_ in range(1, 5):
|
|||
fuse_lea += [
|
||||
(('iadd', a, ('u2u64', 'b@32')), ('ulea_agx', a, b, 0)),
|
||||
(('iadd', a, ('i2i64', 'b@32')), ('ilea_agx', a, b, 0)),
|
||||
|
||||
(('iadd', a, ('iadd', ('u2u64', 'b@32'), c)),
|
||||
('ulea_agx', ('iadd', a, c), b, 0)),
|
||||
(('iadd', a, ('iadd', ('i2i64', 'b@32'), c)),
|
||||
('ilea_agx', ('iadd', a, c), b, 0)),
|
||||
]
|
||||
|
||||
# After lowering address arithmetic, the various address arithmetic opcodes are
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue