mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-05 21:10:43 +02:00
agx: use funop short form
noticed comparing asm with the blob total bytes in shared programs: 14112726 -> 13986278 (-0.90%) bytes in affected programs: 10848000 -> 10721552 (-1.17%) helped: 9115 HURT: 0 Bytes are helped. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28483>
This commit is contained in:
parent
42a43bbdad
commit
90b4e27bb2
1 changed files with 2 additions and 2 deletions
|
|
@ -171,8 +171,8 @@ FUNOP = lambda x: (x << 28)
|
|||
FUNOP_MASK = FUNOP((1 << 14) - 1)
|
||||
|
||||
def funop(name, opcode, schedule_class = "none"):
|
||||
op(name, (0x0A | L | (opcode << 28),
|
||||
0x3F | L | (((1 << 14) - 1) << 28), 6, _),
|
||||
op(name, (0x0A | (opcode << 28),
|
||||
0x3F | (((1 << 14) - 1) << 28), 4, 6),
|
||||
srcs = 1, is_float = True, schedule_class = schedule_class)
|
||||
|
||||
def iunop(name, opcode):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue