Add support for Saturating Rounding Q-format Multiplication for x64

This commit is contained in:
Johnnie Birch
2021-07-14 09:23:58 -07:00
parent ffec1f9b41
commit 5deda27977
4 changed files with 42 additions and 4 deletions

View File

@@ -596,6 +596,7 @@ pub enum SseOpcode {
Pmuldq,
Pmulhw,
Pmulhuw,
Pmulhrsw,
Pmulld,
Pmullw,
Pmuludq,
@@ -785,6 +786,7 @@ impl SseOpcode {
| SseOpcode::Pabsw
| SseOpcode::Pabsd
| SseOpcode::Palignr
| SseOpcode::Pmulhrsw
| SseOpcode::Pshufb => SSSE3,
SseOpcode::Blendvpd
@@ -966,6 +968,7 @@ impl fmt::Debug for SseOpcode {
SseOpcode::Pmuldq => "pmuldq",
SseOpcode::Pmulhw => "pmulhw",
SseOpcode::Pmulhuw => "pmulhuw",
SseOpcode::Pmulhrsw => "pmulhrsw",
SseOpcode::Pmulld => "pmulld",
SseOpcode::Pmullw => "pmullw",
SseOpcode::Pmuludq => "pmuludq",