Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
test/ | 12-May-2024 | - | 872 | 613 | ||
valhall/ | 12-May-2024 | - | 3,193 | 2,651 | ||
ISA.xml | D | 12-May-2024 | 223.5 KiB | 8,346 | 7,993 | |
Notes.txt | D | 12-May-2024 | 7.3 KiB | 181 | 148 | |
README.md | D | 12-May-2024 | 517 | 26 | 16 | |
bi_builder.h.py | D | 12-May-2024 | 7 KiB | 202 | 151 | |
bi_helper_invocations.c | D | 12-May-2024 | 10.2 KiB | 286 | 152 | |
bi_layout.c | D | 12-May-2024 | 5.5 KiB | 152 | 55 | |
bi_liveness.c | D | 12-May-2024 | 5.3 KiB | 157 | 80 | |
bi_lower_divergent_indirects.c | D | 12-May-2024 | 4.5 KiB | 129 | 70 | |
bi_lower_swizzle.c | D | 12-May-2024 | 4.2 KiB | 116 | 66 | |
bi_opcodes.c.py | D | 12-May-2024 | 3 KiB | 67 | 41 | |
bi_opcodes.h.py | D | 12-May-2024 | 3.3 KiB | 119 | 78 | |
bi_opt_constant_fold.c | D | 12-May-2024 | 3.6 KiB | 98 | 51 | |
bi_opt_copy_prop.c | D | 12-May-2024 | 3.1 KiB | 87 | 44 | |
bi_opt_cse.c | D | 12-May-2024 | 6.1 KiB | 196 | 118 | |
bi_opt_dce.c | D | 12-May-2024 | 6.3 KiB | 180 | 110 | |
bi_opt_mod_props.c | D | 12-May-2024 | 10.3 KiB | 310 | 211 | |
bi_opt_push_ubo.c | D | 12-May-2024 | 6.6 KiB | 187 | 105 | |
bi_pack.c | D | 12-May-2024 | 26.5 KiB | 748 | 515 | |
bi_packer.c.py | D | 12-May-2024 | 12.8 KiB | 338 | 208 | |
bi_print.c | D | 12-May-2024 | 5.1 KiB | 168 | 110 | |
bi_print_common.c | D | 12-May-2024 | 2.8 KiB | 69 | 38 | |
bi_print_common.h | D | 12-May-2024 | 1.5 KiB | 37 | 7 | |
bi_printer.c.py | D | 12-May-2024 | 6.4 KiB | 215 | 164 | |
bi_quirks.h | D | 12-May-2024 | 3.3 KiB | 93 | 43 | |
bi_ra.c | D | 12-May-2024 | 18.4 KiB | 545 | 341 | |
bi_schedule.c | D | 12-May-2024 | 69.9 KiB | 1,978 | 1,245 | |
bi_scoreboard.c | D | 12-May-2024 | 4.1 KiB | 109 | 34 | |
bi_test.h | D | 12-May-2024 | 3.8 KiB | 127 | 79 | |
bi_validate.c | D | 12-May-2024 | 2.6 KiB | 79 | 34 | |
bifrost.h | D | 12-May-2024 | 20.3 KiB | 580 | 331 | |
bifrost_compile.c | D | 12-May-2024 | 139.3 KiB | 3,851 | 2,778 | |
bifrost_compile.h | D | 12-May-2024 | 3.5 KiB | 100 | 63 | |
bifrost_isa.py | D | 12-May-2024 | 11.6 KiB | 351 | 220 | |
bifrost_nir.h | D | 12-May-2024 | 1.2 KiB | 28 | 3 | |
bifrost_nir_algebraic.py | D | 12-May-2024 | 2.1 KiB | 64 | 27 | |
bir.c | D | 12-May-2024 | 6.9 KiB | 220 | 140 | |
cmdline.c | D | 12-May-2024 | 11.3 KiB | 337 | 251 | |
compiler.h | D | 12-May-2024 | 33.6 KiB | 1,166 | 800 | |
disassemble.c | D | 12-May-2024 | 27.3 KiB | 711 | 555 | |
disassemble.h | D | 12-May-2024 | 2.2 KiB | 48 | 15 | |
gen_disasm.py | D | 12-May-2024 | 12.6 KiB | 361 | 207 | |
meson.build | D | 12-May-2024 | 6.4 KiB | 215 | 193 |
README.md
1# Bifrost compiler 2 3## Register file 4 5Defined partially in software, partially in hardware. 6 7## Blend shaders 8 9R0 - R3: input (color #0) 10R4 - R7: input (color #1) 11R8 - R15: general purpose 12R48: return address 13 14## Fragment 15 16Anything live during BLEND must respect blend shader registers. 17 18R0 - R3: preloaded (message #0) 19R4 - R7: preloaded (message #1) 20R57 - R63: preloaded (various) 21 22R0 - R15: general purpose (full threads) 23R48 - R63: general purpose (full threads) 24 25R32 - R47: general purpose (half threads, or v6) 26