Skip to content

Debugging and Unwind Encoding

The ELF ABI owns the architecture-wide DWARF register-number assignment used by every source language and unwind producer.

Bedrock DWARF Register Numbers

Numbers Registers Status
0..15 R0..R15 assigned
16 SP assigned
17 PC assigned; CIE return-address register
18..19 FLAGS..STATUS assigned
20..31 reserved
32..47 F0..F15 assigned
48..56 CS..GS5 assigned
57..58 FFLAGS..FSTATUS assigned
59..63 reserved
64..95 V0..V31 extension; VECTOR extension present
96..111 P0..P15 extension; VECTOR extension present
112 and greater reserved

An unwind description that saves a vector or predicate register describes its complete VLEN-dependent image. Predicate register locations contain the packed image with its exact architectural byte count.