mesa/src/panfrost/bifrost
Alyssa Rosenzweig b2b0dca4ce pan/bi: Add shader equality helper for unit tests
Optimizer tests really are global.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12205>
2021-08-11 14:59:26 -04:00
..
test pan/bi: Unit test new constant folding patterns 2021-08-11 14:59:25 -04:00
valhall pan/va: Document IEEE 754 conformance of clamps 2021-08-11 14:58:58 -04:00
bi_builder.h.py pan/bi: Move typesize to common code 2021-06-15 20:27:22 +00:00
bi_helper_invocations.c pan/bi: Rename CLPER_V7 back to CLPER 2021-07-28 00:26:06 +00:00
bi_layout.c pan/bi: Garbage collect stuff in bi_layout.c 2021-07-28 00:26:06 +00:00
bi_liveness.c pan/bi: Shrink live array to 8-bits 2021-07-18 01:49:26 +00:00
bi_lower_divergent_indirects.c pan/bi: Add divergent intrinsic lowering pass 2021-05-07 18:20:30 +00:00
bi_lower_swizzle.c pan/bi: Rename CLPER_V7 back to CLPER 2021-07-28 00:26:06 +00:00
bi_opcodes.c.py pan/bi: Track instruction size in opcode table 2021-06-15 20:27:22 +00:00
bi_opcodes.h.py pan/bi: Track instruction size in opcode table 2021-06-15 20:27:22 +00:00
bi_opt_constant_fold.c pan/bi: Constant fold texturing lowerings 2021-08-11 14:59:24 -04:00
bi_opt_copy_prop.c pan/bi: Move bi_word_node to common code 2021-06-15 20:27:22 +00:00
bi_opt_cse.c pan/bi: Clean up useless casts 2021-07-18 01:49:26 +00:00
bi_opt_dce.c pan/bi: Shrink live array to 8-bits 2021-07-18 01:49:26 +00:00
bi_opt_mod_props.c pan/bi: Fuse abs/neg more on Valhall 2021-08-11 14:59:25 -04:00
bi_opt_push_ubo.c pan/bi: Make bi_opt_push_ubo optional 2021-08-11 18:00:45 +00:00
bi_pack.c pan/bi: Teach meson about Bifrost packing test 2021-07-28 22:16:14 +00:00
bi_packer.c.py pan/bi: Rename NOP.i32 to NOP 2021-07-28 00:26:06 +00:00
bi_print.c pan/bi: Clean up useless casts 2021-07-18 01:49:26 +00:00
bi_print_common.c pan/bi: Move modifier prints out of common code 2020-12-23 12:48:06 -05:00
bi_print_common.h pan/bi: Move modifier prints out of common code 2020-12-23 12:48:06 -05:00
bi_printer.c.py pan/bi: Add discard flag to bi_index 2021-07-28 00:26:06 +00:00
bi_quirks.h pan/bi: Use getopt for bifrost_compiler 2021-07-29 22:54:16 +00:00
bi_ra.c pan/bi: Align staging registers on Valhall 2021-07-28 00:26:06 +00:00
bi_schedule.c pan/bi: Remove incorrect errata workaround 2021-07-29 19:33:32 +00:00
bi_scoreboard.c pan/bi: Clean up useless casts 2021-07-18 01:49:26 +00:00
bi_test.h pan/bi: Add shader equality helper for unit tests 2021-08-11 14:59:26 -04:00
bi_validate.c pan/bi: Validate the live set starts empty 2021-07-29 23:40:46 +00:00
bifrost.h pan/bi: Add a noopt debug option 2021-08-11 18:00:45 +00:00
bifrost_compile.c pan/bi: Constant fold texturing lowerings 2021-08-11 14:59:24 -04:00
bifrost_compile.h nir: add indirect loop unrolling to compiler options 2021-08-03 10:54:50 +00:00
bifrost_isa.py pan/bi: Move typesize to common code 2021-06-15 20:27:22 +00:00
bifrost_nir.h pan/bi: Add back custom algebraic opts 2021-06-15 20:27:22 +00:00
bifrost_nir_algebraic.py nir,panfrost: Suffix fsat_signed and fclamp_pos with _mali 2021-06-21 09:03:34 -05:00
bir.c pan/bi: Stub 64-bit in count_write_registers 2021-07-29 23:40:46 +00:00
cmdline.c pan/bi: Fix infinite loop parsing arguments for bifrost_compiler 2021-08-01 13:04:20 +00:00
compiler.h pan/bi: Validate the live set starts empty 2021-07-29 23:40:46 +00:00
disassemble.c pan/bi: Use padding bytes for checking whether to stop disassembly 2021-08-01 13:04:20 +00:00
disassemble.h pan/bi: Print the clause of branch targets 2021-08-01 13:04:20 +00:00
gen_disasm.py pan/bi: Print the clause of branch targets 2021-08-01 13:04:20 +00:00
ISA.xml pan/bi: Rename CLPER_V7 back to CLPER 2021-07-28 00:26:06 +00:00
meson.build pan/bi: Validate the live set starts empty 2021-07-29 23:40:46 +00:00
Notes.txt pan/bi: Move notes on ADD ops to notes file 2020-03-03 00:03:50 +00:00
README.md pan/bi: Document register conventions 2021-04-03 12:47:29 -04:00

Bifrost compiler

Register file

Defined partially in software, partially in hardware.

Blend shaders

R0 - R3: input (color #0) R4 - R7: input (color #1) R8 - R15: general purpose R48: return address

Fragment

Anything live during BLEND must respect blend shader registers.

R0 - R3: preloaded (message #0) R4 - R7: preloaded (message #1) R57 - R63: preloaded (various)

R0 - R15: general purpose (full threads) R48 - R63: general purpose (full threads)

R32 - R47: general purpose (half threads, or v6)