mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 09:40:08 +01:00
agx: Use compressed fadd/fmul encodings
See applegpu commit b9b3582 ("FBinaryInstructions have compressed encodings")
total bytes in shared programs: 11717310 -> 11716524 (<.01%)
bytes in affected programs: 317504 -> 316718 (-0.25%)
helped: 196
HURT: 0
Bytes are helped.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24635>
This commit is contained in:
parent
a30c668e44
commit
efbdc31ce5
1 changed files with 4 additions and 4 deletions
|
|
@ -197,8 +197,8 @@ iunop("popcount", 0b10)
|
|||
iunop("ffs", 0b11)
|
||||
|
||||
op("fadd",
|
||||
encoding_16 = (0x26 | L, 0x3F | L, 6, _),
|
||||
encoding_32 = (0x2A | L, 0x3F | L, 6, _),
|
||||
encoding_16 = (0x26, 0x3F, 4, 6),
|
||||
encoding_32 = (0x2A, 0x3F, 4, 6),
|
||||
srcs = 2, is_float = True)
|
||||
|
||||
op("fma",
|
||||
|
|
@ -207,8 +207,8 @@ op("fma",
|
|||
srcs = 3, is_float = True)
|
||||
|
||||
op("fmul",
|
||||
encoding_16 = ((0x16 | L), (0x3F | L), 6, _),
|
||||
encoding_32 = ((0x1A | L), (0x3F | L), 6, _),
|
||||
encoding_16 = (0x16, 0x3F, 4, 6),
|
||||
encoding_32 = (0x1A, 0x3F, 4, 6),
|
||||
srcs = 2, is_float = True)
|
||||
|
||||
op("mov_imm",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue