mesa/src/intel/compiler/tests/gen9
Kenneth Graunke 88309a9818 brw: Rename shared function enums for clarity
Our name for this enum was brw_message_target, but it's better known as
shared function ID or SFID.  Call it brw_sfid to make it easier to find.

Now that brw only supports Gfx9+, we don't particularly care whether
SFIDs were introduced on Gfx4, Gfx6, or Gfx7.5.  Also, the LSC SFIDs
were confusingly tagged "GFX12" but aren't available on Gfx12.0; they
were introduced with Alchemist/Meteorlake.

GFX6_SFID_DATAPORT_SAMPLER_CACHE in particular was confusing.  It sounds
like the SFID to use for the sampler on Gfx6+, however it has nothing to
do with the sampler at all.  BRW_SFID_SAMPLER remains the sampler SFID.
On Haswell, we ran out of messages on the main data cache data port, and
so they introduced two additional ones, for more messages.  The modern
Tigerlake PRMs simply call these DP_DC0, DP_DC1, and DP_DC2.  I think
the "sampler" name came from some idea about reorganizing messages that
never materialized (instead, the LSC came as a much larger cleanup).

Recently we've adopted the term "HDC" for the legacy data cluster, as
opposed to "LSC" for the modern Load/Store Cache.  To make clear which
SFIDs target the legacy HDC dataports, we use BRW_SFID_HDC0/1/2.

We were also citing the G45, Sandybridge, and Ivybridge PRMs for a
compiler that supports none of those platforms.  Cite modern docs.

Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33650>
2025-02-27 08:49:24 +00:00
..
add.asm
add.expected
and.asm
and.expected
asr.asm
asr.expected
bfe.asm
bfe.expected
bfi1.asm
bfi1.expected
bfi2.asm
bfi2.expected
bfrev.asm
bfrev.expected
break.asm
break.expected
cbit.asm
cbit.expected
cmp.asm
cmp.expected
cont.asm
cont.expected
cr0.asm
cr0.expected
csel.asm
csel.expected
else.asm
else.expected
endif.asm
endif.expected
fbh.asm
fbh.expected
fbl.asm
fbl.expected
frc.asm
frc.expected
halt.asm
halt.expected
if.asm
if.expected
lrp.asm
lrp.expected
lzd.asm
lzd.expected
mach.asm
mach.expected
mad.asm
mad.expected
math.asm
math.expected
mov.asm
mov.expected
mul.asm
mul.expected
nop.asm
nop.expected
not.asm
not.expected
or.asm
or.expected
pln.asm
pln.expected
rndd.asm
rndd.expected
rnde.asm
rnde.expected
rndz.asm
rndz.expected
sel.asm
sel.expected
send.asm
send.expected
sendc.asm
sendc.expected
sends.asm
sends.expected
shl.asm
shl.expected
shr.asm
shr.expected
wait.asm
wait.expected
while.asm
while.expected
xor.asm
xor.expected