// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
// CHECK: vaesdec -485498096(%edx,%eax,4), %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x71,0xde,0x8c,0x82,0x10,0xe3,0x0f,0xe3]
vaesdec -485498096(%edx,%eax,4), %xmm1, %xmm1
// CHECK: vaesdec 485498096(%edx,%eax,4), %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x71,0xde,0x8c,0x82,0xf0,0x1c,0xf0,0x1c]
vaesdec 485498096(%edx,%eax,4), %xmm1, %xmm1
// CHECK: vaesdec 485498096(%edx), %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x71,0xde,0x8a,0xf0,0x1c,0xf0,0x1c]
vaesdec 485498096(%edx), %xmm1, %xmm1
// CHECK: vaesdec 485498096, %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x71,0xde,0x0d,0xf0,0x1c,0xf0,0x1c]
vaesdec 485498096, %xmm1, %xmm1
// CHECK: vaesdec 64(%edx,%eax), %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x71,0xde,0x4c,0x02,0x40]
vaesdec 64(%edx,%eax), %xmm1, %xmm1
// CHECK: vaesdec (%edx), %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x71,0xde,0x0a]
vaesdec (%edx), %xmm1, %xmm1
// CHECK: vaesdeclast -485498096(%edx,%eax,4), %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x71,0xdf,0x8c,0x82,0x10,0xe3,0x0f,0xe3]
vaesdeclast -485498096(%edx,%eax,4), %xmm1, %xmm1
// CHECK: vaesdeclast 485498096(%edx,%eax,4), %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x71,0xdf,0x8c,0x82,0xf0,0x1c,0xf0,0x1c]
vaesdeclast 485498096(%edx,%eax,4), %xmm1, %xmm1
// CHECK: vaesdeclast 485498096(%edx), %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x71,0xdf,0x8a,0xf0,0x1c,0xf0,0x1c]
vaesdeclast 485498096(%edx), %xmm1, %xmm1
// CHECK: vaesdeclast 485498096, %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x71,0xdf,0x0d,0xf0,0x1c,0xf0,0x1c]
vaesdeclast 485498096, %xmm1, %xmm1
// CHECK: vaesdeclast 64(%edx,%eax), %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x71,0xdf,0x4c,0x02,0x40]
vaesdeclast 64(%edx,%eax), %xmm1, %xmm1
// CHECK: vaesdeclast (%edx), %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x71,0xdf,0x0a]
vaesdeclast (%edx), %xmm1, %xmm1
// CHECK: vaesdeclast %xmm1, %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x71,0xdf,0xc9]
vaesdeclast %xmm1, %xmm1, %xmm1
// CHECK: vaesdec %xmm1, %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x71,0xde,0xc9]
vaesdec %xmm1, %xmm1, %xmm1
// CHECK: vaesenc -485498096(%edx,%eax,4), %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x71,0xdc,0x8c,0x82,0x10,0xe3,0x0f,0xe3]
vaesenc -485498096(%edx,%eax,4), %xmm1, %xmm1
// CHECK: vaesenc 485498096(%edx,%eax,4), %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x71,0xdc,0x8c,0x82,0xf0,0x1c,0xf0,0x1c]
vaesenc 485498096(%edx,%eax,4), %xmm1, %xmm1
// CHECK: vaesenc 485498096(%edx), %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x71,0xdc,0x8a,0xf0,0x1c,0xf0,0x1c]
vaesenc 485498096(%edx), %xmm1, %xmm1
// CHECK: vaesenc 485498096, %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x71,0xdc,0x0d,0xf0,0x1c,0xf0,0x1c]
vaesenc 485498096, %xmm1, %xmm1
// CHECK: vaesenc 64(%edx,%eax), %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x71,0xdc,0x4c,0x02,0x40]
vaesenc 64(%edx,%eax), %xmm1, %xmm1
// CHECK: vaesenc (%edx), %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x71,0xdc,0x0a]
vaesenc (%edx), %xmm1, %xmm1
// CHECK: vaesenclast -485498096(%edx,%eax,4), %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x71,0xdd,0x8c,0x82,0x10,0xe3,0x0f,0xe3]
vaesenclast -485498096(%edx,%eax,4), %xmm1, %xmm1
// CHECK: vaesenclast 485498096(%edx,%eax,4), %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x71,0xdd,0x8c,0x82,0xf0,0x1c,0xf0,0x1c]
vaesenclast 485498096(%edx,%eax,4), %xmm1, %xmm1
// CHECK: vaesenclast 485498096(%edx), %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x71,0xdd,0x8a,0xf0,0x1c,0xf0,0x1c]
vaesenclast 485498096(%edx), %xmm1, %xmm1
// CHECK: vaesenclast 485498096, %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x71,0xdd,0x0d,0xf0,0x1c,0xf0,0x1c]
vaesenclast 485498096, %xmm1, %xmm1
// CHECK: vaesenclast 64(%edx,%eax), %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x71,0xdd,0x4c,0x02,0x40]
vaesenclast 64(%edx,%eax), %xmm1, %xmm1
// CHECK: vaesenclast (%edx), %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x71,0xdd,0x0a]
vaesenclast (%edx), %xmm1, %xmm1
// CHECK: vaesenclast %xmm1, %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x71,0xdd,0xc9]
vaesenclast %xmm1, %xmm1, %xmm1
// CHECK: vaesenc %xmm1, %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x71,0xdc,0xc9]
vaesenc %xmm1, %xmm1, %xmm1
// CHECK: vaesimc -485498096(%edx,%eax,4), %xmm1
// CHECK: encoding: [0xc4,0xe2,0x79,0xdb,0x8c,0x82,0x10,0xe3,0x0f,0xe3]
vaesimc -485498096(%edx,%eax,4), %xmm1
// CHECK: vaesimc 485498096(%edx,%eax,4), %xmm1
// CHECK: encoding: [0xc4,0xe2,0x79,0xdb,0x8c,0x82,0xf0,0x1c,0xf0,0x1c]
vaesimc 485498096(%edx,%eax,4), %xmm1
// CHECK: vaesimc 485498096(%edx), %xmm1
// CHECK: encoding: [0xc4,0xe2,0x79,0xdb,0x8a,0xf0,0x1c,0xf0,0x1c]
vaesimc 485498096(%edx), %xmm1
// CHECK: vaesimc 485498096, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x79,0xdb,0x0d,0xf0,0x1c,0xf0,0x1c]
vaesimc 485498096, %xmm1
// CHECK: vaesimc 64(%edx,%eax), %xmm1
// CHECK: encoding: [0xc4,0xe2,0x79,0xdb,0x4c,0x02,0x40]
vaesimc 64(%edx,%eax), %xmm1
// CHECK: vaesimc (%edx), %xmm1
// CHECK: encoding: [0xc4,0xe2,0x79,0xdb,0x0a]
vaesimc (%edx), %xmm1
// CHECK: vaesimc %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x79,0xdb,0xc9]
vaesimc %xmm1, %xmm1
// CHECK: vaeskeygenassist $0, -485498096(%edx,%eax,4), %xmm1
// CHECK: encoding: [0xc4,0xe3,0x79,0xdf,0x8c,0x82,0x10,0xe3,0x0f,0xe3,0x00]
vaeskeygenassist $0, -485498096(%edx,%eax,4), %xmm1
// CHECK: vaeskeygenassist $0, 485498096(%edx,%eax,4), %xmm1
// CHECK: encoding: [0xc4,0xe3,0x79,0xdf,0x8c,0x82,0xf0,0x1c,0xf0,0x1c,0x00]
vaeskeygenassist $0, 485498096(%edx,%eax,4), %xmm1
// CHECK: vaeskeygenassist $0, 485498096(%edx), %xmm1
// CHECK: encoding: [0xc4,0xe3,0x79,0xdf,0x8a,0xf0,0x1c,0xf0,0x1c,0x00]
vaeskeygenassist $0, 485498096(%edx), %xmm1
// CHECK: vaeskeygenassist $0, 485498096, %xmm1
// CHECK: encoding: [0xc4,0xe3,0x79,0xdf,0x0d,0xf0,0x1c,0xf0,0x1c,0x00]
vaeskeygenassist $0, 485498096, %xmm1
// CHECK: vaeskeygenassist $0, 64(%edx,%eax), %xmm1
// CHECK: encoding: [0xc4,0xe3,0x79,0xdf,0x4c,0x02,0x40,0x00]
vaeskeygenassist $0, 64(%edx,%eax), %xmm1
// CHECK: vaeskeygenassist $0, (%edx), %xmm1
// CHECK: encoding: [0xc4,0xe3,0x79,0xdf,0x0a,0x00]
vaeskeygenassist $0, (%edx), %xmm1
// CHECK: vaeskeygenassist $0, %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe3,0x79,0xdf,0xc9,0x00]
vaeskeygenassist $0, %xmm1, %xmm1