mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
32-bit float mov instruction
This commit is contained in:
parent
bb97c384bb
commit
6a19009acf
4 changed files with 51 additions and 1 deletions
|
@ -783,7 +783,11 @@ impl<
|
|||
let reg = self.load_to_float_reg(buf, sym);
|
||||
ASM::mov_base32_freg64(buf, to_offset, reg);
|
||||
}
|
||||
FloatWidth::F32 => todo!(),
|
||||
FloatWidth::F32 => {
|
||||
debug_assert_eq!(to_offset % 4, 0);
|
||||
let reg = self.load_to_float_reg(buf, sym);
|
||||
ASM::mov_base32_freg64(buf, to_offset, reg);
|
||||
}
|
||||
},
|
||||
Builtin::Bool => {
|
||||
// same as 8-bit integer, but we special-case true/false because these symbols
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue