• Home
Name Date Size #Lines LOC

..--

bifrost/22-Oct-2025-13,50011,590

test/22-Oct-2025-1,8191,366

valhall/22-Oct-2025-9,9387,486

IR_pseudo.xmlD22-Oct-20255.9 KiB197148

Notes.txtD22-Oct-20257.3 KiB181148

README.mdD22-Oct-2025517 2616

bi_builder.h.pyD22-Oct-20258.2 KiB244181

bi_helper_invocations.cD22-Oct-20258.7 KiB295173

bi_layout.cD22-Oct-20254.9 KiB15053

bi_liveness.cD22-Oct-20254.1 KiB12359

bi_lower_divergent_indirects.cD22-Oct-20253.9 KiB12465

bi_lower_swizzle.cD22-Oct-20259.4 KiB312190

bi_opcodes.c.pyD22-Oct-20253.1 KiB7144

bi_opcodes.h.pyD22-Oct-20253.3 KiB12381

bi_opt_constant_fold.cD22-Oct-20253.4 KiB11565

bi_opt_copy_prop.cD22-Oct-20253.5 KiB11761

bi_opt_cse.cD22-Oct-20255 KiB188113

bi_opt_dce.cD22-Oct-20255.3 KiB185115

bi_opt_dual_tex.cD22-Oct-20255.2 KiB15786

bi_opt_mod_props.cD22-Oct-202515 KiB525364

bi_opt_push_ubo.cD22-Oct-202510.6 KiB351206

bi_packer.c.pyD22-Oct-202513.2 KiB347213

bi_pressure_schedule.cD22-Oct-20258.5 KiB306187

bi_print.cD22-Oct-20255.1 KiB204139

bi_print_common.cD22-Oct-20252.8 KiB9463

bi_print_common.hD22-Oct-20251.5 KiB377

bi_printer.c.pyD22-Oct-20256.8 KiB236179

bi_quirks.hD22-Oct-20252.3 KiB5918

bi_ra.cD22-Oct-202533.4 KiB1,155722

bi_test.hD22-Oct-20255.2 KiB14390

bi_validate.cD22-Oct-20256 KiB228137

bifrost.hD22-Oct-202520.5 KiB643373

bifrost_compile.cD22-Oct-2025185 KiB5,8954,145

bifrost_compile.hD22-Oct-20256.3 KiB10373

bifrost_isa.pyD22-Oct-202517.4 KiB476318

bifrost_nir.hD22-Oct-20251.4 KiB327

bifrost_nir_algebraic.pyD22-Oct-20254.8 KiB12054

bir.cD22-Oct-20258.8 KiB294197

cmdline.cD22-Oct-20254.1 KiB15196

compiler.hD22-Oct-202540.8 KiB1,453973

gen_disasm.pyD22-Oct-202512.7 KiB363209

meson.buildD22-Oct-20254.9 KiB174158

nodearray.hD22-Oct-20257.3 KiB253143

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