Adds f32.mul, f32.div for vcode backend for x64.
Adds support for lowering clif instructions Fdiv and Fmul for new vcode backend. Misc adds lowering and test for sqrtss and removes a redundant to_string() func for the SseOpcode struct.
This commit is contained in:
@@ -1059,6 +1059,9 @@ pub(crate) fn emit(inst: &Inst, sink: &mut MachBuffer<Inst>) {
|
||||
let opcode = match op {
|
||||
SseOpcode::Addss => 0x0F58,
|
||||
SseOpcode::Subss => 0x0F5C,
|
||||
SseOpcode::Mulss => 0x0F59,
|
||||
SseOpcode::Divss => 0x0F5E,
|
||||
SseOpcode::Sqrtss => 0x0F51,
|
||||
_ => unimplemented!("XMM_RM_R opcode"),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user