[machinst x64]: add avg_round implementation

This commit is contained in:
Andrew Brown
2020-09-21 11:49:26 -07:00
parent b202464fa0
commit 7546d98844
4 changed files with 26 additions and 0 deletions

View File

@@ -401,6 +401,8 @@ pub enum SseOpcode {
Paddd,
Paddq,
Paddw,
Pavgb,
Pavgw,
Pmulld,
Pmullw,
Pmuludq,
@@ -503,6 +505,8 @@ impl SseOpcode {
| SseOpcode::Paddd
| SseOpcode::Paddq
| SseOpcode::Paddw
| SseOpcode::Pavgb
| SseOpcode::Pavgw
| SseOpcode::Pmullw
| SseOpcode::Pmuludq
| SseOpcode::Psllw
@@ -603,6 +607,8 @@ impl fmt::Debug for SseOpcode {
SseOpcode::Paddd => "paddd",
SseOpcode::Paddq => "paddq",
SseOpcode::Paddw => "paddw",
SseOpcode::Pavgb => "pavgb",
SseOpcode::Pavgw => "pavgw",
SseOpcode::Pmulld => "pmulld",
SseOpcode::Pmullw => "pmullw",
SseOpcode::Pmuludq => "pmuludq",