(&mut self, reg: usize, val: u64)
| 52 | } |
| 53 | |
| 54 | pub fn write_f_bits(&mut self, reg: usize, val: u64) { |
| 55 | self.f[reg] = val; |
| 56 | } |
| 57 | |
| 58 | /// Reads the register as an f32. Bits `63:32` other than all 1s mean the value |
| 59 | /// is not validly NaN-boxed, so the canonical NaN is returned (RISC-V 11.3). |
no outgoing calls