Add support for packed float to signed int conversion

Implements i32x4.trunc_sat_f32x4_s
This commit is contained in:
Johnnie Birch
2020-10-25 11:35:51 -07:00
parent 97392eae3d
commit 8bbe6a25a9
4 changed files with 105 additions and 28 deletions

View File

@@ -1740,6 +1740,7 @@ pub(crate) fn emit(
SseOpcode::Andpd => (LegacyPrefixes::_66, 0x0F54, 2),
SseOpcode::Andnps => (LegacyPrefixes::None, 0x0F55, 2),
SseOpcode::Andnpd => (LegacyPrefixes::_66, 0x0F55, 2),
SseOpcode::Cvttps2dq => (LegacyPrefixes::_F3, 0x0F5B, 2),
SseOpcode::Cvtdq2ps => (LegacyPrefixes::None, 0x0F5B, 2),
SseOpcode::Divps => (LegacyPrefixes::None, 0x0F5E, 2),
SseOpcode::Divpd => (LegacyPrefixes::_66, 0x0F5E, 2),