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:
Alyssa Rosenzweig 2024-03-03 19:19:05 -04:00 committed by Marge Bot
parent 42a43bbdad
commit 90b4e27bb2

View file

@ -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):