Skip to content

ir3: Use SWZ

Connor Abbott requested to merge cwabbott0/mesa:review/ir3-use-swz into main

Plumb through support for multi-mov instructions, which behave sort of like a repeated move but can read and/or write an unrelated register each cycle. Then use swz to replace the xor trick when lowering copies after RA, which uses fewer cycles and nop's. The infrastructure is also in place to use sct/gat, but that is left for later. shader-db results are in the last commit.

Edited by Connor Abbott

Merge request reports