Name Date Size #Lines LOC

..--

bifrost/H25-Apr-2025-13,50011,590

test/H25-Apr-2025-1,8191,366

valhall/H25-Apr-2025-9,8297,395

IR_pseudo.xmlH A D25-Apr-20255.9 KiB196147

Notes.txtH A D25-Apr-20257.3 KiB181148

README.mdH A D25-Apr-2025517 2616

bi_builder.h.pyH A D25-Apr-20258.2 KiB244181

bi_helper_invocations.cH A D25-Apr-20258.7 KiB295173

bi_layout.cH A D25-Apr-20254.9 KiB15053

bi_liveness.cH A D25-Apr-20254.1 KiB12359

bi_lower_divergent_indirects.cH A D25-Apr-20253.6 KiB11759

bi_lower_swizzle.cH A D25-Apr-20259.4 KiB307185

bi_opcodes.c.pyH A D25-Apr-20253.1 KiB7144

bi_opcodes.h.pyH A D25-Apr-20253.3 KiB12381

bi_opt_constant_fold.cH A D25-Apr-20253.4 KiB11565

bi_opt_copy_prop.cH A D25-Apr-20253.5 KiB11761

bi_opt_cse.cH A D25-Apr-20255 KiB188113

bi_opt_dce.cH A D25-Apr-20255.3 KiB185115

bi_opt_dual_tex.cH A D25-Apr-20255.2 KiB15786

bi_opt_mod_props.cH A D25-Apr-202513.8 KiB493345

bi_opt_push_ubo.cH A D25-Apr-202510.6 KiB351206

bi_packer.c.pyH A D25-Apr-202513.2 KiB347213

bi_pressure_schedule.cH A D25-Apr-20258.4 KiB303183

bi_print.cH A D25-Apr-20255.1 KiB204139

bi_print_common.cH A D25-Apr-20252.8 KiB9463

bi_print_common.hH A D25-Apr-20251.5 KiB377

bi_printer.c.pyH A D25-Apr-20256.8 KiB236179

bi_quirks.hH A D25-Apr-20252.3 KiB5918

bi_ra.cH A D25-Apr-202533.3 KiB1,153721

bi_test.hH A D25-Apr-20255.2 KiB14390

bi_validate.cH A D25-Apr-20256 KiB228137

bifrost.hH A D25-Apr-202520.2 KiB637368

bifrost_compile.cH A D25-Apr-2025173.7 KiB5,5603,882

bifrost_compile.hH A D25-Apr-20257 KiB11178

bifrost_isa.pyH A D25-Apr-202517.4 KiB476318

bifrost_nir.hH A D25-Apr-20251.4 KiB327

bifrost_nir_algebraic.pyH A D25-Apr-20254.7 KiB11652

bir.cH A D25-Apr-20258.7 KiB293196

cmdline.cH A D25-Apr-20254.1 KiB15196

compiler.hH A D25-Apr-202540.5 KiB1,446966

gen_disasm.pyH A D25-Apr-202512.7 KiB363209

meson.buildH A D25-Apr-20255 KiB174158

nodearray.hH A D25-Apr-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