Adds x64 packed negation for the new backend

This commit is contained in:
Johnnie Birch
2020-09-01 22:53:44 -07:00
parent ba9908dd0f
commit a64af55cda
5 changed files with 44 additions and 1 deletions

View File

@@ -1101,7 +1101,9 @@ impl Inst {
Self::XMM_RM_R { op, src, dst, .. } => {
src.to_reg() == Some(dst.to_reg())
&& (*op == SseOpcode::Xorps || *op == SseOpcode::Xorpd)
&& (*op == SseOpcode::Xorps
|| *op == SseOpcode::Xorpd
|| *op == SseOpcode::Pxor)
}
Self::XmmRmRImm { op, src, dst, imm } => {