mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-19 22:18:18 +02:00
WAIT takes a notification register as a destination and a src0 argument. Since the same notification register is specified in both fields, we treat it as a special case and disassemble it only once. If we disassemble it as if it is a source register, its scalar region will be printed as <0,1,0>. This causes difficulties round-tripping through the assembler <-> disassembler because that is not an acceptable destination region. If we instead disassemble the destination, we instead get a <1> region which is an acceptable and equivalent region for source and destination. The test .asm files are regenerated by round-tripping them through the assembler/disassembler. Note that the <0> region in the tests was a harmless mistake: the compiler translated it to a <0,1,0> source region and a <1> destination region, since <0> isn't valid. Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6543>
3 lines
258 B
NASM
3 lines
258 B
NASM
wait(1) n0<1>UD { align1 WE_all 1N };
|
|
wait(1) n0.1<1>UD { align1 WE_all 1N };
|
|
wait(1) n0.2<1>UD { align1 WE_all 1N };
|