a byte's or a halfword's width, made where the translator made it: before the word's load
function SubwordWidth(size : int) -> bits(32) = Bits32(if size < 2 then 0x00000008 else 0x00000010)
Made from ScarletNX's Sail at 166ad3910f80. The Sail and the encodings' file are ScarletNX's (GPL-3.0-or-later); its encodings are from Eden's maxwell.inc (GPL-2.0-or-later).