summaryrefslogtreecommitdiff
path: root/README
blob: de50d897df6012f48b40ad14b9bcf6dfba7686d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
About:
------

For testing compiler changes, keep a database of tgsi inputs and
corresponding ir3 asm outputs.  When compiler changes are made,
regenerate ir3 asm outputs with ir3_compiler from latest mesa,
and feed both new and old outputs into assembler + emulator to
check for equivalent outputs.

The emulator does not try to be 100% accurate, or even 100% complete,
as much as just ensuring that equivalent sequences of instructions
produce equivalent results.  It does, to a limited extent, try to
detect known issues, like insufficent delay slots or missing sync
bits.


Build:
------

./autogen.sh && make


Run:
----

./run-tests.sh