machinst x64: implement Fabs/Fneg in terms of other instructions;

This commit is contained in:
Benjamin Bouvier
2020-07-21 14:58:14 +02:00
parent 03b9e1e86a
commit 48ec806a9d
3 changed files with 43 additions and 2 deletions

View File

@@ -1545,6 +1545,8 @@ pub(crate) fn emit(
SseOpcode::Divsd => (LegacyPrefix::_F2, 0x0F5E),
SseOpcode::Maxss => (LegacyPrefix::_F3, 0x0F5F),
SseOpcode::Maxsd => (LegacyPrefix::_F2, 0x0F5F),
SseOpcode::Xorps => (LegacyPrefix::None, 0x0F57),
SseOpcode::Xorpd => (LegacyPrefix::_66, 0x0F57),
_ => unimplemented!("Opcode {:?} not implemented", op),
};