mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
tests for boxing/unboxing floats
This commit is contained in:
parent
b968122bee
commit
816828040d
3 changed files with 38 additions and 30 deletions
|
@ -2512,7 +2512,7 @@ impl<
|
|||
let sym_reg = storage_manager.load_to_general_reg(buf, &value);
|
||||
ASM::mov_mem8_offset32_reg8(buf, ptr_reg, element_offset, sym_reg);
|
||||
}
|
||||
Layout::Builtin(Builtin::Float(FloatWidth::F64)) => {
|
||||
Layout::Builtin(Builtin::Float(FloatWidth::F64 | FloatWidth::F32)) => {
|
||||
let sym_reg = storage_manager.load_to_float_reg(buf, &value);
|
||||
ASM::movesd_mem64_offset32_freg64(buf, ptr_reg, element_offset, sym_reg);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue