This specification defines an 8-bit immediate encoding designed for fine-grained memory allocation sizing. It utilizes a 3-bit exponent and a 5-bit mantissa to provide byte-granular precision for small allocations, scaling dynamically to standard cache-aligned sizes for medium allocations up to just under 4 KB.
The 8-bit immediate (imm8) is partitioned into two fields:
imm8[7:5](3 bits): Exponent (Exp). Determines the implicit bit injection and the fixed left-shift amount.imm8[4:0](5 bits): Mantissa (M). Forms the base value.