f32/f64toParts in repl only

This commit is contained in:
Fabian Schmalzried 2024-03-16 14:41:20 +01:00
parent 64e9899cad
commit 473b8ef2d3
No known key found for this signature in database
GPG key ID: D691D5DA4CEF42E7
12 changed files with 72 additions and 6 deletions

View file

@ -2039,6 +2039,16 @@ trait Backend<'a> {
self.build_fn_call(sym, intrinsic, args, arg_layouts, ret_layout)
}
LowLevel::NumF32ToParts => {
let intrinsic = bitcode::NUM_F32_TO_PARTS.to_string();
self.build_fn_call(sym, intrinsic, args, arg_layouts, ret_layout)
}
LowLevel::NumF64ToParts => {
let intrinsic = bitcode::NUM_F64_TO_PARTS.to_string();
self.build_fn_call(sym, intrinsic, args, arg_layouts, ret_layout)
}
x => todo!("low level, {:?}", x),
}
}