Lines Matching refs:ACO

1 # Welcome to ACO
3 ACO (short for *AMD compiler*) is a back-end compiler for AMD GCN / RDNA GPUs, based on the NIR com…
4 Simply put, ACO translates shader programs from the NIR intermediate representation into a GCN / RD…
27 ACO deals with divergent control flow by maintaining two control flow graphs (CFG):
56 and every NIR instruction that gets emitted as multiple ACO instructions also has potential for CSE.
112 The assembler emits the actual binary that will be sent to the hardware for execution. ACO's assemb…
176 | GFX6-8 HW stages: | LS | HS | ES | GS | VS | PS | ACO terminology |
189 | GFX9+ HW stages: | LSHS | ESGS | VS | PS | ACO terminology |
201 | GFX10/NGG HW stages: | LSHS | NGG GS | PS | ACO terminology |
214 | GFX6-10 HW stage | CS | ACO terminology |
221 Handy `RADV_DEBUG` options that help with ACO debugging:
224 * `shaders` - makes ACO print the IR after register allocation, as well as the disassembled shader …
226 * `preoptir` - makes ACO print the final NIR shader before instruction selection, as well as the AC…
231 * `validateir` - Validate the ACO IR between compilation stages. By default, enabled in debug build…
234 * `force-waitcnt` - Forces ACO to emit a wait state after each instruction when there is something …
235 * `novn` - Disables the ACO value numbering stage.
236 * `noopt` - Disables the ACO optimizer.
237 * `nosched` - Disables the ACO scheduler.
249 * Edit `radv_shader.c` or `radv_pipeline.c` to change if they are compiled with LLVM or ACO.
258 * Compare to the ACO IR to see if the assembly matches what we want (this can take a while).