From 76ce3d9e8d07f9c9c3cb11a9054105f9adb7afbb Mon Sep 17 00:00:00 2001 From: Gadi Haber Date: Tue, 16 Jan 2018 11:33:45 +0000 Subject: [PATCH] [X86][I86,I186,I286,I386,I486,PPRO, MMX]: Adding full coverage of MC encoding for the I86, I186, I286, I386, I486, PPRO and MMX isa sets. NFC. Adding MC regressions tests to cover the I86, I186, I286, I386, I486, PPRO and MMX isa sets. This patch is part of a larger task to cover MC encoding of all X86 ISA Sets. Started in revision: https://reviews.llvm.org/D39952 Reviewers: zvi, RKSimon, AndreiGrischenko, craig.topper Differential Revision: https://reviews.llvm.org/D40879 Change-Id: I231a35861611bfd3d23c74cc59507373f021a629 llvm-svn: 322544 --- llvm/test/MC/X86/I186-32.s | 666 +++++ llvm/test/MC/X86/I186-64.s | 846 +++++++ llvm/test/MC/X86/I286-32.s | 266 ++ llvm/test/MC/X86/I286-64.s | 406 +++ llvm/test/MC/X86/I386-32.s | 682 +++++ llvm/test/MC/X86/I386-64.s | 874 +++++++ llvm/test/MC/X86/I486-32.s | 102 + llvm/test/MC/X86/I486-64.s | 166 ++ llvm/test/MC/X86/I86-32.s | 3530 ++++++++++++++++++++++++++ llvm/test/MC/X86/I86-64.s | 4846 ++++++++++++++++++++++++++++++++++++ llvm/test/MC/X86/MMX-32.s | 1730 +++++++++++++ llvm/test/MC/X86/MMX-64.s | 1754 +++++++++++++ llvm/test/MC/X86/PPRO-32.s | 126 + llvm/test/MC/X86/PPRO-64.s | 130 + 14 files changed, 16124 insertions(+) create mode 100644 llvm/test/MC/X86/I186-32.s create mode 100644 llvm/test/MC/X86/I186-64.s create mode 100644 llvm/test/MC/X86/I286-32.s create mode 100644 llvm/test/MC/X86/I286-64.s create mode 100644 llvm/test/MC/X86/I386-32.s create mode 100644 llvm/test/MC/X86/I386-64.s create mode 100644 llvm/test/MC/X86/I486-32.s create mode 100644 llvm/test/MC/X86/I486-64.s create mode 100644 llvm/test/MC/X86/I86-32.s create mode 100644 llvm/test/MC/X86/I86-64.s create mode 100755 llvm/test/MC/X86/MMX-32.s create mode 100644 llvm/test/MC/X86/MMX-64.s create mode 100644 llvm/test/MC/X86/PPRO-32.s create mode 100644 llvm/test/MC/X86/PPRO-64.s diff --git a/llvm/test/MC/X86/I186-32.s b/llvm/test/MC/X86/I186-32.s new file mode 100644 index 000000000000..cf82957e6578 --- /dev/null +++ b/llvm/test/MC/X86/I186-32.s @@ -0,0 +1,666 @@ +// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s + +// CHECK: bound 3809469200(%edx,%eax,4), %eax +// CHECK: encoding: [0x62,0x84,0x82,0x10,0xe3,0x0f,0xe3] +bound 3809469200(%edx,%eax,4), %eax + +// CHECK: bound 485498096, %eax +// CHECK: encoding: [0x62,0x05,0xf0,0x1c,0xf0,0x1c] +bound 485498096, %eax + +// CHECK: bound 485498096(%edx,%eax,4), %eax +// CHECK: encoding: [0x62,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +bound 485498096(%edx,%eax,4), %eax + +// CHECK: bound 485498096(%edx), %eax +// CHECK: encoding: [0x62,0x82,0xf0,0x1c,0xf0,0x1c] +bound 485498096(%edx), %eax + +// CHECK: bound 64(%edx,%eax), %eax +// CHECK: encoding: [0x62,0x44,0x02,0x40] +bound 64(%edx,%eax), %eax + +// CHECK: bound (%edx), %eax +// CHECK: encoding: [0x62,0x02] +bound (%edx), %eax + +// CHECK: enter $0, $0 +// CHECK: encoding: [0xc8,0x00,0x00,0x00] +enter $0, $0 + +// CHECK: imull $0, %eax, %eax +// CHECK: encoding: [0x6b,0xc0,0x00] +imull $0, %eax, %eax + +// CHECK: insb %dx, %es:(%edi) +// CHECK: encoding: [0x6c] +insb %dx, %es:(%edi) + +// CHECK: insl %dx, %es:(%edi) +// CHECK: encoding: [0x6d] +insl %dx, %es:(%edi) + +// CHECK: insw %dx, %es:(%edi) +// CHECK: encoding: [0x66,0x6d] +insw %dx, %es:(%edi) + +// CHECK: leave +// CHECK: encoding: [0xc9] +leave + +// CHECK: outsb %es:(%esi), %dx +// CHECK: encoding: [0x26,0x6e] +outsb %es:(%esi), %dx + +// CHECK: outsl %es:(%esi), %dx +// CHECK: encoding: [0x26,0x6f] +outsl %es:(%esi), %dx + +// CHECK: outsw %es:(%esi), %dx +// CHECK: encoding: [0x66,0x26,0x6f] +outsw %es:(%esi), %dx + +// CHECK: popal +// CHECK: encoding: [0x61] +popal + +// CHECK: popaw +// CHECK: encoding: [0x66,0x61] +popaw + +// CHECK: pushal +// CHECK: encoding: [0x60] +pushal + +// CHECK: pushaw +// CHECK: encoding: [0x66,0x60] +pushaw + +// CHECK: pushl $0 +// CHECK: encoding: [0x6a,0x00] +pushl $0 + +// CHECK: pushw $0 +// CHECK: encoding: [0x66,0x6a,0x00] +pushw $0 + +// CHECK: rclb $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xc0,0x94,0x82,0x10,0xe3,0x0f,0xe3,0x00] +rclb $0, -485498096(%edx,%eax,4) + +// CHECK: rclb $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xc0,0x94,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +rclb $0, 485498096(%edx,%eax,4) + +// CHECK: rclb $0, 485498096(%edx) +// CHECK: encoding: [0xc0,0x92,0xf0,0x1c,0xf0,0x1c,0x00] +rclb $0, 485498096(%edx) + +// CHECK: rclb $0, 485498096 +// CHECK: encoding: [0xc0,0x15,0xf0,0x1c,0xf0,0x1c,0x00] +rclb $0, 485498096 + +// CHECK: rclb $0, 64(%edx,%eax) +// CHECK: encoding: [0xc0,0x54,0x02,0x40,0x00] +rclb $0, 64(%edx,%eax) + +// CHECK: rclb $0, (%edx) +// CHECK: encoding: [0xc0,0x12,0x00] +rclb $0, (%edx) + +// CHECK: rcll $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xc1,0x94,0x82,0x10,0xe3,0x0f,0xe3,0x00] +rcll $0, -485498096(%edx,%eax,4) + +// CHECK: rcll $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xc1,0x94,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +rcll $0, 485498096(%edx,%eax,4) + +// CHECK: rcll $0, 485498096(%edx) +// CHECK: encoding: [0xc1,0x92,0xf0,0x1c,0xf0,0x1c,0x00] +rcll $0, 485498096(%edx) + +// CHECK: rcll $0, 485498096 +// CHECK: encoding: [0xc1,0x15,0xf0,0x1c,0xf0,0x1c,0x00] +rcll $0, 485498096 + +// CHECK: rcll $0, 64(%edx,%eax) +// CHECK: encoding: [0xc1,0x54,0x02,0x40,0x00] +rcll $0, 64(%edx,%eax) + +// CHECK: rcll $0, %eax +// CHECK: encoding: [0xc1,0xd0,0x00] +rcll $0, %eax + +// CHECK: rcll $0, (%edx) +// CHECK: encoding: [0xc1,0x12,0x00] +rcll $0, (%edx) + +// CHECK: rclw $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xc1,0x94,0x82,0x10,0xe3,0x0f,0xe3,0x00] +rclw $0, -485498096(%edx,%eax,4) + +// CHECK: rclw $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xc1,0x94,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +rclw $0, 485498096(%edx,%eax,4) + +// CHECK: rclw $0, 485498096(%edx) +// CHECK: encoding: [0x66,0xc1,0x92,0xf0,0x1c,0xf0,0x1c,0x00] +rclw $0, 485498096(%edx) + +// CHECK: rclw $0, 485498096 +// CHECK: encoding: [0x66,0xc1,0x15,0xf0,0x1c,0xf0,0x1c,0x00] +rclw $0, 485498096 + +// CHECK: rclw $0, 64(%edx,%eax) +// CHECK: encoding: [0x66,0xc1,0x54,0x02,0x40,0x00] +rclw $0, 64(%edx,%eax) + +// CHECK: rclw $0, (%edx) +// CHECK: encoding: [0x66,0xc1,0x12,0x00] +rclw $0, (%edx) + +// CHECK: rcrb $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xc0,0x9c,0x82,0x10,0xe3,0x0f,0xe3,0x00] +rcrb $0, -485498096(%edx,%eax,4) + +// CHECK: rcrb $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xc0,0x9c,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +rcrb $0, 485498096(%edx,%eax,4) + +// CHECK: rcrb $0, 485498096(%edx) +// CHECK: encoding: [0xc0,0x9a,0xf0,0x1c,0xf0,0x1c,0x00] +rcrb $0, 485498096(%edx) + +// CHECK: rcrb $0, 485498096 +// CHECK: encoding: [0xc0,0x1d,0xf0,0x1c,0xf0,0x1c,0x00] +rcrb $0, 485498096 + +// CHECK: rcrb $0, 64(%edx,%eax) +// CHECK: encoding: [0xc0,0x5c,0x02,0x40,0x00] +rcrb $0, 64(%edx,%eax) + +// CHECK: rcrb $0, (%edx) +// CHECK: encoding: [0xc0,0x1a,0x00] +rcrb $0, (%edx) + +// CHECK: rcrl $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xc1,0x9c,0x82,0x10,0xe3,0x0f,0xe3,0x00] +rcrl $0, -485498096(%edx,%eax,4) + +// CHECK: rcrl $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xc1,0x9c,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +rcrl $0, 485498096(%edx,%eax,4) + +// CHECK: rcrl $0, 485498096(%edx) +// CHECK: encoding: [0xc1,0x9a,0xf0,0x1c,0xf0,0x1c,0x00] +rcrl $0, 485498096(%edx) + +// CHECK: rcrl $0, 485498096 +// CHECK: encoding: [0xc1,0x1d,0xf0,0x1c,0xf0,0x1c,0x00] +rcrl $0, 485498096 + +// CHECK: rcrl $0, 64(%edx,%eax) +// CHECK: encoding: [0xc1,0x5c,0x02,0x40,0x00] +rcrl $0, 64(%edx,%eax) + +// CHECK: rcrl $0, %eax +// CHECK: encoding: [0xc1,0xd8,0x00] +rcrl $0, %eax + +// CHECK: rcrl $0, (%edx) +// CHECK: encoding: [0xc1,0x1a,0x00] +rcrl $0, (%edx) + +// CHECK: rcrw $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xc1,0x9c,0x82,0x10,0xe3,0x0f,0xe3,0x00] +rcrw $0, -485498096(%edx,%eax,4) + +// CHECK: rcrw $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xc1,0x9c,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +rcrw $0, 485498096(%edx,%eax,4) + +// CHECK: rcrw $0, 485498096(%edx) +// CHECK: encoding: [0x66,0xc1,0x9a,0xf0,0x1c,0xf0,0x1c,0x00] +rcrw $0, 485498096(%edx) + +// CHECK: rcrw $0, 485498096 +// CHECK: encoding: [0x66,0xc1,0x1d,0xf0,0x1c,0xf0,0x1c,0x00] +rcrw $0, 485498096 + +// CHECK: rcrw $0, 64(%edx,%eax) +// CHECK: encoding: [0x66,0xc1,0x5c,0x02,0x40,0x00] +rcrw $0, 64(%edx,%eax) + +// CHECK: rcrw $0, (%edx) +// CHECK: encoding: [0x66,0xc1,0x1a,0x00] +rcrw $0, (%edx) + +// CHECK: rep insb %dx, %es:(%edi) +// CHECK: encoding: [0xf3,0x6c] +rep insb %dx, %es:(%edi) + +// CHECK: rep insl %dx, %es:(%edi) +// CHECK: encoding: [0xf3,0x6d] +rep insl %dx, %es:(%edi) + +// CHECK: rep insw %dx, %es:(%edi) +// CHECK: encoding: [0xf3,0x66,0x6d] +rep insw %dx, %es:(%edi) + +// CHECK: repne insb %dx, %es:(%edi) +// CHECK: encoding: [0xf2,0x6c] +repne insb %dx, %es:(%edi) + +// CHECK: repne insl %dx, %es:(%edi) +// CHECK: encoding: [0xf2,0x6d] +repne insl %dx, %es:(%edi) + +// CHECK: repne insw %dx, %es:(%edi) +// CHECK: encoding: [0xf2,0x66,0x6d] +repne insw %dx, %es:(%edi) + +// CHECK: repne outsb %es:(%esi), %dx +// CHECK: encoding: [0xf2,0x26,0x6e] +repne outsb %es:(%esi), %dx + +// CHECK: repne outsl %es:(%esi), %dx +// CHECK: encoding: [0xf2,0x26,0x6f] +repne outsl %es:(%esi), %dx + +// CHECK: repne outsw %es:(%esi), %dx +// CHECK: encoding: [0xf2,0x66,0x26,0x6f] +repne outsw %es:(%esi), %dx + +// CHECK: rep outsb %es:(%esi), %dx +// CHECK: encoding: [0xf3,0x26,0x6e] +rep outsb %es:(%esi), %dx + +// CHECK: rep outsl %es:(%esi), %dx +// CHECK: encoding: [0xf3,0x26,0x6f] +rep outsl %es:(%esi), %dx + +// CHECK: rep outsw %es:(%esi), %dx +// CHECK: encoding: [0xf3,0x66,0x26,0x6f] +rep outsw %es:(%esi), %dx + +// CHECK: rolb $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xc0,0x84,0x82,0x10,0xe3,0x0f,0xe3,0x00] +rolb $0, -485498096(%edx,%eax,4) + +// CHECK: rolb $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xc0,0x84,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +rolb $0, 485498096(%edx,%eax,4) + +// CHECK: rolb $0, 485498096(%edx) +// CHECK: encoding: [0xc0,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +rolb $0, 485498096(%edx) + +// CHECK: rolb $0, 485498096 +// CHECK: encoding: [0xc0,0x05,0xf0,0x1c,0xf0,0x1c,0x00] +rolb $0, 485498096 + +// CHECK: rolb $0, 64(%edx,%eax) +// CHECK: encoding: [0xc0,0x44,0x02,0x40,0x00] +rolb $0, 64(%edx,%eax) + +// CHECK: rolb $0, (%edx) +// CHECK: encoding: [0xc0,0x02,0x00] +rolb $0, (%edx) + +// CHECK: roll $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xc1,0x84,0x82,0x10,0xe3,0x0f,0xe3,0x00] +roll $0, -485498096(%edx,%eax,4) + +// CHECK: roll $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xc1,0x84,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +roll $0, 485498096(%edx,%eax,4) + +// CHECK: roll $0, 485498096(%edx) +// CHECK: encoding: [0xc1,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +roll $0, 485498096(%edx) + +// CHECK: roll $0, 485498096 +// CHECK: encoding: [0xc1,0x05,0xf0,0x1c,0xf0,0x1c,0x00] +roll $0, 485498096 + +// CHECK: roll $0, 64(%edx,%eax) +// CHECK: encoding: [0xc1,0x44,0x02,0x40,0x00] +roll $0, 64(%edx,%eax) + +// CHECK: roll $0, %eax +// CHECK: encoding: [0xc1,0xc0,0x00] +roll $0, %eax + +// CHECK: roll $0, (%edx) +// CHECK: encoding: [0xc1,0x02,0x00] +roll $0, (%edx) + +// CHECK: rolw $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xc1,0x84,0x82,0x10,0xe3,0x0f,0xe3,0x00] +rolw $0, -485498096(%edx,%eax,4) + +// CHECK: rolw $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xc1,0x84,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +rolw $0, 485498096(%edx,%eax,4) + +// CHECK: rolw $0, 485498096(%edx) +// CHECK: encoding: [0x66,0xc1,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +rolw $0, 485498096(%edx) + +// CHECK: rolw $0, 485498096 +// CHECK: encoding: [0x66,0xc1,0x05,0xf0,0x1c,0xf0,0x1c,0x00] +rolw $0, 485498096 + +// CHECK: rolw $0, 64(%edx,%eax) +// CHECK: encoding: [0x66,0xc1,0x44,0x02,0x40,0x00] +rolw $0, 64(%edx,%eax) + +// CHECK: rolw $0, (%edx) +// CHECK: encoding: [0x66,0xc1,0x02,0x00] +rolw $0, (%edx) + +// CHECK: rorb $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xc0,0x8c,0x82,0x10,0xe3,0x0f,0xe3,0x00] +rorb $0, -485498096(%edx,%eax,4) + +// CHECK: rorb $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xc0,0x8c,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +rorb $0, 485498096(%edx,%eax,4) + +// CHECK: rorb $0, 485498096(%edx) +// CHECK: encoding: [0xc0,0x8a,0xf0,0x1c,0xf0,0x1c,0x00] +rorb $0, 485498096(%edx) + +// CHECK: rorb $0, 485498096 +// CHECK: encoding: [0xc0,0x0d,0xf0,0x1c,0xf0,0x1c,0x00] +rorb $0, 485498096 + +// CHECK: rorb $0, 64(%edx,%eax) +// CHECK: encoding: [0xc0,0x4c,0x02,0x40,0x00] +rorb $0, 64(%edx,%eax) + +// CHECK: rorb $0, (%edx) +// CHECK: encoding: [0xc0,0x0a,0x00] +rorb $0, (%edx) + +// CHECK: rorl $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xc1,0x8c,0x82,0x10,0xe3,0x0f,0xe3,0x00] +rorl $0, -485498096(%edx,%eax,4) + +// CHECK: rorl $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xc1,0x8c,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +rorl $0, 485498096(%edx,%eax,4) + +// CHECK: rorl $0, 485498096(%edx) +// CHECK: encoding: [0xc1,0x8a,0xf0,0x1c,0xf0,0x1c,0x00] +rorl $0, 485498096(%edx) + +// CHECK: rorl $0, 485498096 +// CHECK: encoding: [0xc1,0x0d,0xf0,0x1c,0xf0,0x1c,0x00] +rorl $0, 485498096 + +// CHECK: rorl $0, 64(%edx,%eax) +// CHECK: encoding: [0xc1,0x4c,0x02,0x40,0x00] +rorl $0, 64(%edx,%eax) + +// CHECK: rorl $0, %eax +// CHECK: encoding: [0xc1,0xc8,0x00] +rorl $0, %eax + +// CHECK: rorl $0, (%edx) +// CHECK: encoding: [0xc1,0x0a,0x00] +rorl $0, (%edx) + +// CHECK: rorw $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xc1,0x8c,0x82,0x10,0xe3,0x0f,0xe3,0x00] +rorw $0, -485498096(%edx,%eax,4) + +// CHECK: rorw $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xc1,0x8c,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +rorw $0, 485498096(%edx,%eax,4) + +// CHECK: rorw $0, 485498096(%edx) +// CHECK: encoding: [0x66,0xc1,0x8a,0xf0,0x1c,0xf0,0x1c,0x00] +rorw $0, 485498096(%edx) + +// CHECK: rorw $0, 485498096 +// CHECK: encoding: [0x66,0xc1,0x0d,0xf0,0x1c,0xf0,0x1c,0x00] +rorw $0, 485498096 + +// CHECK: rorw $0, 64(%edx,%eax) +// CHECK: encoding: [0x66,0xc1,0x4c,0x02,0x40,0x00] +rorw $0, 64(%edx,%eax) + +// CHECK: rorw $0, (%edx) +// CHECK: encoding: [0x66,0xc1,0x0a,0x00] +rorw $0, (%edx) + +// CHECK: sarb $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xc0,0xbc,0x82,0x10,0xe3,0x0f,0xe3,0x00] +sarb $0, -485498096(%edx,%eax,4) + +// CHECK: sarb $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xc0,0xbc,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +sarb $0, 485498096(%edx,%eax,4) + +// CHECK: sarb $0, 485498096(%edx) +// CHECK: encoding: [0xc0,0xba,0xf0,0x1c,0xf0,0x1c,0x00] +sarb $0, 485498096(%edx) + +// CHECK: sarb $0, 485498096 +// CHECK: encoding: [0xc0,0x3d,0xf0,0x1c,0xf0,0x1c,0x00] +sarb $0, 485498096 + +// CHECK: sarb $0, 64(%edx,%eax) +// CHECK: encoding: [0xc0,0x7c,0x02,0x40,0x00] +sarb $0, 64(%edx,%eax) + +// CHECK: sarb $0, (%edx) +// CHECK: encoding: [0xc0,0x3a,0x00] +sarb $0, (%edx) + +// CHECK: sarl $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xc1,0xbc,0x82,0x10,0xe3,0x0f,0xe3,0x00] +sarl $0, -485498096(%edx,%eax,4) + +// CHECK: sarl $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xc1,0xbc,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +sarl $0, 485498096(%edx,%eax,4) + +// CHECK: sarl $0, 485498096(%edx) +// CHECK: encoding: [0xc1,0xba,0xf0,0x1c,0xf0,0x1c,0x00] +sarl $0, 485498096(%edx) + +// CHECK: sarl $0, 485498096 +// CHECK: encoding: [0xc1,0x3d,0xf0,0x1c,0xf0,0x1c,0x00] +sarl $0, 485498096 + +// CHECK: sarl $0, 64(%edx,%eax) +// CHECK: encoding: [0xc1,0x7c,0x02,0x40,0x00] +sarl $0, 64(%edx,%eax) + +// CHECK: sarl $0, %eax +// CHECK: encoding: [0xc1,0xf8,0x00] +sarl $0, %eax + +// CHECK: sarl $0, (%edx) +// CHECK: encoding: [0xc1,0x3a,0x00] +sarl $0, (%edx) + +// CHECK: sarw $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xc1,0xbc,0x82,0x10,0xe3,0x0f,0xe3,0x00] +sarw $0, -485498096(%edx,%eax,4) + +// CHECK: sarw $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xc1,0xbc,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +sarw $0, 485498096(%edx,%eax,4) + +// CHECK: sarw $0, 485498096(%edx) +// CHECK: encoding: [0x66,0xc1,0xba,0xf0,0x1c,0xf0,0x1c,0x00] +sarw $0, 485498096(%edx) + +// CHECK: sarw $0, 485498096 +// CHECK: encoding: [0x66,0xc1,0x3d,0xf0,0x1c,0xf0,0x1c,0x00] +sarw $0, 485498096 + +// CHECK: sarw $0, 64(%edx,%eax) +// CHECK: encoding: [0x66,0xc1,0x7c,0x02,0x40,0x00] +sarw $0, 64(%edx,%eax) + +// CHECK: sarw $0, (%edx) +// CHECK: encoding: [0x66,0xc1,0x3a,0x00] +sarw $0, (%edx) + +// CHECK: shlb $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xc0,0xa4,0x82,0x10,0xe3,0x0f,0xe3,0x00] +shlb $0, -485498096(%edx,%eax,4) + +// CHECK: shlb $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xc0,0xa4,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +shlb $0, 485498096(%edx,%eax,4) + +// CHECK: shlb $0, 485498096(%edx) +// CHECK: encoding: [0xc0,0xa2,0xf0,0x1c,0xf0,0x1c,0x00] +shlb $0, 485498096(%edx) + +// CHECK: shlb $0, 485498096 +// CHECK: encoding: [0xc0,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +shlb $0, 485498096 + +// CHECK: shlb $0, 64(%edx,%eax) +// CHECK: encoding: [0xc0,0x64,0x02,0x40,0x00] +shlb $0, 64(%edx,%eax) + +// CHECK: shlb $0, (%edx) +// CHECK: encoding: [0xc0,0x22,0x00] +shlb $0, (%edx) + +// CHECK: shll $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xc1,0xa4,0x82,0x10,0xe3,0x0f,0xe3,0x00] +shll $0, -485498096(%edx,%eax,4) + +// CHECK: shll $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xc1,0xa4,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +shll $0, 485498096(%edx,%eax,4) + +// CHECK: shll $0, 485498096(%edx) +// CHECK: encoding: [0xc1,0xa2,0xf0,0x1c,0xf0,0x1c,0x00] +shll $0, 485498096(%edx) + +// CHECK: shll $0, 485498096 +// CHECK: encoding: [0xc1,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +shll $0, 485498096 + +// CHECK: shll $0, 64(%edx,%eax) +// CHECK: encoding: [0xc1,0x64,0x02,0x40,0x00] +shll $0, 64(%edx,%eax) + +// CHECK: shll $0, %eax +// CHECK: encoding: [0xc1,0xe0,0x00] +shll $0, %eax + +// CHECK: shll $0, (%edx) +// CHECK: encoding: [0xc1,0x22,0x00] +shll $0, (%edx) + +// CHECK: shlw $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xc1,0xa4,0x82,0x10,0xe3,0x0f,0xe3,0x00] +shlw $0, -485498096(%edx,%eax,4) + +// CHECK: shlw $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xc1,0xa4,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +shlw $0, 485498096(%edx,%eax,4) + +// CHECK: shlw $0, 485498096(%edx) +// CHECK: encoding: [0x66,0xc1,0xa2,0xf0,0x1c,0xf0,0x1c,0x00] +shlw $0, 485498096(%edx) + +// CHECK: shlw $0, 485498096 +// CHECK: encoding: [0x66,0xc1,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +shlw $0, 485498096 + +// CHECK: shlw $0, 64(%edx,%eax) +// CHECK: encoding: [0x66,0xc1,0x64,0x02,0x40,0x00] +shlw $0, 64(%edx,%eax) + +// CHECK: shlw $0, (%edx) +// CHECK: encoding: [0x66,0xc1,0x22,0x00] +shlw $0, (%edx) + +// CHECK: shrb $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xc0,0xac,0x82,0x10,0xe3,0x0f,0xe3,0x00] +shrb $0, -485498096(%edx,%eax,4) + +// CHECK: shrb $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xc0,0xac,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +shrb $0, 485498096(%edx,%eax,4) + +// CHECK: shrb $0, 485498096(%edx) +// CHECK: encoding: [0xc0,0xaa,0xf0,0x1c,0xf0,0x1c,0x00] +shrb $0, 485498096(%edx) + +// CHECK: shrb $0, 485498096 +// CHECK: encoding: [0xc0,0x2d,0xf0,0x1c,0xf0,0x1c,0x00] +shrb $0, 485498096 + +// CHECK: shrb $0, 64(%edx,%eax) +// CHECK: encoding: [0xc0,0x6c,0x02,0x40,0x00] +shrb $0, 64(%edx,%eax) + +// CHECK: shrb $0, (%edx) +// CHECK: encoding: [0xc0,0x2a,0x00] +shrb $0, (%edx) + +// CHECK: shrl $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xc1,0xac,0x82,0x10,0xe3,0x0f,0xe3,0x00] +shrl $0, -485498096(%edx,%eax,4) + +// CHECK: shrl $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xc1,0xac,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +shrl $0, 485498096(%edx,%eax,4) + +// CHECK: shrl $0, 485498096(%edx) +// CHECK: encoding: [0xc1,0xaa,0xf0,0x1c,0xf0,0x1c,0x00] +shrl $0, 485498096(%edx) + +// CHECK: shrl $0, 485498096 +// CHECK: encoding: [0xc1,0x2d,0xf0,0x1c,0xf0,0x1c,0x00] +shrl $0, 485498096 + +// CHECK: shrl $0, 64(%edx,%eax) +// CHECK: encoding: [0xc1,0x6c,0x02,0x40,0x00] +shrl $0, 64(%edx,%eax) + +// CHECK: shrl $0, %eax +// CHECK: encoding: [0xc1,0xe8,0x00] +shrl $0, %eax + +// CHECK: shrl $0, (%edx) +// CHECK: encoding: [0xc1,0x2a,0x00] +shrl $0, (%edx) + +// CHECK: shrw $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xc1,0xac,0x82,0x10,0xe3,0x0f,0xe3,0x00] +shrw $0, -485498096(%edx,%eax,4) + +// CHECK: shrw $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xc1,0xac,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +shrw $0, 485498096(%edx,%eax,4) + +// CHECK: shrw $0, 485498096(%edx) +// CHECK: encoding: [0x66,0xc1,0xaa,0xf0,0x1c,0xf0,0x1c,0x00] +shrw $0, 485498096(%edx) + +// CHECK: shrw $0, 485498096 +// CHECK: encoding: [0x66,0xc1,0x2d,0xf0,0x1c,0xf0,0x1c,0x00] +shrw $0, 485498096 + +// CHECK: shrw $0, 64(%edx,%eax) +// CHECK: encoding: [0x66,0xc1,0x6c,0x02,0x40,0x00] +shrw $0, 64(%edx,%eax) + +// CHECK: shrw $0, (%edx) +// CHECK: encoding: [0x66,0xc1,0x2a,0x00] +shrw $0, (%edx) + diff --git a/llvm/test/MC/X86/I186-64.s b/llvm/test/MC/X86/I186-64.s new file mode 100644 index 000000000000..18aa124127a5 --- /dev/null +++ b/llvm/test/MC/X86/I186-64.s @@ -0,0 +1,846 @@ +// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s + +// CHECK: enter $0, $0 +// CHECK: encoding: [0xc8,0x00,0x00,0x00] +enter $0, $0 + +// CHECK: imull $0, %r13d, %r13d +// CHECK: encoding: [0x45,0x6b,0xed,0x00] +imull $0, %r13d, %r13d + +// CHECK: insb %dx, %es:(%rdi) +// CHECK: encoding: [0x6c] +insb %dx, %es:(%rdi) + +// CHECK: insl %dx, %es:(%rdi) +// CHECK: encoding: [0x6d] +insl %dx, %es:(%rdi) + +// CHECK: insw %dx, %es:(%rdi) +// CHECK: encoding: [0x66,0x6d] +insw %dx, %es:(%rdi) + +// CHECK: leave +// CHECK: encoding: [0xc9] +leave + +// CHECK: outsb %gs:(%rsi), %dx +// CHECK: encoding: [0x65,0x6e] +outsb %gs:(%rsi), %dx + +// CHECK: outsl %gs:(%rsi), %dx +// CHECK: encoding: [0x65,0x6f] +outsl %gs:(%rsi), %dx + +// CHECK: outsw %gs:(%rsi), %dx +// CHECK: encoding: [0x66,0x65,0x6f] +outsw %gs:(%rsi), %dx + +// CHECK: pushq $0 +// CHECK: encoding: [0x6a,0x00] +pushq $0 + +// CHECK: rclb $0, 485498096 +// CHECK: encoding: [0xc0,0x14,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +rclb $0, 485498096 + +// CHECK: rclb $0, 64(%rdx) +// CHECK: encoding: [0xc0,0x52,0x40,0x00] +rclb $0, 64(%rdx) + +// CHECK: rclb $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0xc0,0x54,0x82,0x40,0x00] +rclb $0, 64(%rdx,%rax,4) + +// CHECK: rclb $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0xc0,0x54,0x82,0xc0,0x00] +rclb $0, -64(%rdx,%rax,4) + +// CHECK: rclb $0, 64(%rdx,%rax) +// CHECK: encoding: [0xc0,0x54,0x02,0x40,0x00] +rclb $0, 64(%rdx,%rax) + +// CHECK: rclb $0, %r14b +// CHECK: encoding: [0x41,0xc0,0xd6,0x00] +rclb $0, %r14b + +// CHECK: rclb $0, (%rdx) +// CHECK: encoding: [0xc0,0x12,0x00] +rclb $0, (%rdx) + +// CHECK: rcll $0, 485498096 +// CHECK: encoding: [0xc1,0x14,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +rcll $0, 485498096 + +// CHECK: rcll $0, 64(%rdx) +// CHECK: encoding: [0xc1,0x52,0x40,0x00] +rcll $0, 64(%rdx) + +// CHECK: rcll $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0xc1,0x54,0x82,0x40,0x00] +rcll $0, 64(%rdx,%rax,4) + +// CHECK: rcll $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0xc1,0x54,0x82,0xc0,0x00] +rcll $0, -64(%rdx,%rax,4) + +// CHECK: rcll $0, 64(%rdx,%rax) +// CHECK: encoding: [0xc1,0x54,0x02,0x40,0x00] +rcll $0, 64(%rdx,%rax) + +// CHECK: rcll $0, %r13d +// CHECK: encoding: [0x41,0xc1,0xd5,0x00] +rcll $0, %r13d + +// CHECK: rcll $0, (%rdx) +// CHECK: encoding: [0xc1,0x12,0x00] +rcll $0, (%rdx) + +// CHECK: rclq $0, 485498096 +// CHECK: encoding: [0x48,0xc1,0x14,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +rclq $0, 485498096 + +// CHECK: rclq $0, 64(%rdx) +// CHECK: encoding: [0x48,0xc1,0x52,0x40,0x00] +rclq $0, 64(%rdx) + +// CHECK: rclq $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xc1,0x54,0x82,0x40,0x00] +rclq $0, 64(%rdx,%rax,4) + +// CHECK: rclq $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xc1,0x54,0x82,0xc0,0x00] +rclq $0, -64(%rdx,%rax,4) + +// CHECK: rclq $0, 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xc1,0x54,0x02,0x40,0x00] +rclq $0, 64(%rdx,%rax) + +// CHECK: rclq $0, (%rdx) +// CHECK: encoding: [0x48,0xc1,0x12,0x00] +rclq $0, (%rdx) + +// CHECK: rclw $0, 485498096 +// CHECK: encoding: [0x66,0xc1,0x14,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +rclw $0, 485498096 + +// CHECK: rclw $0, 64(%rdx) +// CHECK: encoding: [0x66,0xc1,0x52,0x40,0x00] +rclw $0, 64(%rdx) + +// CHECK: rclw $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xc1,0x54,0x82,0x40,0x00] +rclw $0, 64(%rdx,%rax,4) + +// CHECK: rclw $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xc1,0x54,0x82,0xc0,0x00] +rclw $0, -64(%rdx,%rax,4) + +// CHECK: rclw $0, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xc1,0x54,0x02,0x40,0x00] +rclw $0, 64(%rdx,%rax) + +// CHECK: rclw $0, %r14w +// CHECK: encoding: [0x66,0x41,0xc1,0xd6,0x00] +rclw $0, %r14w + +// CHECK: rclw $0, (%rdx) +// CHECK: encoding: [0x66,0xc1,0x12,0x00] +rclw $0, (%rdx) + +// CHECK: rcrb $0, 485498096 +// CHECK: encoding: [0xc0,0x1c,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +rcrb $0, 485498096 + +// CHECK: rcrb $0, 64(%rdx) +// CHECK: encoding: [0xc0,0x5a,0x40,0x00] +rcrb $0, 64(%rdx) + +// CHECK: rcrb $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0xc0,0x5c,0x82,0x40,0x00] +rcrb $0, 64(%rdx,%rax,4) + +// CHECK: rcrb $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0xc0,0x5c,0x82,0xc0,0x00] +rcrb $0, -64(%rdx,%rax,4) + +// CHECK: rcrb $0, 64(%rdx,%rax) +// CHECK: encoding: [0xc0,0x5c,0x02,0x40,0x00] +rcrb $0, 64(%rdx,%rax) + +// CHECK: rcrb $0, %r14b +// CHECK: encoding: [0x41,0xc0,0xde,0x00] +rcrb $0, %r14b + +// CHECK: rcrb $0, (%rdx) +// CHECK: encoding: [0xc0,0x1a,0x00] +rcrb $0, (%rdx) + +// CHECK: rcrl $0, 485498096 +// CHECK: encoding: [0xc1,0x1c,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +rcrl $0, 485498096 + +// CHECK: rcrl $0, 64(%rdx) +// CHECK: encoding: [0xc1,0x5a,0x40,0x00] +rcrl $0, 64(%rdx) + +// CHECK: rcrl $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0xc1,0x5c,0x82,0x40,0x00] +rcrl $0, 64(%rdx,%rax,4) + +// CHECK: rcrl $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0xc1,0x5c,0x82,0xc0,0x00] +rcrl $0, -64(%rdx,%rax,4) + +// CHECK: rcrl $0, 64(%rdx,%rax) +// CHECK: encoding: [0xc1,0x5c,0x02,0x40,0x00] +rcrl $0, 64(%rdx,%rax) + +// CHECK: rcrl $0, %r13d +// CHECK: encoding: [0x41,0xc1,0xdd,0x00] +rcrl $0, %r13d + +// CHECK: rcrl $0, (%rdx) +// CHECK: encoding: [0xc1,0x1a,0x00] +rcrl $0, (%rdx) + +// CHECK: rcrq $0, 485498096 +// CHECK: encoding: [0x48,0xc1,0x1c,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +rcrq $0, 485498096 + +// CHECK: rcrq $0, 64(%rdx) +// CHECK: encoding: [0x48,0xc1,0x5a,0x40,0x00] +rcrq $0, 64(%rdx) + +// CHECK: rcrq $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xc1,0x5c,0x82,0x40,0x00] +rcrq $0, 64(%rdx,%rax,4) + +// CHECK: rcrq $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xc1,0x5c,0x82,0xc0,0x00] +rcrq $0, -64(%rdx,%rax,4) + +// CHECK: rcrq $0, 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xc1,0x5c,0x02,0x40,0x00] +rcrq $0, 64(%rdx,%rax) + +// CHECK: rcrq $0, (%rdx) +// CHECK: encoding: [0x48,0xc1,0x1a,0x00] +rcrq $0, (%rdx) + +// CHECK: rcrw $0, 485498096 +// CHECK: encoding: [0x66,0xc1,0x1c,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +rcrw $0, 485498096 + +// CHECK: rcrw $0, 64(%rdx) +// CHECK: encoding: [0x66,0xc1,0x5a,0x40,0x00] +rcrw $0, 64(%rdx) + +// CHECK: rcrw $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xc1,0x5c,0x82,0x40,0x00] +rcrw $0, 64(%rdx,%rax,4) + +// CHECK: rcrw $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xc1,0x5c,0x82,0xc0,0x00] +rcrw $0, -64(%rdx,%rax,4) + +// CHECK: rcrw $0, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xc1,0x5c,0x02,0x40,0x00] +rcrw $0, 64(%rdx,%rax) + +// CHECK: rcrw $0, %r14w +// CHECK: encoding: [0x66,0x41,0xc1,0xde,0x00] +rcrw $0, %r14w + +// CHECK: rcrw $0, (%rdx) +// CHECK: encoding: [0x66,0xc1,0x1a,0x00] +rcrw $0, (%rdx) + +// CHECK: rep insb %dx, %es:(%rdi) +// CHECK: encoding: [0xf3,0x6c] +rep insb %dx, %es:(%rdi) + +// CHECK: rep insl %dx, %es:(%rdi) +// CHECK: encoding: [0xf3,0x6d] +rep insl %dx, %es:(%rdi) + +// CHECK: rep insw %dx, %es:(%rdi) +// CHECK: encoding: [0xf3,0x66,0x6d] +rep insw %dx, %es:(%rdi) + +// CHECK: repne insb %dx, %es:(%rdi) +// CHECK: encoding: [0xf2,0x6c] +repne insb %dx, %es:(%rdi) + +// CHECK: repne insl %dx, %es:(%rdi) +// CHECK: encoding: [0xf2,0x6d] +repne insl %dx, %es:(%rdi) + +// CHECK: repne insw %dx, %es:(%rdi) +// CHECK: encoding: [0xf2,0x66,0x6d] +repne insw %dx, %es:(%rdi) + +// CHECK: repne outsb %gs:(%rsi), %dx +// CHECK: encoding: [0xf2,0x65,0x6e] +repne outsb %gs:(%rsi), %dx + +// CHECK: repne outsl %gs:(%rsi), %dx +// CHECK: encoding: [0xf2,0x65,0x6f] +repne outsl %gs:(%rsi), %dx + +// CHECK: repne outsw %gs:(%rsi), %dx +// CHECK: encoding: [0xf2,0x66,0x65,0x6f] +repne outsw %gs:(%rsi), %dx + +// CHECK: rep outsb %gs:(%rsi), %dx +// CHECK: encoding: [0xf3,0x65,0x6e] +rep outsb %gs:(%rsi), %dx + +// CHECK: rep outsl %gs:(%rsi), %dx +// CHECK: encoding: [0xf3,0x65,0x6f] +rep outsl %gs:(%rsi), %dx + +// CHECK: rep outsw %gs:(%rsi), %dx +// CHECK: encoding: [0xf3,0x66,0x65,0x6f] +rep outsw %gs:(%rsi), %dx + +// CHECK: rolb $0, 485498096 +// CHECK: encoding: [0xc0,0x04,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +rolb $0, 485498096 + +// CHECK: rolb $0, 64(%rdx) +// CHECK: encoding: [0xc0,0x42,0x40,0x00] +rolb $0, 64(%rdx) + +// CHECK: rolb $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0xc0,0x44,0x82,0x40,0x00] +rolb $0, 64(%rdx,%rax,4) + +// CHECK: rolb $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0xc0,0x44,0x82,0xc0,0x00] +rolb $0, -64(%rdx,%rax,4) + +// CHECK: rolb $0, 64(%rdx,%rax) +// CHECK: encoding: [0xc0,0x44,0x02,0x40,0x00] +rolb $0, 64(%rdx,%rax) + +// CHECK: rolb $0, %r14b +// CHECK: encoding: [0x41,0xc0,0xc6,0x00] +rolb $0, %r14b + +// CHECK: rolb $0, (%rdx) +// CHECK: encoding: [0xc0,0x02,0x00] +rolb $0, (%rdx) + +// CHECK: roll $0, 485498096 +// CHECK: encoding: [0xc1,0x04,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +roll $0, 485498096 + +// CHECK: roll $0, 64(%rdx) +// CHECK: encoding: [0xc1,0x42,0x40,0x00] +roll $0, 64(%rdx) + +// CHECK: roll $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0xc1,0x44,0x82,0x40,0x00] +roll $0, 64(%rdx,%rax,4) + +// CHECK: roll $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0xc1,0x44,0x82,0xc0,0x00] +roll $0, -64(%rdx,%rax,4) + +// CHECK: roll $0, 64(%rdx,%rax) +// CHECK: encoding: [0xc1,0x44,0x02,0x40,0x00] +roll $0, 64(%rdx,%rax) + +// CHECK: roll $0, %r13d +// CHECK: encoding: [0x41,0xc1,0xc5,0x00] +roll $0, %r13d + +// CHECK: roll $0, (%rdx) +// CHECK: encoding: [0xc1,0x02,0x00] +roll $0, (%rdx) + +// CHECK: rolq $0, 485498096 +// CHECK: encoding: [0x48,0xc1,0x04,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +rolq $0, 485498096 + +// CHECK: rolq $0, 64(%rdx) +// CHECK: encoding: [0x48,0xc1,0x42,0x40,0x00] +rolq $0, 64(%rdx) + +// CHECK: rolq $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xc1,0x44,0x82,0x40,0x00] +rolq $0, 64(%rdx,%rax,4) + +// CHECK: rolq $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xc1,0x44,0x82,0xc0,0x00] +rolq $0, -64(%rdx,%rax,4) + +// CHECK: rolq $0, 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xc1,0x44,0x02,0x40,0x00] +rolq $0, 64(%rdx,%rax) + +// CHECK: rolq $0, (%rdx) +// CHECK: encoding: [0x48,0xc1,0x02,0x00] +rolq $0, (%rdx) + +// CHECK: rolw $0, 485498096 +// CHECK: encoding: [0x66,0xc1,0x04,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +rolw $0, 485498096 + +// CHECK: rolw $0, 64(%rdx) +// CHECK: encoding: [0x66,0xc1,0x42,0x40,0x00] +rolw $0, 64(%rdx) + +// CHECK: rolw $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xc1,0x44,0x82,0x40,0x00] +rolw $0, 64(%rdx,%rax,4) + +// CHECK: rolw $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xc1,0x44,0x82,0xc0,0x00] +rolw $0, -64(%rdx,%rax,4) + +// CHECK: rolw $0, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xc1,0x44,0x02,0x40,0x00] +rolw $0, 64(%rdx,%rax) + +// CHECK: rolw $0, %r14w +// CHECK: encoding: [0x66,0x41,0xc1,0xc6,0x00] +rolw $0, %r14w + +// CHECK: rolw $0, (%rdx) +// CHECK: encoding: [0x66,0xc1,0x02,0x00] +rolw $0, (%rdx) + +// CHECK: rorb $0, 485498096 +// CHECK: encoding: [0xc0,0x0c,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +rorb $0, 485498096 + +// CHECK: rorb $0, 64(%rdx) +// CHECK: encoding: [0xc0,0x4a,0x40,0x00] +rorb $0, 64(%rdx) + +// CHECK: rorb $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0xc0,0x4c,0x82,0x40,0x00] +rorb $0, 64(%rdx,%rax,4) + +// CHECK: rorb $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0xc0,0x4c,0x82,0xc0,0x00] +rorb $0, -64(%rdx,%rax,4) + +// CHECK: rorb $0, 64(%rdx,%rax) +// CHECK: encoding: [0xc0,0x4c,0x02,0x40,0x00] +rorb $0, 64(%rdx,%rax) + +// CHECK: rorb $0, %r14b +// CHECK: encoding: [0x41,0xc0,0xce,0x00] +rorb $0, %r14b + +// CHECK: rorb $0, (%rdx) +// CHECK: encoding: [0xc0,0x0a,0x00] +rorb $0, (%rdx) + +// CHECK: rorl $0, 485498096 +// CHECK: encoding: [0xc1,0x0c,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +rorl $0, 485498096 + +// CHECK: rorl $0, 64(%rdx) +// CHECK: encoding: [0xc1,0x4a,0x40,0x00] +rorl $0, 64(%rdx) + +// CHECK: rorl $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0xc1,0x4c,0x82,0x40,0x00] +rorl $0, 64(%rdx,%rax,4) + +// CHECK: rorl $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0xc1,0x4c,0x82,0xc0,0x00] +rorl $0, -64(%rdx,%rax,4) + +// CHECK: rorl $0, 64(%rdx,%rax) +// CHECK: encoding: [0xc1,0x4c,0x02,0x40,0x00] +rorl $0, 64(%rdx,%rax) + +// CHECK: rorl $0, %r13d +// CHECK: encoding: [0x41,0xc1,0xcd,0x00] +rorl $0, %r13d + +// CHECK: rorl $0, (%rdx) +// CHECK: encoding: [0xc1,0x0a,0x00] +rorl $0, (%rdx) + +// CHECK: rorq $0, 485498096 +// CHECK: encoding: [0x48,0xc1,0x0c,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +rorq $0, 485498096 + +// CHECK: rorq $0, 64(%rdx) +// CHECK: encoding: [0x48,0xc1,0x4a,0x40,0x00] +rorq $0, 64(%rdx) + +// CHECK: rorq $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xc1,0x4c,0x82,0x40,0x00] +rorq $0, 64(%rdx,%rax,4) + +// CHECK: rorq $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xc1,0x4c,0x82,0xc0,0x00] +rorq $0, -64(%rdx,%rax,4) + +// CHECK: rorq $0, 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xc1,0x4c,0x02,0x40,0x00] +rorq $0, 64(%rdx,%rax) + +// CHECK: rorq $0, (%rdx) +// CHECK: encoding: [0x48,0xc1,0x0a,0x00] +rorq $0, (%rdx) + +// CHECK: rorw $0, 485498096 +// CHECK: encoding: [0x66,0xc1,0x0c,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +rorw $0, 485498096 + +// CHECK: rorw $0, 64(%rdx) +// CHECK: encoding: [0x66,0xc1,0x4a,0x40,0x00] +rorw $0, 64(%rdx) + +// CHECK: rorw $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xc1,0x4c,0x82,0x40,0x00] +rorw $0, 64(%rdx,%rax,4) + +// CHECK: rorw $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xc1,0x4c,0x82,0xc0,0x00] +rorw $0, -64(%rdx,%rax,4) + +// CHECK: rorw $0, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xc1,0x4c,0x02,0x40,0x00] +rorw $0, 64(%rdx,%rax) + +// CHECK: rorw $0, %r14w +// CHECK: encoding: [0x66,0x41,0xc1,0xce,0x00] +rorw $0, %r14w + +// CHECK: rorw $0, (%rdx) +// CHECK: encoding: [0x66,0xc1,0x0a,0x00] +rorw $0, (%rdx) + +// CHECK: sarb $0, 485498096 +// CHECK: encoding: [0xc0,0x3c,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +sarb $0, 485498096 + +// CHECK: sarb $0, 64(%rdx) +// CHECK: encoding: [0xc0,0x7a,0x40,0x00] +sarb $0, 64(%rdx) + +// CHECK: sarb $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0xc0,0x7c,0x82,0x40,0x00] +sarb $0, 64(%rdx,%rax,4) + +// CHECK: sarb $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0xc0,0x7c,0x82,0xc0,0x00] +sarb $0, -64(%rdx,%rax,4) + +// CHECK: sarb $0, 64(%rdx,%rax) +// CHECK: encoding: [0xc0,0x7c,0x02,0x40,0x00] +sarb $0, 64(%rdx,%rax) + +// CHECK: sarb $0, %r14b +// CHECK: encoding: [0x41,0xc0,0xfe,0x00] +sarb $0, %r14b + +// CHECK: sarb $0, (%rdx) +// CHECK: encoding: [0xc0,0x3a,0x00] +sarb $0, (%rdx) + +// CHECK: sarl $0, 485498096 +// CHECK: encoding: [0xc1,0x3c,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +sarl $0, 485498096 + +// CHECK: sarl $0, 64(%rdx) +// CHECK: encoding: [0xc1,0x7a,0x40,0x00] +sarl $0, 64(%rdx) + +// CHECK: sarl $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0xc1,0x7c,0x82,0x40,0x00] +sarl $0, 64(%rdx,%rax,4) + +// CHECK: sarl $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0xc1,0x7c,0x82,0xc0,0x00] +sarl $0, -64(%rdx,%rax,4) + +// CHECK: sarl $0, 64(%rdx,%rax) +// CHECK: encoding: [0xc1,0x7c,0x02,0x40,0x00] +sarl $0, 64(%rdx,%rax) + +// CHECK: sarl $0, %r13d +// CHECK: encoding: [0x41,0xc1,0xfd,0x00] +sarl $0, %r13d + +// CHECK: sarl $0, (%rdx) +// CHECK: encoding: [0xc1,0x3a,0x00] +sarl $0, (%rdx) + +// CHECK: sarq $0, 485498096 +// CHECK: encoding: [0x48,0xc1,0x3c,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +sarq $0, 485498096 + +// CHECK: sarq $0, 64(%rdx) +// CHECK: encoding: [0x48,0xc1,0x7a,0x40,0x00] +sarq $0, 64(%rdx) + +// CHECK: sarq $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xc1,0x7c,0x82,0x40,0x00] +sarq $0, 64(%rdx,%rax,4) + +// CHECK: sarq $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xc1,0x7c,0x82,0xc0,0x00] +sarq $0, -64(%rdx,%rax,4) + +// CHECK: sarq $0, 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xc1,0x7c,0x02,0x40,0x00] +sarq $0, 64(%rdx,%rax) + +// CHECK: sarq $0, (%rdx) +// CHECK: encoding: [0x48,0xc1,0x3a,0x00] +sarq $0, (%rdx) + +// CHECK: sarw $0, 485498096 +// CHECK: encoding: [0x66,0xc1,0x3c,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +sarw $0, 485498096 + +// CHECK: sarw $0, 64(%rdx) +// CHECK: encoding: [0x66,0xc1,0x7a,0x40,0x00] +sarw $0, 64(%rdx) + +// CHECK: sarw $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xc1,0x7c,0x82,0x40,0x00] +sarw $0, 64(%rdx,%rax,4) + +// CHECK: sarw $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xc1,0x7c,0x82,0xc0,0x00] +sarw $0, -64(%rdx,%rax,4) + +// CHECK: sarw $0, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xc1,0x7c,0x02,0x40,0x00] +sarw $0, 64(%rdx,%rax) + +// CHECK: sarw $0, %r14w +// CHECK: encoding: [0x66,0x41,0xc1,0xfe,0x00] +sarw $0, %r14w + +// CHECK: sarw $0, (%rdx) +// CHECK: encoding: [0x66,0xc1,0x3a,0x00] +sarw $0, (%rdx) + +// CHECK: shlb $0, 485498096 +// CHECK: encoding: [0xc0,0x24,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +shlb $0, 485498096 + +// CHECK: shlb $0, 64(%rdx) +// CHECK: encoding: [0xc0,0x62,0x40,0x00] +shlb $0, 64(%rdx) + +// CHECK: shlb $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0xc0,0x64,0x82,0x40,0x00] +shlb $0, 64(%rdx,%rax,4) + +// CHECK: shlb $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0xc0,0x64,0x82,0xc0,0x00] +shlb $0, -64(%rdx,%rax,4) + +// CHECK: shlb $0, 64(%rdx,%rax) +// CHECK: encoding: [0xc0,0x64,0x02,0x40,0x00] +shlb $0, 64(%rdx,%rax) + +// CHECK: shlb $0, %r14b +// CHECK: encoding: [0x41,0xc0,0xe6,0x00] +shlb $0, %r14b + +// CHECK: shlb $0, (%rdx) +// CHECK: encoding: [0xc0,0x22,0x00] +shlb $0, (%rdx) + +// CHECK: shll $0, 485498096 +// CHECK: encoding: [0xc1,0x24,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +shll $0, 485498096 + +// CHECK: shll $0, 64(%rdx) +// CHECK: encoding: [0xc1,0x62,0x40,0x00] +shll $0, 64(%rdx) + +// CHECK: shll $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0xc1,0x64,0x82,0x40,0x00] +shll $0, 64(%rdx,%rax,4) + +// CHECK: shll $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0xc1,0x64,0x82,0xc0,0x00] +shll $0, -64(%rdx,%rax,4) + +// CHECK: shll $0, 64(%rdx,%rax) +// CHECK: encoding: [0xc1,0x64,0x02,0x40,0x00] +shll $0, 64(%rdx,%rax) + +// CHECK: shll $0, %r13d +// CHECK: encoding: [0x41,0xc1,0xe5,0x00] +shll $0, %r13d + +// CHECK: shll $0, (%rdx) +// CHECK: encoding: [0xc1,0x22,0x00] +shll $0, (%rdx) + +// CHECK: shlq $0, 485498096 +// CHECK: encoding: [0x48,0xc1,0x24,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +shlq $0, 485498096 + +// CHECK: shlq $0, 64(%rdx) +// CHECK: encoding: [0x48,0xc1,0x62,0x40,0x00] +shlq $0, 64(%rdx) + +// CHECK: shlq $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xc1,0x64,0x82,0x40,0x00] +shlq $0, 64(%rdx,%rax,4) + +// CHECK: shlq $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xc1,0x64,0x82,0xc0,0x00] +shlq $0, -64(%rdx,%rax,4) + +// CHECK: shlq $0, 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xc1,0x64,0x02,0x40,0x00] +shlq $0, 64(%rdx,%rax) + +// CHECK: shlq $0, (%rdx) +// CHECK: encoding: [0x48,0xc1,0x22,0x00] +shlq $0, (%rdx) + +// CHECK: shlw $0, 485498096 +// CHECK: encoding: [0x66,0xc1,0x24,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +shlw $0, 485498096 + +// CHECK: shlw $0, 64(%rdx) +// CHECK: encoding: [0x66,0xc1,0x62,0x40,0x00] +shlw $0, 64(%rdx) + +// CHECK: shlw $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xc1,0x64,0x82,0x40,0x00] +shlw $0, 64(%rdx,%rax,4) + +// CHECK: shlw $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xc1,0x64,0x82,0xc0,0x00] +shlw $0, -64(%rdx,%rax,4) + +// CHECK: shlw $0, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xc1,0x64,0x02,0x40,0x00] +shlw $0, 64(%rdx,%rax) + +// CHECK: shlw $0, %r14w +// CHECK: encoding: [0x66,0x41,0xc1,0xe6,0x00] +shlw $0, %r14w + +// CHECK: shlw $0, (%rdx) +// CHECK: encoding: [0x66,0xc1,0x22,0x00] +shlw $0, (%rdx) + +// CHECK: shrb $0, 485498096 +// CHECK: encoding: [0xc0,0x2c,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +shrb $0, 485498096 + +// CHECK: shrb $0, 64(%rdx) +// CHECK: encoding: [0xc0,0x6a,0x40,0x00] +shrb $0, 64(%rdx) + +// CHECK: shrb $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0xc0,0x6c,0x82,0x40,0x00] +shrb $0, 64(%rdx,%rax,4) + +// CHECK: shrb $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0xc0,0x6c,0x82,0xc0,0x00] +shrb $0, -64(%rdx,%rax,4) + +// CHECK: shrb $0, 64(%rdx,%rax) +// CHECK: encoding: [0xc0,0x6c,0x02,0x40,0x00] +shrb $0, 64(%rdx,%rax) + +// CHECK: shrb $0, %r14b +// CHECK: encoding: [0x41,0xc0,0xee,0x00] +shrb $0, %r14b + +// CHECK: shrb $0, (%rdx) +// CHECK: encoding: [0xc0,0x2a,0x00] +shrb $0, (%rdx) + +// CHECK: shrl $0, 485498096 +// CHECK: encoding: [0xc1,0x2c,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +shrl $0, 485498096 + +// CHECK: shrl $0, 64(%rdx) +// CHECK: encoding: [0xc1,0x6a,0x40,0x00] +shrl $0, 64(%rdx) + +// CHECK: shrl $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0xc1,0x6c,0x82,0x40,0x00] +shrl $0, 64(%rdx,%rax,4) + +// CHECK: shrl $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0xc1,0x6c,0x82,0xc0,0x00] +shrl $0, -64(%rdx,%rax,4) + +// CHECK: shrl $0, 64(%rdx,%rax) +// CHECK: encoding: [0xc1,0x6c,0x02,0x40,0x00] +shrl $0, 64(%rdx,%rax) + +// CHECK: shrl $0, %r13d +// CHECK: encoding: [0x41,0xc1,0xed,0x00] +shrl $0, %r13d + +// CHECK: shrl $0, (%rdx) +// CHECK: encoding: [0xc1,0x2a,0x00] +shrl $0, (%rdx) + +// CHECK: shrq $0, 485498096 +// CHECK: encoding: [0x48,0xc1,0x2c,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +shrq $0, 485498096 + +// CHECK: shrq $0, 64(%rdx) +// CHECK: encoding: [0x48,0xc1,0x6a,0x40,0x00] +shrq $0, 64(%rdx) + +// CHECK: shrq $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xc1,0x6c,0x82,0x40,0x00] +shrq $0, 64(%rdx,%rax,4) + +// CHECK: shrq $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xc1,0x6c,0x82,0xc0,0x00] +shrq $0, -64(%rdx,%rax,4) + +// CHECK: shrq $0, 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xc1,0x6c,0x02,0x40,0x00] +shrq $0, 64(%rdx,%rax) + +// CHECK: shrq $0, (%rdx) +// CHECK: encoding: [0x48,0xc1,0x2a,0x00] +shrq $0, (%rdx) + +// CHECK: shrw $0, 485498096 +// CHECK: encoding: [0x66,0xc1,0x2c,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +shrw $0, 485498096 + +// CHECK: shrw $0, 64(%rdx) +// CHECK: encoding: [0x66,0xc1,0x6a,0x40,0x00] +shrw $0, 64(%rdx) + +// CHECK: shrw $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xc1,0x6c,0x82,0x40,0x00] +shrw $0, 64(%rdx,%rax,4) + +// CHECK: shrw $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xc1,0x6c,0x82,0xc0,0x00] +shrw $0, -64(%rdx,%rax,4) + +// CHECK: shrw $0, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xc1,0x6c,0x02,0x40,0x00] +shrw $0, 64(%rdx,%rax) + +// CHECK: shrw $0, %r14w +// CHECK: encoding: [0x66,0x41,0xc1,0xee,0x00] +shrw $0, %r14w + +// CHECK: shrw $0, (%rdx) +// CHECK: encoding: [0x66,0xc1,0x2a,0x00] +shrw $0, (%rdx) + diff --git a/llvm/test/MC/X86/I286-32.s b/llvm/test/MC/X86/I286-32.s new file mode 100644 index 000000000000..d192de49d395 --- /dev/null +++ b/llvm/test/MC/X86/I286-32.s @@ -0,0 +1,266 @@ +// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s + +// CHECK: clts +// CHECK: encoding: [0x0f,0x06] +clts + +// CHECK: larl 3809469200(%edx,%eax,4), %eax +// CHECK: encoding: [0x0f,0x02,0x84,0x82,0x10,0xe3,0x0f,0xe3] +larl 3809469200(%edx,%eax,4), %eax + +// CHECK: larl 485498096, %eax +// CHECK: encoding: [0x0f,0x02,0x05,0xf0,0x1c,0xf0,0x1c] +larl 485498096, %eax + +// CHECK: larl 485498096(%edx,%eax,4), %eax +// CHECK: encoding: [0x0f,0x02,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +larl 485498096(%edx,%eax,4), %eax + +// CHECK: larl 485498096(%edx), %eax +// CHECK: encoding: [0x0f,0x02,0x82,0xf0,0x1c,0xf0,0x1c] +larl 485498096(%edx), %eax + +// CHECK: larl 64(%edx,%eax), %eax +// CHECK: encoding: [0x0f,0x02,0x44,0x02,0x40] +larl 64(%edx,%eax), %eax + +// CHECK: larl %eax, %eax +// CHECK: encoding: [0x0f,0x02,0xc0] +larl %eax, %eax + +// CHECK: larl (%edx), %eax +// CHECK: encoding: [0x0f,0x02,0x02] +larl (%edx), %eax + +// CHECK: lldtw -485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x00,0x94,0x82,0x10,0xe3,0x0f,0xe3] +lldtw -485498096(%edx,%eax,4) + +// CHECK: lldtw 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x00,0x94,0x82,0xf0,0x1c,0xf0,0x1c] +lldtw 485498096(%edx,%eax,4) + +// CHECK: lldtw 485498096(%edx) +// CHECK: encoding: [0x0f,0x00,0x92,0xf0,0x1c,0xf0,0x1c] +lldtw 485498096(%edx) + +// CHECK: lldtw 485498096 +// CHECK: encoding: [0x0f,0x00,0x15,0xf0,0x1c,0xf0,0x1c] +lldtw 485498096 + +// CHECK: lldtw 64(%edx,%eax) +// CHECK: encoding: [0x0f,0x00,0x54,0x02,0x40] +lldtw 64(%edx,%eax) + +// CHECK: lldtw (%edx) +// CHECK: encoding: [0x0f,0x00,0x12] +lldtw (%edx) + +// CHECK: lmsww -485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x01,0xb4,0x82,0x10,0xe3,0x0f,0xe3] +lmsww -485498096(%edx,%eax,4) + +// CHECK: lmsww 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x01,0xb4,0x82,0xf0,0x1c,0xf0,0x1c] +lmsww 485498096(%edx,%eax,4) + +// CHECK: lmsww 485498096(%edx) +// CHECK: encoding: [0x0f,0x01,0xb2,0xf0,0x1c,0xf0,0x1c] +lmsww 485498096(%edx) + +// CHECK: lmsww 485498096 +// CHECK: encoding: [0x0f,0x01,0x35,0xf0,0x1c,0xf0,0x1c] +lmsww 485498096 + +// CHECK: lmsww 64(%edx,%eax) +// CHECK: encoding: [0x0f,0x01,0x74,0x02,0x40] +lmsww 64(%edx,%eax) + +// CHECK: lmsww (%edx) +// CHECK: encoding: [0x0f,0x01,0x32] +lmsww (%edx) + +// CHECK: lsll 3809469200(%edx,%eax,4), %eax +// CHECK: encoding: [0x0f,0x03,0x84,0x82,0x10,0xe3,0x0f,0xe3] +lsll 3809469200(%edx,%eax,4), %eax + +// CHECK: lsll 485498096, %eax +// CHECK: encoding: [0x0f,0x03,0x05,0xf0,0x1c,0xf0,0x1c] +lsll 485498096, %eax + +// CHECK: lsll 485498096(%edx,%eax,4), %eax +// CHECK: encoding: [0x0f,0x03,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +lsll 485498096(%edx,%eax,4), %eax + +// CHECK: lsll 485498096(%edx), %eax +// CHECK: encoding: [0x0f,0x03,0x82,0xf0,0x1c,0xf0,0x1c] +lsll 485498096(%edx), %eax + +// CHECK: lsll 64(%edx,%eax), %eax +// CHECK: encoding: [0x0f,0x03,0x44,0x02,0x40] +lsll 64(%edx,%eax), %eax + +// CHECK: lsll %eax, %eax +// CHECK: encoding: [0x0f,0x03,0xc0] +lsll %eax, %eax + +// CHECK: lsll (%edx), %eax +// CHECK: encoding: [0x0f,0x03,0x02] +lsll (%edx), %eax + +// CHECK: ltrw -485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x00,0x9c,0x82,0x10,0xe3,0x0f,0xe3] +ltrw -485498096(%edx,%eax,4) + +// CHECK: ltrw 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x00,0x9c,0x82,0xf0,0x1c,0xf0,0x1c] +ltrw 485498096(%edx,%eax,4) + +// CHECK: ltrw 485498096(%edx) +// CHECK: encoding: [0x0f,0x00,0x9a,0xf0,0x1c,0xf0,0x1c] +ltrw 485498096(%edx) + +// CHECK: ltrw 485498096 +// CHECK: encoding: [0x0f,0x00,0x1d,0xf0,0x1c,0xf0,0x1c] +ltrw 485498096 + +// CHECK: ltrw 64(%edx,%eax) +// CHECK: encoding: [0x0f,0x00,0x5c,0x02,0x40] +ltrw 64(%edx,%eax) + +// CHECK: ltrw (%edx) +// CHECK: encoding: [0x0f,0x00,0x1a] +ltrw (%edx) + +// CHECK: sldtl %eax +// CHECK: encoding: [0x0f,0x00,0xc0] +sldtl %eax + +// CHECK: sldtw -485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x00,0x84,0x82,0x10,0xe3,0x0f,0xe3] +sldtw -485498096(%edx,%eax,4) + +// CHECK: sldtw 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x00,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +sldtw 485498096(%edx,%eax,4) + +// CHECK: sldtw 485498096(%edx) +// CHECK: encoding: [0x0f,0x00,0x82,0xf0,0x1c,0xf0,0x1c] +sldtw 485498096(%edx) + +// CHECK: sldtw 485498096 +// CHECK: encoding: [0x0f,0x00,0x05,0xf0,0x1c,0xf0,0x1c] +sldtw 485498096 + +// CHECK: sldtw 64(%edx,%eax) +// CHECK: encoding: [0x0f,0x00,0x44,0x02,0x40] +sldtw 64(%edx,%eax) + +// CHECK: sldtw (%edx) +// CHECK: encoding: [0x0f,0x00,0x02] +sldtw (%edx) + +// CHECK: smswl %eax +// CHECK: encoding: [0x0f,0x01,0xe0] +smswl %eax + +// CHECK: smsww -485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x01,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +smsww -485498096(%edx,%eax,4) + +// CHECK: smsww 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x01,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +smsww 485498096(%edx,%eax,4) + +// CHECK: smsww 485498096(%edx) +// CHECK: encoding: [0x0f,0x01,0xa2,0xf0,0x1c,0xf0,0x1c] +smsww 485498096(%edx) + +// CHECK: smsww 485498096 +// CHECK: encoding: [0x0f,0x01,0x25,0xf0,0x1c,0xf0,0x1c] +smsww 485498096 + +// CHECK: smsww 64(%edx,%eax) +// CHECK: encoding: [0x0f,0x01,0x64,0x02,0x40] +smsww 64(%edx,%eax) + +// CHECK: smsww (%edx) +// CHECK: encoding: [0x0f,0x01,0x22] +smsww (%edx) + +// CHECK: strl %eax +// CHECK: encoding: [0x0f,0x00,0xc8] +strl %eax + +// CHECK: strw -485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x00,0x8c,0x82,0x10,0xe3,0x0f,0xe3] +strw -485498096(%edx,%eax,4) + +// CHECK: strw 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x00,0x8c,0x82,0xf0,0x1c,0xf0,0x1c] +strw 485498096(%edx,%eax,4) + +// CHECK: strw 485498096(%edx) +// CHECK: encoding: [0x0f,0x00,0x8a,0xf0,0x1c,0xf0,0x1c] +strw 485498096(%edx) + +// CHECK: strw 485498096 +// CHECK: encoding: [0x0f,0x00,0x0d,0xf0,0x1c,0xf0,0x1c] +strw 485498096 + +// CHECK: strw 64(%edx,%eax) +// CHECK: encoding: [0x0f,0x00,0x4c,0x02,0x40] +strw 64(%edx,%eax) + +// CHECK: strw (%edx) +// CHECK: encoding: [0x0f,0x00,0x0a] +strw (%edx) + +// CHECK: verr -485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x00,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +verr -485498096(%edx,%eax,4) + +// CHECK: verr 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x00,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +verr 485498096(%edx,%eax,4) + +// CHECK: verr 485498096(%edx) +// CHECK: encoding: [0x0f,0x00,0xa2,0xf0,0x1c,0xf0,0x1c] +verr 485498096(%edx) + +// CHECK: verr 485498096 +// CHECK: encoding: [0x0f,0x00,0x25,0xf0,0x1c,0xf0,0x1c] +verr 485498096 + +// CHECK: verr 64(%edx,%eax) +// CHECK: encoding: [0x0f,0x00,0x64,0x02,0x40] +verr 64(%edx,%eax) + +// CHECK: verr (%edx) +// CHECK: encoding: [0x0f,0x00,0x22] +verr (%edx) + +// CHECK: verw -485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x00,0xac,0x82,0x10,0xe3,0x0f,0xe3] +verw -485498096(%edx,%eax,4) + +// CHECK: verw 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x00,0xac,0x82,0xf0,0x1c,0xf0,0x1c] +verw 485498096(%edx,%eax,4) + +// CHECK: verw 485498096(%edx) +// CHECK: encoding: [0x0f,0x00,0xaa,0xf0,0x1c,0xf0,0x1c] +verw 485498096(%edx) + +// CHECK: verw 485498096 +// CHECK: encoding: [0x0f,0x00,0x2d,0xf0,0x1c,0xf0,0x1c] +verw 485498096 + +// CHECK: verw 64(%edx,%eax) +// CHECK: encoding: [0x0f,0x00,0x6c,0x02,0x40] +verw 64(%edx,%eax) + +// CHECK: verw (%edx) +// CHECK: encoding: [0x0f,0x00,0x2a] +verw (%edx) + diff --git a/llvm/test/MC/X86/I286-64.s b/llvm/test/MC/X86/I286-64.s new file mode 100644 index 000000000000..cd23311b8ef6 --- /dev/null +++ b/llvm/test/MC/X86/I286-64.s @@ -0,0 +1,406 @@ +// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s + +// CHECK: clts +// CHECK: encoding: [0x0f,0x06] +clts + +// CHECK: larl 485498096, %r13d +// CHECK: encoding: [0x44,0x0f,0x02,0x2c,0x25,0xf0,0x1c,0xf0,0x1c] +larl 485498096, %r13d + +// CHECK: larl 64(%rdx), %r13d +// CHECK: encoding: [0x44,0x0f,0x02,0x6a,0x40] +larl 64(%rdx), %r13d + +// CHECK: larl 64(%rdx,%rax,4), %r13d +// CHECK: encoding: [0x44,0x0f,0x02,0x6c,0x82,0x40] +larl 64(%rdx,%rax,4), %r13d + +// CHECK: larl -64(%rdx,%rax,4), %r13d +// CHECK: encoding: [0x44,0x0f,0x02,0x6c,0x82,0xc0] +larl -64(%rdx,%rax,4), %r13d + +// CHECK: larl 64(%rdx,%rax), %r13d +// CHECK: encoding: [0x44,0x0f,0x02,0x6c,0x02,0x40] +larl 64(%rdx,%rax), %r13d + +// CHECK: larl %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0x02,0xed] +larl %r13d, %r13d + +// CHECK: larl (%rdx), %r13d +// CHECK: encoding: [0x44,0x0f,0x02,0x2a] +larl (%rdx), %r13d + +// CHECK: lgdtq 485498096 +// CHECK: encoding: [0x0f,0x01,0x14,0x25,0xf0,0x1c,0xf0,0x1c] +lgdtq 485498096 + +// CHECK: lgdtq 64(%rdx) +// CHECK: encoding: [0x0f,0x01,0x52,0x40] +lgdtq 64(%rdx) + +// CHECK: lgdtq 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x01,0x54,0x82,0x40] +lgdtq 64(%rdx,%rax,4) + +// CHECK: lgdtq -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x01,0x54,0x82,0xc0] +lgdtq -64(%rdx,%rax,4) + +// CHECK: lgdtq 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x01,0x54,0x02,0x40] +lgdtq 64(%rdx,%rax) + +// CHECK: lgdtq (%rdx) +// CHECK: encoding: [0x0f,0x01,0x12] +lgdtq (%rdx) + +// CHECK: lidtq 485498096 +// CHECK: encoding: [0x0f,0x01,0x1c,0x25,0xf0,0x1c,0xf0,0x1c] +lidtq 485498096 + +// CHECK: lidtq 64(%rdx) +// CHECK: encoding: [0x0f,0x01,0x5a,0x40] +lidtq 64(%rdx) + +// CHECK: lidtq 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x01,0x5c,0x82,0x40] +lidtq 64(%rdx,%rax,4) + +// CHECK: lidtq -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x01,0x5c,0x82,0xc0] +lidtq -64(%rdx,%rax,4) + +// CHECK: lidtq 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x01,0x5c,0x02,0x40] +lidtq 64(%rdx,%rax) + +// CHECK: lidtq (%rdx) +// CHECK: encoding: [0x0f,0x01,0x1a] +lidtq (%rdx) + +// CHECK: lldtw 485498096 +// CHECK: encoding: [0x0f,0x00,0x14,0x25,0xf0,0x1c,0xf0,0x1c] +lldtw 485498096 + +// CHECK: lldtw 64(%rdx) +// CHECK: encoding: [0x0f,0x00,0x52,0x40] +lldtw 64(%rdx) + +// CHECK: lldtw 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x00,0x54,0x82,0x40] +lldtw 64(%rdx,%rax,4) + +// CHECK: lldtw -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x00,0x54,0x82,0xc0] +lldtw -64(%rdx,%rax,4) + +// CHECK: lldtw 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x00,0x54,0x02,0x40] +lldtw 64(%rdx,%rax) + +// CHECK: lldtw %r11w +// CHECK: encoding: [0x41,0x0f,0x00,0xd3] +lldtw %r11w + +// CHECK: lldtw (%rdx) +// CHECK: encoding: [0x0f,0x00,0x12] +lldtw (%rdx) + +// CHECK: lmsww 485498096 +// CHECK: encoding: [0x0f,0x01,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +lmsww 485498096 + +// CHECK: lmsww 64(%rdx) +// CHECK: encoding: [0x0f,0x01,0x72,0x40] +lmsww 64(%rdx) + +// CHECK: lmsww 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x01,0x74,0x82,0x40] +lmsww 64(%rdx,%rax,4) + +// CHECK: lmsww -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x01,0x74,0x82,0xc0] +lmsww -64(%rdx,%rax,4) + +// CHECK: lmsww 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x01,0x74,0x02,0x40] +lmsww 64(%rdx,%rax) + +// CHECK: lmsww %r11w +// CHECK: encoding: [0x41,0x0f,0x01,0xf3] +lmsww %r11w + +// CHECK: lmsww (%rdx) +// CHECK: encoding: [0x0f,0x01,0x32] +lmsww (%rdx) + +// CHECK: lsll 485498096, %r13d +// CHECK: encoding: [0x44,0x0f,0x03,0x2c,0x25,0xf0,0x1c,0xf0,0x1c] +lsll 485498096, %r13d + +// CHECK: lsll 64(%rdx), %r13d +// CHECK: encoding: [0x44,0x0f,0x03,0x6a,0x40] +lsll 64(%rdx), %r13d + +// CHECK: lsll 64(%rdx,%rax,4), %r13d +// CHECK: encoding: [0x44,0x0f,0x03,0x6c,0x82,0x40] +lsll 64(%rdx,%rax,4), %r13d + +// CHECK: lsll -64(%rdx,%rax,4), %r13d +// CHECK: encoding: [0x44,0x0f,0x03,0x6c,0x82,0xc0] +lsll -64(%rdx,%rax,4), %r13d + +// CHECK: lsll 64(%rdx,%rax), %r13d +// CHECK: encoding: [0x44,0x0f,0x03,0x6c,0x02,0x40] +lsll 64(%rdx,%rax), %r13d + +// CHECK: lsll %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0x03,0xed] +lsll %r13d, %r13d + +// CHECK: lsll (%rdx), %r13d +// CHECK: encoding: [0x44,0x0f,0x03,0x2a] +lsll (%rdx), %r13d + +// CHECK: ltrw 485498096 +// CHECK: encoding: [0x0f,0x00,0x1c,0x25,0xf0,0x1c,0xf0,0x1c] +ltrw 485498096 + +// CHECK: ltrw 64(%rdx) +// CHECK: encoding: [0x0f,0x00,0x5a,0x40] +ltrw 64(%rdx) + +// CHECK: ltrw 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x00,0x5c,0x82,0x40] +ltrw 64(%rdx,%rax,4) + +// CHECK: ltrw -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x00,0x5c,0x82,0xc0] +ltrw -64(%rdx,%rax,4) + +// CHECK: ltrw 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x00,0x5c,0x02,0x40] +ltrw 64(%rdx,%rax) + +// CHECK: ltrw %r11w +// CHECK: encoding: [0x41,0x0f,0x00,0xdb] +ltrw %r11w + +// CHECK: ltrw (%rdx) +// CHECK: encoding: [0x0f,0x00,0x1a] +ltrw (%rdx) + +// CHECK: sgdtq 485498096 +// CHECK: encoding: [0x0f,0x01,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +sgdtq 485498096 + +// CHECK: sgdtq 64(%rdx) +// CHECK: encoding: [0x0f,0x01,0x42,0x40] +sgdtq 64(%rdx) + +// CHECK: sgdtq 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x01,0x44,0x82,0x40] +sgdtq 64(%rdx,%rax,4) + +// CHECK: sgdtq -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x01,0x44,0x82,0xc0] +sgdtq -64(%rdx,%rax,4) + +// CHECK: sgdtq 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x01,0x44,0x02,0x40] +sgdtq 64(%rdx,%rax) + +// CHECK: sgdtq (%rdx) +// CHECK: encoding: [0x0f,0x01,0x02] +sgdtq (%rdx) + +// CHECK: sidtq 485498096 +// CHECK: encoding: [0x0f,0x01,0x0c,0x25,0xf0,0x1c,0xf0,0x1c] +sidtq 485498096 + +// CHECK: sidtq 64(%rdx) +// CHECK: encoding: [0x0f,0x01,0x4a,0x40] +sidtq 64(%rdx) + +// CHECK: sidtq 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x01,0x4c,0x82,0x40] +sidtq 64(%rdx,%rax,4) + +// CHECK: sidtq -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x01,0x4c,0x82,0xc0] +sidtq -64(%rdx,%rax,4) + +// CHECK: sidtq 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x01,0x4c,0x02,0x40] +sidtq 64(%rdx,%rax) + +// CHECK: sidtq (%rdx) +// CHECK: encoding: [0x0f,0x01,0x0a] +sidtq (%rdx) + +// CHECK: sldtl %r13d +// CHECK: encoding: [0x41,0x0f,0x00,0xc5] +sldtl %r13d + +// CHECK: sldtq 485498096 +// CHECK: encoding: [0x48,0x0f,0x00,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +sldtq 485498096 + +// CHECK: sldtq 64(%rdx) +// CHECK: encoding: [0x48,0x0f,0x00,0x42,0x40] +sldtq 64(%rdx) + +// CHECK: sldtq 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0x0f,0x00,0x44,0x82,0x40] +sldtq 64(%rdx,%rax,4) + +// CHECK: sldtq -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0x0f,0x00,0x44,0x82,0xc0] +sldtq -64(%rdx,%rax,4) + +// CHECK: sldtq 64(%rdx,%rax) +// CHECK: encoding: [0x48,0x0f,0x00,0x44,0x02,0x40] +sldtq 64(%rdx,%rax) + +// CHECK: sldtq (%rdx) +// CHECK: encoding: [0x48,0x0f,0x00,0x02] +sldtq (%rdx) + +// CHECK: sldtw 485498096 +// CHECK: encoding: [0x0f,0x00,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +sldtw 485498096 + +// CHECK: sldtw 64(%rdx) +// CHECK: encoding: [0x0f,0x00,0x42,0x40] +sldtw 64(%rdx) + +// CHECK: sldtw 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x00,0x44,0x82,0x40] +sldtw 64(%rdx,%rax,4) + +// CHECK: sldtw -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x00,0x44,0x82,0xc0] +sldtw -64(%rdx,%rax,4) + +// CHECK: sldtw 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x00,0x44,0x02,0x40] +sldtw 64(%rdx,%rax) + +// CHECK: sldtw (%rdx) +// CHECK: encoding: [0x0f,0x00,0x02] +sldtw (%rdx) + +// CHECK: smswl %r13d +// CHECK: encoding: [0x41,0x0f,0x01,0xe5] +smswl %r13d + +// CHECK: smsww 485498096 +// CHECK: encoding: [0x0f,0x01,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +smsww 485498096 + +// CHECK: smsww 64(%rdx) +// CHECK: encoding: [0x0f,0x01,0x62,0x40] +smsww 64(%rdx) + +// CHECK: smsww 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x01,0x64,0x82,0x40] +smsww 64(%rdx,%rax,4) + +// CHECK: smsww -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x01,0x64,0x82,0xc0] +smsww -64(%rdx,%rax,4) + +// CHECK: smsww 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x01,0x64,0x02,0x40] +smsww 64(%rdx,%rax) + +// CHECK: smsww (%rdx) +// CHECK: encoding: [0x0f,0x01,0x22] +smsww (%rdx) + +// CHECK: strl %r13d +// CHECK: encoding: [0x41,0x0f,0x00,0xcd] +strl %r13d + +// CHECK: strw 485498096 +// CHECK: encoding: [0x0f,0x00,0x0c,0x25,0xf0,0x1c,0xf0,0x1c] +strw 485498096 + +// CHECK: strw 64(%rdx) +// CHECK: encoding: [0x0f,0x00,0x4a,0x40] +strw 64(%rdx) + +// CHECK: strw 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x00,0x4c,0x82,0x40] +strw 64(%rdx,%rax,4) + +// CHECK: strw -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x00,0x4c,0x82,0xc0] +strw -64(%rdx,%rax,4) + +// CHECK: strw 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x00,0x4c,0x02,0x40] +strw 64(%rdx,%rax) + +// CHECK: strw (%rdx) +// CHECK: encoding: [0x0f,0x00,0x0a] +strw (%rdx) + +// CHECK: verr 485498096 +// CHECK: encoding: [0x0f,0x00,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +verr 485498096 + +// CHECK: verr 64(%rdx) +// CHECK: encoding: [0x0f,0x00,0x62,0x40] +verr 64(%rdx) + +// CHECK: verr 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x00,0x64,0x82,0x40] +verr 64(%rdx,%rax,4) + +// CHECK: verr -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x00,0x64,0x82,0xc0] +verr -64(%rdx,%rax,4) + +// CHECK: verr 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x00,0x64,0x02,0x40] +verr 64(%rdx,%rax) + +// CHECK: verr %r11w +// CHECK: encoding: [0x41,0x0f,0x00,0xe3] +verr %r11w + +// CHECK: verr (%rdx) +// CHECK: encoding: [0x0f,0x00,0x22] +verr (%rdx) + +// CHECK: verw 485498096 +// CHECK: encoding: [0x0f,0x00,0x2c,0x25,0xf0,0x1c,0xf0,0x1c] +verw 485498096 + +// CHECK: verw 64(%rdx) +// CHECK: encoding: [0x0f,0x00,0x6a,0x40] +verw 64(%rdx) + +// CHECK: verw 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x00,0x6c,0x82,0x40] +verw 64(%rdx,%rax,4) + +// CHECK: verw -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x00,0x6c,0x82,0xc0] +verw -64(%rdx,%rax,4) + +// CHECK: verw 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x00,0x6c,0x02,0x40] +verw 64(%rdx,%rax) + +// CHECK: verw %r11w +// CHECK: encoding: [0x41,0x0f,0x00,0xeb] +verw %r11w + +// CHECK: verw (%rdx) +// CHECK: encoding: [0x0f,0x00,0x2a] +verw (%rdx) + diff --git a/llvm/test/MC/X86/I386-32.s b/llvm/test/MC/X86/I386-32.s new file mode 100644 index 000000000000..dc9e3a5cbee3 --- /dev/null +++ b/llvm/test/MC/X86/I386-32.s @@ -0,0 +1,682 @@ +// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s + +// CHECK: bsfl %eax, %eax +// CHECK: encoding: [0x0f,0xbc,0xc0] +bsfl %eax, %eax + +// CHECK: bsrl %eax, %eax +// CHECK: encoding: [0x0f,0xbd,0xc0] +bsrl %eax, %eax + +// CHECK: btcl $0, %eax +// CHECK: encoding: [0x0f,0xba,0xf8,0x00] +btcl $0, %eax + +// CHECK: btcl %eax, %eax +// CHECK: encoding: [0x0f,0xbb,0xc0] +btcl %eax, %eax + +// CHECK: btl $0, %eax +// CHECK: encoding: [0x0f,0xba,0xe0,0x00] +btl $0, %eax + +// CHECK: btl %eax, %eax +// CHECK: encoding: [0x0f,0xa3,0xc0] +btl %eax, %eax + +// CHECK: btrl $0, %eax +// CHECK: encoding: [0x0f,0xba,0xf0,0x00] +btrl $0, %eax + +// CHECK: btrl %eax, %eax +// CHECK: encoding: [0x0f,0xb3,0xc0] +btrl %eax, %eax + +// CHECK: btsl $0, %eax +// CHECK: encoding: [0x0f,0xba,0xe8,0x00] +btsl $0, %eax + +// CHECK: btsl %eax, %eax +// CHECK: encoding: [0x0f,0xab,0xc0] +btsl %eax, %eax + +// CHECK: cltd +// CHECK: encoding: [0x99] +cltd + +// CHECK: cmpsb %es:(%edi), %es:(%esi) +// CHECK: encoding: [0x26,0xa6] +cmpsb %es:(%edi), %es:(%esi) + +// CHECK: cmpsl %es:(%edi), %es:(%esi) +// CHECK: encoding: [0x26,0xa7] +cmpsl %es:(%edi), %es:(%esi) + +// CHECK: cmpsw %es:(%edi), %es:(%esi) +// CHECK: encoding: [0x66,0x26,0xa7] +cmpsw %es:(%edi), %es:(%esi) + +// CHECK: cwtd +// CHECK: encoding: [0x66,0x99] +cwtd + +// CHECK: cwtl +// CHECK: encoding: [0x98] +cwtl + +// CHECK: insb %dx, %es:(%edi) +// CHECK: encoding: [0x6c] +insb %dx, %es:(%edi) + +// CHECK: insl %dx, %es:(%edi) +// CHECK: encoding: [0x6d] +insl %dx, %es:(%edi) + +// CHECK: insw %dx, %es:(%edi) +// CHECK: encoding: [0x66,0x6d] +insw %dx, %es:(%edi) + +// CHECK: iretl +// CHECK: encoding: [0xcf] +iretl + +// CHECK: iretw +// CHECK: encoding: [0x66,0xcf] +iretw + +// CHECK: jecxz 64 +// CHECK: encoding: [0xe3,A] +jecxz 64 + +// CHECK: lodsl %es:(%esi), %eax +// CHECK: encoding: [0x26,0xad] +lodsl %es:(%esi), %eax + +// CHECK: movsb %es:(%esi), %es:(%edi) +// CHECK: encoding: [0x26,0xa4] +movsb %es:(%esi), %es:(%edi) + +// CHECK: movsl %es:(%esi), %es:(%edi) +// CHECK: encoding: [0x26,0xa5] +movsl %es:(%esi), %es:(%edi) + +// CHECK: movsw %es:(%esi), %es:(%edi) +// CHECK: encoding: [0x66,0x26,0xa5] +movsw %es:(%esi), %es:(%edi) + +// CHECK: outsb %es:(%esi), %dx +// CHECK: encoding: [0x26,0x6e] +outsb %es:(%esi), %dx + +// CHECK: outsl %es:(%esi), %dx +// CHECK: encoding: [0x26,0x6f] +outsl %es:(%esi), %dx + +// CHECK: outsw %es:(%esi), %dx +// CHECK: encoding: [0x66,0x26,0x6f] +outsw %es:(%esi), %dx + +// CHECK: popal +// CHECK: encoding: [0x61] +popal + +// CHECK: popaw +// CHECK: encoding: [0x66,0x61] +popaw + +// CHECK: popfl +// CHECK: encoding: [0x9d] +popfl + +// CHECK: popfw +// CHECK: encoding: [0x66,0x9d] +popfw + +// CHECK: pushal +// CHECK: encoding: [0x60] +pushal + +// CHECK: pushaw +// CHECK: encoding: [0x66,0x60] +pushaw + +// CHECK: pushfl +// CHECK: encoding: [0x9c] +pushfl + +// CHECK: pushfw +// CHECK: encoding: [0x66,0x9c] +pushfw + +// CHECK: rep cmpsb %es:(%edi), %es:(%esi) +// CHECK: encoding: [0xf3,0x26,0xa6] +rep cmpsb %es:(%edi), %es:(%esi) + +// CHECK: rep cmpsl %es:(%edi), %es:(%esi) +// CHECK: encoding: [0xf3,0x26,0xa7] +rep cmpsl %es:(%edi), %es:(%esi) + +// CHECK: rep cmpsw %es:(%edi), %es:(%esi) +// CHECK: encoding: [0xf3,0x66,0x26,0xa7] +rep cmpsw %es:(%edi), %es:(%esi) + +// CHECK: rep insb %dx, %es:(%edi) +// CHECK: encoding: [0xf3,0x6c] +rep insb %dx, %es:(%edi) + +// CHECK: rep insl %dx, %es:(%edi) +// CHECK: encoding: [0xf3,0x6d] +rep insl %dx, %es:(%edi) + +// CHECK: rep insw %dx, %es:(%edi) +// CHECK: encoding: [0xf3,0x66,0x6d] +rep insw %dx, %es:(%edi) + +// CHECK: rep lodsl %es:(%esi), %eax +// CHECK: encoding: [0xf3,0x26,0xad] +rep lodsl %es:(%esi), %eax + +// CHECK: rep movsb %es:(%esi), %es:(%edi) +// CHECK: encoding: [0xf3,0x26,0xa4] +rep movsb %es:(%esi), %es:(%edi) + +// CHECK: rep movsl %es:(%esi), %es:(%edi) +// CHECK: encoding: [0xf3,0x26,0xa5] +rep movsl %es:(%esi), %es:(%edi) + +// CHECK: rep movsw %es:(%esi), %es:(%edi) +// CHECK: encoding: [0xf3,0x66,0x26,0xa5] +rep movsw %es:(%esi), %es:(%edi) + +// CHECK: repne cmpsb %es:(%edi), %es:(%esi) +// CHECK: encoding: [0xf2,0x26,0xa6] +repne cmpsb %es:(%edi), %es:(%esi) + +// CHECK: repne cmpsl %es:(%edi), %es:(%esi) +// CHECK: encoding: [0xf2,0x26,0xa7] +repne cmpsl %es:(%edi), %es:(%esi) + +// CHECK: repne cmpsw %es:(%edi), %es:(%esi) +// CHECK: encoding: [0xf2,0x66,0x26,0xa7] +repne cmpsw %es:(%edi), %es:(%esi) + +// CHECK: repne insb %dx, %es:(%edi) +// CHECK: encoding: [0xf2,0x6c] +repne insb %dx, %es:(%edi) + +// CHECK: repne insl %dx, %es:(%edi) +// CHECK: encoding: [0xf2,0x6d] +repne insl %dx, %es:(%edi) + +// CHECK: repne insw %dx, %es:(%edi) +// CHECK: encoding: [0xf2,0x66,0x6d] +repne insw %dx, %es:(%edi) + +// CHECK: repne lodsl %es:(%esi), %eax +// CHECK: encoding: [0xf2,0x26,0xad] +repne lodsl %es:(%esi), %eax + +// CHECK: repne movsb %es:(%esi), %es:(%edi) +// CHECK: encoding: [0xf2,0x26,0xa4] +repne movsb %es:(%esi), %es:(%edi) + +// CHECK: repne movsl %es:(%esi), %es:(%edi) +// CHECK: encoding: [0xf2,0x26,0xa5] +repne movsl %es:(%esi), %es:(%edi) + +// CHECK: repne movsw %es:(%esi), %es:(%edi) +// CHECK: encoding: [0xf2,0x66,0x26,0xa5] +repne movsw %es:(%esi), %es:(%edi) + +// CHECK: repne outsb %es:(%esi), %dx +// CHECK: encoding: [0xf2,0x26,0x6e] +repne outsb %es:(%esi), %dx + +// CHECK: repne outsl %es:(%esi), %dx +// CHECK: encoding: [0xf2,0x26,0x6f] +repne outsl %es:(%esi), %dx + +// CHECK: repne outsw %es:(%esi), %dx +// CHECK: encoding: [0xf2,0x66,0x26,0x6f] +repne outsw %es:(%esi), %dx + +// CHECK: repne scasl %es:(%edi), %eax +// CHECK: encoding: [0xf2,0xaf] +repne scasl %es:(%edi), %eax + +// CHECK: repne stosl %eax, %es:(%edi) +// CHECK: encoding: [0xf2,0xab] +repne stosl %eax, %es:(%edi) + +// CHECK: rep outsb %es:(%esi), %dx +// CHECK: encoding: [0xf3,0x26,0x6e] +rep outsb %es:(%esi), %dx + +// CHECK: rep outsl %es:(%esi), %dx +// CHECK: encoding: [0xf3,0x26,0x6f] +rep outsl %es:(%esi), %dx + +// CHECK: rep outsw %es:(%esi), %dx +// CHECK: encoding: [0xf3,0x66,0x26,0x6f] +rep outsw %es:(%esi), %dx + +// CHECK: rep scasl %es:(%edi), %eax +// CHECK: encoding: [0xf3,0xaf] +rep scasl %es:(%edi), %eax + +// CHECK: rep stosl %eax, %es:(%edi) +// CHECK: encoding: [0xf3,0xab] +rep stosl %eax, %es:(%edi) + +// CHECK: scasl %es:(%edi), %eax +// CHECK: encoding: [0xaf] +scasl %es:(%edi), %eax + +// CHECK: seta -485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x97,0x84,0x82,0x10,0xe3,0x0f,0xe3] +seta -485498096(%edx,%eax,4) + +// CHECK: seta 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x97,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +seta 485498096(%edx,%eax,4) + +// CHECK: seta 485498096(%edx) +// CHECK: encoding: [0x0f,0x97,0x82,0xf0,0x1c,0xf0,0x1c] +seta 485498096(%edx) + +// CHECK: seta 485498096 +// CHECK: encoding: [0x0f,0x97,0x05,0xf0,0x1c,0xf0,0x1c] +seta 485498096 + +// CHECK: seta 64(%edx,%eax) +// CHECK: encoding: [0x0f,0x97,0x44,0x02,0x40] +seta 64(%edx,%eax) + +// CHECK: setae -485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x93,0x84,0x82,0x10,0xe3,0x0f,0xe3] +setae -485498096(%edx,%eax,4) + +// CHECK: setae 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x93,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +setae 485498096(%edx,%eax,4) + +// CHECK: setae 485498096(%edx) +// CHECK: encoding: [0x0f,0x93,0x82,0xf0,0x1c,0xf0,0x1c] +setae 485498096(%edx) + +// CHECK: setae 485498096 +// CHECK: encoding: [0x0f,0x93,0x05,0xf0,0x1c,0xf0,0x1c] +setae 485498096 + +// CHECK: setae 64(%edx,%eax) +// CHECK: encoding: [0x0f,0x93,0x44,0x02,0x40] +setae 64(%edx,%eax) + +// CHECK: seta (%edx) +// CHECK: encoding: [0x0f,0x97,0x02] +seta (%edx) + +// CHECK: setae (%edx) +// CHECK: encoding: [0x0f,0x93,0x02] +setae (%edx) + +// CHECK: setb -485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x92,0x84,0x82,0x10,0xe3,0x0f,0xe3] +setb -485498096(%edx,%eax,4) + +// CHECK: setb 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x92,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +setb 485498096(%edx,%eax,4) + +// CHECK: setb 485498096(%edx) +// CHECK: encoding: [0x0f,0x92,0x82,0xf0,0x1c,0xf0,0x1c] +setb 485498096(%edx) + +// CHECK: setb 485498096 +// CHECK: encoding: [0x0f,0x92,0x05,0xf0,0x1c,0xf0,0x1c] +setb 485498096 + +// CHECK: setb 64(%edx,%eax) +// CHECK: encoding: [0x0f,0x92,0x44,0x02,0x40] +setb 64(%edx,%eax) + +// CHECK: setbe -485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x96,0x84,0x82,0x10,0xe3,0x0f,0xe3] +setbe -485498096(%edx,%eax,4) + +// CHECK: setbe 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x96,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +setbe 485498096(%edx,%eax,4) + +// CHECK: setbe 485498096(%edx) +// CHECK: encoding: [0x0f,0x96,0x82,0xf0,0x1c,0xf0,0x1c] +setbe 485498096(%edx) + +// CHECK: setbe 485498096 +// CHECK: encoding: [0x0f,0x96,0x05,0xf0,0x1c,0xf0,0x1c] +setbe 485498096 + +// CHECK: setbe 64(%edx,%eax) +// CHECK: encoding: [0x0f,0x96,0x44,0x02,0x40] +setbe 64(%edx,%eax) + +// CHECK: setb (%edx) +// CHECK: encoding: [0x0f,0x92,0x02] +setb (%edx) + +// CHECK: setbe (%edx) +// CHECK: encoding: [0x0f,0x96,0x02] +setbe (%edx) + +// CHECK: sete -485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x94,0x84,0x82,0x10,0xe3,0x0f,0xe3] +sete -485498096(%edx,%eax,4) + +// CHECK: sete 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x94,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +sete 485498096(%edx,%eax,4) + +// CHECK: sete 485498096(%edx) +// CHECK: encoding: [0x0f,0x94,0x82,0xf0,0x1c,0xf0,0x1c] +sete 485498096(%edx) + +// CHECK: sete 485498096 +// CHECK: encoding: [0x0f,0x94,0x05,0xf0,0x1c,0xf0,0x1c] +sete 485498096 + +// CHECK: sete 64(%edx,%eax) +// CHECK: encoding: [0x0f,0x94,0x44,0x02,0x40] +sete 64(%edx,%eax) + +// CHECK: sete (%edx) +// CHECK: encoding: [0x0f,0x94,0x02] +sete (%edx) + +// CHECK: setg -485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x9f,0x84,0x82,0x10,0xe3,0x0f,0xe3] +setg -485498096(%edx,%eax,4) + +// CHECK: setg 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x9f,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +setg 485498096(%edx,%eax,4) + +// CHECK: setg 485498096(%edx) +// CHECK: encoding: [0x0f,0x9f,0x82,0xf0,0x1c,0xf0,0x1c] +setg 485498096(%edx) + +// CHECK: setg 485498096 +// CHECK: encoding: [0x +setg 485498096 + +// CHECK: setg 485498096 +// CHECK: encoding: [0x0f,0x9f,0x05,0xf0,0x1c,0xf0,0x1c] +setg 485498096 + +// CHECK: setg 64(%edx,%eax) +// CHECK: encoding: [0x0f,0x9f,0x44,0x02,0x40] +setg 64(%edx,%eax) + +// CHECK: setge -485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x9d,0x84,0x82,0x10,0xe3,0x0f,0xe3] +setge -485498096(%edx,%eax,4) + +// CHECK: setge 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x9d,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +setge 485498096(%edx,%eax,4) + +// CHECK: setge 485498096(%edx) +// CHECK: encoding: [0x0f,0x9d,0x82,0xf0,0x1c,0xf0,0x1c] +setge 485498096(%edx) + +// CHECK: setge 485498096 +// CHECK: encoding: [0x0f,0x9d,0x05,0xf0,0x1c,0xf0,0x1c] +setge 485498096 + +// CHECK: setge 64(%edx,%eax) +// CHECK: encoding: [0x0f,0x9d,0x44,0x02,0x40] +setge 64(%edx,%eax) + +// CHECK: setg (%edx) +// CHECK: encoding: [0x0f,0x9f,0x02] +setg (%edx) + +// CHECK: setge (%edx) +// CHECK: encoding: [0x0f,0x9d,0x02] +setge (%edx) + +// CHECK: setl -485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x9c,0x84,0x82,0x10,0xe3,0x0f,0xe3] +setl -485498096(%edx,%eax,4) + +// CHECK: setl 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x9c,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +setl 485498096(%edx,%eax,4) + +// CHECK: setl 485498096(%edx) +// CHECK: encoding: [0x0f,0x9c,0x82,0xf0,0x1c,0xf0,0x1c] +setl 485498096(%edx) + +// CHECK: setl 485498096 +// CHECK: encoding: [0x0f,0x9c,0x05,0xf0,0x1c,0xf0,0x1c] +setl 485498096 + +// CHECK: setl 64(%edx,%eax) +// CHECK: encoding: [0x0f,0x9c,0x44,0x02,0x40] +setl 64(%edx,%eax) + +// CHECK: setle -485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x9e,0x84,0x82,0x10,0xe3,0x0f,0xe3] +setle -485498096(%edx,%eax,4) + +// CHECK: setle 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x9e,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +setle 485498096(%edx,%eax,4) + +// CHECK: setle 485498096(%edx) +// CHECK: encoding: [0x0f,0x9e,0x82,0xf0,0x1c,0xf0,0x1c] +setle 485498096(%edx) + +// CHECK: setle 485498096 +// CHECK: encoding: [0x0f,0x9e,0x05,0xf0,0x1c,0xf0,0x1c] +setle 485498096 + +// CHECK: setle 64(%edx,%eax) +// CHECK: encoding: [0x0f,0x9e,0x44,0x02,0x40] +setle 64(%edx,%eax) + +// CHECK: setl (%edx) +// CHECK: encoding: [0x0f,0x9c,0x02] +setl (%edx) + +// CHECK: setle (%edx) +// CHECK: encoding: [0x0f,0x9e,0x02] +setle (%edx) + +// CHECK: setne -485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x95,0x84,0x82,0x10,0xe3,0x0f,0xe3] +setne -485498096(%edx,%eax,4) + +// CHECK: setne 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x95,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +setne 485498096(%edx,%eax,4) + +// CHECK: setne 485498096(%edx) +// CHECK: encoding: [0x0f,0x95,0x82,0xf0,0x1c,0xf0,0x1c] +setne 485498096(%edx) + +// CHECK: setne 485498096 +// CHECK: encoding: [0x0f,0x95,0x05,0xf0,0x1c,0xf0,0x1c] +setne 485498096 + +// CHECK: setne 64(%edx,%eax) +// CHECK: encoding: [0x0f,0x95,0x44,0x02,0x40] +setne 64(%edx,%eax) + +// CHECK: setne (%edx) +// CHECK: encoding: [0x0f,0x95,0x02] +setne (%edx) + +// CHECK: setno -485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x91,0x84,0x82,0x10,0xe3,0x0f,0xe3] +setno -485498096(%edx,%eax,4) + +// CHECK: setno 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x91,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +setno 485498096(%edx,%eax,4) + +// CHECK: setno 485498096(%edx) +// CHECK: encoding: [0x0f,0x91,0x82,0xf0,0x1c,0xf0,0x1c] +setno 485498096(%edx) + +// CHECK: setno 485498096 +// CHECK: encoding: [0x0f,0x91,0x05,0xf0,0x1c,0xf0,0x1c] +setno 485498096 + +// CHECK: setno 64(%edx,%eax) +// CHECK: encoding: [0x0f,0x91,0x44,0x02,0x40] +setno 64(%edx,%eax) + +// CHECK: setno (%edx) +// CHECK: encoding: [0x0f,0x91,0x02] +setno (%edx) + +// CHECK: setnp -485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x9b,0x84,0x82,0x10,0xe3,0x0f,0xe3] +setnp -485498096(%edx,%eax,4) + +// CHECK: setnp 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x9b,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +setnp 485498096(%edx,%eax,4) + +// CHECK: setnp 485498096(%edx) +// CHECK: encoding: [0x0f,0x9b,0x82,0xf0,0x1c,0xf0,0x1c] +setnp 485498096(%edx) + +// CHECK: setnp 485498096 +// CHECK: encoding: [0x0f,0x9b,0x05,0xf0,0x1c,0xf0,0x1c] +setnp 485498096 + +// CHECK: setnp 64(%edx,%eax) +// CHECK: encoding: [0x0f,0x9b,0x44,0x02,0x40] +setnp 64(%edx,%eax) + +// CHECK: setnp (%edx) +// CHECK: encoding: [0x0f,0x9b,0x02] +setnp (%edx) + +// CHECK: setns -485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x99,0x84,0x82,0x10,0xe3,0x0f,0xe3] +setns -485498096(%edx,%eax,4) + +// CHECK: setns 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x99,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +setns 485498096(%edx,%eax,4) + +// CHECK: setns 485498096(%edx) +// CHECK: encoding: [0x0f,0x99,0x82,0xf0,0x1c,0xf0,0x1c] +setns 485498096(%edx) + +// CHECK: setns 485498096 +// CHECK: encoding: [0x0f,0x99,0x05,0xf0,0x1c,0xf0,0x1c] +setns 485498096 + +// CHECK: setns 64(%edx,%eax) +// CHECK: encoding: [0x0f,0x99,0x44,0x02,0x40] +setns 64(%edx,%eax) + +// CHECK: setns (%edx) +// CHECK: encoding: [0x0f,0x99,0x02] +setns (%edx) + +// CHECK: seto -485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x90,0x84,0x82,0x10,0xe3,0x0f,0xe3] +seto -485498096(%edx,%eax,4) + +// CHECK: seto 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x90,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +seto 485498096(%edx,%eax,4) + +// CHECK: seto 485498096(%edx) +// CHECK: encoding: [0x0f,0x90,0x82,0xf0,0x1c,0xf0,0x1c] +seto 485498096(%edx) + +// CHECK: seto 485498096 +// CHECK: encoding: [0x0f,0x90,0x05,0xf0,0x1c,0xf0,0x1c] +seto 485498096 + +// CHECK: seto 64(%edx,%eax) +// CHECK: encoding: [0x0f,0x90,0x44,0x02,0x40] +seto 64(%edx,%eax) + +// CHECK: seto (%edx) +// CHECK: encoding: [0x0f,0x90,0x02] +seto (%edx) + +// CHECK: setp -485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x9a,0x84,0x82,0x10,0xe3,0x0f,0xe3] +setp -485498096(%edx,%eax,4) + +// CHECK: setp 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x9a,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +setp 485498096(%edx,%eax,4) + +// CHECK: setp 485498096(%edx) +// CHECK: encoding: [0x0f,0x9a,0x82,0xf0,0x1c,0xf0,0x1c] +setp 485498096(%edx) + +// CHECK: setp 485498096 +// CHECK: encoding: [0x0f,0x9a,0x05,0xf0,0x1c,0xf0,0x1c] +setp 485498096 + +// CHECK: setp 64(%edx,%eax) +// CHECK: encoding: [0x0f,0x9a,0x44,0x02,0x40] +setp 64(%edx,%eax) + +// CHECK: setp (%edx) +// CHECK: encoding: [0x0f,0x9a,0x02] +setp (%edx) + +// CHECK: sets -485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x98,0x84,0x82,0x10,0xe3,0x0f,0xe3] +sets -485498096(%edx,%eax,4) + +// CHECK: sets 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x98,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +sets 485498096(%edx,%eax,4) + +// CHECK: sets 485498096(%edx) +// CHECK: encoding: [0x0f,0x98,0x82,0xf0,0x1c,0xf0,0x1c] +sets 485498096(%edx) + +// CHECK: sets 485498096 +// CHECK: encoding: [0x0f,0x98,0x05,0xf0,0x1c,0xf0,0x1c] +sets 485498096 + +// CHECK: sets 64(%edx,%eax) +// CHECK: encoding: [0x0f,0x98,0x44,0x02,0x40] +sets 64(%edx,%eax) + +// CHECK: sets (%edx) +// CHECK: encoding: [0x0f,0x98,0x02] +sets (%edx) + +// CHECK: shldl $0, %eax, %eax +// CHECK: encoding: [0x0f,0xa4,0xc0,0x00] +shldl $0, %eax, %eax + +// CHECK: shldl %cl, %eax, %eax +// CHECK: encoding: [0x0f,0xa5,0xc0] +shldl %cl, %eax, %eax + +// CHECK: shrdl $0, %eax, %eax +// CHECK: encoding: [0x0f,0xac,0xc0,0x00] +shrdl $0, %eax, %eax + +// CHECK: shrdl %cl, %eax, %eax +// CHECK: encoding: [0x0f,0xad,0xc0] +shrdl %cl, %eax, %eax + +// CHECK: stosl %eax, %es:(%edi) +// CHECK: encoding: [0xab] +stosl %eax, %es:(%edi) + diff --git a/llvm/test/MC/X86/I386-64.s b/llvm/test/MC/X86/I386-64.s new file mode 100644 index 000000000000..ccefeb8bd53b --- /dev/null +++ b/llvm/test/MC/X86/I386-64.s @@ -0,0 +1,874 @@ +// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s + +// CHECK: bsfl %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0xbc,0xed] +bsfl %r13d, %r13d + +// CHECK: bsrl %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0xbd,0xed] +bsrl %r13d, %r13d + +// CHECK: btcl $0, %r13d +// CHECK: encoding: [0x41,0x0f,0xba,0xfd,0x00] +btcl $0, %r13d + +// CHECK: btcl %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0xbb,0xed] +btcl %r13d, %r13d + +// CHECK: btl $0, %r13d +// CHECK: encoding: [0x41,0x0f,0xba,0xe5,0x00] +btl $0, %r13d + +// CHECK: btl %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0xa3,0xed] +btl %r13d, %r13d + +// CHECK: btrl $0, %r13d +// CHECK: encoding: [0x41,0x0f,0xba,0xf5,0x00] +btrl $0, %r13d + +// CHECK: btrl %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0xb3,0xed] +btrl %r13d, %r13d + +// CHECK: btsl $0, %r13d +// CHECK: encoding: [0x41,0x0f,0xba,0xed,0x00] +btsl $0, %r13d + +// CHECK: btsl %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0xab,0xed] +btsl %r13d, %r13d + +// CHECK: cltd +// CHECK: encoding: [0x99] +cltd + +// CHECK: cmpsb %es:(%rdi), %gs:(%rsi) +// CHECK: encoding: [0x65,0xa6] +cmpsb %es:(%rdi), %gs:(%rsi) + +// CHECK: cmpsl %es:(%rdi), %gs:(%rsi) +// CHECK: encoding: [0x65,0xa7] +cmpsl %es:(%rdi), %gs:(%rsi) + +// CHECK: cmpsq %es:(%rdi), %gs:(%rsi) +// CHECK: encoding: [0x48,0x65,0xa7] +cmpsq %es:(%rdi), %gs:(%rsi) + +// CHECK: cmpsw %es:(%rdi), %gs:(%rsi) +// CHECK: encoding: [0x66,0x65,0xa7] +cmpsw %es:(%rdi), %gs:(%rsi) + +// CHECK: cwtd +// CHECK: encoding: [0x66,0x99] +cwtd + +// CHECK: cwtl +// CHECK: encoding: [0x98] +cwtl + +// CHECK: insb %dx, %es:(%rdi) +// CHECK: encoding: [0x6c] +insb %dx, %es:(%rdi) + +// CHECK: insl %dx, %es:(%rdi) +// CHECK: encoding: [0x6d] +insl %dx, %es:(%rdi) + +// CHECK: insw %dx, %es:(%rdi) +// CHECK: encoding: [0x66,0x6d] +insw %dx, %es:(%rdi) + +// CHECK: iretl +// CHECK: encoding: [0xcf] +iretl + +// CHECK: iretq +// CHECK: encoding: [0x48,0xcf] +iretq + +// CHECK: iretw +// CHECK: encoding: [0x66,0xcf] +iretw + +// CHECK: lodsl %gs:(%rsi), %eax +// CHECK: encoding: [0x65,0xad] +lodsl %gs:(%rsi), %eax + +// CHECK: lzcntl %r13d, %r13d +// CHECK: encoding: [0xf3,0x45,0x0f,0xbd,0xed] +lzcntl %r13d, %r13d + +// CHECK: movsb %gs:(%rsi), %es:(%rdi) +// CHECK: encoding: [0x65,0xa4] +movsb %gs:(%rsi), %es:(%rdi) + +// CHECK: movsbl 485498096, %r13d +// CHECK: encoding: [0x44,0x0f,0xbe,0x2c,0x25,0xf0,0x1c,0xf0,0x1c] +movsbl 485498096, %r13d + +// CHECK: movsbl 64(%rdx), %r13d +// CHECK: encoding: [0x44,0x0f,0xbe,0x6a,0x40] +movsbl 64(%rdx), %r13d + +// CHECK: movsbl 64(%rdx,%rax,4), %r13d +// CHECK: encoding: [0x44,0x0f,0xbe,0x6c,0x82,0x40] +movsbl 64(%rdx,%rax,4), %r13d + +// CHECK: movsbl -64(%rdx,%rax,4), %r13d +// CHECK: encoding: [0x44,0x0f,0xbe,0x6c,0x82,0xc0] +movsbl -64(%rdx,%rax,4), %r13d + +// CHECK: movsbl 64(%rdx,%rax), %r13d +// CHECK: encoding: [0x44,0x0f,0xbe,0x6c,0x02,0x40] +movsbl 64(%rdx,%rax), %r13d + +// CHECK: movsbl %r11b, %r13d +// CHECK: encoding: [0x45,0x0f,0xbe,0xeb] +movsbl %r11b, %r13d + +// CHECK: movsbl %r14b, %r13d +// CHECK: encoding: [0x45,0x0f,0xbe,0xee] +movsbl %r14b, %r13d + +// CHECK: movsbl (%rdx), %r13d +// CHECK: encoding: [0x44,0x0f,0xbe,0x2a] +movsbl (%rdx), %r13d + +// CHECK: movsl %gs:(%rsi), %es:(%rdi) +// CHECK: encoding: [0x65,0xa5] +movsl %gs:(%rsi), %es:(%rdi) + +// CHECK: movsq %gs:(%rsi), %es:(%rdi) +// CHECK: encoding: [0x48,0x65,0xa5] +movsq %gs:(%rsi), %es:(%rdi) + +// CHECK: movsw %gs:(%rsi), %es:(%rdi) +// CHECK: encoding: [0x66,0x65,0xa5] +movsw %gs:(%rsi), %es:(%rdi) + +// CHECK: movswl 485498096, %r13d +// CHECK: encoding: [0x44,0x0f,0xbf,0x2c,0x25,0xf0,0x1c,0xf0,0x1c] +movswl 485498096, %r13d + +// CHECK: movswl 64(%rdx), %r13d +// CHECK: encoding: [0x44,0x0f,0xbf,0x6a,0x40] +movswl 64(%rdx), %r13d + +// CHECK: movswl 64(%rdx,%rax,4), %r13d +// CHECK: encoding: [0x44,0x0f,0xbf,0x6c,0x82,0x40] +movswl 64(%rdx,%rax,4), %r13d + +// CHECK: movswl -64(%rdx,%rax,4), %r13d +// CHECK: encoding: [0x44,0x0f,0xbf,0x6c,0x82,0xc0] +movswl -64(%rdx,%rax,4), %r13d + +// CHECK: movswl 64(%rdx,%rax), %r13d +// CHECK: encoding: [0x44,0x0f,0xbf,0x6c,0x02,0x40] +movswl 64(%rdx,%rax), %r13d + +// CHECK: movswl %r11w, %r13d +// CHECK: encoding: [0x45,0x0f,0xbf,0xeb] +movswl %r11w, %r13d + +// CHECK: movswl %r14w, %r13d +// CHECK: encoding: [0x45,0x0f,0xbf,0xee] +movswl %r14w, %r13d + +// CHECK: movswl (%rdx), %r13d +// CHECK: encoding: [0x44,0x0f,0xbf,0x2a] +movswl (%rdx), %r13d + +// CHECK: movzbl 485498096, %r13d +// CHECK: encoding: [0x44,0x0f,0xb6,0x2c,0x25,0xf0,0x1c,0xf0,0x1c] +movzbl 485498096, %r13d + +// CHECK: movzbl 64(%rdx), %r13d +// CHECK: encoding: [0x44,0x0f,0xb6,0x6a,0x40] +movzbl 64(%rdx), %r13d + +// CHECK: movzbl 64(%rdx,%rax,4), %r13d +// CHECK: encoding: [0x44,0x0f,0xb6,0x6c,0x82,0x40] +movzbl 64(%rdx,%rax,4), %r13d + +// CHECK: movzbl -64(%rdx,%rax,4), %r13d +// CHECK: encoding: [0x44,0x0f,0xb6,0x6c,0x82,0xc0] +movzbl -64(%rdx,%rax,4), %r13d + +// CHECK: movzbl 64(%rdx,%rax), %r13d +// CHECK: encoding: [0x44,0x0f,0xb6,0x6c,0x02,0x40] +movzbl 64(%rdx,%rax), %r13d + +// CHECK: movzbl %r11b, %r13d +// CHECK: encoding: [0x45,0x0f,0xb6,0xeb] +movzbl %r11b, %r13d + +// CHECK: movzbl %r14b, %r13d +// CHECK: encoding: [0x45,0x0f,0xb6,0xee] +movzbl %r14b, %r13d + +// CHECK: movzbl (%rdx), %r13d +// CHECK: encoding: [0x44,0x0f,0xb6,0x2a] +movzbl (%rdx), %r13d + +// CHECK: movzwl 485498096, %r13d +// CHECK: encoding: [0x44,0x0f,0xb7,0x2c,0x25,0xf0,0x1c,0xf0,0x1c] +movzwl 485498096, %r13d + +// CHECK: movzwl 64(%rdx), %r13d +// CHECK: encoding: [0x44,0x0f,0xb7,0x6a,0x40] +movzwl 64(%rdx), %r13d + +// CHECK: movzwl 64(%rdx,%rax,4), %r13d +// CHECK: encoding: [0x44,0x0f,0xb7,0x6c,0x82,0x40] +movzwl 64(%rdx,%rax,4), %r13d + +// CHECK: movzwl -64(%rdx,%rax,4), %r13d +// CHECK: encoding: [0x44,0x0f,0xb7,0x6c,0x82,0xc0] +movzwl -64(%rdx,%rax,4), %r13d + +// CHECK: movzwl 64(%rdx,%rax), %r13d +// CHECK: encoding: [0x44,0x0f,0xb7,0x6c,0x02,0x40] +movzwl 64(%rdx,%rax), %r13d + +// CHECK: movzwl %r11w, %r13d +// CHECK: encoding: [0x45,0x0f,0xb7,0xeb] +movzwl %r11w, %r13d + +// CHECK: movzwl %r14w, %r13d +// CHECK: encoding: [0x45,0x0f,0xb7,0xee] +movzwl %r14w, %r13d + +// CHECK: movzwl (%rdx), %r13d +// CHECK: encoding: [0x44,0x0f,0xb7,0x2a] +movzwl (%rdx), %r13d + +// CHECK: outsb %gs:(%rsi), %dx +// CHECK: encoding: [0x65,0x6e] +outsb %gs:(%rsi), %dx + +// CHECK: outsl %gs:(%rsi), %dx +// CHECK: encoding: [0x65,0x6f] +outsl %gs:(%rsi), %dx + +// CHECK: outsw %gs:(%rsi), %dx +// CHECK: encoding: [0x66,0x65,0x6f] +outsw %gs:(%rsi), %dx + +// CHECK: rep cmpsb %es:(%rdi), %gs:(%rsi) +// CHECK: encoding: [0xf3,0x65,0xa6] +rep cmpsb %es:(%rdi), %gs:(%rsi) + +// CHECK: rep cmpsl %es:(%rdi), %gs:(%rsi) +// CHECK: encoding: [0xf3,0x65,0xa7] +rep cmpsl %es:(%rdi), %gs:(%rsi) + +// CHECK: rep cmpsq %es:(%rdi), %gs:(%rsi) +// CHECK: encoding: [0xf3,0x48,0x65,0xa7] +rep cmpsq %es:(%rdi), %gs:(%rsi) + +// CHECK: rep cmpsw %es:(%rdi), %gs:(%rsi) +// CHECK: encoding: [0xf3,0x66,0x65,0xa7] +rep cmpsw %es:(%rdi), %gs:(%rsi) + +// CHECK: rep insb %dx, %es:(%rdi) +// CHECK: encoding: [0xf3,0x6c] +rep insb %dx, %es:(%rdi) + +// CHECK: rep insl %dx, %es:(%rdi) +// CHECK: encoding: [0xf3,0x6d] +rep insl %dx, %es:(%rdi) + +// CHECK: rep insw %dx, %es:(%rdi) +// CHECK: encoding: [0xf3,0x66,0x6d] +rep insw %dx, %es:(%rdi) + +// CHECK: rep lodsl %gs:(%rsi), %eax +// CHECK: encoding: [0xf3,0x65,0xad] +rep lodsl %gs:(%rsi), %eax + +// CHECK: rep movsb %gs:(%rsi), %es:(%rdi) +// CHECK: encoding: [0xf3,0x65,0xa4] +rep movsb %gs:(%rsi), %es:(%rdi) + +// CHECK: rep movsl %gs:(%rsi), %es:(%rdi) +// CHECK: encoding: [0xf3,0x65,0xa5] +rep movsl %gs:(%rsi), %es:(%rdi) + +// CHECK: rep movsq %gs:(%rsi), %es:(%rdi) +// CHECK: encoding: [0xf3,0x48,0x65,0xa5] +rep movsq %gs:(%rsi), %es:(%rdi) + +// CHECK: rep movsw %gs:(%rsi), %es:(%rdi) +// CHECK: encoding: [0xf3,0x66,0x65,0xa5] +rep movsw %gs:(%rsi), %es:(%rdi) + +// CHECK: repne cmpsb %es:(%rdi), %gs:(%rsi) +// CHECK: encoding: [0xf2,0x65,0xa6] +repne cmpsb %es:(%rdi), %gs:(%rsi) + +// CHECK: repne cmpsl %es:(%rdi), %gs:(%rsi) +// CHECK: encoding: [0xf2,0x65,0xa7] +repne cmpsl %es:(%rdi), %gs:(%rsi) + +// CHECK: repne cmpsq %es:(%rdi), %gs:(%rsi) +// CHECK: encoding: [0xf2,0x48,0x65,0xa7] +repne cmpsq %es:(%rdi), %gs:(%rsi) + +// CHECK: repne cmpsw %es:(%rdi), %gs:(%rsi) +// CHECK: encoding: [0xf2,0x66,0x65,0xa7] +repne cmpsw %es:(%rdi), %gs:(%rsi) + +// CHECK: repne insb %dx, %es:(%rdi) +// CHECK: encoding: [0xf2,0x6c] +repne insb %dx, %es:(%rdi) + +// CHECK: repne insl %dx, %es:(%rdi) +// CHECK: encoding: [0xf2,0x6d] +repne insl %dx, %es:(%rdi) + +// CHECK: repne insw %dx, %es:(%rdi) +// CHECK: encoding: [0xf2,0x66,0x6d] +repne insw %dx, %es:(%rdi) + +// CHECK: repne lodsl %gs:(%rsi), %eax +// CHECK: encoding: [0xf2,0x65,0xad] +repne lodsl %gs:(%rsi), %eax + +// CHECK: repne movsb %gs:(%rsi), %es:(%rdi) +// CHECK: encoding: [0xf2,0x65,0xa4] +repne movsb %gs:(%rsi), %es:(%rdi) + +// CHECK: repne movsl %gs:(%rsi), %es:(%rdi) +// CHECK: encoding: [0xf2,0x65,0xa5] +repne movsl %gs:(%rsi), %es:(%rdi) + +// CHECK: repne movsq %gs:(%rsi), %es:(%rdi) +// CHECK: encoding: [0xf2,0x48,0x65,0xa5] +repne movsq %gs:(%rsi), %es:(%rdi) + +// CHECK: repne movsw %gs:(%rsi), %es:(%rdi) +// CHECK: encoding: [0xf2,0x66,0x65,0xa5] +repne movsw %gs:(%rsi), %es:(%rdi) + +// CHECK: repne outsb %gs:(%rsi), %dx +// CHECK: encoding: [0xf2,0x65,0x6e] +repne outsb %gs:(%rsi), %dx + +// CHECK: repne outsl %gs:(%rsi), %dx +// CHECK: encoding: [0xf2,0x65,0x6f] +repne outsl %gs:(%rsi), %dx + +// CHECK: repne outsw %gs:(%rsi), %dx +// CHECK: encoding: [0xf2,0x66,0x65,0x6f] +repne outsw %gs:(%rsi), %dx + +// CHECK: repne scasl %es:(%rdi), %eax +// CHECK: encoding: [0xf2,0xaf] +repne scasl %es:(%rdi), %eax + +// CHECK: repne stosl %eax, %es:(%rdi) +// CHECK: encoding: [0xf2,0xab] +repne stosl %eax, %es:(%rdi) + +// CHECK: rep outsb %gs:(%rsi), %dx +// CHECK: encoding: [0xf3,0x65,0x6e] +rep outsb %gs:(%rsi), %dx + +// CHECK: rep outsl %gs:(%rsi), %dx +// CHECK: encoding: [0xf3,0x65,0x6f] +rep outsl %gs:(%rsi), %dx + +// CHECK: rep outsw %gs:(%rsi), %dx +// CHECK: encoding: [0xf3,0x66,0x65,0x6f] +rep outsw %gs:(%rsi), %dx + +// CHECK: rep scasl %es:(%rdi), %eax +// CHECK: encoding: [0xf3,0xaf] +rep scasl %es:(%rdi), %eax + +// CHECK: rep stosl %eax, %es:(%rdi) +// CHECK: encoding: [0xf3,0xab] +rep stosl %eax, %es:(%rdi) + +// CHECK: scasl %es:(%rdi), %eax +// CHECK: encoding: [0xaf] +scasl %es:(%rdi), %eax + +// CHECK: seta 485498096 +// CHECK: encoding: [0x0f,0x97,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +seta 485498096 + +// CHECK: seta 64(%rdx) +// CHECK: encoding: [0x0f,0x97,0x42,0x40] +seta 64(%rdx) + +// CHECK: seta 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x97,0x44,0x82,0x40] +seta 64(%rdx,%rax,4) + +// CHECK: seta -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x97,0x44,0x82,0xc0] +seta -64(%rdx,%rax,4) + +// CHECK: seta 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x97,0x44,0x02,0x40] +seta 64(%rdx,%rax) + +// CHECK: setae 485498096 +// CHECK: encoding: [0x0f,0x93,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +setae 485498096 + +// CHECK: setae 64(%rdx) +// CHECK: encoding: [0x0f,0x93,0x42,0x40] +setae 64(%rdx) + +// CHECK: setae 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x93,0x44,0x82,0x40] +setae 64(%rdx,%rax,4) + +// CHECK: setae -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x93,0x44,0x82,0xc0] +setae -64(%rdx,%rax,4) + +// CHECK: setae 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x93,0x44,0x02,0x40] +setae 64(%rdx,%rax) + +// CHECK: setae %r14b +// CHECK: encoding: [0x41,0x0f,0x93,0xc6] +setae %r14b + +// CHECK: setae (%rdx) +// CHECK: encoding: [0x0f,0x93,0x02] +setae (%rdx) + +// CHECK: seta %r14b +// CHECK: encoding: [0x41,0x0f,0x97,0xc6] +seta %r14b + +// CHECK: seta (%rdx) +// CHECK: encoding: [0x0f,0x97,0x02] +seta (%rdx) + +// CHECK: setb 485498096 +// CHECK: encoding: [0x0f,0x92,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +setb 485498096 + +// CHECK: setb 64(%rdx) +// CHECK: encoding: [0x0f,0x92,0x42,0x40] +setb 64(%rdx) + +// CHECK: setb 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x92,0x44,0x82,0x40] +setb 64(%rdx,%rax,4) + +// CHECK: setb -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x92,0x44,0x82,0xc0] +setb -64(%rdx,%rax,4) + +// CHECK: setb 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x92,0x44,0x02,0x40] +setb 64(%rdx,%rax) + +// CHECK: setbe 485498096 +// CHECK: encoding: [0x0f,0x96,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +setbe 485498096 + +// CHECK: setbe 64(%rdx) +// CHECK: encoding: [0x0f,0x96,0x42,0x40] +setbe 64(%rdx) + +// CHECK: setbe 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x96,0x44,0x82,0x40] +setbe 64(%rdx,%rax,4) + +// CHECK: setbe -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x96,0x44,0x82,0xc0] +setbe -64(%rdx,%rax,4) + +// CHECK: setbe 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x96,0x44,0x02,0x40] +setbe 64(%rdx,%rax) + +// CHECK: setbe %r14b +// CHECK: encoding: [0x41,0x0f,0x96,0xc6] +setbe %r14b + +// CHECK: setbe (%rdx) +// CHECK: encoding: [0x0f,0x96,0x02] +setbe (%rdx) + +// CHECK: setb %r14b +// CHECK: encoding: [0x41,0x0f,0x92,0xc6] +setb %r14b + +// CHECK: setb (%rdx) +// CHECK: encoding: [0x0f,0x92,0x02] +setb (%rdx) + +// CHECK: sete 485498096 +// CHECK: encoding: [0x0f,0x94,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +sete 485498096 + +// CHECK: sete 64(%rdx) +// CHECK: encoding: [0x0f,0x94,0x42,0x40] +sete 64(%rdx) + +// CHECK: sete 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x94,0x44,0x82,0x40] +sete 64(%rdx,%rax,4) + +// CHECK: sete -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x94,0x44,0x82,0xc0] +sete -64(%rdx,%rax,4) + +// CHECK: sete 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x94,0x44,0x02,0x40] +sete 64(%rdx,%rax) + +// CHECK: sete %r14b +// CHECK: encoding: [0x41,0x0f,0x94,0xc6] +sete %r14b + +// CHECK: sete (%rdx) +// CHECK: encoding: [0x0f,0x94,0x02] +sete (%rdx) + +// CHECK: setg 485498096 +// CHECK: encoding: [0x0f,0x9f,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +setg 485498096 + +// CHECK: setg 64(%rdx) +// CHECK: encoding: [0x0f,0x9f,0x42,0x40] +setg 64(%rdx) + +// CHECK: setg 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x9f,0x44,0x82,0x40] +setg 64(%rdx,%rax,4) + +// CHECK: setg -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x9f,0x44,0x82,0xc0] +setg -64(%rdx,%rax,4) + +// CHECK: setg 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x9f,0x44,0x02,0x40] +setg 64(%rdx,%rax) + +// CHECK: setge 485498096 +// CHECK: encoding: [0x0f,0x9d,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +setge 485498096 + +// CHECK: setge 64(%rdx) +// CHECK: encoding: [0x0f,0x9d,0x42,0x40] +setge 64(%rdx) + +// CHECK: setge 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x9d,0x44,0x82,0x40] +setge 64(%rdx,%rax,4) + +// CHECK: setge -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x9d,0x44,0x82,0xc0] +setge -64(%rdx,%rax,4) + +// CHECK: setge 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x9d,0x44,0x02,0 +setge 64(%rdx,%rax) + +// CHECK: setge 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x9d,0x44,0x02,0x40] +setge 64(%rdx,%rax) + +// CHECK: setge %r14b +// CHECK: encoding: [0x41,0x0f,0x9d,0xc6] +setge %r14b + +// CHECK: setge (%rdx) +// CHECK: encoding: [0x0f,0x9d,0x02] +setge (%rdx) + +// CHECK: setg %r14b +// CHECK: encoding: [0x41,0x0f,0x9f,0xc6] +setg %r14b + +// CHECK: setg (%rdx) +// CHECK: encoding: [0x0f,0x9f,0x02] +setg (%rdx) + +// CHECK: setl 485498096 +// CHECK: encoding: [0x0f,0x9c,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +setl 485498096 + +// CHECK: setl 64(%rdx) +// CHECK: encoding: [0x0f,0x9c,0x42,0x40] +setl 64(%rdx) + +// CHECK: setl 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x9c,0x44,0x82,0x40] +setl 64(%rdx,%rax,4) + +// CHECK: setl -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x9c,0x44,0x82,0xc0] +setl -64(%rdx,%rax,4) + +// CHECK: setl 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x9c,0x44,0x02,0x40] +setl 64(%rdx,%rax) + +// CHECK: setle 485498096 +// CHECK: encoding: [0x0f,0x9e,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +setle 485498096 + +// CHECK: setle 64(%rdx) +// CHECK: encoding: [0x0f,0x9e,0x42,0x40] +setle 64(%rdx) + +// CHECK: setle 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x9e,0x44,0x82,0x40] +setle 64(%rdx,%rax,4) + +// CHECK: setle -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x9e,0x44,0x82,0xc0] +setle -64(%rdx,%rax,4) + +// CHECK: setle 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x9e,0x44,0x02,0x40] +setle 64(%rdx,%rax) + +// CHECK: setle %r14b +// CHECK: encoding: [0x41,0x0f,0x9e,0xc6] +setle %r14b + +// CHECK: setle (%rdx) +// CHECK: encoding: [0x0f,0x9e,0x02] +setle (%rdx) + +// CHECK: setl %r14b +// CHECK: encoding: [0x41,0x0f,0x9c,0xc6] +setl %r14b + +// CHECK: setl (%rdx) +// CHECK: encoding: [0x0f,0x9c,0x02] +setl (%rdx) + +// CHECK: setne 485498096 +// CHECK: encoding: [0x0f,0x95,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +setne 485498096 + +// CHECK: setne 64(%rdx) +// CHECK: encoding: [0x0f,0x95,0x42,0x40] +setne 64(%rdx) + +// CHECK: setne 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x95,0x44,0x82,0x40] +setne 64(%rdx,%rax,4) + +// CHECK: setne -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x95,0x44,0x82,0xc0] +setne -64(%rdx,%rax,4) + +// CHECK: setne 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x95,0x44,0x02,0x40] +setne 64(%rdx,%rax) + +// CHECK: setne %r14b +// CHECK: encoding: [0x41,0x0f,0x95,0xc6] +setne %r14b + +// CHECK: setne (%rdx) +// CHECK: encoding: [0x0f,0x95,0x02] +setne (%rdx) + +// CHECK: setno 485498096 +// CHECK: encoding: [0x0f,0x91,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +setno 485498096 + +// CHECK: setno 64(%rdx) +// CHECK: encoding: [0x0f,0x91,0x42,0x40] +setno 64(%rdx) + +// CHECK: setno 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x91,0x44,0x82,0x40] +setno 64(%rdx,%rax,4) + +// CHECK: setno -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x91,0x44,0x82,0xc0] +setno -64(%rdx,%rax,4) + +// CHECK: setno 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x91,0x44,0x02,0x40] +setno 64(%rdx,%rax) + +// CHECK: setno %r14b +// CHECK: encoding: [0x41,0x0f,0x91,0xc6] +setno %r14b + +// CHECK: setno (%rdx) +// CHECK: encoding: [0x0f,0x91,0x02] +setno (%rdx) + +// CHECK: setnp 485498096 +// CHECK: encoding: [0x0f,0x9b,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +setnp 485498096 + +// CHECK: setnp 64(%rdx) +// CHECK: encoding: [0x0f,0x9b,0x42,0x40] +setnp 64(%rdx) + +// CHECK: setnp 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x9b,0x44,0x82,0x40] +setnp 64(%rdx,%rax,4) + +// CHECK: setnp -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x9b,0x44,0x82,0xc0] +setnp -64(%rdx,%rax,4) + +// CHECK: setnp 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x9b,0x44,0x02,0x40] +setnp 64(%rdx,%rax) + +// CHECK: setnp %r14b +// CHECK: encoding: [0x41,0x0f,0x9b,0xc6] +setnp %r14b + +// CHECK: setnp (%rdx) +// CHECK: encoding: [0x0f,0x9b,0x02] +setnp (%rdx) + +// CHECK: setns 485498096 +// CHECK: encoding: [0x0f,0x99,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +setns 485498096 + +// CHECK: setns 64(%rdx) +// CHECK: encoding: [0x0f,0x99,0x42,0x40] +setns 64(%rdx) + +// CHECK: setns 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x99,0x44,0x82,0x40] +setns 64(%rdx,%rax,4) + +// CHECK: setns -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x99,0x44,0x82,0xc0] +setns -64(%rdx,%rax,4) + +// CHECK: setns 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x99,0x44,0x02,0x40] +setns 64(%rdx,%rax) + +// CHECK: setns %r14b +// CHECK: encoding: [0x41,0x0f,0x99,0xc6] +setns %r14b + +// CHECK: setns (%rdx) +// CHECK: encoding: [0x0f,0x99,0x02] +setns (%rdx) + +// CHECK: seto 485498096 +// CHECK: encoding: [0x0f,0x90,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +seto 485498096 + +// CHECK: seto 64(%rdx) +// CHECK: encoding: [0x0f,0x90,0x42,0x40] +seto 64(%rdx) + +// CHECK: seto 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x90,0x44,0x82,0x40] +seto 64(%rdx,%rax,4) + +// CHECK: seto -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x90,0x44,0x82,0xc0] +seto -64(%rdx,%rax,4) + +// CHECK: seto 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x90,0x44,0x02,0x40] +seto 64(%rdx,%rax) + +// CHECK: seto %r14b +// CHECK: encoding: [0x41,0x0f,0x90,0xc6] +seto %r14b + +// CHECK: seto (%rdx) +// CHECK: encoding: [0x0f,0x90,0x02] +seto (%rdx) + +// CHECK: setp 485498096 +// CHECK: encoding: [0x0f,0x9a,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +setp 485498096 + +// CHECK: setp 64(%rdx) +// CHECK: encoding: [0x0f,0x9a,0x42,0x40] +setp 64(%rdx) + +// CHECK: setp 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x9a,0x44,0x82,0x40] +setp 64(%rdx,%rax,4) + +// CHECK: setp -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x9a,0x44,0x82,0xc0] +setp -64(%rdx,%rax,4) + +// CHECK: setp 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x9a,0x44,0x02,0x40] +setp 64(%rdx,%rax) + +// CHECK: setp %r14b +// CHECK: encoding: [0x41,0x0f,0x9a,0xc6] +setp %r14b + +// CHECK: setp (%rdx) +// CHECK: encoding: [0x0f,0x9a,0x02] +setp (%rdx) + +// CHECK: sets 485498096 +// CHECK: encoding: [0x0f,0x98,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +sets 485498096 + +// CHECK: sets 64(%rdx) +// CHECK: encoding: [0x0f,0x98,0x42,0x40] +sets 64(%rdx) + +// CHECK: sets 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x98,0x44,0x82,0x40] +sets 64(%rdx,%rax,4) + +// CHECK: sets -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x98,0x44,0x82,0xc0] +sets -64(%rdx,%rax,4) + +// CHECK: sets 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x98,0x44,0x02,0x40] +sets 64(%rdx,%rax) + +// CHECK: sets %r14b +// CHECK: encoding: [0x41,0x0f,0x98,0xc6] +sets %r14b + +// CHECK: sets (%rdx) +// CHECK: encoding: [0x0f,0x98,0x02] +sets (%rdx) + +// CHECK: shldl $0, %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0xa4,0xed,0x00] +shldl $0, %r13d, %r13d + +// CHECK: shldl %cl, %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0xa5,0xed] +shldl %cl, %r13d, %r13d + +// CHECK: shrdl $0, %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0xac,0xed,0x00] +shrdl $0, %r13d, %r13d + +// CHECK: shrdl %cl, %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0xad,0xed] +shrdl %cl, %r13d, %r13d + +// CHECK: stosl %eax, %es:(%rdi) +// CHECK: encoding: [0xab] +stosl %eax, %es:(%rdi) + +// CHECK: tzcntl %r13d, %r13d +// CHECK: encoding: [0xf3,0x45,0x0f,0xbc,0xed] +tzcntl %r13d, %r13d + diff --git a/llvm/test/MC/X86/I486-32.s b/llvm/test/MC/X86/I486-32.s new file mode 100644 index 000000000000..041623b25d1a --- /dev/null +++ b/llvm/test/MC/X86/I486-32.s @@ -0,0 +1,102 @@ +// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s + +// CHECK: bswapl %eax +// CHECK: encoding: [0x0f,0xc8] +bswapl %eax + +// CHECK: cmpxchgl %eax, 3809469200(%edx,%eax,4) +// CHECK: encoding: [0x0f,0xb1,0x84,0x82,0x10,0xe3,0x0f,0xe3] +cmpxchgl %eax, 3809469200(%edx,%eax,4) + +// CHECK: cmpxchgl %eax, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0xb1,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +cmpxchgl %eax, 485498096(%edx,%eax,4) + +// CHECK: cmpxchgl %eax, 485498096(%edx) +// CHECK: encoding: [0x0f,0xb1,0x82,0xf0,0x1c,0xf0,0x1c] +cmpxchgl %eax, 485498096(%edx) + +// CHECK: cmpxchgl %eax, 485498096 +// CHECK: encoding: [0x0f,0xb1,0x05,0xf0,0x1c,0xf0,0x1c] +cmpxchgl %eax, 485498096 + +// CHECK: cmpxchgl %eax, 64(%edx,%eax) +// CHECK: encoding: [0x0f,0xb1,0x44,0x02,0x40] +cmpxchgl %eax, 64(%edx,%eax) + +// CHECK: cmpxchgl %eax, %eax +// CHECK: encoding: [0x0f,0xb1,0xc0] +cmpxchgl %eax, %eax + +// CHECK: cmpxchgl %eax, (%edx) +// CHECK: encoding: [0x0f,0xb1,0x02] +cmpxchgl %eax, (%edx) + +// CHECK: cpuid +// CHECK: encoding: [0x0f,0xa2] +cpuid + +// CHECK: invd +// CHECK: encoding: [0x0f,0x08] +invd + +// CHECK: invlpg -485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x01,0xbc,0x82,0x10,0xe3,0x0f,0xe3] +invlpg -485498096(%edx,%eax,4) + +// CHECK: invlpg 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x01,0xbc,0x82,0xf0,0x1c,0xf0,0x1c] +invlpg 485498096(%edx,%eax,4) + +// CHECK: invlpg 485498096(%edx) +// CHECK: encoding: [0x0f,0x01,0xba,0xf0,0x1c,0xf0,0x1c] +invlpg 485498096(%edx) + +// CHECK: invlpg 485498096 +// CHECK: encoding: [0x0f,0x01,0x3d,0xf0,0x1c,0xf0,0x1c] +invlpg 485498096 + +// CHECK: invlpg 64(%edx,%eax) +// CHECK: encoding: [0x0f,0x01,0x7c,0x02,0x40] +invlpg 64(%edx,%eax) + +// CHECK: invlpg (%edx) +// CHECK: encoding: [0x0f,0x01,0x3a] +invlpg (%edx) + +// CHECK: rsm +// CHECK: encoding: [0x0f,0xaa] +rsm + +// CHECK: wbinvd +// CHECK: encoding: [0x0f,0x09] +wbinvd + +// CHECK: xaddl %eax, 3809469200(%edx,%eax,4) +// CHECK: encoding: [0x0f,0xc1,0x84,0x82,0x10,0xe3,0x0f,0xe3] +xaddl %eax, 3809469200(%edx,%eax,4) + +// CHECK: xaddl %eax, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0xc1,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +xaddl %eax, 485498096(%edx,%eax,4) + +// CHECK: xaddl %eax, 485498096(%edx) +// CHECK: encoding: [0x0f,0xc1,0x82,0xf0,0x1c,0xf0,0x1c] +xaddl %eax, 485498096(%edx) + +// CHECK: xaddl %eax, 485498096 +// CHECK: encoding: [0x0f,0xc1,0x05,0xf0,0x1c,0xf0,0x1c] +xaddl %eax, 485498096 + +// CHECK: xaddl %eax, 64(%edx,%eax) +// CHECK: encoding: [0x0f,0xc1,0x44,0x02,0x40] +xaddl %eax, 64(%edx,%eax) + +// CHECK: xaddl %eax, %eax +// CHECK: encoding: [0x0f,0xc1,0xc0] +xaddl %eax, %eax + +// CHECK: xaddl %eax, (%edx) +// CHECK: encoding: [0x0f,0xc1,0x02] +xaddl %eax, (%edx) + diff --git a/llvm/test/MC/X86/I486-64.s b/llvm/test/MC/X86/I486-64.s new file mode 100644 index 000000000000..1c9cfa3d3777 --- /dev/null +++ b/llvm/test/MC/X86/I486-64.s @@ -0,0 +1,166 @@ +// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s + +// CHECK: bswapl %r13d +// CHECK: encoding: [0x41,0x0f,0xcd] +bswapl %r13d + +// CHECK: cmpxchgb %r14b, 485498096 +// CHECK: encoding: [0x44,0x0f,0xb0,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +cmpxchgb %r14b, 485498096 + +// CHECK: cmpxchgb %r14b, 64(%rdx) +// CHECK: encoding: [0x44,0x0f,0xb0,0x72,0x40] +cmpxchgb %r14b, 64(%rdx) + +// CHECK: cmpxchgb %r14b, 64(%rdx,%rax,4) +// CHECK: encoding: [0x44,0x0f,0xb0,0x74,0x82,0x40] +cmpxchgb %r14b, 64(%rdx,%rax,4) + +// CHECK: cmpxchgb %r14b, -64(%rdx,%rax,4) +// CHECK: encoding: [0x44,0x0f,0xb0,0x74,0x82,0xc0] +cmpxchgb %r14b, -64(%rdx,%rax,4) + +// CHECK: cmpxchgb %r14b, 64(%rdx,%rax) +// CHECK: encoding: [0x44,0x0f,0xb0,0x74,0x02,0x40] +cmpxchgb %r14b, 64(%rdx,%rax) + +// CHECK: cmpxchgb %r14b, %r14b +// CHECK: encoding: [0x45,0x0f,0xb0,0xf6] +cmpxchgb %r14b, %r14b + +// CHECK: cmpxchgb %r14b, (%rdx) +// CHECK: encoding: [0x44,0x0f,0xb0,0x32] +cmpxchgb %r14b, (%rdx) + +// CHECK: cmpxchgl %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0xb1,0xed] +cmpxchgl %r13d, %r13d + +// CHECK: cmpxchgw %r14w, 485498096 +// CHECK: encoding: [0x66,0x44,0x0f,0xb1,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +cmpxchgw %r14w, 485498096 + +// CHECK: cmpxchgw %r14w, 64(%rdx) +// CHECK: encoding: [0x66,0x44,0x0f,0xb1,0x72,0x40] +cmpxchgw %r14w, 64(%rdx) + +// CHECK: cmpxchgw %r14w, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x44,0x0f,0xb1,0x74,0x82,0x40] +cmpxchgw %r14w, 64(%rdx,%rax,4) + +// CHECK: cmpxchgw %r14w, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x44,0x0f,0xb1,0x74,0x82,0xc0] +cmpxchgw %r14w, -64(%rdx,%rax,4) + +// CHECK: cmpxchgw %r14w, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0x44,0x0f,0xb1,0x74,0x02,0x40] +cmpxchgw %r14w, 64(%rdx,%rax) + +// CHECK: cmpxchgw %r14w, %r14w +// CHECK: encoding: [0x66,0x45,0x0f,0xb1,0xf6] +cmpxchgw %r14w, %r14w + +// CHECK: cmpxchgw %r14w, (%rdx) +// CHECK: encoding: [0x66,0x44,0x0f,0xb1,0x32] +cmpxchgw %r14w, (%rdx) + +// CHECK: cpuid +// CHECK: encoding: [0x0f,0xa2] +cpuid + +// CHECK: invd +// CHECK: encoding: [0x0f,0x08] +invd + +// CHECK: invlpg 485498096 +// CHECK: encoding: [0x0f,0x01,0x3c,0x25,0xf0,0x1c,0xf0,0x1c] +invlpg 485498096 + +// CHECK: invlpg 64(%rdx) +// CHECK: encoding: [0x0f,0x01,0x7a,0x40] +invlpg 64(%rdx) + +// CHECK: invlpg 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x01,0x7c,0x82,0x40] +invlpg 64(%rdx,%rax,4) + +// CHECK: invlpg -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x01,0x7c,0x82,0xc0] +invlpg -64(%rdx,%rax,4) + +// CHECK: invlpg 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x01,0x7c,0x02,0x40] +invlpg 64(%rdx,%rax) + +// CHECK: invlpg (%rdx) +// CHECK: encoding: [0x0f,0x01,0x3a] +invlpg (%rdx) + +// CHECK: rsm +// CHECK: encoding: [0x0f,0xaa] +rsm + +// CHECK: wbinvd +// CHECK: encoding: [0x0f,0x09] +wbinvd + +// CHECK: xaddb %r14b, 485498096 +// CHECK: encoding: [0x44,0x0f,0xc0,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +xaddb %r14b, 485498096 + +// CHECK: xaddb %r14b, 64(%rdx) +// CHECK: encoding: [0x44,0x0f,0xc0,0x72,0x40] +xaddb %r14b, 64(%rdx) + +// CHECK: xaddb %r14b, 64(%rdx,%rax,4) +// CHECK: encoding: [0x44,0x0f,0xc0,0x74,0x82,0x40] +xaddb %r14b, 64(%rdx,%rax,4) + +// CHECK: xaddb %r14b, -64(%rdx,%rax,4) +// CHECK: encoding: [0x44,0x0f,0xc0,0x74,0x82,0xc0] +xaddb %r14b, -64(%rdx,%rax,4) + +// CHECK: xaddb %r14b, 64(%rdx,%rax) +// CHECK: encoding: [0x44,0x0f,0xc0,0x74,0x02,0x40] +xaddb %r14b, 64(%rdx,%rax) + +// CHECK: xaddb %r14b, %r14b +// CHECK: encoding: [0x45,0x0f,0xc0,0xf6] +xaddb %r14b, %r14b + +// CHECK: xaddb %r14b, (%rdx) +// CHECK: encoding: [0x44,0x0f,0xc0,0x32] +xaddb %r14b, (%rdx) + +// CHECK: xaddl %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0xc1,0xed] +xaddl %r13d, %r13d + +// CHECK: xaddw %r14w, 485498096 +// CHECK: encoding: [0x66,0x44,0x0f,0xc1,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +xaddw %r14w, 485498096 + +// CHECK: xaddw %r14w, 64(%rdx) +// CHECK: encoding: [0x66,0x44,0x0f,0xc1,0x72,0x40] +xaddw %r14w, 64(%rdx) + +// CHECK: xaddw %r14w, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x44,0x0f,0xc1,0x74,0x82,0x40] +xaddw %r14w, 64(%rdx,%rax,4) + +// CHECK: xaddw %r14w, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x44,0x0f,0xc1,0x74,0x82,0xc0] +xaddw %r14w, -64(%rdx,%rax,4) + +// CHECK: xaddw %r14w, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0x44,0x0f,0xc1,0x74,0x02,0x40] +xaddw %r14w, 64(%rdx,%rax) + +// CHECK: xaddw %r14w, %r14w +// CHECK: encoding: [0x66,0x45,0x0f,0xc1,0xf6] +xaddw %r14w, %r14w + +// CHECK: xaddw %r14w, (%rdx) +// CHECK: encoding: [0x66,0x44,0x0f,0xc1,0x32] +xaddw %r14w, (%rdx) + diff --git a/llvm/test/MC/X86/I86-32.s b/llvm/test/MC/X86/I86-32.s new file mode 100644 index 000000000000..32adc1ea7405 --- /dev/null +++ b/llvm/test/MC/X86/I86-32.s @@ -0,0 +1,3530 @@ +// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s + +// CHECK: aaa +// CHECK: encoding: [0x37] +aaa + +// CHECK: aad $0 +// CHECK: encoding: [0xd5,0x00] +aad $0 + +// CHECK: aam $0 +// CHECK: encoding: [0xd4,0x00] +aam $0 + +// CHECK: aas +// CHECK: encoding: [0x3f] +aas + +// CHECK: adcb $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x80,0x94,0x82,0x10,0xe3,0x0f,0xe3,0x00] +adcb $0, -485498096(%edx,%eax,4) + +// CHECK: adcb $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x80,0x94,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +adcb $0, 485498096(%edx,%eax,4) + +// CHECK: adcb $0, 485498096(%edx) +// CHECK: encoding: [0x80,0x92,0xf0,0x1c,0xf0,0x1c,0x00] +adcb $0, 485498096(%edx) + +// CHECK: adcb $0, 485498096 +// CHECK: encoding: [0x80,0x15,0xf0,0x1c,0xf0,0x1c,0x00] +adcb $0, 485498096 + +// CHECK: adcb $0, 64(%edx,%eax) +// CHECK: encoding: [0x80,0x54,0x02,0x40,0x00] +adcb $0, 64(%edx,%eax) + +// CHECK: adcb $0, %al +// CHECK: encoding: [0x14,0x00] +adcb $0, %al + +// CHECK: adcb $0, (%edx) +// CHECK: encoding: [0x80,0x12,0x00] +adcb $0, (%edx) + +// CHECK: adcl $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x83,0x94,0x82,0x10,0xe3,0x0f,0xe3,0x00] +adcl $0, -485498096(%edx,%eax,4) + +// CHECK: adcl $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x83,0x94,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +adcl $0, 485498096(%edx,%eax,4) + +// CHECK: adcl $0, 485498096(%edx) +// CHECK: encoding: [0x83,0x92,0xf0,0x1c,0xf0,0x1c,0x00] +adcl $0, 485498096(%edx) + +// CHECK: adcl $0, 485498096 +// CHECK: encoding: [0x83,0x15,0xf0,0x1c,0xf0,0x1c,0x00] +adcl $0, 485498096 + +// CHECK: adcl $0, 64(%edx,%eax) +// CHECK: encoding: [0x83,0x54,0x02,0x40,0x00] +adcl $0, 64(%edx,%eax) + +// CHECK: adcl $0, %eax +// CHECK: encoding: [0x83,0xd0,0x00] +adcl $0, %eax + +// CHECK: adcl $0, (%edx) +// CHECK: encoding: [0x83,0x12,0x00] +adcl $0, (%edx) + +// CHECK: adcl 3809469200(%edx,%eax,4), %eax +// CHECK: encoding: [0x13,0x84,0x82,0x10,0xe3,0x0f,0xe3] +adcl 3809469200(%edx,%eax,4), %eax + +// CHECK: adcl 485498096, %eax +// CHECK: encoding: [0x13,0x05,0xf0,0x1c,0xf0,0x1c] +adcl 485498096, %eax + +// CHECK: adcl 485498096(%edx,%eax,4), %eax +// CHECK: encoding: [0x13,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +adcl 485498096(%edx,%eax,4), %eax + +// CHECK: adcl 485498096(%edx), %eax +// CHECK: encoding: [0x13,0x82,0xf0,0x1c,0xf0,0x1c] +adcl 485498096(%edx), %eax + +// CHECK: adcl 64(%edx,%eax), %eax +// CHECK: encoding: [0x13,0x44,0x02,0x40] +adcl 64(%edx,%eax), %eax + +// CHECK: adcl %eax, 3809469200(%edx,%eax,4) +// CHECK: encoding: [0x11,0x84,0x82,0x10,0xe3,0x0f,0xe3] +adcl %eax, 3809469200(%edx,%eax,4) + +// CHECK: adcl %eax, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x11,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +adcl %eax, 485498096(%edx,%eax,4) + +// CHECK: adcl %eax, 485498096(%edx) +// CHECK: encoding: [0x11,0x82,0xf0,0x1c,0xf0,0x1c] +adcl %eax, 485498096(%edx) + +// CHECK: adcl %eax, 485498096 +// CHECK: encoding: [0x11,0x05,0xf0,0x1c,0xf0,0x1c] +adcl %eax, 485498096 + +// CHECK: adcl %eax, 64(%edx,%eax) +// CHECK: encoding: [0x11,0x44,0x02,0x40] +adcl %eax, 64(%edx,%eax) + +// CHECK: adcl %eax, %eax +// CHECK: encoding: [0x11,0xc0] +adcl %eax, %eax + +// CHECK: adcl %eax, (%edx) +// CHECK: encoding: [0x11,0x02] +adcl %eax, (%edx) + +// CHECK: adcl (%edx), %eax +// CHECK: encoding: [0x13,0x02] +adcl (%edx), %eax + +// CHECK: adcw $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0x83,0x94,0x82,0x10,0xe3,0x0f,0xe3,0x00] +adcw $0, -485498096(%edx,%eax,4) + +// CHECK: adcw $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0x83,0x94,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +adcw $0, 485498096(%edx,%eax,4) + +// CHECK: adcw $0, 485498096(%edx) +// CHECK: encoding: [0x66,0x83,0x92,0xf0,0x1c,0xf0,0x1c,0x00] +adcw $0, 485498096(%edx) + +// CHECK: adcw $0, 485498096 +// CHECK: encoding: [0x66,0x83,0x15,0xf0,0x1c,0xf0,0x1c,0x00] +adcw $0, 485498096 + +// CHECK: adcw $0, 64(%edx,%eax) +// CHECK: encoding: [0x66,0x83,0x54,0x02,0x40,0x00] +adcw $0, 64(%edx,%eax) + +// CHECK: adcw $0, (%edx) +// CHECK: encoding: [0x66,0x83,0x12,0x00] +adcw $0, (%edx) + +// CHECK: addb $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x80,0x84,0x82,0x10,0xe3,0x0f,0xe3,0x00] +addb $0, -485498096(%edx,%eax,4) + +// CHECK: addb $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x80,0x84,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +addb $0, 485498096(%edx,%eax,4) + +// CHECK: addb $0, 485498096(%edx) +// CHECK: encoding: [0x80,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +addb $0, 485498096(%edx) + +// CHECK: addb $0, 485498096 +// CHECK: encoding: [0x80,0x05,0xf0,0x1c,0xf0,0x1c,0x00] +addb $0, 485498096 + +// CHECK: addb $0, 64(%edx,%eax) +// CHECK: encoding: [0x80,0x44,0x02,0x40,0x00] +addb $0, 64(%edx,%eax) + +// CHECK: addb $0, %al +// CHECK: encoding: [0x04,0x00] +addb $0, %al + +// CHECK: addb $0, (%edx) +// CHECK: encoding: [0x80,0x02,0x00] +addb $0, (%edx) + +// CHECK: addl $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x83,0x84,0x82,0x10,0xe3,0x0f,0xe3,0x00] +addl $0, -485498096(%edx,%eax,4) + +// CHECK: addl $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x83,0x84,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +addl $0, 485498096(%edx,%eax,4) + +// CHECK: addl $0, 485498096(%edx) +// CHECK: encoding: [0x83,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +addl $0, 485498096(%edx) + +// CHECK: addl $0, 485498096 +// CHECK: encoding: [0x83,0x05,0xf0,0x1c,0xf0,0x1c,0x00] +addl $0, 485498096 + +// CHECK: addl $0, 64(%edx,%eax) +// CHECK: encoding: [0x83,0x44,0x02,0x40,0x00] +addl $0, 64(%edx,%eax) + +// CHECK: addl $0, %eax +// CHECK: encoding: [0x83,0xc0,0x00] +addl $0, %eax + +// CHECK: addl $0, (%edx) +// CHECK: encoding: [0x83,0x02,0x00] +addl $0, (%edx) + +// CHECK: addl 3809469200(%edx,%eax,4), %eax +// CHECK: encoding: [0x03,0x84,0x82,0x10,0xe3,0x0f,0xe3] +addl 3809469200(%edx,%eax,4), %eax + +// CHECK: addl 485498096, %eax +// CHECK: encoding: [0x03,0x05,0xf0,0x1c,0xf0,0x1c] +addl 485498096, %eax + +// CHECK: addl 485498096(%edx,%eax,4), %eax +// CHECK: encoding: [0x03,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +addl 485498096(%edx,%eax,4), %eax + +// CHECK: addl 485498096(%edx), %eax +// CHECK: encoding: [0x03,0x82,0xf0,0x1c,0xf0,0x1c] +addl 485498096(%edx), %eax + +// CHECK: addl 64(%edx,%eax), %eax +// CHECK: encoding: [0x03,0x44,0x02,0x40] +addl 64(%edx,%eax), %eax + +// CHECK: addl %eax, 3809469200(%edx,%eax,4) +// CHECK: encoding: [0x01,0x84,0x82,0x10,0xe3,0x0f,0xe3] +addl %eax, 3809469200(%edx,%eax,4) + +// CHECK: addl %eax, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x01,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +addl %eax, 485498096(%edx,%eax,4) + +// CHECK: addl %eax, 485498096(%edx) +// CHECK: encoding: [0x01,0x82,0xf0,0x1c,0xf0,0x1c] +addl %eax, 485498096(%edx) + +// CHECK: addl %eax, 485498096 +// CHECK: encoding: [0x01,0x05,0xf0,0x1c,0xf0,0x1c] +addl %eax, 485498096 + +// CHECK: addl %eax, 64(%edx,%eax) +// CHECK: encoding: [0x01,0x44,0x02,0x40] +addl %eax, 64(%edx,%eax) + +// CHECK: addl %eax, %eax +// CHECK: encoding: [0x01,0xc0] +addl %eax, %eax + +// CHECK: addl %eax, (%edx) +// CHECK: encoding: [0x01,0x02] +addl %eax, (%edx) + +// CHECK: addl (%edx), %eax +// CHECK: encoding: [0x03,0x02] +addl (%edx), %eax + +// CHECK: addw $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0x83,0x84,0x82,0x10,0xe3,0x0f,0xe3,0x00] +addw $0, -485498096(%edx,%eax,4) + +// CHECK: addw $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0x83,0x84,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +addw $0, 485498096(%edx,%eax,4) + +// CHECK: addw $0, 485498096(%edx) +// CHECK: encoding: [0x66,0x83,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +addw $0, 485498096(%edx) + +// CHECK: addw $0, 485498096 +// CHECK: encoding: [0x66,0x83,0x05,0xf0,0x1c,0xf0,0x1c,0x00] +addw $0, 485498096 + +// CHECK: addw $0, 64(%edx,%eax) +// CHECK: encoding: [0x66,0x83,0x44,0x02,0x40,0x00] +addw $0, 64(%edx,%eax) + +// CHECK: addw $0, (%edx) +// CHECK: encoding: [0x66,0x83,0x02,0x00] +addw $0, (%edx) + +// CHECK: andb $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x80,0xa4,0x82,0x10,0xe3,0x0f,0xe3,0x00] +andb $0, -485498096(%edx,%eax,4) + +// CHECK: andb $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x80,0xa4,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +andb $0, 485498096(%edx,%eax,4) + +// CHECK: andb $0, 485498096(%edx) +// CHECK: encoding: [0x80,0xa2,0xf0,0x1c,0xf0,0x1c,0x00] +andb $0, 485498096(%edx) + +// CHECK: andb $0, 485498096 +// CHECK: encoding: [0x80,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +andb $0, 485498096 + +// CHECK: andb $0, 64(%edx,%eax) +// CHECK: encoding: [0x80,0x64,0x02,0x40,0x00] +andb $0, 64(%edx,%eax) + +// CHECK: andb $0, %al +// CHECK: encoding: [0x24,0x00] +andb $0, %al + +// CHECK: andb $0, (%edx) +// CHECK: encoding: [0x80,0x22,0x00] +andb $0, (%edx) + +// CHECK: andl $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x83,0xa4,0x82,0x10,0xe3,0x0f,0xe3,0x00] +andl $0, -485498096(%edx,%eax,4) + +// CHECK: andl $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x83,0xa4,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +andl $0, 485498096(%edx,%eax,4) + +// CHECK: andl $0, 485498096(%edx) +// CHECK: encoding: [0x83,0xa2,0xf0,0x1c,0xf0,0x1c,0x00] +andl $0, 485498096(%edx) + +// CHECK: andl $0, 485498096 +// CHECK: encoding: [0x83,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +andl $0, 485498096 + +// CHECK: andl $0, 64(%edx,%eax) +// CHECK: encoding: [0x83,0x64,0x02,0x40,0x00] +andl $0, 64(%edx,%eax) + +// CHECK: andl $0, %eax +// CHECK: encoding: [0x83,0xe0,0x00] +andl $0, %eax + +// CHECK: andl $0, (%edx) +// CHECK: encoding: [0x83,0x22,0x00] +andl $0, (%edx) + +// CHECK: andl 3809469200(%edx,%eax,4), %eax +// CHECK: encoding: [0x23,0x84,0x82,0x10,0xe3,0x0f,0xe3] +andl 3809469200(%edx,%eax,4), %eax + +// CHECK: andl 485498096, %eax +// CHECK: encoding: [0x23,0x05,0xf0,0x1c,0xf0,0x1c] +andl 485498096, %eax + +// CHECK: andl 485498096(%edx,%eax,4), %eax +// CHECK: encoding: [0x23,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +andl 485498096(%edx,%eax,4), %eax + +// CHECK: andl 485498096(%edx), %eax +// CHECK: encoding: [0x23,0x82,0xf0,0x1c,0xf0,0x1c] +andl 485498096(%edx), %eax + +// CHECK: andl 64(%edx,%eax), %eax +// CHECK: encoding: [0x23,0x44,0x02,0x40] +andl 64(%edx,%eax), %eax + +// CHECK: andl %eax, 3809469200(%edx,%eax,4) +// CHECK: encoding: [0x21,0x84,0x82,0x10,0xe3,0x0f,0xe3] +andl %eax, 3809469200(%edx,%eax,4) + +// CHECK: andl %eax, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x21,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +andl %eax, 485498096(%edx,%eax,4) + +// CHECK: andl %eax, 485498096(%edx) +// CHECK: encoding: [0x21,0x82,0xf0,0x1c,0xf0,0x1c] +andl %eax, 485498096(%edx) + +// CHECK: andl %eax, 485498096 +// CHECK: encoding: [0x21,0x05,0xf0,0x1c,0xf0,0x1c] +andl %eax, 485498096 + +// CHECK: andl %eax, 64(%edx,%eax) +// CHECK: encoding: [0x21,0x44,0x02,0x40] +andl %eax, 64(%edx,%eax) + +// CHECK: andl %eax, %eax +// CHECK: encoding: [0x21,0xc0] +andl %eax, %eax + +// CHECK: andl %eax, (%edx) +// CHECK: encoding: [0x21,0x02] +andl %eax, (%edx) + +// CHECK: andl (%edx), %eax +// CHECK: encoding: [0x23,0x02] +andl (%edx), %eax + +// CHECK: andw $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0x83,0xa4,0x82,0x10,0xe3,0x0f,0xe3,0x00] +andw $0, -485498096(%edx,%eax,4) + +// CHECK: andw $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0x83,0xa4,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +andw $0, 485498096(%edx,%eax,4) + +// CHECK: andw $0, 485498096(%edx) +// CHECK: encoding: [0x66,0x83,0xa2,0xf0,0x1c,0xf0,0x1c,0x00] +andw $0, 485498096(%edx) + +// CHECK: andw $0, 485498096 +// CHECK: encoding: [0x66,0x83,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +andw $0, 485498096 + +// CHECK: andw $0, 64(%edx,%eax) +// CHECK: encoding: [0x66,0x83,0x64,0x02,0x40,0x00] +andw $0, 64(%edx,%eax) + +// CHECK: andw $0, (%edx) +// CHECK: encoding: [0x66,0x83,0x22,0x00] +andw $0, (%edx) + +// CHECK: calll 64 +// CHECK: encoding: [0xe8,A,A,A,A] +calll 64 + +// CHECK: cbtw +// CHECK: encoding: [0x66,0x98] +cbtw + +// CHECK: clc +// CHECK: encoding: [0xf8] +clc + +// CHECK: cld +// CHECK: encoding: [0xfc] +cld + +// CHECK: cli +// CHECK: encoding: [0xfa] +cli + +// CHECK: cltd +// CHECK: encoding: [0x99] +cltd + +// CHECK: cmc +// CHECK: encoding: [0xf5] +cmc + +// CHECK: cmpb $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x80,0xbc,0x82,0x10,0xe3,0x0f,0xe3,0x00] +cmpb $0, -485498096(%edx,%eax,4) + +// CHECK: cmpb $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x80,0xbc,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +cmpb $0, 485498096(%edx,%eax,4) + +// CHECK: cmpb $0, 485498096(%edx) +// CHECK: encoding: [0x80,0xba,0xf0,0x1c,0xf0,0x1c,0x00] +cmpb $0, 485498096(%edx) + +// CHECK: cmpb $0, 485498096 +// CHECK: encoding: [0x80,0x3d,0xf0,0x1c,0xf0,0x1c,0x00] +cmpb $0, 485498096 + +// CHECK: cmpb $0, 64(%edx,%eax) +// CHECK: encoding: [0x80,0x7c,0x02,0x40,0x00] +cmpb $0, 64(%edx,%eax) + +// CHECK: cmpb $0, %al +// CHECK: encoding: [0x3c,0x00] +cmpb $0, %al + +// CHECK: cmpb $0, (%edx) +// CHECK: encoding: [0x80,0x3a,0x00] +cmpb $0, (%edx) + +// CHECK: cmpl $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x83,0xbc,0x82,0x10,0xe3,0x0f,0xe3,0x00] +cmpl $0, -485498096(%edx,%eax,4) + +// CHECK: cmpl $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x83,0xbc,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +cmpl $0, 485498096(%edx,%eax,4) + +// CHECK: cmpl $0, 485498096(%edx) +// CHECK: encoding: [0x83,0xba,0xf0,0x1c,0xf0,0x1c,0x00] +cmpl $0, 485498096(%edx) + +// CHECK: cmpl $0, 485498096 +// CHECK: encoding: [0x83,0x3d,0xf0,0x1c,0xf0,0x1c,0x00] +cmpl $0, 485498096 + +// CHECK: cmpl $0, 64(%edx,%eax) +// CHECK: encoding: [0x83,0x7c,0x02,0x40,0x00] +cmpl $0, 64(%edx,%eax) + +// CHECK: cmpl $0, %eax +// CHECK: encoding: [0x83,0xf8,0x00] +cmpl $0, %eax + +// CHECK: cmpl $0, (%edx) +// CHECK: encoding: [0x83,0x3a,0x00] +cmpl $0, (%edx) + +// CHECK: cmpl 3809469200(%edx,%eax,4), %eax +// CHECK: encoding: [0x3b,0x84,0x82,0x10,0xe3,0x0f,0xe3] +cmpl 3809469200(%edx,%eax,4), %eax + +// CHECK: cmpl 485498096, %eax +// CHECK: encoding: [0x3b,0x05,0xf0,0x1c,0xf0,0x1c] +cmpl 485498096, %eax + +// CHECK: cmpl 485498096(%edx,%eax,4), %eax +// CHECK: encoding: [0x3b,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +cmpl 485498096(%edx,%eax,4), %eax + +// CHECK: cmpl 485498096(%edx), %eax +// CHECK: encoding: [0x3b,0x82,0xf0,0x1c,0xf0,0x1c] +cmpl 485498096(%edx), %eax + +// CHECK: cmpl 64(%edx,%eax), %eax +// CHECK: encoding: [0x3b,0x44,0x02,0x40] +cmpl 64(%edx,%eax), %eax + +// CHECK: cmpl %eax, 3809469200(%edx,%eax,4) +// CHECK: encoding: [0x39,0x84,0x82,0x10,0xe3,0x0f,0xe3] +cmpl %eax, 3809469200(%edx,%eax,4) + +// CHECK: cmpl %eax, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x39,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +cmpl %eax, 485498096(%edx,%eax,4) + +// CHECK: cmpl %eax, 485498096(%edx) +// CHECK: encoding: [0x39,0x82,0xf0,0x1c,0xf0,0x1c] +cmpl %eax, 485498096(%edx) + +// CHECK: cmpl %eax, 485498096 +// CHECK: encoding: [0x39,0x05,0xf0,0x1c,0xf0,0x1c] +cmpl %eax, 485498096 + +// CHECK: cmpl %eax, 64(%edx,%eax) +// CHECK: encoding: [0x39,0x44,0x02,0x40] +cmpl %eax, 64(%edx,%eax) + +// CHECK: cmpl %eax, %eax +// CHECK: encoding: [0x39,0xc0] +cmpl %eax, %eax + +// CHECK: cmpl %eax, (%edx) +// CHECK: encoding: [0x39,0x02] +cmpl %eax, (%edx) + +// CHECK: cmpl (%edx), %eax +// CHECK: encoding: [0x3b,0x02] +cmpl (%edx), %eax + +// CHECK: cmpsb %es:(%edi), %es:(%esi) +// CHECK: encoding: [0x26,0xa6] +cmpsb %es:(%edi), %es:(%esi) + +// CHECK: cmpsl %es:(%edi), %es:(%esi) +// CHECK: encoding: [0x26,0xa7] +cmpsl %es:(%edi), %es:(%esi) + +// CHECK: cmpsw %es:(%edi), %es:(%esi) +// CHECK: encoding: [0x66,0x26,0xa7] +cmpsw %es:(%edi), %es:(%esi) + +// CHECK: cmpw $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0x83,0xbc,0x82,0x10,0xe3,0x0f,0xe3,0x00] +cmpw $0, -485498096(%edx,%eax,4) + +// CHECK: cmpw $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0x83,0xbc,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +cmpw $0, 485498096(%edx,%eax,4) + +// CHECK: cmpw $0, 485498096(%edx) +// CHECK: encoding: [0x66,0x83,0xba,0xf0,0x1c,0xf0,0x1c,0x00] +cmpw $0, 485498096(%edx) + +// CHECK: cmpw $0, 485498096 +// CHECK: encoding: [0x66,0x83,0x3d,0xf0,0x1c,0xf0,0x1c,0x00] +cmpw $0, 485498096 + +// CHECK: cmpw $0, 64(%edx,%eax) +// CHECK: encoding: [0x66,0x83,0x7c,0x02,0x40,0x00] +cmpw $0, 64(%edx,%eax) + +// CHECK: cmpw $0, (%edx) +// CHECK: encoding: [0x66,0x83,0x3a,0x00] +cmpw $0, (%edx) + +// CHECK: cwtd +// CHECK: encoding: [0x66,0x99] +cwtd + +// CHECK: daa +// CHECK: encoding: [0x27] +daa + +// CHECK: das +// CHECK: encoding: [0x2f] +das + +// CHECK: decb -485498096(%edx,%eax,4) +// CHECK: encoding: [0xfe,0x8c,0x82,0x10,0xe3,0x0f,0xe3] +decb -485498096(%edx,%eax,4) + +// CHECK: decb 485498096(%edx,%eax,4) +// CHECK: encoding: [0xfe,0x8c,0x82,0xf0,0x1c,0xf0,0x1c] +decb 485498096(%edx,%eax,4) + +// CHECK: decb 485498096(%edx) +// CHECK: encoding: [0xfe,0x8a,0xf0,0x1c,0xf0,0x1c] +decb 485498096(%edx) + +// CHECK: decb 485498096 +// CHECK: encoding: [0xfe,0x0d,0xf0,0x1c,0xf0,0x1c] +decb 485498096 + +// CHECK: decb 64(%edx,%eax) +// CHECK: encoding: [0xfe,0x4c,0x02,0x40] +decb 64(%edx,%eax) + +// CHECK: decb (%edx) +// CHECK: encoding: [0xfe,0x0a] +decb (%edx) + +// CHECK: decl -485498096(%edx,%eax,4) +// CHECK: encoding: [0xff,0x8c,0x82,0x10,0xe3,0x0f,0xe3] +decl -485498096(%edx,%eax,4) + +// CHECK: decl 485498096(%edx,%eax,4) +// CHECK: encoding: [0xff,0x8c,0x82,0xf0,0x1c,0xf0,0x1c] +decl 485498096(%edx,%eax,4) + +// CHECK: decl 485498096(%edx) +// CHECK: encoding: [0xff,0x8a,0xf0,0x1c,0xf0,0x1c] +decl 485498096(%edx) + +// CHECK: decl 485498096 +// CHECK: encoding: [0xff,0x0d,0xf0,0x1c,0xf0,0x1c] +decl 485498096 + +// CHECK: decl 64(%edx,%eax) +// CHECK: encoding: [0xff,0x4c,0x02,0x40] +decl 64(%edx,%eax) + +// CHECK: decl %eax +// CHECK: encoding: [0x48] +decl %eax + +// CHECK: decl (%edx) +// CHECK: encoding: [0xff,0x0a] +decl (%edx) + +// CHECK: decw -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xff,0x8c,0x82,0x10,0xe3,0x0f,0xe3] +decw -485498096(%edx,%eax,4) + +// CHECK: decw 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xff,0x8c,0x82,0xf0,0x1c,0xf0,0x1c] +decw 485498096(%edx,%eax,4) + +// CHECK: decw 485498096(%edx) +// CHECK: encoding: [0x66,0xff,0x8a,0xf0,0x1c,0xf0,0x1c] +decw 485498096(%edx) + +// CHECK: decw 485498096 +// CHECK: encoding: [0x66,0xff,0x0d,0xf0,0x1c,0xf0,0x1c] +decw 485498096 + +// CHECK: decw 64(%edx,%eax) +// CHECK: encoding: [0x66,0xff,0x4c,0x02,0x40] +decw 64(%edx,%eax) + +// CHECK: decw (%edx) +// CHECK: encoding: [0x66,0xff,0x0a] +decw (%edx) + +// CHECK: divb -485498096(%edx,%eax,4) +// CHECK: encoding: [0xf6,0xb4,0x82,0x10,0xe3,0x0f,0xe3] +divb -485498096(%edx,%eax,4) + +// CHECK: divb 485498096(%edx,%eax,4) +// CHECK: encoding: [0xf6,0xb4,0x82,0xf0,0x1c,0xf0,0x1c] +divb 485498096(%edx,%eax,4) + +// CHECK: divb 485498096(%edx) +// CHECK: encoding: [0xf6,0xb2,0xf0,0x1c,0xf0,0x1c] +divb 485498096(%edx) + +// CHECK: divb 485498096 +// CHECK: encoding: [0xf6,0x35,0xf0,0x1c,0xf0,0x1c] +divb 485498096 + +// CHECK: divb 64(%edx,%eax) +// CHECK: encoding: [0xf6,0x74,0x02,0x40] +divb 64(%edx,%eax) + +// CHECK: divb (%edx) +// CHECK: encoding: [0xf6,0x32] +divb (%edx) + +// CHECK: divl -485498096(%edx,%eax,4) +// CHECK: encoding: [0xf7,0xb4,0x82,0x10,0xe3,0x0f,0xe3] +divl -485498096(%edx,%eax,4) + +// CHECK: divl 485498096(%edx,%eax,4) +// CHECK: encoding: [0xf7,0xb4,0x82,0xf0,0x1c,0xf0,0x1c] +divl 485498096(%edx,%eax,4) + +// CHECK: divl 485498096(%edx) +// CHECK: encoding: [0xf7,0xb2,0xf0,0x1c,0xf0,0x1c] +divl 485498096(%edx) + +// CHECK: divl 485498096 +// CHECK: encoding: [0xf7,0x35,0xf0,0x1c,0xf0,0x1c] +divl 485498096 + +// CHECK: divl 64(%edx,%eax) +// CHECK: encoding: [0xf7,0x74,0x02,0x40] +divl 64(%edx,%eax) + +// CHECK: divl %eax +// CHECK: encoding: [0xf7,0xf0] +divl %eax + +// CHECK: divl (%edx) +// CHECK: encoding: [0xf7,0x32] +divl (%edx) + +// CHECK: divw -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xf7,0xb4,0x82,0x10,0xe3,0x0f,0xe3] +divw -485498096(%edx,%eax,4) + +// CHECK: divw 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xf7,0xb4,0x82,0xf0,0x1c,0xf0,0x1c] +divw 485498096(%edx,%eax,4) + +// CHECK: divw 485498096(%edx) +// CHECK: encoding: [0x66,0xf7,0xb2,0xf0,0x1c,0xf0,0x1c] +divw 485498096(%edx) + +// CHECK: divw 485498096 +// CHECK: encoding: [0x66,0xf7,0x35,0xf0,0x1c,0xf0,0x1c] +divw 485498096 + +// CHECK: divw 64(%edx,%eax) +// CHECK: encoding: [0x66,0xf7,0x74,0x02,0x40] +divw 64(%edx,%eax) + +// CHECK: divw (%edx) +// CHECK: encoding: [0x66,0xf7,0x32] +divw (%edx) + +// CHECK: hlt +// CHECK: encoding: [0xf4] +hlt + +// CHECK: idivb -485498096(%edx,%eax,4) +// CHECK: encoding: [0xf6,0xbc,0x82,0x10,0xe3,0x0f,0xe3] +idivb -485498096(%edx,%eax,4) + +// CHECK: idivb 485498096(%edx,%eax,4) +// CHECK: encoding: [0xf6,0xbc,0x82,0xf0,0x1c,0xf0,0x1c] +idivb 485498096(%edx,%eax,4) + +// CHECK: idivb 485498096(%edx) +// CHECK: encoding: [0xf6,0xba,0xf0,0x1c,0xf0,0x1c] +idivb 485498096(%edx) + +// CHECK: idivb 485498096 +// CHECK: encoding: [0xf6,0x3d,0xf0,0x1c,0xf0,0x1c] +idivb 485498096 + +// CHECK: idivb 64(%edx,%eax) +// CHECK: encoding: [0xf6,0x7c,0x02,0x40] +idivb 64(%edx,%eax) + +// CHECK: idivb (%edx) +// CHECK: encoding: [0xf6,0x3a] +idivb (%edx) + +// CHECK: idivl -485498096(%edx,%eax,4) +// CHECK: encoding: [0xf7,0xbc,0x82,0x10,0xe3,0x0f,0xe3] +idivl -485498096(%edx,%eax,4) + +// CHECK: idivl 485498096(%edx,%eax,4) +// CHECK: encoding: [0xf7,0xbc,0x82,0xf0,0x1c,0xf0,0x1c] +idivl 485498096(%edx,%eax,4) + +// CHECK: idivl 485498096(%edx) +// CHECK: encoding: [0xf7,0xba,0xf0,0x1c,0xf0,0x1c] +idivl 485498096(%edx) + +// CHECK: idivl 485498096 +// CHECK: encoding: [0xf7,0x3d,0xf0,0x1c,0xf0,0x1c] +idivl 485498096 + +// CHECK: idivl 64(%edx,%eax) +// CHECK: encoding: [0xf7,0x7c,0x02,0x40] +idivl 64(%edx,%eax) + +// CHECK: idivl %eax +// CHECK: encoding: [0xf7,0xf8] +idivl %eax + +// CHECK: idivl (%edx) +// CHECK: encoding: [0xf7,0x3a] +idivl (%edx) + +// CHECK: idivw -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xf7,0xbc,0x82,0x10,0xe3,0x0f,0xe3] +idivw -485498096(%edx,%eax,4) + +// CHECK: idivw 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xf7,0xbc,0x82,0xf0,0x1c,0xf0,0x1c] +idivw 485498096(%edx,%eax,4) + +// CHECK: idivw 485498096(%edx) +// CHECK: encoding: [0x66,0xf7,0xba,0xf0,0x1c,0xf0,0x1c] +idivw 485498096(%edx) + +// CHECK: idivw 485498096 +// CHECK: encoding: [0x66,0xf7,0x3d,0xf0,0x1c,0xf0,0x1c] +idivw 485498096 + +// CHECK: idivw 64(%edx,%eax) +// CHECK: encoding: [0x66,0xf7,0x7c,0x02,0x40] +idivw 64(%edx,%eax) + +// CHECK: idivw (%edx) +// CHECK: encoding: [0x66,0xf7,0x3a] +idivw (%edx) + +// CHECK: imulb -485498096(%edx,%eax,4) +// CHECK: encoding: [0xf6,0xac,0x82,0x10,0xe3,0x0f,0xe3] +imulb -485498096(%edx,%eax,4) + +// CHECK: imulb 485498096(%edx,%eax,4) +// CHECK: encoding: [0xf6,0xac,0x82,0xf0,0x1c,0xf0,0x1c] +imulb 485498096(%edx,%eax,4) + +// CHECK: imulb 485498096(%edx) +// CHECK: encoding: [0xf6,0xaa,0xf0,0x1c,0xf0,0x1c] +imulb 485498096(%edx) + +// CHECK: imulb 485498096 +// CHECK: encoding: [0xf6,0x2d,0xf0,0x1c,0xf0,0x1c] +imulb 485498096 + +// CHECK: imulb 64(%edx,%eax) +// CHECK: encoding: [0xf6,0x6c,0x02,0x40] +imulb 64(%edx,%eax) + +// CHECK: imulb (%edx) +// CHECK: encoding: [0xf6,0x2a] +imulb (%edx) + +// CHECK: imull -485498096(%edx,%eax,4) +// CHECK: encoding: [0xf7,0xac,0x82,0x10,0xe3,0x0f,0xe3] +imull -485498096(%edx,%eax,4) + +// CHECK: imull 485498096(%edx,%eax,4) +// CHECK: encoding: [0xf7,0xac,0x82,0xf0,0x1c,0xf0,0x1c] +imull 485498096(%edx,%eax,4) + +// CHECK: imull 485498096(%edx) +// CHECK: encoding: [0xf7,0xaa,0xf0,0x1c,0xf0,0x1c] +imull 485498096(%edx) + +// CHECK: imull 485498096 +// CHECK: encoding: [0xf7,0x2d,0xf0,0x1c,0xf0,0x1c] +imull 485498096 + +// CHECK: imull 64(%edx,%eax) +// CHECK: encoding: [0xf7,0x6c,0x02,0x40] +imull 64(%edx,%eax) + +// CHECK: imull %eax, %eax +// CHECK: encoding: [0x0f,0xaf,0xc0] +imull %eax, %eax + +// CHECK: imull %eax +// CHECK: encoding: [0xf7,0xe8] +imull %eax + +// CHECK: imull (%edx) +// CHECK: encoding: [0xf7,0x2a] +imull (%edx) + +// CHECK: imulw -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xf7,0xac,0x82,0x10,0xe3,0x0f,0xe3] +imulw -485498096(%edx,%eax,4) + +// CHECK: imulw 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xf7,0xac,0x82,0xf0,0x1c,0xf0,0x1c] +imulw 485498096(%edx,%eax,4) + +// CHECK: imulw 485498096(%edx) +// CHECK: encoding: [0x66,0xf7,0xaa,0xf0,0x1c,0xf0,0x1c] +imulw 485498096(%edx) + +// CHECK: imulw 485498096 +// CHECK: encoding: [0x66,0xf7,0x2d,0xf0,0x1c,0xf0,0x1c] +imulw 485498096 + +// CHECK: imulw 64(%edx,%eax) +// CHECK: encoding: [0x66,0xf7,0x6c,0x02,0x40] +imulw 64(%edx,%eax) + +// CHECK: imulw (%edx) +// CHECK: encoding: [0x66,0xf7,0x2a] +imulw (%edx) + +// CHECK: inb $0, %al +// CHECK: encoding: [0xe4,0x00] +inb $0, %al + +// CHECK: inb %dx, %al +// CHECK: encoding: [0xec] +inb %dx, %al + +// CHECK: incb -485498096(%edx,%eax,4) +// CHECK: encoding: [0xfe,0x84,0x82,0x10,0xe3,0x0f,0xe3] +incb -485498096(%edx,%eax,4) + +// CHECK: incb 485498096(%edx,%eax,4) +// CHECK: encoding: [0xfe,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +incb 485498096(%edx,%eax,4) + +// CHECK: incb 485498096(%edx) +// CHECK: encoding: [0xfe,0x82,0xf0,0x1c,0xf0,0x1c] +incb 485498096(%edx) + +// CHECK: incb 485498096 +// CHECK: encoding: [0xfe,0x05,0xf0,0x1c,0xf0,0x1c] +incb 485498096 + +// CHECK: incb 64(%edx,%eax) +// CHECK: encoding: [0xfe,0x44,0x02,0x40] +incb 64(%edx,%eax) + +// CHECK: incb (%edx) +// CHECK: encoding: [0xfe,0x02] +incb (%edx) + +// CHECK: incl -485498096(%edx,%eax,4) +// CHECK: encoding: [0xff,0x84,0x82,0x10,0xe3,0x0f,0xe3] +incl -485498096(%edx,%eax,4) + +// CHECK: incl 485498096(%edx,%eax,4) +// CHECK: encoding: [0xff,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +incl 485498096(%edx,%eax,4) + +// CHECK: incl 485498096(%edx) +// CHECK: encoding: [0xff,0x82,0xf0,0x1c,0xf0,0x1c] +incl 485498096(%edx) + +// CHECK: incl 485498096 +// CHECK: encoding: [0xff,0x05,0xf0,0x1c,0xf0,0x1c] +incl 485498096 + +// CHECK: incl 64(%edx,%eax) +// CHECK: encoding: [0xff,0x44,0x02,0x40] +incl 64(%edx,%eax) + +// CHECK: incl %eax +// CHECK: encoding: [0x40] +incl %eax + +// CHECK: incl (%edx) +// CHECK: encoding: [0xff,0x02] +incl (%edx) + +// CHECK: incw -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xff,0x84,0x82,0x10,0xe3,0x0f,0xe3] +incw -485498096(%edx,%eax,4) + +// CHECK: incw 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xff,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +incw 485498096(%edx,%eax,4) + +// CHECK: incw 485498096(%edx) +// CHECK: encoding: [0x66,0xff,0x82,0xf0,0x1c,0xf0,0x1c] +incw 485498096(%edx) + +// CHECK: incw 485498096 +// CHECK: encoding: [0x66,0xff,0x05,0xf0,0x1c,0xf0,0x1c] +incw 485498096 + +// CHECK: incw 64(%edx,%eax) +// CHECK: encoding: [0x66,0xff,0x44,0x02,0x40] +incw 64(%edx,%eax) + +// CHECK: incw (%edx) +// CHECK: encoding: [0x66,0xff,0x02] +incw (%edx) + +// CHECK: inl $0, %eax +// CHECK: encoding: [0xe5,0x00] +inl $0, %eax + +// CHECK: inl %dx, %eax +// CHECK: encoding: [0xed] +inl %dx, %eax + +// CHECK: int $0 +// CHECK: encoding: [0xcd,0x00] +int $0 + +// CHECK: int3 +// CHECK: encoding: [0xcc] +int3 + +// CHECK: into +// CHECK: encoding: [0xce] +into + +// CHECK: iretl +// CHECK: encoding: [0xcf] +iretl + +// CHECK: iretw +// CHECK: encoding: [0x66,0xcf] +iretw + +// CHECK: ja 64 +// CHECK: encoding: [0x77,A] +ja 64 + +// CHECK: jae 64 +// CHECK: encoding: [0x73,A] +jae 64 + +// CHECK: jb 64 +// CHECK: encoding: [0x72,A] +jb 64 + +// CHECK: jbe 64 +// CHECK: encoding: [0x76,A] +jbe 64 + +// CHECK: je 64 +// CHECK: encoding: [0x74,A] +je 64 + +// CHECK: jg 64 +// CHECK: encoding: [0x7f,A] +jg 64 + +// CHECK: jge 64 +// CHECK: encoding: [0x7d,A] +jge 64 + +// CHECK: jl 64 +// CHECK: encoding: [0x7c,A] +jl 64 + +// CHECK: jle 64 +// CHECK: encoding: [0x7e,A] +jle 64 + +// CHECK: jmp 64 +// CHECK: encoding: [0xeb,A] +jmp 64 + +// CHECK: jne 64 +// CHECK: encoding: [0x75,A] +jne 64 + +// CHECK: jno 64 +// CHECK: encoding: [0x71,A] +jno 64 + +// CHECK: jnp 64 +// CHECK: encoding: [0x7b,A] +jnp 64 + +// CHECK: jns 64 +// CHECK: encoding: [0x79,A] +jns 64 + +// CHECK: jo 64 +// CHECK: encoding: [0x70,A] +jo 64 + +// CHECK: jp 64 +// CHECK: encoding: [0x7a,A] +jp 64 + +// CHECK: js 64 +// CHECK: encoding: [0x78,A] +js 64 + +// CHECK: ldsl 3809469200(%edx,%eax,4), %eax +// CHECK: encoding: [0xc5,0x84,0x82,0x10,0xe3,0x0f,0xe3] +ldsl 3809469200(%edx,%eax,4), %eax + +// CHECK: ldsl 485498096, %eax +// CHECK: encoding: [0xc5,0x05,0xf0,0x1c,0xf0,0x1c] +ldsl 485498096, %eax + +// CHECK: ldsl 485498096(%edx,%eax,4), %eax +// CHECK: encoding: [0xc5,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +ldsl 485498096(%edx,%eax,4), %eax + +// CHECK: ldsl 485498096(%edx), %eax +// CHECK: encoding: [0xc5,0x82,0xf0,0x1c,0xf0,0x1c] +ldsl 485498096(%edx), %eax + +// CHECK: ldsl 64(%edx,%eax), %eax +// CHECK: encoding: [0xc5,0x44,0x02,0x40] +ldsl 64(%edx,%eax), %eax + +// CHECK: ldsl (%edx), %eax +// CHECK: encoding: [0xc5,0x02] +ldsl (%edx), %eax + +// CHECK: leal 3809469200(%edx,%eax,4), %eax +// CHECK: encoding: [0x8d,0x84,0x82,0x10,0xe3,0x0f,0xe3] +leal 3809469200(%edx,%eax,4), %eax + +// CHECK: leal 485498096, %eax +// CHECK: encoding: [0x8d,0x05,0xf0,0x1c,0xf0,0x1c] +leal 485498096, %eax + +// CHECK: leal 485498096(%edx,%eax,4), %eax +// CHECK: encoding: [0x8d,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +leal 485498096(%edx,%eax,4), %eax + +// CHECK: leal 485498096(%edx), %eax +// CHECK: encoding: [0x8d,0x82,0xf0,0x1c,0xf0,0x1c] +leal 485498096(%edx), %eax + +// CHECK: leal 64(%edx,%eax), %eax +// CHECK: encoding: [0x8d,0x44,0x02,0x40] +leal 64(%edx,%eax), %eax + +// CHECK: leal (%edx), %eax +// CHECK: encoding: [0x8d,0x02] +leal (%edx), %eax + +// CHECK: lesl 3809469200(%edx,%eax,4), %eax +// CHECK: encoding: [0xc4,0x84,0x82,0x10,0xe3,0x0f,0xe3] +lesl 3809469200(%edx,%eax,4), %eax + +// CHECK: lesl 485498096, %eax +// CHECK: encoding: [0xc4,0x05,0xf0,0x1c,0xf0,0x1c] +lesl 485498096, %eax + +// CHECK: lesl 485498096(%edx,%eax,4), %eax +// CHECK: encoding: [0xc4,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +lesl 485498096(%edx,%eax,4), %eax + +// CHECK: lesl 485498096(%edx), %eax +// CHECK: encoding: [0xc4,0x82,0xf0,0x1c,0xf0,0x1c] +lesl 485498096(%edx), %eax + +// CHECK: lesl 64(%edx,%eax), %eax +// CHECK: encoding: [0xc4,0x44,0x02,0x40] +lesl 64(%edx,%eax), %eax + +// CHECK: lesl (%edx), %eax +// CHECK: encoding: [0xc4,0x02] +lesl (%edx), %eax + +// CHECK: lock xchgl %eax, 3809469200(%edx,%eax,4) +// CHECK: encoding: [0xf0,0x87,0x84,0x82,0x10,0xe3,0x0f,0xe3] +lock xchgl %eax, 3809469200(%edx,%eax,4) + +// CHECK: lock xchgl %eax, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xf0,0x87,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +lock xchgl %eax, 485498096(%edx,%eax,4) + +// CHECK: lock xchgl %eax, 485498096(%edx) +// CHECK: encoding: [0xf0,0x87,0x82,0xf0,0x1c,0xf0,0x1c] +lock xchgl %eax, 485498096(%edx) + +// CHECK: lock xchgl %eax, 485498096 +// CHECK: encoding: [0xf0,0x87,0x05,0xf0,0x1c,0xf0,0x1c] +lock xchgl %eax, 485498096 + +// CHECK: lock xchgl %eax, 64(%edx,%eax) +// CHECK: encoding: [0xf0,0x87,0x44,0x02,0x40] +lock xchgl %eax, 64(%edx,%eax) + +// CHECK: lock xchgl %eax, (%edx) +// CHECK: encoding: [0xf0,0x87,0x02] +lock xchgl %eax, (%edx) + +// CHECK: lodsb %es:(%esi), %al +// CHECK: encoding: [0x26,0xac] +lodsb %es:(%esi), %al + +// CHECK: lodsw %es:(%esi), %ax +// CHECK: encoding: [0x66,0x26,0xad] +lodsw %es:(%esi), %ax + +// CHECK: loop 64 +// CHECK: encoding: [0xe2,A] +loop 64 + +// CHECK: loope 64 +// CHECK: encoding: [0xe1,A] +loope 64 + +// CHECK: loopne 64 +// CHECK: encoding: [0xe0,A] +loopne 64 + +// CHECK: lretl $0 +// CHECK: encoding: [0xca,0x00,0x00] +lretl $0 + +// CHECK: lretl +// CHECK: encoding: [0xcb] +lretl + +// CHECK: movb $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xc6,0x84,0x82,0x10,0xe3,0x0f,0xe3,0x00] +movb $0, -485498096(%edx,%eax,4) + +// CHECK: movb $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xc6,0x84,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +movb $0, 485498096(%edx,%eax,4) + +// CHECK: movb $0, 485498096(%edx) +// CHECK: encoding: [0xc6,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +movb $0, 485498096(%edx) + +// CHECK: movb $0, 485498096 +// CHECK: encoding: [0xc6,0x05,0xf0,0x1c,0xf0,0x1c,0x00] +movb $0, 485498096 + +// CHECK: movb $0, 64(%edx,%eax) +// CHECK: encoding: [0xc6,0x44,0x02,0x40,0x00] +movb $0, 64(%edx,%eax) + +// CHECK: movb $0, (%edx) +// CHECK: encoding: [0xc6,0x02,0x00] +movb $0, (%edx) + +// CHECK: movb %al, %es:485498096 +// CHECK: encoding: [0x26,0xa2,0xf0,0x1c,0xf0,0x1c] +movb %al, %es:485498096 + +// CHECK: movb %es:485498096, %al +// CHECK: encoding: [0x26,0xa0,0xf0,0x1c,0xf0,0x1c] +movb %es:485498096, %al + +// CHECK: movl $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xc7,0x84,0x82,0x10,0xe3,0x0f,0xe3,0x00,0x00,0x00,0x00] +movl $0, -485498096(%edx,%eax,4) + +// CHECK: movl $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xc7,0x84,0x82,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00] +movl $0, 485498096(%edx,%eax,4) + +// CHECK: movl $0, 485498096(%edx) +// CHECK: encoding: [0xc7,0x82,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00] +movl $0, 485498096(%edx) + +// CHECK: movl $0, 485498096 +// CHECK: encoding: [0xc7,0x05,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00] +movl $0, 485498096 + +// CHECK: movl $0, 64(%edx,%eax) +// CHECK: encoding: [0xc7,0x44,0x02,0x40,0x00,0x00,0x00,0x00] +movl $0, 64(%edx,%eax) + +// CHECK: movl $0, %eax +// CHECK: encoding: [0xb8,0x00,0x00,0x00,0x00] +movl $0, %eax + +// CHECK: movl $0, (%edx) +// CHECK: encoding: [0xc7,0x02,0x00,0x00,0x00,0x00] +movl $0, (%edx) + +// CHECK: movl 3809469200(%edx,%eax,4), %eax +// CHECK: encoding: [0x8b,0x84,0x82,0x10,0xe3,0x0f,0xe3] +movl 3809469200(%edx,%eax,4), %eax + +// CHECK: movl 485498096, %eax +// CHECK: encoding: [0xa1,0xf0,0x1c,0xf0,0x1c] +movl 485498096, %eax + +// CHECK: movl 485498096(%edx,%eax,4), %eax +// CHECK: encoding: [0x8b,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +movl 485498096(%edx,%eax,4), %eax + +// CHECK: movl 485498096(%edx), %eax +// CHECK: encoding: [0x8b,0x82,0xf0,0x1c,0xf0,0x1c] +movl 485498096(%edx), %eax + +// CHECK: movl 64(%edx,%eax), %eax +// CHECK: encoding: [0x8b,0x44,0x02,0x40] +movl 64(%edx,%eax), %eax + +// CHECK: movl %eax, 3809469200(%edx,%eax,4) +// CHECK: encoding: [0x89,0x84,0x82,0x10,0xe3,0x0f,0xe3] +movl %eax, 3809469200(%edx,%eax,4) + +// CHECK: movl %eax, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x89,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +movl %eax, 485498096(%edx,%eax,4) + +// CHECK: movl %eax, 485498096(%edx) +// CHECK: encoding: [0x89,0x82,0xf0,0x1c,0xf0,0x1c] +movl %eax, 485498096(%edx) + +// CHECK: movl %eax, 485498096 +// CHECK: encoding: [0xa3,0xf0,0x1c,0xf0,0x1c] +movl %eax, 485498096 + +// CHECK: movl %eax, 64(%edx,%eax) +// CHECK: encoding: [0x89,0x44,0x02,0x40] +movl %eax, 64(%edx,%eax) + +// CHECK: movl %eax, %eax +// CHECK: encoding: [0x89,0xc0] +movl %eax, %eax + +// CHECK: movl %eax, (%edx) +// CHECK: encoding: [0x89,0x02] +movl %eax, (%edx) + +// CHECK: movl (%edx), %eax +// CHECK: encoding: [0x8b,0x02] +movl (%edx), %eax + +// CHECK: movl %es, %eax +// CHECK: encoding: [0x8c,0xc0] +movl %es, %eax + +// CHECK: movsb %es:(%esi), %es:(%edi) +// CHECK: encoding: [0x26,0xa4] +movsb %es:(%esi), %es:(%edi) + +// CHECK: movsl %es:(%esi), %es:(%edi) +// CHECK: encoding: [0x26,0xa5] +movsl %es:(%esi), %es:(%edi) + +// CHECK: movsw %es:(%esi), %es:(%edi) +// CHECK: encoding: [0x66,0x26,0xa5] +movsw %es:(%esi), %es:(%edi) + +// CHECK: movw $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xc7,0x84,0x82,0x10,0xe3,0x0f,0xe3,0x00,0x00] +movw $0, -485498096(%edx,%eax,4) + +// CHECK: movw $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xc7,0x84,0x82,0xf0,0x1c,0xf0,0x1c,0x00,0x00] +movw $0, 485498096(%edx,%eax,4) + +// CHECK: movw $0, 485498096(%edx) +// CHECK: encoding: [0x66,0xc7,0x82,0xf0,0x1c,0xf0,0x1c,0x00,0x00] +movw $0, 485498096(%edx) + +// CHECK: movw $0, 485498096 +// CHECK: encoding: [0x66,0xc7,0x05,0xf0,0x1c,0xf0,0x1c,0x00,0x00] +movw $0, 485498096 + +// CHECK: movw $0, 64(%edx,%eax) +// CHECK: encoding: [0x66,0xc7,0x44,0x02,0x40,0x00,0x00] +movw $0, 64(%edx,%eax) + +// CHECK: movw $0, (%edx) +// CHECK: encoding: [0x66,0xc7,0x02,0x00,0x00] +movw $0, (%edx) + +// CHECK: movw -485498096(%edx,%eax,4), %es +// CHECK: encoding: [0x8e,0x84,0x82,0x10,0xe3,0x0f,0xe3] +movw -485498096(%edx,%eax,4), %es + +// CHECK: movw 485498096(%edx,%eax,4), %es +// CHECK: encoding: [0x8e,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +movw 485498096(%edx,%eax,4), %es + +// CHECK: movw 485498096(%edx), %es +// CHECK: encoding: [0x8e,0x82,0xf0,0x1c,0xf0,0x1c] +movw 485498096(%edx), %es + +// CHECK: movw 485498096, %es +// CHECK: encoding: [0x8e,0x05,0xf0,0x1c,0xf0,0x1c] +movw 485498096, %es + +// CHECK: movw 64(%edx,%eax), %es +// CHECK: encoding: [0x8e,0x44,0x02,0x40] +movw 64(%edx,%eax), %es + +// CHECK: movw (%edx), %es +// CHECK: encoding: [0x8e,0x02] +movw (%edx), %es + +// CHECK: movw %es, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x8c,0x84,0x82,0x10,0xe3,0x0f,0xe3] +movw %es, -485498096(%edx,%eax,4) + +// CHECK: movw %es, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x8c,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +movw %es, 485498096(%edx,%eax,4) + +// CHECK: movw %es, 485498096(%edx) +// CHECK: encoding: [0x8c,0x82,0xf0,0x1c,0xf0,0x1c] +movw %es, 485498096(%edx) + +// CHECK: movw %es, 485498096 +// CHECK: encoding: [0x8c,0x05,0xf0,0x1c,0xf0,0x1c] +movw %es, 485498096 + +// CHECK: movw %es, 64(%edx,%eax) +// CHECK: encoding: [0x8c,0x44,0x02,0x40] +movw %es, 64(%edx,%eax) + +// CHECK: movw %es, (%edx) +// CHECK: encoding: [0x8c,0x02] +movw %es, (%edx) + +// CHECK: mulb -485498096(%edx,%eax,4) +// CHECK: encoding: [0xf6,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +mulb -485498096(%edx,%eax,4) + +// CHECK: mulb 485498096(%edx,%eax,4) +// CHECK: encoding: [0xf6,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +mulb 485498096(%edx,%eax,4) + +// CHECK: mulb 485498096(%edx) +// CHECK: encoding: [0xf6,0xa2,0xf0,0x1c,0xf0,0x1c] +mulb 485498096(%edx) + +// CHECK: mulb 485498096 +// CHECK: encoding: [0xf6,0x25,0xf0,0x1c,0xf0,0x1c] +mulb 485498096 + +// CHECK: mulb 64(%edx,%eax) +// CHECK: encoding: [0xf6,0x64,0x02,0x40] +mulb 64(%edx,%eax) + +// CHECK: mulb (%edx) +// CHECK: encoding: [0xf6,0x22] +mulb (%edx) + +// CHECK: mull -485498096(%edx,%eax,4) +// CHECK: encoding: [0xf7,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +mull -485498096(%edx,%eax,4) + +// CHECK: mull 485498096(%edx,%eax,4) +// CHECK: encoding: [0xf7,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +mull 485498096(%edx,%eax,4) + +// CHECK: mull 485498096(%edx) +// CHECK: encoding: [0xf7,0xa2,0xf0,0x1c,0xf0,0x1c] +mull 485498096(%edx) + +// CHECK: mull 485498096 +// CHECK: encoding: [0xf7,0x25,0xf0,0x1c,0xf0,0x1c] +mull 485498096 + +// CHECK: mull 64(%edx,%eax) +// CHECK: encoding: [0xf7,0x64,0x02,0x40] +mull 64(%edx,%eax) + +// CHECK: mull %eax +// CHECK: encoding: [0xf7,0xe0] +mull %eax + +// CHECK: mull (%edx) +// CHECK: encoding: [0xf7,0x22] +mull (%edx) + +// CHECK: mulw -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xf7,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +mulw -485498096(%edx,%eax,4) + +// CHECK: mulw 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xf7,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +mulw 485498096(%edx,%eax,4) + +// CHECK: mulw 485498096(%edx) +// CHECK: encoding: [0x66,0xf7,0xa2,0xf0,0x1c,0xf0,0x1c] +mulw 485498096(%edx) + +// CHECK: mulw 485498096 +// CHECK: encoding: [0x66,0xf7,0x25,0xf0,0x1c,0xf0,0x1c] +mulw 485498096 + +// CHECK: mulw 64(%edx,%eax) +// CHECK: encoding: [0x66,0xf7,0x64,0x02,0x40] +mulw 64(%edx,%eax) + +// CHECK: mulw (%edx) +// CHECK: encoding: [0x66,0xf7,0x22] +mulw (%edx) + +// CHECK: negb -485498096(%edx,%eax,4) +// CHECK: encoding: [0xf6,0x9c,0x82,0x10,0xe3,0x0f,0xe3] +negb -485498096(%edx,%eax,4) + +// CHECK: negb 485498096(%edx,%eax,4) +// CHECK: encoding: [0xf6,0x9c,0x82,0xf0,0x1c,0xf0,0x1c] +negb 485498096(%edx,%eax,4) + +// CHECK: negb 485498096(%edx) +// CHECK: encoding: [0xf6,0x9a,0xf0,0x1c,0xf0,0x1c] +negb 485498096(%edx) + +// CHECK: negb 485498096 +// CHECK: encoding: [0xf6,0x1d,0xf0,0x1c,0xf0,0x1c] +negb 485498096 + +// CHECK: negb 64(%edx,%eax) +// CHECK: encoding: [0xf6,0x5c,0x02,0x40] +negb 64(%edx,%eax) + +// CHECK: negb (%edx) +// CHECK: encoding: [0xf6,0x1a] +negb (%edx) + +// CHECK: negl -485498096(%edx,%eax,4) +// CHECK: encoding: [0xf7,0x9c,0x82,0x10,0xe3,0x0f,0xe3] +negl -485498096(%edx,%eax,4) + +// CHECK: negl 485498096(%edx,%eax,4) +// CHECK: encoding: [0xf7,0x9c,0x82,0xf0,0x1c,0xf0,0x1c] +negl 485498096(%edx,%eax,4) + +// CHECK: negl 485498096(%edx) +// CHECK: encoding: [0xf7,0x9a,0xf0,0x1c,0xf0,0x1c] +negl 485498096(%edx) + +// CHECK: negl 485498096 +// CHECK: encoding: [0xf7,0x1d,0xf0,0x1c,0xf0,0x1c] +negl 485498096 + +// CHECK: negl 64(%edx,%eax) +// CHECK: encoding: [0xf7,0x5c,0x02,0x40] +negl 64(%edx,%eax) + +// CHECK: negl %eax +// CHECK: encoding: [0xf7,0xd8] +negl %eax + +// CHECK: negl (%edx) +// CHECK: encoding: [0xf7,0x1a] +negl (%edx) + +// CHECK: negw -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xf7,0x9c,0x82,0x10,0xe3,0x0f,0xe3] +negw -485498096(%edx,%eax,4) + +// CHECK: negw 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xf7,0x9c,0x82,0xf0,0x1c,0xf0,0x1c] +negw 485498096(%edx,%eax,4) + +// CHECK: negw 485498096(%edx) +// CHECK: encoding: [0x66,0xf7,0x9a,0xf0,0x1c,0xf0,0x1c] +negw 485498096(%edx) + +// CHECK: negw 485498096 +// CHECK: encoding: [0x66,0xf7,0x1d,0xf0,0x1c,0xf0,0x1c] +negw 485498096 + +// CHECK: negw 64(%edx,%eax) +// CHECK: encoding: [0x66,0xf7,0x5c,0x02,0x40] +negw 64(%edx,%eax) + +// CHECK: negw (%edx) +// CHECK: encoding: [0x66,0xf7,0x1a] +negw (%edx) + +// CHECK: nop +// CHECK: encoding: [0x90] +nop + +// CHECK: notb -485498096(%edx,%eax,4) +// CHECK: encoding: [0xf6,0x94,0x82,0x10,0xe3,0x0f,0xe3] +notb -485498096(%edx,%eax,4) + +// CHECK: notb 485498096(%edx,%eax,4) +// CHECK: encoding: [0xf6,0x94,0x82,0xf0,0x1c,0xf0,0x1c] +notb 485498096(%edx,%eax,4) + +// CHECK: notb 485498096(%edx) +// CHECK: encoding: [0xf6,0x92,0xf0,0x1c,0xf0,0x1c] +notb 485498096(%edx) + +// CHECK: notb 485498096 +// CHECK: encoding: [0xf6,0x15,0xf0,0x1c,0xf0,0x1c] +notb 485498096 + +// CHECK: notb 64(%edx,%eax) +// CHECK: encoding: [0xf6,0x54,0x02,0x40] +notb 64(%edx,%eax) + +// CHECK: notb (%edx) +// CHECK: encoding: [0xf6,0x12] +notb (%edx) + +// CHECK: notl -485498096(%edx,%eax,4) +// CHECK: encoding: [0xf7,0x94,0x82,0x10,0xe3,0x0f,0xe3] +notl -485498096(%edx,%eax,4) + +// CHECK: notl 485498096(%edx,%eax,4) +// CHECK: encoding: [0xf7,0x94,0x82,0xf0,0x1c,0xf0,0x1c] +notl 485498096(%edx,%eax,4) + +// CHECK: notl 485498096(%edx) +// CHECK: encoding: [0xf7,0x92,0xf0,0x1c,0xf0,0x1c] +notl 485498096(%edx) + +// CHECK: notl 485498096 +// CHECK: encoding: [0xf7,0x15,0xf0,0x1c,0xf0,0x1c] +notl 485498096 + +// CHECK: notl 64(%edx,%eax) +// CHECK: encoding: [0xf7,0x54,0x02,0x40] +notl 64(%edx,%eax) + +// CHECK: notl %eax +// CHECK: encoding: [0xf7,0xd0] +notl %eax + +// CHECK: notl (%edx) +// CHECK: encoding: [0xf7,0x12] +notl (%edx) + +// CHECK: notw -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xf7,0x94,0x82,0x10,0xe3,0x0f,0xe3] +notw -485498096(%edx,%eax,4) + +// CHECK: notw 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xf7,0x94,0x82,0xf0,0x1c,0xf0,0x1c] +notw 485498096(%edx,%eax,4) + +// CHECK: notw 485498096(%edx) +// CHECK: encoding: [0x66,0xf7,0x92,0xf0,0x1c,0xf0,0x1c] +notw 485498096(%edx) + +// CHECK: notw 485498096 +// CHECK: encoding: [0x66,0xf7,0x15,0xf0,0x1c,0xf0,0x1c] +notw 485498096 + +// CHECK: notw 64(%edx,%eax) +// CHECK: encoding: [0x66,0xf7,0x54,0x02,0x40] +notw 64(%edx,%eax) + +// CHECK: notw (%edx) +// CHECK: encoding: [0x66,0xf7,0x12] +notw (%edx) + +// CHECK: orb $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x80,0x8c,0x82,0x10,0xe3,0x0f,0xe3,0x00] +orb $0, -485498096(%edx,%eax,4) + +// CHECK: orb $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x80,0x8c,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +orb $0, 485498096(%edx,%eax,4) + +// CHECK: orb $0, 485498096(%edx) +// CHECK: encoding: [0x80,0x8a,0xf0,0x1c,0xf0,0x1c,0x00] +orb $0, 485498096(%edx) + +// CHECK: orb $0, 485498096 +// CHECK: encoding: [0x80,0x0d,0xf0,0x1c,0xf0,0x1c,0x00] +orb $0, 485498096 + +// CHECK: orb $0, 64(%edx,%eax) +// CHECK: encoding: [0x80,0x4c,0x02,0x40,0x00] +orb $0, 64(%edx,%eax) + +// CHECK: orb $0, %al +// CHECK: encoding: [0x0c,0x00] +orb $0, %al + +// CHECK: orb $0, (%edx) +// CHECK: encoding: [0x80,0x0a,0x00] +orb $0, (%edx) + +// CHECK: orl $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x83,0x8c,0x82,0x10,0xe3,0x0f,0xe3,0x00] +orl $0, -485498096(%edx,%eax,4) + +// CHECK: orl $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x83,0x8c,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +orl $0, 485498096(%edx,%eax,4) + +// CHECK: orl $0, 485498096(%edx) +// CHECK: encoding: [0x83,0x8a,0xf0,0x1c,0xf0,0x1c,0x00] +orl $0, 485498096(%edx) + +// CHECK: orl $0, 485498096 +// CHECK: encoding: [0x83,0x0d,0xf0,0x1c,0xf0,0x1c,0x00] +orl $0, 485498096 + +// CHECK: orl $0, 64(%edx,%eax) +// CHECK: encoding: [0x83,0x4c,0x02,0x40,0x00] +orl $0, 64(%edx,%eax) + +// CHECK: orl $0, %eax +// CHECK: encoding: [0x83,0xc8,0x00] +orl $0, %eax + +// CHECK: orl $0, (%edx) +// CHECK: encoding: [0x83,0x0a,0x00] +orl $0, (%edx) + +// CHECK: orl 3809469200(%edx,%eax,4), %eax +// CHECK: encoding: [0x0b,0x84,0x82,0x10,0xe3,0x0f,0xe3] +orl 3809469200(%edx,%eax,4), %eax + +// CHECK: orl 485498096, %eax +// CHECK: encoding: [0x0b,0x05,0xf0,0x1c,0xf0,0x1c] +orl 485498096, %eax + +// CHECK: orl 485498096(%edx,%eax,4), %eax +// CHECK: encoding: [0x0b,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +orl 485498096(%edx,%eax,4), %eax + +// CHECK: orl 485498096(%edx), %eax +// CHECK: encoding: [0x0b,0x82,0xf0,0x1c,0xf0,0x1c] +orl 485498096(%edx), %eax + +// CHECK: orl 64(%edx,%eax), %eax +// CHECK: encoding: [0x0b,0x44,0x02,0x40] +orl 64(%edx,%eax), %eax + +// CHECK: orl %eax, 3809469200(%edx,%eax,4) +// CHECK: encoding: [0x09,0x84,0x82,0x10,0xe3,0x0f,0xe3] +orl %eax, 3809469200(%edx,%eax,4) + +// CHECK: orl %eax, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x09,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +orl %eax, 485498096(%edx,%eax,4) + +// CHECK: orl %eax, 485498096(%edx) +// CHECK: encoding: [0x09,0x82,0xf0,0x1c,0xf0,0x1c] +orl %eax, 485498096(%edx) + +// CHECK: orl %eax, 485498096 +// CHECK: encoding: [0x09,0x05,0xf0,0x1c,0xf0,0x1c] +orl %eax, 485498096 + +// CHECK: orl %eax, 64(%edx,%eax) +// CHECK: encoding: [0x09,0x44,0x02,0x40] +orl %eax, 64(%edx,%eax) + +// CHECK: orl %eax, %eax +// CHECK: encoding: [0x09,0xc0] +orl %eax, %eax + +// CHECK: orl %eax, (%edx) +// CHECK: encoding: [0x09,0x02] +orl %eax, (%edx) + +// CHECK: orl (%edx), %eax +// CHECK: encoding: [0x0b,0x02] +orl (%edx), %eax + +// CHECK: orw $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0x83,0x8c,0x82,0x10,0xe3,0x0f,0xe3,0x00] +orw $0, -485498096(%edx,%eax,4) + +// CHECK: orw $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0x83,0x8c,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +orw $0, 485498096(%edx,%eax,4) + +// CHECK: orw $0, 485498096(%edx) +// CHECK: encoding: [0x66,0x83,0x8a,0xf0,0x1c,0xf0,0x1c,0x00] +orw $0, 485498096(%edx) + +// CHECK: orw $0, 485498096 +// CHECK: encoding: [0x66,0x83,0x0d,0xf0,0x1c,0xf0,0x1c,0x00] +orw $0, 485498096 + +// CHECK: orw $0, 64(%edx,%eax) +// CHECK: encoding: [0x66,0x83,0x4c,0x02,0x40,0x00] +orw $0, 64(%edx,%eax) + +// CHECK: orw $0, (%edx) +// CHECK: encoding: [0x66,0x83,0x0a,0x00] +orw $0, (%edx) + +// CHECK: outb %al, $0 +// CHECK: encoding: [0xe6,0x00] +outb %al, $0 + +// CHECK: outb %al, %dx +// CHECK: encoding: [0xee] +outb %al, %dx + +// CHECK: outl %eax, $0 +// CHECK: encoding: [0xe7,0x00] +outl %eax, $0 + +// CHECK: outl %eax, %dx +// CHECK: encoding: [0xef] +outl %eax, %dx + +// CHECK: pause +// CHECK: encoding: [0xf3,0x90] +pause + +// CHECK: popfl +// CHECK: encoding: [0x9d] +popfl + +// CHECK: popfw +// CHECK: encoding: [0x66,0x9d] +popfw + +// CHECK: popl %ds +// CHECK: encoding: [0x1f] +popl %ds + +// CHECK: popl %eax +// CHECK: encoding: [0x58] +popl %eax + +// CHECK: popl %es +// CHECK: encoding: [0x07] +popl %es + +// CHECK: popl %fs +// CHECK: encoding: [0x0f,0xa1] +popl %fs + +// CHECK: popl %gs +// CHECK: encoding: [0x0f,0xa9] +popl %gs + +// CHECK: popl %ss +// CHECK: encoding: [0x17] +popl %ss + +// CHECK: popw %ds +// CHECK: encoding: [0x66,0x1f] +popw %ds + +// CHECK: popw %es +// CHECK: encoding: [0x66,0x07] +popw %es + +// CHECK: popw %fs +// CHECK: encoding: [0x66,0x0f,0xa1] +popw %fs + +// CHECK: popw %gs +// CHECK: encoding: [0x66,0x0f,0xa9] +popw %gs + +// CHECK: popw %ss +// CHECK: encoding: [0x66,0x17] +popw %ss + +// CHECK: pushfl +// CHECK: encoding: [0x9c] +pushfl + +// CHECK: pushfw +// CHECK: encoding: [0x66,0x9c] +pushfw + +// CHECK: pushl %cs +// CHECK: encoding: [0x0e] +pushl %cs + +// CHECK: pushl %ds +// CHECK: encoding: [0x1e] +pushl %ds + +// CHECK: pushl %eax +// CHECK: encoding: [0x50] +pushl %eax + +// CHECK: pushl %es +// CHECK: encoding: [0x06] +pushl %es + +// CHECK: pushl %fs +// CHECK: encoding: [0x0f,0xa0] +pushl %fs + +// CHECK: pushl %gs +// CHECK: encoding: [0x0f,0xa8] +pushl %gs + +// CHECK: pushl %ss +// CHECK: encoding: [0x16] +pushl %ss + +// CHECK: pushw %cs +// CHECK: encoding: [0x66,0x0e] +pushw %cs + +// CHECK: pushw %ds +// CHECK: encoding: [0x66,0x1e] +pushw %ds + +// CHECK: pushw %es +// CHECK: encoding: [0x66,0x06] +pushw %es + +// CHECK: pushw %fs +// CHECK: encoding: [0x66,0x0f,0xa0] +pushw %fs + +// CHECK: pushw %gs +// CHECK: encoding: [0x66,0x0f,0xa8] +pushw %gs + +// CHECK: pushw %ss +// CHECK: encoding: [0x66,0x16] +pushw %ss + +// CHECK: rclb -485498096(%edx,%eax,4) +// CHECK: encoding: [0xd0,0x94,0x82,0x10,0xe3,0x0f,0xe3] +rclb -485498096(%edx,%eax,4) + +// CHECK: rclb 485498096(%edx,%eax,4) +// CHECK: encoding: [0xd0,0x94,0x82,0xf0,0x1c,0xf0,0x1c] +rclb 485498096(%edx,%eax,4) + +// CHECK: rclb 485498096(%edx) +// CHECK: encoding: [0xd0,0x92,0xf0,0x1c,0xf0,0x1c] +rclb 485498096(%edx) + +// CHECK: rclb 485498096 +// CHECK: encoding: [0xd0,0x15,0xf0,0x1c,0xf0,0x1c] +rclb 485498096 + +// CHECK: rclb 64(%edx,%eax) +// CHECK: encoding: [0xd0,0x54,0x02,0x40] +rclb 64(%edx,%eax) + +// CHECK: rclb %cl, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xd2,0x94,0x82,0x10,0xe3,0x0f,0xe3] +rclb %cl, -485498096(%edx,%eax,4) + +// CHECK: rclb %cl, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xd2,0x94,0x82,0xf0,0x1c,0xf0,0x1c] +rclb %cl, 485498096(%edx,%eax,4) + +// CHECK: rclb %cl, 485498096(%edx) +// CHECK: encoding: [0xd2,0x92,0xf0,0x1c,0xf0,0x1c] +rclb %cl, 485498096(%edx) + +// CHECK: rclb %cl, 485498096 +// CHECK: encoding: [0xd2,0x15,0xf0,0x1c,0xf0,0x1c] +rclb %cl, 485498096 + +// CHECK: rclb %cl, 64(%edx,%eax) +// CHECK: encoding: [0xd2,0x54,0x02,0x40] +rclb %cl, 64(%edx,%eax) + +// CHECK: rclb %cl, (%edx) +// CHECK: encoding: [0xd2,0x12] +rclb %cl, (%edx) + +// CHECK: rclb (%edx) +// CHECK: encoding: [0xd0,0x12] +rclb (%edx) + +// CHECK: rcll -485498096(%edx,%eax,4) +// CHECK: encoding: [0xd1,0x94,0x82,0x10,0xe3,0x0f,0xe3] +rcll -485498096(%edx,%eax,4) + +// CHECK: rcll 485498096(%edx,%eax,4) +// CHECK: encoding: [0xd1,0x94,0x82,0xf0,0x1c,0xf0,0x1c] +rcll 485498096(%edx,%eax,4) + +// CHECK: rcll 485498096(%edx) +// CHECK: encoding: [0xd1,0x92,0xf0,0x1c,0xf0,0x1c] +rcll 485498096(%edx) + +// CHECK: rcll 485498096 +// CHECK: encoding: [0xd1,0x15,0xf0,0x1c,0xf0,0x1c] +rcll 485498096 + +// CHECK: rcll 64(%edx,%eax) +// CHECK: encoding: [0xd1,0x54,0x02,0x40] +rcll 64(%edx,%eax) + +// CHECK: rcll %cl, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xd3,0x94,0x82,0x10,0xe3,0x0f,0xe3] +rcll %cl, -485498096(%edx,%eax,4) + +// CHECK: rcll %cl, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xd3,0x94,0x82,0xf0,0x1c,0xf0,0x1c] +rcll %cl, 485498096(%edx,%eax,4) + +// CHECK: rcll %cl, 485498096(%edx) +// CHECK: encoding: [0xd3,0x92,0xf0,0x1c,0xf0,0x1c] +rcll %cl, 485498096(%edx) + +// CHECK: rcll %cl, 485498096 +// CHECK: encoding: [0xd3,0x15,0xf0,0x1c,0xf0,0x1c] +rcll %cl, 485498096 + +// CHECK: rcll %cl, 64(%edx,%eax) +// CHECK: encoding: [0xd3,0x54,0x02,0x40] +rcll %cl, 64(%edx,%eax) + +// CHECK: rcll %cl, (%edx) +// CHECK: encoding: [0xd3,0x12] +rcll %cl, (%edx) + +// CHECK: rcll %eax +// CHECK: encoding: [0xd1,0xd0] +rcll %eax + +// CHECK: rcll (%edx) +// CHECK: encoding: [0xd1,0x12] +rcll (%edx) + +// CHECK: rclw -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xd1,0x94,0x82,0x10,0xe3,0x0f,0xe3] +rclw -485498096(%edx,%eax,4) + +// CHECK: rclw 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xd1,0x94,0x82,0xf0,0x1c,0xf0,0x1c] +rclw 485498096(%edx,%eax,4) + +// CHECK: rclw 485498096(%edx) +// CHECK: encoding: [0x66,0xd1,0x92,0xf0,0x1c,0xf0,0x1c] +rclw 485498096(%edx) + +// CHECK: rclw 485498096 +// CHECK: encoding: [0x66,0xd1,0x15,0xf0,0x1c,0xf0,0x1c] +rclw 485498096 + +// CHECK: rclw 64(%edx,%eax) +// CHECK: encoding: [0x66,0xd1,0x54,0x02,0x40] +rclw 64(%edx,%eax) + +// CHECK: rclw %cl, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xd3,0x94,0x82,0x10,0xe3,0x0f,0xe3] +rclw %cl, -485498096(%edx,%eax,4) + +// CHECK: rclw %cl, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xd3,0x94,0x82,0xf0,0x1c,0xf0,0x1c] +rclw %cl, 485498096(%edx,%eax,4) + +// CHECK: rclw %cl, 485498096(%edx) +// CHECK: encoding: [0x66,0xd3,0x92,0xf0,0x1c,0xf0,0x1c] +rclw %cl, 485498096(%edx) + +// CHECK: rclw %cl, 485498096 +// CHECK: encoding: [0x66,0xd3,0x15,0xf0,0x1c,0xf0,0x1c] +rclw %cl, 485498096 + +// CHECK: rclw %cl, 64(%edx,%eax) +// CHECK: encoding: [0x66,0xd3,0x54,0x02,0x40] +rclw %cl, 64(%edx,%eax) + +// CHECK: rclw %cl, (%edx) +// CHECK: encoding: [0x66,0xd3,0x12] +rclw %cl, (%edx) + +// CHECK: rclw (%edx) +// CHECK: encoding: [0x66,0xd1,0x12] +rclw (%edx) + +// CHECK: rcrb -485498096(%edx,%eax,4) +// CHECK: encoding: [0xd0,0x9c,0x82,0x10,0xe3,0x0f,0xe3] +rcrb -485498096(%edx,%eax,4) + +// CHECK: rcrb 485498096(%edx,%eax,4) +// CHECK: encoding: [0xd0,0x9c,0x82,0xf0,0x1c,0xf0,0x1c] +rcrb 485498096(%edx,%eax,4) + +// CHECK: rcrb 485498096(%edx) +// CHECK: encoding: [0xd0,0x9a,0xf0,0x1c,0xf0,0x1c] +rcrb 485498096(%edx) + +// CHECK: rcrb 485498096 +// CHECK: encoding: [0xd0,0x1d,0xf0,0x1c,0xf0,0x1c] +rcrb 485498096 + +// CHECK: rcrb 64(%edx,%eax) +// CHECK: encoding: [0xd0,0x5c,0x02,0x40] +rcrb 64(%edx,%eax) + +// CHECK: rcrb %cl, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xd2,0x9c,0x82,0x10,0xe3,0x0f,0xe3] +rcrb %cl, -485498096(%edx,%eax,4) + +// CHECK: rcrb %cl, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xd2,0x9c,0x82,0xf0,0x1c,0xf0,0x1c] +rcrb %cl, 485498096(%edx,%eax,4) + +// CHECK: rcrb %cl, 485498096(%edx) +// CHECK: encoding: [0xd2,0x9a,0xf0,0x1c,0xf0,0x1c] +rcrb %cl, 485498096(%edx) + +// CHECK: rcrb %cl, 485498096 +// CHECK: encoding: [0xd2,0x1d,0xf0,0x1c,0xf0,0x1c] +rcrb %cl, 485498096 + +// CHECK: rcrb %cl, 64(%edx,%eax) +// CHECK: encoding: [0xd2,0x5c,0x02,0x40] +rcrb %cl, 64(%edx,%eax) + +// CHECK: rcrb %cl, (%edx) +// CHECK: encoding: [0xd2,0x1a] +rcrb %cl, (%edx) + +// CHECK: rcrb (%edx) +// CHECK: encoding: [0xd0,0x1a] +rcrb (%edx) + +// CHECK: rcrl -485498096(%edx,%eax,4) +// CHECK: encoding: [0xd1,0x9c,0x82,0x10,0xe3,0x0f,0xe3] +rcrl -485498096(%edx,%eax,4) + +// CHECK: rcrl 485498096(%edx,%eax,4) +// CHECK: encoding: [0xd1,0x9c,0x82,0xf0,0x1c,0xf0,0x1c] +rcrl 485498096(%edx,%eax,4) + +// CHECK: rcrl 485498096(%edx) +// CHECK: encoding: [0xd1,0x9a,0xf0,0x1c,0xf0,0x1c] +rcrl 485498096(%edx) + +// CHECK: rcrl 485498096 +// CHECK: encoding: [0xd1,0x1d,0xf0,0x1c,0xf0,0x1c] +rcrl 485498096 + +// CHECK: rcrl 64(%edx,%eax) +// CHECK: encoding: [0xd1,0x5c,0x02,0x40] +rcrl 64(%edx,%eax) + +// CHECK: rcrl %cl, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xd3,0x9c,0x82,0x10,0xe3,0x0f,0xe3] +rcrl %cl, -485498096(%edx,%eax,4) + +// CHECK: rcrl %cl, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xd3,0x9c,0x82,0xf0,0x1c,0xf0,0x1c] +rcrl %cl, 485498096(%edx,%eax,4) + +// CHECK: rcrl %cl, 485498096(%edx) +// CHECK: encoding: [0xd3,0x9a,0xf0,0x1c,0xf0,0x1c] +rcrl %cl, 485498096(%edx) + +// CHECK: rcrl %cl, 485498096 +// CHECK: encoding: [0xd3,0x1d,0xf0,0x1c,0xf0,0x1c] +rcrl %cl, 485498096 + +// CHECK: rcrl %cl, 64(%edx,%eax) +// CHECK: encoding: [0xd3,0x5c,0x02,0x40] +rcrl %cl, 64(%edx,%eax) + +// CHECK: rcrl %cl, (%edx) +// CHECK: encoding: [0xd3,0x1a] +rcrl %cl, (%edx) + +// CHECK: rcrl %eax +// CHECK: encoding: [0xd1,0xd8] +rcrl %eax + +// CHECK: rcrl (%edx) +// CHECK: encoding: [0xd1,0x1a] +rcrl (%edx) + +// CHECK: rcrw -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xd1,0x9c,0x82,0x10,0xe3,0x0f,0xe3] +rcrw -485498096(%edx,%eax,4) + +// CHECK: rcrw 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xd1,0x9c,0x82,0xf0,0x1c,0xf0,0x1c] +rcrw 485498096(%edx,%eax,4) + +// CHECK: rcrw 485498096(%edx) +// CHECK: encoding: [0x66,0xd1,0x9a,0xf0,0x1c,0xf0,0x1c] +rcrw 485498096(%edx) + +// CHECK: rcrw 485498096 +// CHECK: encoding: [0x66,0xd1,0x1d,0xf0,0x1c,0xf0,0x1c] +rcrw 485498096 + +// CHECK: rcrw 64(%edx,%eax) +// CHECK: encoding: [0x66,0xd1,0x5c,0x02,0x40] +rcrw 64(%edx,%eax) + +// CHECK: rcrw %cl, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xd3,0x9c,0x82,0x10,0xe3,0x0f,0xe3] +rcrw %cl, -485498096(%edx,%eax,4) + +// CHECK: rcrw %cl, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xd3,0x9c,0x82,0xf0,0x1c,0xf0,0x1c] +rcrw %cl, 485498096(%edx,%eax,4) + +// CHECK: rcrw %cl, 485498096(%edx) +// CHECK: encoding: [0x66,0xd3,0x9a,0xf0,0x1c,0xf0,0x1c] +rcrw %cl, 485498096(%edx) + +// CHECK: rcrw %cl, 485498096 +// CHECK: encoding: [0x66,0xd3,0x1d,0xf0,0x1c,0xf0,0x1c] +rcrw %cl, 485498096 + +// CHECK: rcrw %cl, 64(%edx,%eax) +// CHECK: encoding: [0x66,0xd3,0x5c,0x02,0x40] +rcrw %cl, 64(%edx,%eax) + +// CHECK: rcrw %cl, (%edx) +// CHECK: encoding: [0x66,0xd3,0x1a] +rcrw %cl, (%edx) + +// CHECK: rcrw (%edx) +// CHECK: encoding: [0x66,0xd1,0x1a] +rcrw (%edx) + +// CHECK: rep cmpsb %es:(%edi), %es:(%esi) +// CHECK: encoding: [0xf3,0x26,0xa6] +rep cmpsb %es:(%edi), %es:(%esi) + +// CHECK: rep cmpsl %es:(%edi), %es:(%esi) +// CHECK: encoding: [0xf3,0x26,0xa7] +rep cmpsl %es:(%edi), %es:(%esi) + +// CHECK: rep cmpsw %es:(%edi), %es:(%esi) +// CHECK: encoding: [0xf3,0x66,0x26,0xa7] +rep cmpsw %es:(%edi), %es:(%esi) + +// CHECK: rep lodsb %es:(%esi), %al +// CHECK: encoding: [0xf3,0x26,0xac] +rep lodsb %es:(%esi), %al + +// CHECK: rep lodsw %es:(%esi), %ax +// CHECK: encoding: [0xf3,0x66,0x26,0xad] +rep lodsw %es:(%esi), %ax + +// CHECK: rep movsb %es:(%esi), %es:(%edi) +// CHECK: encoding: [0xf3,0x26,0xa4] +rep movsb %es:(%esi), %es:(%edi) + +// CHECK: rep movsl %es:(%esi), %es:(%edi) +// CHECK: encoding: [0xf3,0x26,0xa5] +rep movsl %es:(%esi), %es:(%edi) + +// CHECK: rep movsw %es:(%esi), %es:(%edi) +// CHECK: encoding: [0xf3,0x66,0x26,0xa5] +rep movsw %es:(%esi), %es:(%edi) + +// CHECK: repne cmpsb %es:(%edi), %es:(%esi) +// CHECK: encoding: [0xf2,0x26,0xa6] +repne cmpsb %es:(%edi), %es:(%esi) + +// CHECK: repne cmpsl %es:(%edi), %es:(%esi) +// CHECK: encoding: [0xf2,0x26,0xa7] +repne cmpsl %es:(%edi), %es:(%esi) + +// CHECK: repne cmpsw %es:(%edi), %es:(%esi) +// CHECK: encoding: [0xf2,0x66,0x26,0xa7] +repne cmpsw %es:(%edi), %es:(%esi) + +// CHECK: repne lodsb %es:(%esi), %al +// CHECK: encoding: [0xf2,0x26,0xac] +repne lodsb %es:(%esi), %al + +// CHECK: repne lodsw %es:(%esi), %ax +// CHECK: encoding: [0xf2,0x66,0x26,0xad] +repne lodsw %es:(%esi), %ax + +// CHECK: repne movsb %es:(%esi), %es:(%edi) +// CHECK: encoding: [0xf2,0x26,0xa4] +repne movsb %es:(%esi), %es:(%edi) + +// CHECK: repne movsl %es:(%esi), %es:(%edi) +// CHECK: encoding: [0xf2,0x26,0xa5] +repne movsl %es:(%esi), %es:(%edi) + +// CHECK: repne movsw %es:(%esi), %es:(%edi) +// CHECK: encoding: [0xf2,0x66,0x26,0xa5] +repne movsw %es:(%esi), %es:(%edi) + +// CHECK: repne scasb %es:(%edi), %al +// CHECK: encoding: [0xf2,0xae] +repne scasb %es:(%edi), %al + +// CHECK: repne scasw %es:(%edi), %ax +// CHECK: encoding: [0xf2,0x66,0xaf] +repne scasw %es:(%edi), %ax + +// CHECK: repne stosb %al, %es:(%edi) +// CHECK: encoding: [0xf2,0xaa] +repne stosb %al, %es:(%edi) + +// CHECK: repne stosw %ax, %es:(%edi) +// CHECK: encoding: [0xf2,0x66,0xab] +repne stosw %ax, %es:(%edi) + +// CHECK: rep scasb %es:(%edi), %al +// CHECK: encoding: [0xf3,0xae] +rep scasb %es:(%edi), %al + +// CHECK: rep scasw %es:(%edi), %ax +// CHECK: encoding: [0xf3,0x66,0xaf] +rep scasw %es:(%edi), %ax + +// CHECK: rep stosb %al, %es:(%edi) +// CHECK: encoding: [0xf3,0xaa] +rep stosb %al, %es:(%edi) + +// CHECK: rep stosw %ax, %es:(%edi) +// CHECK: encoding: [0xf3,0x66,0xab] +rep stosw %ax, %es:(%edi) + +// CHECK: retl $0 +// CHECK: encoding: [0xc2,0x00,0x00] +retl $0 + +// CHECK: retl +// CHECK: encoding: [0xc3] +retl + +// CHECK: retw $0 +// CHECK: encoding: [0x66,0xc2,0x00,0x00] +retw $0 + +// CHECK: retw +// CHECK: encoding: [0x66,0xc3] +retw + +// CHECK: rolb -485498096(%edx,%eax,4) +// CHECK: encoding: [0xd0,0x84,0x82,0x10,0xe3,0x0f,0xe3] +rolb -485498096(%edx,%eax,4) + +// CHECK: rolb 485498096(%edx,%eax,4) +// CHECK: encoding: [0xd0,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +rolb 485498096(%edx,%eax,4) + +// CHECK: rolb 485498096(%edx) +// CHECK: encoding: [0xd0,0x82,0xf0,0x1c,0xf0,0x1c] +rolb 485498096(%edx) + +// CHECK: rolb 485498096 +// CHECK: encoding: [0xd0,0x05,0xf0,0x1c,0xf0,0x1c] +rolb 485498096 + +// CHECK: rolb 64(%edx,%eax) +// CHECK: encoding: [0xd0,0x44,0x02,0x40] +rolb 64(%edx,%eax) + +// CHECK: rolb %cl, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xd2,0x84,0x82,0x10,0xe3,0x0f,0xe3] +rolb %cl, -485498096(%edx,%eax,4) + +// CHECK: rolb %cl, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xd2,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +rolb %cl, 485498096(%edx,%eax,4) + +// CHECK: rolb %cl, 485498096(%edx) +// CHECK: encoding: [0xd2,0x82,0xf0,0x1c,0xf0,0x1c] +rolb %cl, 485498096(%edx) + +// CHECK: rolb %cl, 485498096 +// CHECK: encoding: [0xd2,0x05,0xf0,0x1c,0xf0,0x1c] +rolb %cl, 485498096 + +// CHECK: rolb %cl, 64(%edx,%eax) +// CHECK: encoding: [0xd2,0x44,0x02,0x40] +rolb %cl, 64(%edx,%eax) + +// CHECK: rolb %cl, (%edx) +// CHECK: encoding: [0xd2,0x02] +rolb %cl, (%edx) + +// CHECK: rolb (%edx) +// CHECK: encoding: [0xd0,0x02] +rolb (%edx) + +// CHECK: roll -485498096(%edx,%eax,4) +// CHECK: encoding: [0xd1,0x84,0x82,0x10,0xe3,0x0f,0xe3] +roll -485498096(%edx,%eax,4) + +// CHECK: roll 485498096(%edx,%eax,4) +// CHECK: encoding: [0xd1,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +roll 485498096(%edx,%eax,4) + +// CHECK: roll 485498096(%edx) +// CHECK: encoding: [0xd1,0x82,0xf0,0x1c,0xf0,0x1c] +roll 485498096(%edx) + +// CHECK: roll 485498096 +// CHECK: encoding: [0xd1,0x05,0xf0,0x1c,0xf0,0x1c] +roll 485498096 + +// CHECK: roll 64(%edx,%eax) +// CHECK: encoding: [0xd1,0x44,0x02,0x40] +roll 64(%edx,%eax) + +// CHECK: roll %cl, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xd3,0x84,0x82,0x10,0xe3,0x0f,0xe3] +roll %cl, -485498096(%edx,%eax,4) + +// CHECK: roll %cl, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xd3,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +roll %cl, 485498096(%edx,%eax,4) + +// CHECK: roll %cl, 485498096(%edx) +// CHECK: encoding: [0xd3,0x82,0xf0,0x1c,0xf0,0x1c] +roll %cl, 485498096(%edx) + +// CHECK: roll %cl, 485498096 +// CHECK: encoding: [0xd3,0x05,0xf0,0x1c,0xf0,0x1c] +roll %cl, 485498096 + +// CHECK: roll %cl, 64(%edx,%eax) +// CHECK: encoding: [0xd3,0x44,0x02,0x40] +roll %cl, 64(%edx,%eax) + +// CHECK: roll %cl, (%edx) +// CHECK: encoding: [0xd3,0x02] +roll %cl, (%edx) + +// CHECK: roll %eax +// CHECK: encoding: [0xd1,0xc0] +roll %eax + +// CHECK: roll (%edx) +// CHECK: encoding: [0xd1,0x02] +roll (%edx) + +// CHECK: rolw -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xd1,0x84,0x82,0x10,0xe3,0x0f,0xe3] +rolw -485498096(%edx,%eax,4) + +// CHECK: rolw 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xd1,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +rolw 485498096(%edx,%eax,4) + +// CHECK: rolw 485498096(%edx) +// CHECK: encoding: [0x66,0xd1,0x82,0xf0,0x1c,0xf0,0x1c] +rolw 485498096(%edx) + +// CHECK: rolw 485498096 +// CHECK: encoding: [0x66,0xd1,0x05,0xf0,0x1c,0xf0,0x1c] +rolw 485498096 + +// CHECK: rolw 64(%edx,%eax) +// CHECK: encoding: [0x66,0xd1,0x44,0x02,0x40] +rolw 64(%edx,%eax) + +// CHECK: rolw %cl, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xd3,0x84,0x82,0x10,0xe3,0x0f,0xe3] +rolw %cl, -485498096(%edx,%eax,4) + +// CHECK: rolw %cl, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xd3,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +rolw %cl, 485498096(%edx,%eax,4) + +// CHECK: rolw %cl, 485498096(%edx) +// CHECK: encoding: [0x66,0xd3,0x82,0xf0,0x1c,0xf0,0x1c] +rolw %cl, 485498096(%edx) + +// CHECK: rolw %cl, 485498096 +// CHECK: encoding: [0x66,0xd3,0x05,0xf0,0x1c,0xf0,0x1c] +rolw %cl, 485498096 + +// CHECK: rolw %cl, 64(%edx,%eax) +// CHECK: encoding: [0x66,0xd3,0x44,0x02,0x40] +rolw %cl, 64(%edx,%eax) + +// CHECK: rolw %cl, (%edx) +// CHECK: encoding: [0x66,0xd3,0x02] +rolw %cl, (%edx) + +// CHECK: rolw (%edx) +// CHECK: encoding: [0x66,0xd1,0x02] +rolw (%edx) + +// CHECK: rorb -485498096(%edx,%eax,4) +// CHECK: encoding: [0xd0,0x8c,0x82,0x10,0xe3,0x0f,0xe3] +rorb -485498096(%edx,%eax,4) + +// CHECK: rorb 485498096(%edx,%eax,4) +// CHECK: encoding: [0xd0,0x8c,0x82,0xf0,0x1c,0xf0,0x1c] +rorb 485498096(%edx,%eax,4) + +// CHECK: rorb 485498096(%edx) +// CHECK: encoding: [0xd0,0x8a,0xf0,0x1c,0xf0,0x1c] +rorb 485498096(%edx) + +// CHECK: rorb 485498096 +// CHECK: encoding: [0xd0,0x0d,0xf0,0x1c,0xf0,0x1c] +rorb 485498096 + +// CHECK: rorb 64(%edx,%eax) +// CHECK: encoding: [0xd0,0x4c,0x02,0x40] +rorb 64(%edx,%eax) + +// CHECK: rorb %cl, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xd2,0x8c,0x82,0x10,0xe3,0x0f,0xe3] +rorb %cl, -485498096(%edx,%eax,4) + +// CHECK: rorb %cl, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xd2,0x8c,0x82,0xf0,0x1c,0xf0,0x1c] +rorb %cl, 485498096(%edx,%eax,4) + +// CHECK: rorb %cl, 485498096(%edx) +// CHECK: encoding: [0xd2,0x8a,0xf0,0x1c,0xf0,0x1c] +rorb %cl, 485498096(%edx) + +// CHECK: rorb %cl, 485498096 +// CHECK: encoding: [0xd2,0x0d,0xf0,0x1c,0xf0,0x1c] +rorb %cl, 485498096 + +// CHECK: rorb %cl, 64(%edx,%eax) +// CHECK: encoding: [0xd2,0x4c,0x02,0x40] +rorb %cl, 64(%edx,%eax) + +// CHECK: rorb %cl, (%edx) +// CHECK: encoding: [0xd2,0x0a] +rorb %cl, (%edx) + +// CHECK: rorb (%edx) +// CHECK: encoding: [0xd0,0x0a] +rorb (%edx) + +// CHECK: rorl -485498096(%edx,%eax,4) +// CHECK: encoding: [0xd1,0x8c,0x82,0x10,0xe3,0x0f,0xe3] +rorl -485498096(%edx,%eax,4) + +// CHECK: rorl 485498096(%edx,%eax,4) +// CHECK: encoding: [0xd1,0x8c,0x82,0xf0,0x1c,0xf0,0x1c] +rorl 485498096(%edx,%eax,4) + +// CHECK: rorl 485498096(%edx) +// CHECK: encoding: [0xd1,0x8a,0xf0,0x1c,0xf0,0x1c] +rorl 485498096(%edx) + +// CHECK: rorl 485498096 +// CHECK: encoding: [0xd1,0x0d,0xf0,0x1c,0xf0,0x1c] +rorl 485498096 + +// CHECK: rorl 64(%edx,%eax) +// CHECK: encoding: [0xd1,0x4c,0x02,0x40] +rorl 64(%edx,%eax) + +// CHECK: rorl %cl, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xd3,0x8c,0x82,0x10,0xe3,0x0f,0xe3] +rorl %cl, -485498096(%edx,%eax,4) + +// CHECK: rorl %cl, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xd3,0x8c,0x82,0xf0,0x1c,0xf0,0x1c] +rorl %cl, 485498096(%edx,%eax,4) + +// CHECK: rorl %cl, 485498096(%edx) +// CHECK: encoding: [0xd3,0x8a,0xf0,0x1c,0xf0,0x1c] +rorl %cl, 485498096(%edx) + +// CHECK: rorl %cl, 485498096 +// CHECK: encoding: [0xd3,0x0d,0xf0,0x1c,0xf0,0x1c] +rorl %cl, 485498096 + +// CHECK: rorl %cl, 64(%edx,%eax) +// CHECK: encoding: [0xd3,0x4c,0x02,0x40] +rorl %cl, 64(%edx,%eax) + +// CHECK: rorl %cl, (%edx) +// CHECK: encoding: [0xd3,0x0a] +rorl %cl, (%edx) + +// CHECK: rorl %eax +// CHECK: encoding: [0xd1,0xc8] +rorl %eax + +// CHECK: rorl (%edx) +// CHECK: encoding: [0xd1,0x0a] +rorl (%edx) + +// CHECK: rorw -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xd1,0x8c,0x82,0x10,0xe3,0x0f,0xe3] +rorw -485498096(%edx,%eax,4) + +// CHECK: rorw 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xd1,0x8c,0x82,0xf0,0x1c,0xf0,0x1c] +rorw 485498096(%edx,%eax,4) + +// CHECK: rorw 485498096(%edx) +// CHECK: encoding: [0x66,0xd1,0x8a,0xf0,0x1c,0xf0,0x1c] +rorw 485498096(%edx) + +// CHECK: rorw 485498096 +// CHECK: encoding: [0x66,0xd1,0x0d,0xf0,0x1c,0xf0,0x1c] +rorw 485498096 + +// CHECK: rorw 64(%edx,%eax) +// CHECK: encoding: [0x66,0xd1,0x4c,0x02,0x40] +rorw 64(%edx,%eax) + +// CHECK: rorw %cl, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xd3,0x8c,0x82,0x10,0xe3,0x0f,0xe3] +rorw %cl, -485498096(%edx,%eax,4) + +// CHECK: rorw %cl, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xd3,0x8c,0x82,0xf0,0x1c,0xf0,0x1c] +rorw %cl, 485498096(%edx,%eax,4) + +// CHECK: rorw %cl, 485498096(%edx) +// CHECK: encoding: [0x66,0xd3,0x8a,0xf0,0x1c,0xf0,0x1c] +rorw %cl, 485498096(%edx) + +// CHECK: rorw %cl, 485498096 +// CHECK: encoding: [0x66,0xd3,0x0d,0xf0,0x1c,0xf0,0x1c] +rorw %cl, 485498096 + +// CHECK: rorw %cl, 64(%edx,%eax) +// CHECK: encoding: [0x66,0xd3,0x4c,0x02,0x40] +rorw %cl, 64(%edx,%eax) + +// CHECK: rorw %cl, (%edx) +// CHECK: encoding: [0x66,0xd3,0x0a] +rorw %cl, (%edx) + +// CHECK: rorw (%edx) +// CHECK: encoding: [0x66,0xd1,0x0a] +rorw (%edx) + +// CHECK: salc +// CHECK: encoding: [0xd6] +salc + +// CHECK: sarb -485498096(%edx,%eax,4) +// CHECK: encoding: [0xd0,0xbc,0x82,0x10,0xe3,0x0f,0xe3] +sarb -485498096(%edx,%eax,4) + +// CHECK: sarb 485498096(%edx,%eax,4) +// CHECK: encoding: [0xd0,0xbc,0x82,0xf0,0x1c,0xf0,0x1c] +sarb 485498096(%edx,%eax,4) + +// CHECK: sarb 485498096(%edx) +// CHECK: encoding: [0xd0,0xba,0xf0,0x1c,0xf0,0x1c] +sarb 485498096(%edx) + +// CHECK: sarb 485498096 +// CHECK: encoding: [0xd0,0x3d,0xf0,0x1c,0xf0,0x1c] +sarb 485498096 + +// CHECK: sarb 64(%edx,%eax) +// CHECK: encoding: [0xd0,0x7c,0x02,0x40] +sarb 64(%edx,%eax) + +// CHECK: sarb %cl, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xd2,0xbc,0x82,0x10,0xe3,0x0f,0xe3] +sarb %cl, -485498096(%edx,%eax,4) + +// CHECK: sarb %cl, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xd2,0xbc,0x82,0xf0,0x1c,0xf0,0x1c] +sarb %cl, 485498096(%edx,%eax,4) + +// CHECK: sarb %cl, 485498096(%edx) +// CHECK: encoding: [0xd2,0xba,0xf0,0x1c,0xf0,0x1c] +sarb %cl, 485498096(%edx) + +// CHECK: sarb %cl, 485498096 +// CHECK: encoding: [0xd2,0x3d,0xf0,0x1c,0xf0,0x1c] +sarb %cl, 485498096 + +// CHECK: sarb %cl, 64(%edx,%eax) +// CHECK: encoding: [0xd2,0x7c,0x02,0x40] +sarb %cl, 64(%edx,%eax) + +// CHECK: sarb %cl, (%edx) +// CHECK: encoding: [0xd2,0x3a] +sarb %cl, (%edx) + +// CHECK: sarb (%edx) +// CHECK: encoding: [0xd0,0x3a] +sarb (%edx) + +// CHECK: sarl -485498096(%edx,%eax,4) +// CHECK: encoding: [0xd1,0xbc,0x82,0x10,0xe3,0x0f,0xe3] +sarl -485498096(%edx,%eax,4) + +// CHECK: sarl 485498096(%edx,%eax,4) +// CHECK: encoding: [0xd1,0xbc,0x82,0xf0,0x1c,0xf0,0x1c] +sarl 485498096(%edx,%eax,4) + +// CHECK: sarl 485498096(%edx) +// CHECK: encoding: [0xd1,0xba,0xf0,0x1c,0xf0,0x1c] +sarl 485498096(%edx) + +// CHECK: sarl 485498096 +// CHECK: encoding: [0xd1,0x3d,0xf0,0x1c,0xf0,0x1c] +sarl 485498096 + +// CHECK: sarl 64(%edx,%eax) +// CHECK: encoding: [0xd1,0x7c,0x02,0x40] +sarl 64(%edx,%eax) + +// CHECK: sarl %cl, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xd3,0xbc,0x82,0x10,0xe3,0x0f,0xe3] +sarl %cl, -485498096(%edx,%eax,4) + +// CHECK: sarl %cl, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xd3,0xbc,0x82,0xf0,0x1c,0xf0,0x1c] +sarl %cl, 485498096(%edx,%eax,4) + +// CHECK: sarl %cl, 485498096(%edx) +// CHECK: encoding: [0xd3,0xba,0xf0,0x1c,0xf0,0x1c] +sarl %cl, 485498096(%edx) + +// CHECK: sarl %cl, 485498096 +// CHECK: encoding: [0xd3,0x3d,0xf0,0x1c,0xf0,0x1c] +sarl %cl, 485498096 + +// CHECK: sarl %cl, 64(%edx,%eax) +// CHECK: encoding: [0xd3,0x7c,0x02,0x40] +sarl %cl, 64(%edx,%eax) + +// CHECK: sarl %cl, (%edx) +// CHECK: encoding: [0xd3,0x3a] +sarl %cl, (%edx) + +// CHECK: sarl %eax +// CHECK: encoding: [0xd1,0xf8] +sarl %eax + +// CHECK: sarl (%edx) +// CHECK: encoding: [0xd1,0x3a] +sarl (%edx) + +// CHECK: sarw -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xd1,0xbc,0x82,0x10,0xe3,0x0f,0xe3] +sarw -485498096(%edx,%eax,4) + +// CHECK: sarw 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xd1,0xbc,0x82,0xf0,0x1c,0xf0,0x1c] +sarw 485498096(%edx,%eax,4) + +// CHECK: sarw 485498096(%edx) +// CHECK: encoding: [0x66,0xd1,0xba,0xf0,0x1c,0xf0,0x1c] +sarw 485498096(%edx) + +// CHECK: sarw 485498096 +// CHECK: encoding: [0x66,0xd1,0x3d,0xf0,0x1c,0xf0,0x1c] +sarw 485498096 + +// CHECK: sarw 64(%edx,%eax) +// CHECK: encoding: [0x66,0xd1,0x7c,0x02,0x40] +sarw 64(%edx,%eax) + +// CHECK: sarw %cl, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xd3,0xbc,0x82,0x10,0xe3,0x0f,0xe3] +sarw %cl, -485498096(%edx,%eax,4) + +// CHECK: sarw %cl, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xd3,0xbc,0x82,0xf0,0x1c,0xf0,0x1c] +sarw %cl, 485498096(%edx,%eax,4) + +// CHECK: sarw %cl, 485498096(%edx) +// CHECK: encoding: [0x66,0xd3,0xba,0xf0,0x1c,0xf0,0x1c] +sarw %cl, 485498096(%edx) + +// CHECK: sarw %cl, 485498096 +// CHECK: encoding: [0x66,0xd3,0x3d,0xf0,0x1c,0xf0,0x1c] +sarw %cl, 485498096 + +// CHECK: sarw %cl, 64(%edx,%eax) +// CHECK: encoding: [0x66,0xd3,0x7c,0x02,0x40] +sarw %cl, 64(%edx,%eax) + +// CHECK: sarw %cl, (%edx) +// CHECK: encoding: [0x66,0xd3,0x3a] +sarw %cl, (%edx) + +// CHECK: sarw (%edx) +// CHECK: encoding: [0x66,0xd1,0x3a] +sarw (%edx) + +// CHECK: sbbb $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x80,0x9c,0x82,0x10,0xe3,0x0f,0xe3,0x00] +sbbb $0, -485498096(%edx,%eax,4) + +// CHECK: sbbb $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x80,0x9c,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +sbbb $0, 485498096(%edx,%eax,4) + +// CHECK: sbbb $0, 485498096(%edx) +// CHECK: encoding: [0x80,0x9a,0xf0,0x1c,0xf0,0x1c,0x00] +sbbb $0, 485498096(%edx) + +// CHECK: sbbb $0, 485498096 +// CHECK: encoding: [0x80,0x1d,0xf0,0x1c,0xf0,0x1c,0x00] +sbbb $0, 485498096 + +// CHECK: sbbb $0, 64(%edx,%eax) +// CHECK: encoding: [0x80,0x5c,0x02,0x40,0x00] +sbbb $0, 64(%edx,%eax) + +// CHECK: sbbb $0, %al +// CHECK: encoding: [0x1c,0x00] +sbbb $0, %al + +// CHECK: sbbb $0, (%edx) +// CHECK: encoding: [0x80,0x1a,0x00] +sbbb $0, (%edx) + +// CHECK: sbbl $0, %eax +// CHECK: encoding: [0x83,0xd8,0x00] +sbbl $0, %eax + +// CHECK: sbbl 3809469200(%edx,%eax,4), %eax +// CHECK: encoding: [0x1b,0x84,0x82,0x10,0xe3,0x0f,0xe3] +sbbl 3809469200(%edx,%eax,4), %eax + +// CHECK: sbbl 485498096, %eax +// CHECK: encoding: [0x1b,0x05,0xf0,0x1c,0xf0,0x1c] +sbbl 485498096, %eax + +// CHECK: sbbl 485498096(%edx,%eax,4), %eax +// CHECK: encoding: [0x1b,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +sbbl 485498096(%edx,%eax,4), %eax + +// CHECK: sbbl 485498096(%edx), %eax +// CHECK: encoding: [0x1b,0x82,0xf0,0x1c,0xf0,0x1c] +sbbl 485498096(%edx), %eax + +// CHECK: sbbl 64(%edx,%eax), %eax +// CHECK: encoding: [0x1b,0x44,0x02,0x40] +sbbl 64(%edx,%eax), %eax + +// CHECK: sbbl %eax, 3809469200(%edx,%eax,4) +// CHECK: encoding: [0x19,0x84,0x82,0x10,0xe3,0x0f,0xe3] +sbbl %eax, 3809469200(%edx,%eax,4) + +// CHECK: sbbl %eax, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x19,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +sbbl %eax, 485498096(%edx,%eax,4) + +// CHECK: sbbl %eax, 485498096(%edx) +// CHECK: encoding: [0x19,0x82,0xf0,0x1c,0xf0,0x1c] +sbbl %eax, 485498096(%edx) + +// CHECK: sbbl %eax, 485498096 +// CHECK: encoding: [0x19,0x05,0xf0,0x1c,0xf0,0x1c] +sbbl %eax, 485498096 + +// CHECK: sbbl %eax, 64(%edx,%eax) +// CHECK: encoding: [0x19,0x44,0x02,0x40] +sbbl %eax, 64(%edx,%eax) + +// CHECK: sbbl %eax, %eax +// CHECK: encoding: [0x19,0xc0] +sbbl %eax, %eax + +// CHECK: sbbl %eax, (%edx) +// CHECK: encoding: [0x19,0x02] +sbbl %eax, (%edx) + +// CHECK: sbbl (%edx), %eax +// CHECK: encoding: [0x1b,0x02] +sbbl (%edx), %eax + +// CHECK: scasb %es:(%edi), %al +// CHECK: encoding: [0xae] +scasb %es:(%edi), %al + +// CHECK: scasw %es:(%edi), %ax +// CHECK: encoding: [0x66,0xaf] +scasw %es:(%edi), %ax + +// CHECK: shlb -485498096(%edx,%eax,4) +// CHECK: encoding: [0xd0,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +shlb -485498096(%edx,%eax,4) + +// CHECK: shlb 485498096(%edx,%eax,4) +// CHECK: encoding: [0xd0,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +shlb 485498096(%edx,%eax,4) + +// CHECK: shlb 485498096(%edx) +// CHECK: encoding: [0xd0,0xa2,0xf0,0x1c,0xf0,0x1c] +shlb 485498096(%edx) + +// CHECK: shlb 485498096 +// CHECK: encoding: [0xd0,0x25,0xf0,0x1c,0xf0,0x1c] +shlb 485498096 + +// CHECK: shlb 64(%edx,%eax) +// CHECK: encoding: [0xd0,0x64,0x02,0x40] +shlb 64(%edx,%eax) + +// CHECK: shlb %cl, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xd2,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +shlb %cl, -485498096(%edx,%eax,4) + +// CHECK: shlb %cl, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xd2,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +shlb %cl, 485498096(%edx,%eax,4) + +// CHECK: shlb %cl, 485498096(%edx) +// CHECK: encoding: [0xd2,0xa2,0xf0,0x1c,0xf0,0x1c] +shlb %cl, 485498096(%edx) + +// CHECK: shlb %cl, 485498096 +// CHECK: encoding: [0xd2,0x25,0xf0,0x1c,0xf0,0x1c] +shlb %cl, 485498096 + +// CHECK: shlb %cl, 64(%edx,%eax) +// CHECK: encoding: [0xd2,0x64,0x02,0x40] +shlb %cl, 64(%edx,%eax) + +// CHECK: shlb %cl, (%edx) +// CHECK: encoding: [0xd2,0x22] +shlb %cl, (%edx) + +// CHECK: shlb (%edx) +// CHECK: encoding: [0xd0,0x22] +shlb (%edx) + +// CHECK: shll -485498096(%edx,%eax,4) +// CHECK: encoding: [0xd1,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +shll -485498096(%edx,%eax,4) + +// CHECK: shll 485498096(%edx,%eax,4) +// CHECK: encoding: [0xd1,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +shll 485498096(%edx,%eax,4) + +// CHECK: shll 485498096(%edx) +// CHECK: encoding: [0xd1,0xa2,0xf0,0x1c,0xf0,0x1c] +shll 485498096(%edx) + +// CHECK: shll 485498096 +// CHECK: encoding: [0xd1,0x25,0xf0,0x1c,0xf0,0x1c] +shll 485498096 + +// CHECK: shll 64(%edx,%eax) +// CHECK: encoding: [0xd1,0x64,0x02,0x40] +shll 64(%edx,%eax) + +// CHECK: shll %cl, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xd3,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +shll %cl, -485498096(%edx,%eax,4) + +// CHECK: shll %cl, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xd3,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +shll %cl, 485498096(%edx,%eax,4) + +// CHECK: shll %cl, 485498096(%edx) +// CHECK: encoding: [0xd3,0xa2,0xf0,0x1c,0xf0,0x1c] +shll %cl, 485498096(%edx) + +// CHECK: shll %cl, 485498096 +// CHECK: encoding: [0xd3,0x25,0xf0,0x1c,0xf0,0x1c] +shll %cl, 485498096 + +// CHECK: shll %cl, 64(%edx,%eax) +// CHECK: encoding: [0xd3,0x64,0x02,0x40] +shll %cl, 64(%edx,%eax) + +// CHECK: shll %cl, (%edx) +// CHECK: encoding: [0xd3,0x22] +shll %cl, (%edx) + +// CHECK: shll %eax +// CHECK: encoding: [0xd1,0xe0] +shll %eax + +// CHECK: shll (%edx) +// CHECK: encoding: [0xd1,0x22] +shll (%edx) + +// CHECK: shlw -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xd1,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +shlw -485498096(%edx,%eax,4) + +// CHECK: shlw 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xd1,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +shlw 485498096(%edx,%eax,4) + +// CHECK: shlw 485498096(%edx) +// CHECK: encoding: [0x66,0xd1,0xa2,0xf0,0x1c,0xf0,0x1c] +shlw 485498096(%edx) + +// CHECK: shlw 485498096 +// CHECK: encoding: [0x66,0xd1,0x25,0xf0,0x1c,0xf0,0x1c] +shlw 485498096 + +// CHECK: shlw 64(%edx,%eax) +// CHECK: encoding: [0x66,0xd1,0x64,0x02,0x40] +shlw 64(%edx,%eax) + +// CHECK: shlw %cl, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xd3,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +shlw %cl, -485498096(%edx,%eax,4) + +// CHECK: shlw %cl, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xd3,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +shlw %cl, 485498096(%edx,%eax,4) + +// CHECK: shlw %cl, 485498096(%edx) +// CHECK: encoding: [0x66,0xd3,0xa2,0xf0,0x1c,0xf0,0x1c] +shlw %cl, 485498096(%edx) + +// CHECK: shlw %cl, 485498096 +// CHECK: encoding: [0x66,0xd3,0x25,0xf0,0x1c,0xf0,0x1c] +shlw %cl, 485498096 + +// CHECK: shlw %cl, 64(%edx,%eax) +// CHECK: encoding: [0x66,0xd3,0x64,0x02,0x40] +shlw %cl, 64(%edx,%eax) + +// CHECK: shlw %cl, (%edx) +// CHECK: encoding: [0x66,0xd3,0x22] +shlw %cl, (%edx) + +// CHECK: shlw (%edx) +// CHECK: encoding: [0x66,0xd1,0x22] +shlw (%edx) + +// CHECK: shrb -485498096(%edx,%eax,4) +// CHECK: encoding: [0xd0,0xac,0x82,0x10,0xe3,0x0f,0xe3] +shrb -485498096(%edx,%eax,4) + +// CHECK: shrb 485498096(%edx,%eax,4) +// CHECK: encoding: [0xd0,0xac,0x82,0xf0,0x1c,0xf0,0x1c] +shrb 485498096(%edx,%eax,4) + +// CHECK: shrb 485498096(%edx) +// CHECK: encoding: [0xd0,0xaa,0xf0,0x1c,0xf0,0x1c] +shrb 485498096(%edx) + +// CHECK: shrb 485498096 +// CHECK: encoding: [0xd0,0x2d,0xf0,0x1c,0xf0,0x1c] +shrb 485498096 + +// CHECK: shrb 64(%edx,%eax) +// CHECK: encoding: [0xd0,0x6c,0x02,0x40] +shrb 64(%edx,%eax) + +// CHECK: shrb %cl, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xd2,0xac,0x82,0x10,0xe3,0x0f,0xe3] +shrb %cl, -485498096(%edx,%eax,4) + +// CHECK: shrb %cl, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xd2,0xac,0x82,0xf0,0x1c,0xf0,0x1c] +shrb %cl, 485498096(%edx,%eax,4) + +// CHECK: shrb %cl, 485498096(%edx) +// CHECK: encoding: [0xd2,0xaa,0xf0,0x1c,0xf0,0x1c] +shrb %cl, 485498096(%edx) + +// CHECK: shrb %cl, 485498096 +// CHECK: encoding: [0xd2,0x2d,0xf0,0x1c,0xf0,0x1c] +shrb %cl, 485498096 + +// CHECK: shrb %cl, 64(%edx,%eax) +// CHECK: encoding: [0xd2,0x6c,0x02,0x40] +shrb %cl, 64(%edx,%eax) + +// CHECK: shrb %cl, (%edx) +// CHECK: encoding: [0xd2,0x2a] +shrb %cl, (%edx) + +// CHECK: shrb (%edx) +// CHECK: encoding: [0xd0,0x2a] +shrb (%edx) + +// CHECK: shrl -485498096(%edx,%eax,4) +// CHECK: encoding: [0xd1,0xac,0x82,0x10,0xe3,0x0f,0xe3] +shrl -485498096(%edx,%eax,4) + +// CHECK: shrl 485498096(%edx,%eax,4) +// CHECK: encoding: [0xd1,0xac,0x82,0xf0,0x1c,0xf0,0x1c] +shrl 485498096(%edx,%eax,4) + +// CHECK: shrl 485498096(%edx) +// CHECK: encoding: [0xd1,0xaa,0xf0,0x1c,0xf0,0x1c] +shrl 485498096(%edx) + +// CHECK: shrl 485498096 +// CHECK: encoding: [0xd1,0x2d,0xf0,0x1c,0xf0,0x1c] +shrl 485498096 + +// CHECK: shrl 64(%edx,%eax) +// CHECK: encoding: [0xd1,0x6c,0x02,0x40] +shrl 64(%edx,%eax) + +// CHECK: shrl %cl, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xd3,0xac,0x82,0x10,0xe3,0x0f,0xe3] +shrl %cl, -485498096(%edx,%eax,4) + +// CHECK: shrl %cl, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xd3,0xac,0x82,0xf0,0x1c,0xf0,0x1c] +shrl %cl, 485498096(%edx,%eax,4) + +// CHECK: shrl %cl, 485498096(%edx) +// CHECK: encoding: [0xd3,0xaa,0xf0,0x1c,0xf0,0x1c] +shrl %cl, 485498096(%edx) + +// CHECK: shrl %cl, 485498096 +// CHECK: encoding: [0xd3,0x2d,0xf0,0x1c,0xf0,0x1c] +shrl %cl, 485498096 + +// CHECK: shrl %cl, 64(%edx,%eax) +// CHECK: encoding: [0xd3,0x6c,0x02,0x40] +shrl %cl, 64(%edx,%eax) + +// CHECK: shrl %cl, (%edx) +// CHECK: encoding: [0xd3,0x2a] +shrl %cl, (%edx) + +// CHECK: shrl %eax +// CHECK: encoding: [0xd1,0xe8] +shrl %eax + +// CHECK: shrl (%edx) +// CHECK: encoding: [0xd1,0x2a] +shrl (%edx) + +// CHECK: shrw -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xd1,0xac,0x82,0x10,0xe3,0x0f,0xe3] +shrw -485498096(%edx,%eax,4) + +// CHECK: shrw 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xd1,0xac,0x82,0xf0,0x1c,0xf0,0x1c] +shrw 485498096(%edx,%eax,4) + +// CHECK: shrw 485498096(%edx) +// CHECK: encoding: [0x66,0xd1,0xaa,0xf0,0x1c,0xf0,0x1c] +shrw 485498096(%edx) + +// CHECK: shrw 485498096 +// CHECK: encoding: [0x66,0xd1,0x2d,0xf0,0x1c,0xf0,0x1c] +shrw 485498096 + +// CHECK: shrw 64(%edx,%eax) +// CHECK: encoding: [0x66,0xd1,0x6c,0x02,0x40] +shrw 64(%edx,%eax) + +// CHECK: shrw %cl, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xd3,0xac,0x82,0x10,0xe3,0x0f,0xe3] +shrw %cl, -485498096(%edx,%eax,4) + +// CHECK: shrw %cl, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xd3,0xac,0x82,0xf0,0x1c,0xf0,0x1c] +shrw %cl, 485498096(%edx,%eax,4) + +// CHECK: shrw %cl, 485498096(%edx) +// CHECK: encoding: [0x66,0xd3,0xaa,0xf0,0x1c,0xf0,0x1c] +shrw %cl, 485498096(%edx) + +// CHECK: shrw %cl, 485498096 +// CHECK: encoding: [0x66,0xd3,0x2d,0xf0,0x1c,0xf0,0x1c] +shrw %cl, 485498096 + +// CHECK: shrw %cl, 64(%edx,%eax) +// CHECK: encoding: [0x66,0xd3,0x6c,0x02,0x40] +shrw %cl, 64(%edx,%eax) + +// CHECK: shrw %cl, (%edx) +// CHECK: encoding: [0x66,0xd3,0x2a] +shrw %cl, (%edx) + +// CHECK: shrw (%edx) +// CHECK: encoding: [0x66,0xd1,0x2a] +shrw (%edx) + +// CHECK: stc +// CHECK: encoding: [0xf9] +stc + +// CHECK: std +// CHECK: encoding: [0xfd] +std + +// CHECK: sti +// CHECK: encoding: [0xfb] +sti + +// CHECK: stosb %al, %es:(%edi) +// CHECK: encoding: [0xaa] +stosb %al, %es:(%edi) + +// CHECK: stosw %ax, %es:(%edi) +// CHECK: encoding: [0x66,0xab] +stosw %ax, %es:(%edi) + +// CHECK: subb $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x80,0xac,0x82,0x10,0xe3,0x0f,0xe3,0x00] +subb $0, -485498096(%edx,%eax,4) + +// CHECK: subb $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x80,0xac,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +subb $0, 485498096(%edx,%eax,4) + +// CHECK: subb $0, 485498096(%edx) +// CHECK: encoding: [0x80,0xaa,0xf0,0x1c,0xf0,0x1c,0x00] +subb $0, 485498096(%edx) + +// CHECK: subb $0, 485498096 +// CHECK: encoding: [0x80,0x2d,0xf0,0x1c,0xf0,0x1c,0x00] +subb $0, 485498096 + +// CHECK: subb $0, 64(%edx,%eax) +// CHECK: encoding: [0x80,0x6c,0x02,0x40,0x00] +subb $0, 64(%edx,%eax) + +// CHECK: subb $0, %al +// CHECK: encoding: [0x2c,0x00] +subb $0, %al + +// CHECK: subb $0, (%edx) +// CHECK: encoding: [0x80,0x2a,0x00] +subb $0, (%edx) + +// CHECK: subl $0, %eax +// CHECK: encoding: [0x83,0xe8,0x00] +subl $0, %eax + +// CHECK: subl 3809469200(%edx,%eax,4), %eax +// CHECK: encoding: [0x2b,0x84,0x82,0x10,0xe3,0x0f,0xe3] +subl 3809469200(%edx,%eax,4), %eax + +// CHECK: subl 485498096, %eax +// CHECK: encoding: [0x2b,0x05,0xf0,0x1c,0xf0,0x1c] +subl 485498096, %eax + +// CHECK: subl 485498096(%edx,%eax,4), %eax +// CHECK: encoding: [0x2b,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +subl 485498096(%edx,%eax,4), %eax + +// CHECK: subl 485498096(%edx), %eax +// CHECK: encoding: [0x2b,0x82,0xf0,0x1c,0xf0,0x1c] +subl 485498096(%edx), %eax + +// CHECK: subl 64(%edx,%eax), %eax +// CHECK: encoding: [0x2b,0x44,0x02,0x40] +subl 64(%edx,%eax), %eax + +// CHECK: subl %eax, 3809469200(%edx,%eax,4) +// CHECK: encoding: [0x29,0x84,0x82,0x10,0xe3,0x0f,0xe3] +subl %eax, 3809469200(%edx,%eax,4) + +// CHECK: subl %eax, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x29,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +subl %eax, 485498096(%edx,%eax,4) + +// CHECK: subl %eax, 485498096(%edx) +// CHECK: encoding: [0x29,0x82,0xf0,0x1c,0xf0,0x1c] +subl %eax, 485498096(%edx) + +// CHECK: subl %eax, 485498096 +// CHECK: encoding: [0x29,0x05,0xf0,0x1c,0xf0,0x1c] +subl %eax, 485498096 + +// CHECK: subl %eax, 64(%edx,%eax) +// CHECK: encoding: [0x29,0x44,0x02,0x40] +subl %eax, 64(%edx,%eax) + +// CHECK: subl %eax, %eax +// CHECK: encoding: [0x29,0xc0] +subl %eax, %eax + +// CHECK: subl %eax, (%edx) +// CHECK: encoding: [0x29,0x02] +subl %eax, (%edx) + +// CHECK: subl (%edx), %eax +// CHECK: encoding: [0x2b,0x02] +subl (%edx), %eax + +// CHECK: testb $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xf6,0x84,0x82,0x10,0xe3,0x0f,0xe3,0x00] +testb $0, -485498096(%edx,%eax,4) + +// CHECK: testb $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xf6,0x84,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +testb $0, 485498096(%edx,%eax,4) + +// CHECK: testb $0, 485498096(%edx) +// CHECK: encoding: [0xf6,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +testb $0, 485498096(%edx) + +// CHECK: testb $0, 485498096 +// CHECK: encoding: [0xf6,0x05,0xf0,0x1c,0xf0,0x1c,0x00] +testb $0, 485498096 + +// CHECK: testb $0, 64(%edx,%eax) +// CHECK: encoding: [0xf6,0x44,0x02,0x40,0x00] +testb $0, 64(%edx,%eax) + +// CHECK: testb $0, %al +// CHECK: encoding: [0xa8,0x00] +testb $0, %al + +// CHECK: testb $0, (%edx) +// CHECK: encoding: [0xf6,0x02,0x00] +testb $0, (%edx) + +// CHECK: testl $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0xf7,0x84,0x82,0x10,0xe3,0x0f,0xe3,0x00,0x00,0x00,0x00] +testl $0, -485498096(%edx,%eax,4) + +// CHECK: testl $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0xf7,0x84,0x82,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00] +testl $0, 485498096(%edx,%eax,4) + +// CHECK: testl $0, 485498096(%edx) +// CHECK: encoding: [0xf7,0x82,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00] +testl $0, 485498096(%edx) + +// CHECK: testl $0, 485498096 +// CHECK: encoding: [0xf7,0x05,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00] +testl $0, 485498096 + +// CHECK: testl $0, 64(%edx,%eax) +// CHECK: encoding: [0xf7,0x44,0x02,0x40,0x00,0x00,0x00,0x00] +testl $0, 64(%edx,%eax) + +// CHECK: testl $0, %eax +// CHECK: encoding: [0xa9,0x00,0x00,0x00,0x00] +testl $0, %eax + +// CHECK: testl $0, (%edx) +// CHECK: encoding: [0xf7,0x02,0x00,0x00,0x00,0x00] +testl $0, (%edx) + +// CHECK: testl %eax, 3809469200(%edx,%eax,4) +// CHECK: encoding: [0x85,0x84,0x82,0x10,0xe3,0x0f,0xe3] +testl %eax, 3809469200(%edx,%eax,4) + +// CHECK: testl %eax, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x85,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +testl %eax, 485498096(%edx,%eax,4) + +// CHECK: testl %eax, 485498096(%edx) +// CHECK: encoding: [0x85,0x82,0xf0,0x1c,0xf0,0x1c] +testl %eax, 485498096(%edx) + +// CHECK: testl %eax, 485498096 +// CHECK: encoding: [0x85,0x05,0xf0,0x1c,0xf0,0x1c] +testl %eax, 485498096 + +// CHECK: testl %eax, 64(%edx,%eax) +// CHECK: encoding: [0x85,0x44,0x02,0x40] +testl %eax, 64(%edx,%eax) + +// CHECK: testl %eax, %eax +// CHECK: encoding: [0x85,0xc0] +testl %eax, %eax + +// CHECK: testl %eax, (%edx) +// CHECK: encoding: [0x85,0x02] +testl %eax, (%edx) + +// CHECK: testw $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xf7,0x84,0x82,0x10,0xe3,0x0f,0xe3,0x00,0x00] +testw $0, -485498096(%edx,%eax,4) + +// CHECK: testw $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0xf7,0x84,0x82,0xf0,0x1c,0xf0,0x1c,0x00,0x00] +testw $0, 485498096(%edx,%eax,4) + +// CHECK: testw $0, 485498096(%edx) +// CHECK: encoding: [0x66,0xf7,0x82,0xf0,0x1c,0xf0,0x1c,0x00,0x00] +testw $0, 485498096(%edx) + +// CHECK: testw $0, 485498096 +// CHECK: encoding: [0x66,0xf7,0x05,0xf0,0x1c,0xf0,0x1c,0x00,0x00] +testw $0, 485498096 + +// CHECK: testw $0, 64(%edx,%eax) +// CHECK: encoding: [0x66,0xf7,0x44,0x02,0x40,0x00,0x00] +testw $0, 64(%edx,%eax) + +// CHECK: testw $0, (%edx) +// CHECK: encoding: [0x66,0xf7,0x02,0x00,0x00] +testw $0, (%edx) + +// CHECK: xchgl %eax, 3809469200(%edx,%eax,4) +// CHECK: encoding: [0x87,0x84,0x82,0x10,0xe3,0x0f,0xe3] +xchgl %eax, 3809469200(%edx,%eax,4) + +// CHECK: xchgl %eax, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x87,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +xchgl %eax, 485498096(%edx,%eax,4) + +// CHECK: xchgl %eax, 485498096(%edx) +// CHECK: encoding: [0x87,0x82,0xf0,0x1c,0xf0,0x1c] +xchgl %eax, 485498096(%edx) + +// CHECK: xchgl %eax, 485498096 +// CHECK: encoding: [0x87,0x05,0xf0,0x1c,0xf0,0x1c] +xchgl %eax, 485498096 + +// CHECK: xchgl %eax, 64(%edx,%eax) +// CHECK: encoding: [0x87,0x44,0x02,0x40] +xchgl %eax, 64(%edx,%eax) + +// CHECK: xchgl %eax, %eax +// CHECK: encoding: [0x90] +xchgl %eax, %eax + +// CHECK: xchgl %eax, (%edx) +// CHECK: encoding: [0x87,0x02] +xchgl %eax, (%edx) + +// CHECK: xlatb +// CHECK: encoding: [0xd7] +xlatb + +// CHECK: xorb $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x80,0xb4,0x82,0x10,0xe3,0x0f,0xe3,0x00] +xorb $0, -485498096(%edx,%eax,4) + +// CHECK: xorb $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x80,0xb4,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +xorb $0, 485498096(%edx,%eax,4) + +// CHECK: xorb $0, 485498096(%edx) +// CHECK: encoding: [0x80,0xb2,0xf0,0x1c,0xf0,0x1c,0x00] +xorb $0, 485498096(%edx) + +// CHECK: xorb $0, 485498096 +// CHECK: encoding: [0x80,0x35,0xf0,0x1c,0xf0,0x1c,0x00] +xorb $0, 485498096 + +// CHECK: xorb $0, 64(%edx,%eax) +// CHECK: encoding: [0x80,0x74,0x02,0x40,0x00] +xorb $0, 64(%edx,%eax) + +// CHECK: xorb $0, %al +// CHECK: encoding: [0x34,0x00] +xorb $0, %al + +// CHECK: xorb $0, (%edx) +// CHECK: encoding: [0x80,0x32,0x00] +xorb $0, (%edx) + +// CHECK: xorl $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x83,0xb4,0x82,0x10,0xe3,0x0f,0xe3,0x00] +xorl $0, -485498096(%edx,%eax,4) + +// CHECK: xorl $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x83,0xb4,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +xorl $0, 485498096(%edx,%eax,4) + +// CHECK: xorl $0, 485498096(%edx) +// CHECK: encoding: [0x83,0xb2,0xf0,0x1c,0xf0,0x1c,0x00] +xorl $0, 485498096(%edx) + +// CHECK: xorl $0, 485498096 +// CHECK: encoding: [0x83,0x35,0xf0,0x1c,0xf0,0x1c,0x00] +xorl $0, 485498096 + +// CHECK: xorl $0, 64(%edx,%eax) +// CHECK: encoding: [0x83,0x74,0x02,0x40,0x00] +xorl $0, 64(%edx,%eax) + +// CHECK: xorl $0, %eax +// CHECK: encoding: [0x83,0xf0,0x00] +xorl $0, %eax + +// CHECK: xorl $0, (%edx) +// CHECK: encoding: [0x83,0x32,0x00] +xorl $0, (%edx) + +// CHECK: xorl 3809469200(%edx,%eax,4), %eax +// CHECK: encoding: [0x33,0x84,0x82,0x10,0xe3,0x0f,0xe3] +xorl 3809469200(%edx,%eax,4), %eax + +// CHECK: xorl 485498096, %eax +// CHECK: encoding: [0x33,0x05,0xf0,0x1c,0xf0,0x1c] +xorl 485498096, %eax + +// CHECK: xorl 485498096(%edx,%eax,4), %eax +// CHECK: encoding: [0x33,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +xorl 485498096(%edx,%eax,4), %eax + +// CHECK: xorl 485498096(%edx), %eax +// CHECK: encoding: [0x33,0x82,0xf0,0x1c,0xf0,0x1c] +xorl 485498096(%edx), %eax + +// CHECK: xorl 64(%edx,%eax), %eax +// CHECK: encoding: [0x33,0x44,0x02,0x40] +xorl 64(%edx,%eax), %eax + +// CHECK: xorl %eax, 3809469200(%edx,%eax,4) +// CHECK: encoding: [0x31,0x84,0x82,0x10,0xe3,0x0f,0xe3] +xorl %eax, 3809469200(%edx,%eax,4) + +// CHECK: xorl %eax, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x31,0x84,0x82,0xf0,0x1c,0xf0,0x1c] +xorl %eax, 485498096(%edx,%eax,4) + +// CHECK: xorl %eax, 485498096(%edx) +// CHECK: encoding: [0x31,0x82,0xf0,0x1c,0xf0,0x1c] +xorl %eax, 485498096(%edx) + +// CHECK: xorl %eax, 485498096 +// CHECK: encoding: [0x31,0x05,0xf0,0x1c,0xf0,0x1c] +xorl %eax, 485498096 + +// CHECK: xorl %eax, 64(%edx,%eax) +// CHECK: encoding: [0x31,0x44,0x02,0x40] +xorl %eax, 64(%edx,%eax) + +// CHECK: xorl %eax, %eax +// CHECK: encoding: [0x31,0xc0] +xorl %eax, %eax + +// CHECK: xorl %eax, (%edx) +// CHECK: encoding: [0x31,0x02] +xorl %eax, (%edx) + +// CHECK: xorl (%edx), %eax +// CHECK: encoding: [0x33,0x02] +xorl (%edx), %eax + +// CHECK: xorw $0, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0x83,0xb4,0x82,0x10,0xe3,0x0f,0xe3,0x00] +xorw $0, -485498096(%edx,%eax,4) + +// CHECK: xorw $0, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x66,0x83,0xb4,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +xorw $0, 485498096(%edx,%eax,4) + +// CHECK: xorw $0, 485498096(%edx) +// CHECK: encoding: [0x66,0x83,0xb2,0xf0,0x1c,0xf0,0x1c,0x00] +xorw $0, 485498096(%edx) + +// CHECK: xorw $0, 485498096 +// CHECK: encoding: [0x66,0x83,0x35,0xf0,0x1c,0xf0,0x1c,0x00] +xorw $0, 485498096 + +// CHECK: xorw $0, 64(%edx,%eax) +// CHECK: encoding: [0x66,0x83,0x74,0x02,0x40,0x00] +xorw $0, 64(%edx,%eax) + +// CHECK: xorw $0, (%edx) +// CHECK: encoding: [0x66,0x83,0x32,0x00] +xorw $0, (%edx) + diff --git a/llvm/test/MC/X86/I86-64.s b/llvm/test/MC/X86/I86-64.s new file mode 100644 index 000000000000..72412fc0bf51 --- /dev/null +++ b/llvm/test/MC/X86/I86-64.s @@ -0,0 +1,4846 @@ +// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s + +// CHECK: adcb $0, 485498096 +// CHECK: encoding: [0x80,0x14,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +adcb $0, 485498096 + +// CHECK: adcb $0, 64(%rdx) +// CHECK: encoding: [0x80,0x52,0x40,0x00] +adcb $0, 64(%rdx) + +// CHECK: adcb $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x80,0x54,0x82,0x40,0x00] +adcb $0, 64(%rdx,%rax,4) + +// CHECK: adcb $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x80,0x54,0x82,0xc0,0x00] +adcb $0, -64(%rdx,%rax,4) + +// CHECK: adcb $0, 64(%rdx,%rax) +// CHECK: encoding: [0x80,0x54,0x02,0x40,0x00] +adcb $0, 64(%rdx,%rax) + +// CHECK: adcb $0, %al +// CHECK: encoding: [0x14,0x00] +adcb $0, %al + +// CHECK: adcb $0, %r14b +// CHECK: encoding: [0x41,0x80,0xd6,0x00] +adcb $0, %r14b + +// CHECK: adcb $0, (%rdx) +// CHECK: encoding: [0x80,0x12,0x00] +adcb $0, (%rdx) + +// CHECK: adcb 485498096, %r14b +// CHECK: encoding: [0x44,0x12,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +adcb 485498096, %r14b + +// CHECK: adcb 64(%rdx), %r14b +// CHECK: encoding: [0x44,0x12,0x72,0x40] +adcb 64(%rdx), %r14b + +// CHECK: adcb 64(%rdx,%rax,4), %r14b +// CHECK: encoding: [0x44,0x12,0x74,0x82,0x40] +adcb 64(%rdx,%rax,4), %r14b + +// CHECK: adcb -64(%rdx,%rax,4), %r14b +// CHECK: encoding: [0x44,0x12,0x74,0x82,0xc0] +adcb -64(%rdx,%rax,4), %r14b + +// CHECK: adcb 64(%rdx,%rax), %r14b +// CHECK: encoding: [0x44,0x12,0x74,0x02,0x40] +adcb 64(%rdx,%rax), %r14b + +// CHECK: adcb %r14b, 485498096 +// CHECK: encoding: [0x44,0x10,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +adcb %r14b, 485498096 + +// CHECK: adcb %r14b, 64(%rdx) +// CHECK: encoding: [0x44,0x10,0x72,0x40] +adcb %r14b, 64(%rdx) + +// CHECK: adcb %r14b, 64(%rdx,%rax,4) +// CHECK: encoding: [0x44,0x10,0x74,0x82,0x40] +adcb %r14b, 64(%rdx,%rax,4) + +// CHECK: adcb %r14b, -64(%rdx,%rax,4) +// CHECK: encoding: [0x44,0x10,0x74,0x82,0xc0] +adcb %r14b, -64(%rdx,%rax,4) + +// CHECK: adcb %r14b, 64(%rdx,%rax) +// CHECK: encoding: [0x44,0x10,0x74,0x02,0x40] +adcb %r14b, 64(%rdx,%rax) + +// CHECK: adcb %r14b, %r14b +// CHECK: encoding: [0x45,0x10,0xf6] +adcb %r14b, %r14b + +// CHECK: adcb %r14b, (%rdx) +// CHECK: encoding: [0x44,0x10,0x32] +adcb %r14b, (%rdx) + +// CHECK: adcb (%rdx), %r14b +// CHECK: encoding: [0x44,0x12,0x32] +adcb (%rdx), %r14b + +// CHECK: adcl $0, 485498096 +// CHECK: encoding: [0x83,0x14,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +adcl $0, 485498096 + +// CHECK: adcl $0, 64(%rdx) +// CHECK: encoding: [0x83,0x52,0x40,0x00] +adcl $0, 64(%rdx) + +// CHECK: adcl $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x83,0x54,0x82,0x40,0x00] +adcl $0, 64(%rdx,%rax,4) + +// CHECK: adcl $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x83,0x54,0x82,0xc0,0x00] +adcl $0, -64(%rdx,%rax,4) + +// CHECK: adcl $0, 64(%rdx,%rax) +// CHECK: encoding: [0x83,0x54,0x02,0x40,0x00] +adcl $0, 64(%rdx,%rax) + +// CHECK: adcl $0, %eax +// CHECK: encoding: [0x83,0xd0,0x00] +adcl $0, %eax + +// CHECK: adcl $0, %r13d +// CHECK: encoding: [0x41,0x83,0xd5,0x00] +adcl $0, %r13d + +// CHECK: adcl $0, (%rdx) +// CHECK: encoding: [0x83,0x12,0x00] +adcl $0, (%rdx) + +// CHECK: adcl %r13d, %r13d +// CHECK: encoding: [0x45,0x11,0xed] +adcl %r13d, %r13d + +// CHECK: adcq $0, 485498096 +// CHECK: encoding: [0x48,0x83,0x14,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +adcq $0, 485498096 + +// CHECK: adcq $0, 64(%rdx) +// CHECK: encoding: [0x48,0x83,0x52,0x40,0x00] +adcq $0, 64(%rdx) + +// CHECK: adcq $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0x83,0x54,0x82,0x40,0x00] +adcq $0, 64(%rdx,%rax,4) + +// CHECK: adcq $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0x83,0x54,0x82,0xc0,0x00] +adcq $0, -64(%rdx,%rax,4) + +// CHECK: adcq $0, 64(%rdx,%rax) +// CHECK: encoding: [0x48,0x83,0x54,0x02,0x40,0x00] +adcq $0, 64(%rdx,%rax) + +// CHECK: adcq $0, (%rdx) +// CHECK: encoding: [0x48,0x83,0x12,0x00] +adcq $0, (%rdx) + +// CHECK: adcw $0, 485498096 +// CHECK: encoding: [0x66,0x83,0x14,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +adcw $0, 485498096 + +// CHECK: adcw $0, 64(%rdx) +// CHECK: encoding: [0x66,0x83,0x52,0x40,0x00] +adcw $0, 64(%rdx) + +// CHECK: adcw $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x83,0x54,0x82,0x40,0x00] +adcw $0, 64(%rdx,%rax,4) + +// CHECK: adcw $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x83,0x54,0x82,0xc0,0x00] +adcw $0, -64(%rdx,%rax,4) + +// CHECK: adcw $0, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0x83,0x54,0x02,0x40,0x00] +adcw $0, 64(%rdx,%rax) + +// CHECK: adcw $0, %r14w +// CHECK: encoding: [0x66,0x41,0x83,0xd6,0x00] +adcw $0, %r14w + +// CHECK: adcw $0, (%rdx) +// CHECK: encoding: [0x66,0x83,0x12,0x00] +adcw $0, (%rdx) + +// CHECK: adcw 485498096, %r14w +// CHECK: encoding: [0x66,0x44,0x13,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +adcw 485498096, %r14w + +// CHECK: adcw 64(%rdx), %r14w +// CHECK: encoding: [0x66,0x44,0x13,0x72,0x40] +adcw 64(%rdx), %r14w + +// CHECK: adcw 64(%rdx,%rax,4), %r14w +// CHECK: encoding: [0x66,0x44,0x13,0x74,0x82,0x40] +adcw 64(%rdx,%rax,4), %r14w + +// CHECK: adcw -64(%rdx,%rax,4), %r14w +// CHECK: encoding: [0x66,0x44,0x13,0x74,0x82,0xc0] +adcw -64(%rdx,%rax,4), %r14w + +// CHECK: adcw 64(%rdx,%rax), %r14w +// CHECK: encoding: [0x66,0x44,0x13,0x74,0x02,0x40] +adcw 64(%rdx,%rax), %r14w + +// CHECK: adcw %r14w, 485498096 +// CHECK: encoding: [0x66,0x44,0x11,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +adcw %r14w, 485498096 + +// CHECK: adcw %r14w, 64(%rdx) +// CHECK: encoding: [0x66,0x44,0x11,0x72,0x40] +adcw %r14w, 64(%rdx) + +// CHECK: adcw %r14w, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x44,0x11,0x74,0x82,0x40] +adcw %r14w, 64(%rdx,%rax,4) + +// CHECK: adcw %r14w, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x44,0x11,0x74,0x82,0xc0] +adcw %r14w, -64(%rdx,%rax,4) + +// CHECK: adcw %r14w, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0x44,0x11,0x74,0x02,0x40] +adcw %r14w, 64(%rdx,%rax) + +// CHECK: adcw %r14w, %r14w +// CHECK: encoding: [0x66,0x45,0x11,0xf6] +adcw %r14w, %r14w + +// CHECK: adcw %r14w, (%rdx) +// CHECK: encoding: [0x66,0x44,0x11,0x32] +adcw %r14w, (%rdx) + +// CHECK: adcw (%rdx), %r14w +// CHECK: encoding: [0x66,0x44,0x13,0x32] +adcw (%rdx), %r14w + +// CHECK: addb $0, 485498096 +// CHECK: encoding: [0x80,0x04,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +addb $0, 485498096 + +// CHECK: addb $0, 64(%rdx) +// CHECK: encoding: [0x80,0x42,0x40,0x00] +addb $0, 64(%rdx) + +// CHECK: addb $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x80,0x44,0x82,0x40,0x00] +addb $0, 64(%rdx,%rax,4) + +// CHECK: addb $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x80,0x44,0x82,0xc0,0x00] +addb $0, -64(%rdx,%rax,4) + +// CHECK: addb $0, 64(%rdx,%rax) +// CHECK: encoding: [0x80,0x44,0x02,0x40,0x00] +addb $0, 64(%rdx,%rax) + +// CHECK: addb $0, %al +// CHECK: encoding: [0x04,0x00] +addb $0, %al + +// CHECK: addb $0, %r14b +// CHECK: encoding: [0x41,0x80,0xc6,0x00] +addb $0, %r14b + +// CHECK: addb $0, (%rdx) +// CHECK: encoding: [0x80,0x02,0x00] +addb $0, (%rdx) + +// CHECK: addb 485498096, %r14b +// CHECK: encoding: [0x44,0x02,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +addb 485498096, %r14b + +// CHECK: addb 64(%rdx), %r14b +// CHECK: encoding: [0x44,0x02,0x72,0x40] +addb 64(%rdx), %r14b + +// CHECK: addb 64(%rdx,%rax,4), %r14b +// CHECK: encoding: [0x44,0x02,0x74,0x82,0x40] +addb 64(%rdx,%rax,4), %r14b + +// CHECK: addb -64(%rdx,%rax,4), %r14b +// CHECK: encoding: [0x44,0x02,0x74,0x82,0xc0] +addb -64(%rdx,%rax,4), %r14b + +// CHECK: addb 64(%rdx,%rax), %r14b +// CHECK: encoding: [0x44,0x02,0x74,0x02,0x40] +addb 64(%rdx,%rax), %r14b + +// CHECK: addb %r14b, 485498096 +// CHECK: encoding: [0x44,0x00,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +addb %r14b, 485498096 + +// CHECK: addb %r14b, 64(%rdx) +// CHECK: encoding: [0x44,0x00,0x72,0x40] +addb %r14b, 64(%rdx) + +// CHECK: addb %r14b, 64(%rdx,%rax,4) +// CHECK: encoding: [0x44,0x00,0x74,0x82,0x40] +addb %r14b, 64(%rdx,%rax,4) + +// CHECK: addb %r14b, -64(%rdx,%rax,4) +// CHECK: encoding: [0x44,0x00,0x74,0x82,0xc0] +addb %r14b, -64(%rdx,%rax,4) + +// CHECK: addb %r14b, 64(%rdx,%rax) +// CHECK: encoding: [0x44,0x00,0x74,0x02,0x40] +addb %r14b, 64(%rdx,%rax) + +// CHECK: addb %r14b, %r14b +// CHECK: encoding: [0x45,0x00,0xf6] +addb %r14b, %r14b + +// CHECK: addb %r14b, (%rdx) +// CHECK: encoding: [0x44,0x00,0x32] +addb %r14b, (%rdx) + +// CHECK: addb (%rdx), %r14b +// CHECK: encoding: [0x44,0x02,0x32] +addb (%rdx), %r14b + +// CHECK: addl $0, 485498096 +// CHECK: encoding: [0x83,0x04,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +addl $0, 485498096 + +// CHECK: addl $0, 64(%rdx) +// CHECK: encoding: [0x83,0x42,0x40,0x00] +addl $0, 64(%rdx) + +// CHECK: addl $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x83,0x44,0x82,0x40,0x00] +addl $0, 64(%rdx,%rax,4) + +// CHECK: addl $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x83,0x44,0x82,0xc0,0x00] +addl $0, -64(%rdx,%rax,4) + +// CHECK: addl $0, 64(%rdx,%rax) +// CHECK: encoding: [0x83,0x44,0x02,0x40,0x00] +addl $0, 64(%rdx,%rax) + +// CHECK: addl $0, %eax +// CHECK: encoding: [0x83,0xc0,0x00] +addl $0, %eax + +// CHECK: addl $0, %r13d +// CHECK: encoding: [0x41,0x83,0xc5,0x00] +addl $0, %r13d + +// CHECK: addl $0, (%rdx) +// CHECK: encoding: [0x83,0x02,0x00] +addl $0, (%rdx) + +// CHECK: addl %r13d, %r13d +// CHECK: encoding: [0x45,0x01,0xed] +addl %r13d, %r13d + +// CHECK: addq $0, 485498096 +// CHECK: encoding: [0x48,0x83,0x04,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +addq $0, 485498096 + +// CHECK: addq $0, 64(%rdx) +// CHECK: encoding: [0x48,0x83,0x42,0x40,0x00] +addq $0, 64(%rdx) + +// CHECK: addq $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0x83,0x44,0x82,0x40,0x00] +addq $0, 64(%rdx,%rax,4) + +// CHECK: addq $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0x83,0x44,0x82,0xc0,0x00] +addq $0, -64(%rdx,%rax,4) + +// CHECK: addq $0, 64(%rdx,%rax) +// CHECK: encoding: [0x48,0x83,0x44,0x02,0x40,0x00] +addq $0, 64(%rdx,%rax) + +// CHECK: addq $0, (%rdx) +// CHECK: encoding: [0x48,0x83,0x02,0x00] +addq $0, (%rdx) + +// CHECK: addw $0, 485498096 +// CHECK: encoding: [0x66,0x83,0x04,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +addw $0, 485498096 + +// CHECK: addw $0, 64(%rdx) +// CHECK: encoding: [0x66,0x83,0x42,0x40,0x00] +addw $0, 64(%rdx) + +// CHECK: addw $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x83,0x44,0x82,0x40,0x00] +addw $0, 64(%rdx,%rax,4) + +// CHECK: addw $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x83,0x44,0x82,0xc0,0x00] +addw $0, -64(%rdx,%rax,4) + +// CHECK: addw $0, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0x83,0x44,0x02,0x40,0x00] +addw $0, 64(%rdx,%rax) + +// CHECK: addw $0, %r14w +// CHECK: encoding: [0x66,0x41,0x83,0xc6,0x00] +addw $0, %r14w + +// CHECK: addw $0, (%rdx) +// CHECK: encoding: [0x66,0x83,0x02,0x00] +addw $0, (%rdx) + +// CHECK: addw 485498096, %r14w +// CHECK: encoding: [0x66,0x44,0x03,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +addw 485498096, %r14w + +// CHECK: addw 64(%rdx), %r14w +// CHECK: encoding: [0x66,0x44,0x03,0x72,0x40] +addw 64(%rdx), %r14w + +// CHECK: addw 64(%rdx,%rax,4), %r14w +// CHECK: encoding: [0x66,0x44,0x03,0x74,0x82,0x40] +addw 64(%rdx,%rax,4), %r14w + +// CHECK: addw -64(%rdx,%rax,4), %r14w +// CHECK: encoding: [0x66,0x44,0x03,0x74,0x82,0xc0] +addw -64(%rdx,%rax,4), %r14w + +// CHECK: addw 64(%rdx,%rax), %r14w +// CHECK: encoding: [0x66,0x44,0x03,0x74,0x02,0x40] +addw 64(%rdx,%rax), %r14w + +// CHECK: addw %r14w, 485498096 +// CHECK: encoding: [0x66,0x44,0x01,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +addw %r14w, 485498096 + +// CHECK: addw %r14w, 64(%rdx) +// CHECK: encoding: [0x66,0x44,0x01,0x72,0x40] +addw %r14w, 64(%rdx) + +// CHECK: addw %r14w, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x44,0x01,0x74,0x82,0x40] +addw %r14w, 64(%rdx,%rax,4) + +// CHECK: addw %r14w, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x44,0x01,0x74,0x82,0xc0] +addw %r14w, -64(%rdx,%rax,4) + +// CHECK: addw %r14w, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0x44,0x01,0x74,0x02,0x40] +addw %r14w, 64(%rdx,%rax) + +// CHECK: addw %r14w, %r14w +// CHECK: encoding: [0x66,0x45,0x01,0xf6] +addw %r14w, %r14w + +// CHECK: addw %r14w, (%rdx) +// CHECK: encoding: [0x66,0x44,0x01,0x32] +addw %r14w, (%rdx) + +// CHECK: addw (%rdx), %r14w +// CHECK: encoding: [0x66,0x44,0x03,0x32] +addw (%rdx), %r14w + +// CHECK: andb $0, 485498096 +// CHECK: encoding: [0x80,0x24,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +andb $0, 485498096 + +// CHECK: andb $0, 64(%rdx) +// CHECK: encoding: [0x80,0x62,0x40,0x00] +andb $0, 64(%rdx) + +// CHECK: andb $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x80,0x64,0x82,0x40,0x00] +andb $0, 64(%rdx,%rax,4) + +// CHECK: andb $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x80,0x64,0x82,0xc0,0x00] +andb $0, -64(%rdx,%rax,4) + +// CHECK: andb $0, 64(%rdx,%rax) +// CHECK: encoding: [0x80,0x64,0x02,0x40,0x00] +andb $0, 64(%rdx,%rax) + +// CHECK: andb $0, %al +// CHECK: encoding: [0x24,0x00] +andb $0, %al + +// CHECK: andb $0, %r14b +// CHECK: encoding: [0x41,0x80,0xe6,0x00] +andb $0, %r14b + +// CHECK: andb $0, (%rdx) +// CHECK: encoding: [0x80,0x22,0x00] +andb $0, (%rdx) + +// CHECK: andb 485498096, %r14b +// CHECK: encoding: [0x44,0x22,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +andb 485498096, %r14b + +// CHECK: andb 64(%rdx), %r14b +// CHECK: encoding: [0x44,0x22,0x72,0x40] +andb 64(%rdx), %r14b + +// CHECK: andb 64(%rdx,%rax,4), %r14b +// CHECK: encoding: [0x44,0x22,0x74,0x82,0x40] +andb 64(%rdx,%rax,4), %r14b + +// CHECK: andb -64(%rdx,%rax,4), %r14b +// CHECK: encoding: [0x44,0x22,0x74,0x82,0xc0] +andb -64(%rdx,%rax,4), %r14b + +// CHECK: andb 64(%rdx,%rax), %r14b +// CHECK: encoding: [0x44,0x22,0x74,0x02,0x40] +andb 64(%rdx,%rax), %r14b + +// CHECK: andb %r14b, 485498096 +// CHECK: encoding: [0x44,0x20,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +andb %r14b, 485498096 + +// CHECK: andb %r14b, 64(%rdx) +// CHECK: encoding: [0x44,0x20,0x72,0x40] +andb %r14b, 64(%rdx) + +// CHECK: andb %r14b, 64(%rdx,%rax,4) +// CHECK: encoding: [0x44,0x20,0x74,0x82,0x40] +andb %r14b, 64(%rdx,%rax,4) + +// CHECK: andb %r14b, -64(%rdx,%rax,4) +// CHECK: encoding: [0x44,0x20,0x74,0x82,0xc0] +andb %r14b, -64(%rdx,%rax,4) + +// CHECK: andb %r14b, 64(%rdx,%rax) +// CHECK: encoding: [0x44,0x20,0x74,0x02,0x40] +andb %r14b, 64(%rdx,%rax) + +// CHECK: andb %r14b, %r14b +// CHECK: encoding: [0x45,0x20,0xf6] +andb %r14b, %r14b + +// CHECK: andb %r14b, (%rdx) +// CHECK: encoding: [0x44,0x20,0x32] +andb %r14b, (%rdx) + +// CHECK: andb (%rdx), %r14b +// CHECK: encoding: [0x44,0x22,0x32] +andb (%rdx), %r14b + +// CHECK: andl $0, 485498096 +// CHECK: encoding: [0x83,0x24,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +andl $0, 485498096 + +// CHECK: andl $0, 64(%rdx) +// CHECK: encoding: [0x83,0x62,0x40,0x00] +andl $0, 64(%rdx) + +// CHECK: andl $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x83,0x64,0x82,0x40,0x00] +andl $0, 64(%rdx,%rax,4) + +// CHECK: andl $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x83,0x64,0x82,0xc0,0x00] +andl $0, -64(%rdx,%rax,4) + +// CHECK: andl $0, 64(%rdx,%rax) +// CHECK: encoding: [0x83,0x64,0x02,0x40,0x00] +andl $0, 64(%rdx,%rax) + +// CHECK: andl $0, %eax +// CHECK: encoding: [0x83,0xe0,0x00] +andl $0, %eax + +// CHECK: andl $0, %r13d +// CHECK: encoding: [0x41,0x83,0xe5,0x00] +andl $0, %r13d + +// CHECK: andl $0, (%rdx) +// CHECK: encoding: [0x83,0x22,0x00] +andl $0, (%rdx) + +// CHECK: andl %r13d, %r13d +// CHECK: encoding: [0x45,0x21,0xed] +andl %r13d, %r13d + +// CHECK: andq $0, 485498096 +// CHECK: encoding: [0x48,0x83,0x24,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +andq $0, 485498096 + +// CHECK: andq $0, 64(%rdx) +// CHECK: encoding: [0x48,0x83,0x62,0x40,0x00] +andq $0, 64(%rdx) + +// CHECK: andq $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0x83,0x64,0x82,0x40,0x00] +andq $0, 64(%rdx,%rax,4) + +// CHECK: andq $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0x83,0x64,0x82,0xc0,0x00] +andq $0, -64(%rdx,%rax,4) + +// CHECK: andq $0, 64(%rdx,%rax) +// CHECK: encoding: [0x48,0x83,0x64,0x02,0x40,0x00] +andq $0, 64(%rdx,%rax) + +// CHECK: andq $0, (%rdx) +// CHECK: encoding: [0x48,0x83,0x22,0x00] +andq $0, (%rdx) + +// CHECK: andw $0, 485498096 +// CHECK: encoding: [0x66,0x83,0x24,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +andw $0, 485498096 + +// CHECK: andw $0, 64(%rdx) +// CHECK: encoding: [0x66,0x83,0x62,0x40,0x00] +andw $0, 64(%rdx) + +// CHECK: andw $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x83,0x64,0x82,0x40,0x00] +andw $0, 64(%rdx,%rax,4) + +// CHECK: andw $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x83,0x64,0x82,0xc0,0x00] +andw $0, -64(%rdx,%rax,4) + +// CHECK: andw $0, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0x83,0x64,0x02,0x40,0x00] +andw $0, 64(%rdx,%rax) + +// CHECK: andw $0, %r14w +// CHECK: encoding: [0x66,0x41,0x83,0xe6,0x00] +andw $0, %r14w + +// CHECK: andw $0, (%rdx) +// CHECK: encoding: [0x66,0x83,0x22,0x00] +andw $0, (%rdx) + +// CHECK: andw 485498096, %r14w +// CHECK: encoding: [0x66,0x44,0x23,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +andw 485498096, %r14w + +// CHECK: andw 64(%rdx), %r14w +// CHECK: encoding: [0x66,0x44,0x23,0x72,0x40] +andw 64(%rdx), %r14w + +// CHECK: andw 64(%rdx,%rax,4), %r14w +// CHECK: encoding: [0x66,0x44,0x23,0x74,0x82,0x40] +andw 64(%rdx,%rax,4), %r14w + +// CHECK: andw -64(%rdx,%rax,4), %r14w +// CHECK: encoding: [0x66,0x44,0x23,0x74,0x82,0xc0] +andw -64(%rdx,%rax,4), %r14w + +// CHECK: andw 64(%rdx,%rax), %r14w +// CHECK: encoding: [0x66,0x44,0x23,0x74,0x02,0x40] +andw 64(%rdx,%rax), %r14w + +// CHECK: andw %r14w, 485498096 +// CHECK: encoding: [0x66,0x44,0x21,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +andw %r14w, 485498096 + +// CHECK: andw %r14w, 64(%rdx) +// CHECK: encoding: [0x66,0x44,0x21,0x72,0x40] +andw %r14w, 64(%rdx) + +// CHECK: andw %r14w, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x44,0x21,0x74,0x82,0x40] +andw %r14w, 64(%rdx,%rax,4) + +// CHECK: andw %r14w, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x44,0x21,0x74,0x82,0xc0] +andw %r14w, -64(%rdx,%rax,4) + +// CHECK: andw %r14w, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0x44,0x21,0x74,0x02,0x40] +andw %r14w, 64(%rdx,%rax) + +// CHECK: andw %r14w, %r14w +// CHECK: encoding: [0x66,0x45,0x21,0xf6] +andw %r14w, %r14w + +// CHECK: andw %r14w, (%rdx) +// CHECK: encoding: [0x66,0x44,0x21,0x32] +andw %r14w, (%rdx) + +// CHECK: andw (%rdx), %r14w +// CHECK: encoding: [0x66,0x44,0x23,0x32] +andw (%rdx), %r14w + +// CHECK: callq 64 +// CHECK: encoding: [0xe8,A,A,A,A] +callq 64 + +// CHECK: callw 64 +// CHECK: encoding: [0x66,0xe8,A,A] +callw 64 + +// CHECK: cbtw +// CHECK: encoding: [0x66,0x98] +cbtw + +// CHECK: clc +// CHECK: encoding: [0xf8] +clc + +// CHECK: cld +// CHECK: encoding: [0xfc] +cld + +// CHECK: cli +// CHECK: encoding: [0xfa] +cli + +// CHECK: cltd +// CHECK: encoding: [0x99] +cltd + +// CHECK: cmc +// CHECK: encoding: [0xf5] +cmc + +// CHECK: cmpb $0, 485498096 +// CHECK: encoding: [0x80,0x3c,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +cmpb $0, 485498096 + +// CHECK: cmpb $0, 64(%rdx) +// CHECK: encoding: [0x80,0x7a,0x40,0x00] +cmpb $0, 64(%rdx) + +// CHECK: cmpb $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x80,0x7c,0x82,0x40,0x00] +cmpb $0, 64(%rdx,%rax,4) + +// CHECK: cmpb $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x80,0x7c,0x82,0xc0,0x00] +cmpb $0, -64(%rdx,%rax,4) + +// CHECK: cmpb $0, 64(%rdx,%rax) +// CHECK: encoding: [0x80,0x7c,0x02,0x40,0x00] +cmpb $0, 64(%rdx,%rax) + +// CHECK: cmpb $0, %al +// CHECK: encoding: [0x3c,0x00] +cmpb $0, %al + +// CHECK: cmpb $0, %r14b +// CHECK: encoding: [0x41,0x80,0xfe,0x00] +cmpb $0, %r14b + +// CHECK: cmpb $0, (%rdx) +// CHECK: encoding: [0x80,0x3a,0x00] +cmpb $0, (%rdx) + +// CHECK: cmpb 485498096, %r14b +// CHECK: encoding: [0x44,0x3a,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +cmpb 485498096, %r14b + +// CHECK: cmpb 64(%rdx), %r14b +// CHECK: encoding: [0x44,0x3a,0x72,0x40] +cmpb 64(%rdx), %r14b + +// CHECK: cmpb 64(%rdx,%rax,4), %r14b +// CHECK: encoding: [0x44,0x3a,0x74,0x82,0x40] +cmpb 64(%rdx,%rax,4), %r14b + +// CHECK: cmpb -64(%rdx,%rax,4), %r14b +// CHECK: encoding: [0x44,0x3a,0x74,0x82,0xc0] +cmpb -64(%rdx,%rax,4), %r14b + +// CHECK: cmpb 64(%rdx,%rax), %r14b +// CHECK: encoding: [0x44,0x3a,0x74,0x02,0x40] +cmpb 64(%rdx,%rax), %r14b + +// CHECK: cmpb %r14b, 485498096 +// CHECK: encoding: [0x44,0x38,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +cmpb %r14b, 485498096 + +// CHECK: cmpb %r14b, 64(%rdx) +// CHECK: encoding: [0x44,0x38,0x72,0x40] +cmpb %r14b, 64(%rdx) + +// CHECK: cmpb %r14b, 64(%rdx,%rax,4) +// CHECK: encoding: [0x44,0x38,0x74,0x82,0x40] +cmpb %r14b, 64(%rdx,%rax,4) + +// CHECK: cmpb %r14b, -64(%rdx,%rax,4) +// CHECK: encoding: [0x44,0x38,0x74,0x82,0xc0] +cmpb %r14b, -64(%rdx,%rax,4) + +// CHECK: cmpb %r14b, 64(%rdx,%rax) +// CHECK: encoding: [0x44,0x38,0x74,0x02,0x40] +cmpb %r14b, 64(%rdx,%rax) + +// CHECK: cmpb %r14b, %r14b +// CHECK: encoding: [0x45,0x38,0xf6] +cmpb %r14b, %r14b + +// CHECK: cmpb %r14b, (%rdx) +// CHECK: encoding: [0x44,0x38,0x32] +cmpb %r14b, (%rdx) + +// CHECK: cmpb (%rdx), %r14b +// CHECK: encoding: [0x44,0x3a,0x32] +cmpb (%rdx), %r14b + +// CHECK: cmpl $0, 485498096 +// CHECK: encoding: [0x83,0x3c,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +cmpl $0, 485498096 + +// CHECK: cmpl $0, 64(%rdx) +// CHECK: encoding: [0x83,0x7a,0x40,0x00] +cmpl $0, 64(%rdx) + +// CHECK: cmpl $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x83,0x7c,0x82,0x40,0x00] +cmpl $0, 64(%rdx,%rax,4) + +// CHECK: cmpl $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x83,0x7c,0x82,0xc0,0x00] +cmpl $0, -64(%rdx,%rax,4) + +// CHECK: cmpl $0, 64(%rdx,%rax) +// CHECK: encoding: [0x83,0x7c,0x02,0x40,0x00] +cmpl $0, 64(%rdx,%rax) + +// CHECK: cmpl $0, %eax +// CHECK: encoding: [0x83,0xf8,0x00] +cmpl $0, %eax + +// CHECK: cmpl $0, %r13d +// CHECK: encoding: [0x41,0x83,0xfd,0x00] +cmpl $0, %r13d + +// CHECK: cmpl $0, (%rdx) +// CHECK: encoding: [0x83,0x3a,0x00] +cmpl $0, (%rdx) + +// CHECK: cmpl %r13d, %r13d +// CHECK: encoding: [0x45,0x39,0xed] +cmpl %r13d, %r13d + +// CHECK: cmpq $0, 485498096 +// CHECK: encoding: [0x48,0x83,0x3c,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +cmpq $0, 485498096 + +// CHECK: cmpq $0, 64(%rdx) +// CHECK: encoding: [0x48,0x83,0x7a,0x40,0x00] +cmpq $0, 64(%rdx) + +// CHECK: cmpq $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0x83,0x7c,0x82,0x40,0x00] +cmpq $0, 64(%rdx,%rax,4) + +// CHECK: cmpq $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0x83,0x7c,0x82,0xc0,0x00] +cmpq $0, -64(%rdx,%rax,4) + +// CHECK: cmpq $0, 64(%rdx,%rax) +// CHECK: encoding: [0x48,0x83,0x7c,0x02,0x40,0x00] +cmpq $0, 64(%rdx,%rax) + +// CHECK: cmpq $0, (%rdx) +// CHECK: encoding: [0x48,0x83,0x3a,0x00] +cmpq $0, (%rdx) + +// CHECK: cmpsb %es:(%rdi), %gs:(%rsi) +// CHECK: encoding: [0x65,0xa6] +cmpsb %es:(%rdi), %gs:(%rsi) + +// CHECK: cmpsl %es:(%rdi), %gs:(%rsi) +// CHECK: encoding: [0x65,0xa7] +cmpsl %es:(%rdi), %gs:(%rsi) + +// CHECK: cmpsq %es:(%rdi), %gs:(%rsi) +// CHECK: encoding: [0x48,0x65,0xa7] +cmpsq %es:(%rdi), %gs:(%rsi) + +// CHECK: cmpsw %es:(%rdi), %gs:(%rsi) +// CHECK: encoding: [0x66,0x65,0xa7] +cmpsw %es:(%rdi), %gs:(%rsi) + +// CHECK: cmpw $0, 485498096 +// CHECK: encoding: [0x66,0x83,0x3c,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +cmpw $0, 485498096 + +// CHECK: cmpw $0, 64(%rdx) +// CHECK: encoding: [0x66,0x83,0x7a,0x40,0x00] +cmpw $0, 64(%rdx) + +// CHECK: cmpw $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x83,0x7c,0x82,0x40,0x00] +cmpw $0, 64(%rdx,%rax,4) + +// CHECK: cmpw $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x83,0x7c,0x82,0xc0,0x00] +cmpw $0, -64(%rdx,%rax,4) + +// CHECK: cmpw $0, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0x83,0x7c,0x02,0x40,0x00] +cmpw $0, 64(%rdx,%rax) + +// CHECK: cmpw $0, %r14w +// CHECK: encoding: [0x66,0x41,0x83,0xfe,0x00] +cmpw $0, %r14w + +// CHECK: cmpw $0, (%rdx) +// CHECK: encoding: [0x66,0x83,0x3a,0x00] +cmpw $0, (%rdx) + +// CHECK: cmpw 485498096, %r14w +// CHECK: encoding: [0x66,0x44,0x3b,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +cmpw 485498096, %r14w + +// CHECK: cmpw 64(%rdx), %r14w +// CHECK: encoding: [0x66,0x44,0x3b,0x72,0x40] +cmpw 64(%rdx), %r14w + +// CHECK: cmpw 64(%rdx,%rax,4), %r14w +// CHECK: encoding: [0x66,0x44,0x3b,0x74,0x82,0x40] +cmpw 64(%rdx,%rax,4), %r14w + +// CHECK: cmpw -64(%rdx,%rax,4), %r14w +// CHECK: encoding: [0x66,0x44,0x3b,0x74,0x82,0xc0] +cmpw -64(%rdx,%rax,4), %r14w + +// CHECK: cmpw 64(%rdx,%rax), %r14w +// CHECK: encoding: [0x66,0x44,0x3b,0x74,0x02,0x40] +cmpw 64(%rdx,%rax), %r14w + +// CHECK: cmpw %r14w, 485498096 +// CHECK: encoding: [0x66,0x44,0x39,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +cmpw %r14w, 485498096 + +// CHECK: cmpw %r14w, 64(%rdx) +// CHECK: encoding: [0x66,0x44,0x39,0x72,0x40] +cmpw %r14w, 64(%rdx) + +// CHECK: cmpw %r14w, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x44,0x39,0x74,0x82,0x40] +cmpw %r14w, 64(%rdx,%rax,4) + +// CHECK: cmpw %r14w, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x44,0x39,0x74,0x82,0xc0] +cmpw %r14w, -64(%rdx,%rax,4) + +// CHECK: cmpw %r14w, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0x44,0x39,0x74,0x02,0x40] +cmpw %r14w, 64(%rdx,%rax) + +// CHECK: cmpw %r14w, %r14w +// CHECK: encoding: [0x66,0x45,0x39,0xf6] +cmpw %r14w, %r14w + +// CHECK: cmpw %r14w, (%rdx) +// CHECK: encoding: [0x66,0x44,0x39,0x32] +cmpw %r14w, (%rdx) + +// CHECK: cmpw (%rdx), %r14w +// CHECK: encoding: [0x66,0x44,0x3b,0x32] +cmpw (%rdx), %r14w + +// CHECK: cwtd +// CHECK: encoding: [0x66,0x99] +cwtd + +// CHECK: decb 485498096 +// CHECK: encoding: [0xfe,0x0c,0x25,0xf0,0x1c,0xf0,0x1c] +decb 485498096 + +// CHECK: decb 64(%rdx) +// CHECK: encoding: [0xfe,0x4a,0x40] +decb 64(%rdx) + +// CHECK: decb 64(%rdx,%rax,4) +// CHECK: encoding: [0xfe,0x4c,0x82,0x40] +decb 64(%rdx,%rax,4) + +// CHECK: decb -64(%rdx,%rax,4) +// CHECK: encoding: [0xfe,0x4c,0x82,0xc0] +decb -64(%rdx,%rax,4) + +// CHECK: decb 64(%rdx,%rax) +// CHECK: encoding: [0xfe,0x4c,0x02,0x40] +decb 64(%rdx,%rax) + +// CHECK: decb %r14b +// CHECK: encoding: [0x41,0xfe,0xce] +decb %r14b + +// CHECK: decb (%rdx) +// CHECK: encoding: [0xfe,0x0a] +decb (%rdx) + +// CHECK: decl 485498096 +// CHECK: encoding: [0xff,0x0c,0x25,0xf0,0x1c,0xf0,0x1c] +decl 485498096 + +// CHECK: decl 64(%rdx) +// CHECK: encoding: [0xff,0x4a,0x40] +decl 64(%rdx) + +// CHECK: decl 64(%rdx,%rax,4) +// CHECK: encoding: [0xff,0x4c,0x82,0x40] +decl 64(%rdx,%rax,4) + +// CHECK: decl -64(%rdx,%rax,4) +// CHECK: encoding: [0xff,0x4c,0x82,0xc0] +decl -64(%rdx,%rax,4) + +// CHECK: decl 64(%rdx,%rax) +// CHECK: encoding: [0xff,0x4c,0x02,0x40] +decl 64(%rdx,%rax) + +// CHECK: decl %r13d +// CHECK: encoding: [0x41,0xff,0xcd] +decl %r13d + +// CHECK: decl (%rdx) +// CHECK: encoding: [0xff,0x0a] +decl (%rdx) + +// CHECK: decq 485498096 +// CHECK: encoding: [0x48,0xff,0x0c,0x25,0xf0,0x1c,0xf0,0x1c] +decq 485498096 + +// CHECK: decq 64(%rdx) +// CHECK: encoding: [0x48,0xff,0x4a,0x40] +decq 64(%rdx) + +// CHECK: decq 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xff,0x4c,0x82,0x40] +decq 64(%rdx,%rax,4) + +// CHECK: decq -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xff,0x4c,0x82,0xc0] +decq -64(%rdx,%rax,4) + +// CHECK: decq 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xff,0x4c,0x02,0x40] +decq 64(%rdx,%rax) + +// CHECK: decq (%rdx) +// CHECK: encoding: [0x48,0xff,0x0a] +decq (%rdx) + +// CHECK: decw 485498096 +// CHECK: encoding: [0x66,0xff,0x0c,0x25,0xf0,0x1c,0xf0,0x1c] +decw 485498096 + +// CHECK: decw 64(%rdx) +// CHECK: encoding: [0x66,0xff,0x4a,0x40] +decw 64(%rdx) + +// CHECK: decw 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xff,0x4c,0x82,0x40] +decw 64(%rdx,%rax,4) + +// CHECK: decw -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xff,0x4c,0x82,0xc0] +decw -64(%rdx,%rax,4) + +// CHECK: decw 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xff,0x4c,0x02,0x40] +decw 64(%rdx,%rax) + +// CHECK: decw %r14w +// CHECK: encoding: [0x66,0x41,0xff,0xce] +decw %r14w + +// CHECK: decw (%rdx) +// CHECK: encoding: [0x66,0xff,0x0a] +decw (%rdx) + +// CHECK: divb 485498096 +// CHECK: encoding: [0xf6,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +divb 485498096 + +// CHECK: divb 64(%rdx) +// CHECK: encoding: [0xf6,0x72,0x40] +divb 64(%rdx) + +// CHECK: divb 64(%rdx,%rax,4) +// CHECK: encoding: [0xf6,0x74,0x82,0x40] +divb 64(%rdx,%rax,4) + +// CHECK: divb -64(%rdx,%rax,4) +// CHECK: encoding: [0xf6,0x74,0x82,0xc0] +divb -64(%rdx,%rax,4) + +// CHECK: divb 64(%rdx,%rax) +// CHECK: encoding: [0xf6,0x74,0x02,0x40] +divb 64(%rdx,%rax) + +// CHECK: divb %r14b +// CHECK: encoding: [0x41,0xf6,0xf6] +divb %r14b + +// CHECK: divb (%rdx) +// CHECK: encoding: [0xf6,0x32] +divb (%rdx) + +// CHECK: divl 485498096 +// CHECK: encoding: [0xf7,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +divl 485498096 + +// CHECK: divl 64(%rdx) +// CHECK: encoding: [0xf7,0x72,0x40] +divl 64(%rdx) + +// CHECK: divl 64(%rdx,%rax,4) +// CHECK: encoding: [0xf7,0x74,0x82,0x40] +divl 64(%rdx,%rax,4) + +// CHECK: divl -64(%rdx,%rax,4) +// CHECK: encoding: [0xf7,0x74,0x82,0xc0] +divl -64(%rdx,%rax,4) + +// CHECK: divl 64(%rdx,%rax) +// CHECK: encoding: [0xf7,0x74,0x02,0x40] +divl 64(%rdx,%rax) + +// CHECK: divl %r13d +// CHECK: encoding: [0x41,0xf7,0xf5] +divl %r13d + +// CHECK: divl (%rdx) +// CHECK: encoding: [0xf7,0x32] +divl (%rdx) + +// CHECK: divq 485498096 +// CHECK: encoding: [0x48,0xf7,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +divq 485498096 + +// CHECK: divq 64(%rdx) +// CHECK: encoding: [0x48,0xf7,0x72,0x40] +divq 64(%rdx) + +// CHECK: divq 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xf7,0x74,0x82,0x40] +divq 64(%rdx,%rax,4) + +// CHECK: divq -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xf7,0x74,0x82,0xc0] +divq -64(%rdx,%rax,4) + +// CHECK: divq 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xf7,0x74,0x02,0x40] +divq 64(%rdx,%rax) + +// CHECK: divq (%rdx) +// CHECK: encoding: [0x48,0xf7,0x32] +divq (%rdx) + +// CHECK: divw 485498096 +// CHECK: encoding: [0x66,0xf7,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +divw 485498096 + +// CHECK: divw 64(%rdx) +// CHECK: encoding: [0x66,0xf7,0x72,0x40] +divw 64(%rdx) + +// CHECK: divw 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xf7,0x74,0x82,0x40] +divw 64(%rdx,%rax,4) + +// CHECK: divw -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xf7,0x74,0x82,0xc0] +divw -64(%rdx,%rax,4) + +// CHECK: divw 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xf7,0x74,0x02,0x40] +divw 64(%rdx,%rax) + +// CHECK: divw %r14w +// CHECK: encoding: [0x66,0x41,0xf7,0xf6] +divw %r14w + +// CHECK: divw (%rdx) +// CHECK: encoding: [0x66,0xf7,0x32] +divw (%rdx) + +// CHECK: hlt +// CHECK: encoding: [0xf4] +hlt + +// CHECK: idivb 485498096 +// CHECK: encoding: [0xf6,0x3c,0x25,0xf0,0x1c,0xf0,0x1c] +idivb 485498096 + +// CHECK: idivb 64(%rdx) +// CHECK: encoding: [0xf6,0x7a,0x40] +idivb 64(%rdx) + +// CHECK: idivb 64(%rdx,%rax,4) +// CHECK: encoding: [0xf6,0x7c,0x82,0x40] +idivb 64(%rdx,%rax,4) + +// CHECK: idivb -64(%rdx,%rax,4) +// CHECK: encoding: [0xf6,0x7c,0x82,0xc0] +idivb -64(%rdx,%rax,4) + +// CHECK: idivb 64(%rdx,%rax) +// CHECK: encoding: [0xf6,0x7c,0x02,0x40] +idivb 64(%rdx,%rax) + +// CHECK: idivb %r14b +// CHECK: encoding: [0x41,0xf6,0xfe] +idivb %r14b + +// CHECK: idivb (%rdx) +// CHECK: encoding: [0xf6,0x3a] +idivb (%rdx) + +// CHECK: idivl 485498096 +// CHECK: encoding: [0xf7,0x3c,0x25,0xf0,0x1c,0xf0,0x1c] +idivl 485498096 + +// CHECK: idivl 64(%rdx) +// CHECK: encoding: [0xf7,0x7a,0x40] +idivl 64(%rdx) + +// CHECK: idivl 64(%rdx,%rax,4) +// CHECK: encoding: [0xf7,0x7c,0x82,0x40] +idivl 64(%rdx,%rax,4) + +// CHECK: idivl -64(%rdx,%rax,4) +// CHECK: encoding: [0xf7,0x7c,0x82,0xc0] +idivl -64(%rdx,%rax,4) + +// CHECK: idivl 64(%rdx,%rax) +// CHECK: encoding: [0xf7,0x7c,0x02,0x40] +idivl 64(%rdx,%rax) + +// CHECK: idivl %r13d +// CHECK: encoding: [0x41,0xf7,0xfd] +idivl %r13d + +// CHECK: idivl (%rdx) +// CHECK: encoding: [0xf7,0x3a] +idivl (%rdx) + +// CHECK: idivq 485498096 +// CHECK: encoding: [0x48,0xf7,0x3c,0x25,0xf0,0x1c,0xf0,0x1c] +idivq 485498096 + +// CHECK: idivq 64(%rdx) +// CHECK: encoding: [0x48,0xf7,0x7a,0x40] +idivq 64(%rdx) + +// CHECK: idivq 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xf7,0x7c,0x82,0x40] +idivq 64(%rdx,%rax,4) + +// CHECK: idivq -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xf7,0x7c,0x82,0xc0] +idivq -64(%rdx,%rax,4) + +// CHECK: idivq 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xf7,0x7c,0x02,0x40] +idivq 64(%rdx,%rax) + +// CHECK: idivq (%rdx) +// CHECK: encoding: [0x48,0xf7,0x3a] +idivq (%rdx) + +// CHECK: idivw 485498096 +// CHECK: encoding: [0x66,0xf7,0x3c,0x25,0xf0,0x1c,0xf0,0x1c] +idivw 485498096 + +// CHECK: idivw 64(%rdx) +// CHECK: encoding: [0x66,0xf7,0x7a,0x40] +idivw 64(%rdx) + +// CHECK: idivw 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xf7,0x7c,0x82,0x40] +idivw 64(%rdx,%rax,4) + +// CHECK: idivw -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xf7,0x7c,0x82,0xc0] +idivw -64(%rdx,%rax,4) + +// CHECK: idivw 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xf7,0x7c,0x02,0x40] +idivw 64(%rdx,%rax) + +// CHECK: idivw %r14w +// CHECK: encoding: [0x66,0x41,0xf7,0xfe] +idivw %r14w + +// CHECK: idivw (%rdx) +// CHECK: encoding: [0x66,0xf7,0x3a] +idivw (%rdx) + +// CHECK: imulb 485498096 +// CHECK: encoding: [0xf6,0x2c,0x25,0xf0,0x1c,0xf0,0x1c] +imulb 485498096 + +// CHECK: imulb 64(%rdx) +// CHECK: encoding: [0xf6,0x6a,0x40] +imulb 64(%rdx) + +// CHECK: imulb 64(%rdx,%rax,4) +// CHECK: encoding: [0xf6,0x6c,0x82,0x40] +imulb 64(%rdx,%rax,4) + +// CHECK: imulb -64(%rdx,%rax,4) +// CHECK: encoding: [0xf6,0x6c,0x82,0xc0] +imulb -64(%rdx,%rax,4) + +// CHECK: imulb 64(%rdx,%rax) +// CHECK: encoding: [0xf6,0x6c,0x02,0x40] +imulb 64(%rdx,%rax) + +// CHECK: imulb %r14b +// CHECK: encoding: [0x41,0xf6,0xee] +imulb %r14b + +// CHECK: imulb (%rdx) +// CHECK: encoding: [0xf6,0x2a] +imulb (%rdx) + +// CHECK: imull 485498096 +// CHECK: encoding: [0xf7,0x2c,0x25,0xf0,0x1c,0xf0,0x1c] +imull 485498096 + +// CHECK: imull 64(%rdx) +// CHECK: encoding: [0xf7,0x6a,0x40] +imull 64(%rdx) + +// CHECK: imull 64(%rdx,%rax,4) +// CHECK: encoding: [0xf7,0x6c,0x82,0x40] +imull 64(%rdx,%rax,4) + +// CHECK: imull -64(%rdx,%rax,4) +// CHECK: encoding: [0xf7,0x6c,0x82,0xc0] +imull -64(%rdx,%rax,4) + +// CHECK: imull 64(%rdx,%rax) +// CHECK: encoding: [0xf7,0x6c,0x02,0x40] +imull 64(%rdx,%rax) + +// CHECK: imull %r13d +// CHECK: encoding: [0x41,0xf7,0xed] +imull %r13d + +// CHECK: imull %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0xaf,0xed] +imull %r13d, %r13d + +// CHECK: imull (%rdx) +// CHECK: encoding: [0xf7,0x2a] +imull (%rdx) + +// CHECK: imulq 485498096 +// CHECK: encoding: [0x48,0xf7,0x2c,0x25,0xf0,0x1c,0xf0,0x1c] +imulq 485498096 + +// CHECK: imulq 64(%rdx) +// CHECK: encoding: [0x48,0xf7,0x6a,0x40] +imulq 64(%rdx) + +// CHECK: imulq 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xf7,0x6c,0x82,0x40] +imulq 64(%rdx,%rax,4) + +// CHECK: imulq -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xf7,0x6c,0x82,0xc0] +imulq -64(%rdx,%rax,4) + +// CHECK: imulq 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xf7,0x6c,0x02,0x40] +imulq 64(%rdx,%rax) + +// CHECK: imulq (%rdx) +// CHECK: encoding: [0x48,0xf7,0x2a] +imulq (%rdx) + +// CHECK: imulw 485498096 +// CHECK: encoding: [0x66,0xf7,0x2c,0x25,0xf0,0x1c,0xf0,0x1c] +imulw 485498096 + +// CHECK: imulw 64(%rdx) +// CHECK: encoding: [0x66,0xf7,0x6a,0x40] +imulw 64(%rdx) + +// CHECK: imulw 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xf7,0x6c,0x82,0x40] +imulw 64(%rdx,%rax,4) + +// CHECK: imulw -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xf7,0x6c,0x82,0xc0] +imulw -64(%rdx,%rax,4) + +// CHECK: imulw 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xf7,0x6c,0x02,0x40] +imulw 64(%rdx,%rax) + +// CHECK: imulw %r14w +// CHECK: encoding: [0x66,0x41,0xf7,0xee] +imulw %r14w + +// CHECK: imulw (%rdx) +// CHECK: encoding: [0x66,0xf7,0x2a] +imulw (%rdx) + +// CHECK: inb $0, %al +// CHECK: encoding: [0xe4,0x00] +inb $0, %al + +// CHECK: inb %dx, %al +// CHECK: encoding: [0xec] +inb %dx, %al + +// CHECK: incb 485498096 +// CHECK: encoding: [0xfe,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +incb 485498096 + +// CHECK: incb 64(%rdx) +// CHECK: encoding: [0xfe,0x42,0x40] +incb 64(%rdx) + +// CHECK: incb 64(%rdx,%rax,4) +// CHECK: encoding: [0xfe,0x44,0x82,0x40] +incb 64(%rdx,%rax,4) + +// CHECK: incb -64(%rdx,%rax,4) +// CHECK: encoding: [0xfe,0x44,0x82,0xc0] +incb -64(%rdx,%rax,4) + +// CHECK: incb 64(%rdx,%rax) +// CHECK: encoding: [0xfe,0x44,0x02,0x40] +incb 64(%rdx,%rax) + +// CHECK: incb %r14b +// CHECK: encoding: [0x41,0xfe,0xc6] +incb %r14b + +// CHECK: incb (%rdx) +// CHECK: encoding: [0xfe,0x02] +incb (%rdx) + +// CHECK: incl 485498096 +// CHECK: encoding: [0xff,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +incl 485498096 + +// CHECK: incl 64(%rdx) +// CHECK: encoding: [0xff,0x42,0x40] +incl 64(%rdx) + +// CHECK: incl 64(%rdx,%rax,4) +// CHECK: encoding: [0xff,0x44,0x82,0x40] +incl 64(%rdx,%rax,4) + +// CHECK: incl -64(%rdx,%rax,4) +// CHECK: encoding: [0xff,0x44,0x82,0xc0] +incl -64(%rdx,%rax,4) + +// CHECK: incl 64(%rdx,%rax) +// CHECK: encoding: [0xff,0x44,0x02,0x40] +incl 64(%rdx,%rax) + +// CHECK: incl %r13d +// CHECK: encoding: [0x41,0xff,0xc5] +incl %r13d + +// CHECK: incl (%rdx) +// CHECK: encoding: [0xff,0x02] +incl (%rdx) + +// CHECK: incq 485498096 +// CHECK: encoding: [0x48,0xff,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +incq 485498096 + +// CHECK: incq 64(%rdx) +// CHECK: encoding: [0x48,0xff,0x42,0x40] +incq 64(%rdx) + +// CHECK: incq 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xff,0x44,0x82,0x40] +incq 64(%rdx,%rax,4) + +// CHECK: incq -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xff,0x44,0x82,0xc0] +incq -64(%rdx,%rax,4) + +// CHECK: incq 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xff,0x44,0x02,0x40] +incq 64(%rdx,%rax) + +// CHECK: incq (%rdx) +// CHECK: encoding: [0x48,0xff,0x02] +incq (%rdx) + +// CHECK: incw 485498096 +// CHECK: encoding: [0x66,0xff,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +incw 485498096 + +// CHECK: incw 64(%rdx) +// CHECK: encoding: [0x66,0xff,0x42,0x40] +incw 64(%rdx) + +// CHECK: incw 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xff,0x44,0x82,0x40] +incw 64(%rdx,%rax,4) + +// CHECK: incw -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xff,0x44,0x82,0xc0] +incw -64(%rdx,%rax,4) + +// CHECK: incw 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xff,0x44,0x02,0x40] +incw 64(%rdx,%rax) + +// CHECK: incw %r14w +// CHECK: encoding: [0x66,0x41,0xff,0xc6] +incw %r14w + +// CHECK: incw (%rdx) +// CHECK: encoding: [0x66,0xff,0x02] +incw (%rdx) + +// CHECK: inl $0, %eax +// CHECK: encoding: [0xe5,0x00] +inl $0, %eax + +// CHECK: inl %dx, %eax +// CHECK: encoding: [0xed] +inl %dx, %eax + +// CHECK: int $0 +// CHECK: encoding: [0xcd,0x00] +int $0 + +// CHECK: int3 +// CHECK: encoding: [0xcc] +int3 + +// CHECK: iretl +// CHECK: encoding: [0xcf] +iretl + +// CHECK: iretq +// CHECK: encoding: [0x48,0xcf] +iretq + +// CHECK: iretw +// CHECK: encoding: [0x66,0xcf] +iretw + +// CHECK: ja 64 +// CHECK: encoding: [0x77,A] +ja 64 + +// CHECK: jae 64 +// CHECK: encoding: [0x73,A] +jae 64 + +// CHECK: jb 64 +// CHECK: encoding: [0x72,A] +jb 64 + +// CHECK: jbe 64 +// CHECK: encoding: [0x76,A] +jbe 64 + +// CHECK: je 64 +// CHECK: encoding: [0x74,A] +je 64 + +// CHECK: jg 64 +// CHECK: encoding: [0x7f,A] +jg 64 + +// CHECK: jge 64 +// CHECK: encoding: [0x7d,A] +jge 64 + +// CHECK: jl 64 +// CHECK: encoding: [0x7c,A] +jl 64 + +// CHECK: jle 64 +// CHECK: encoding: [0x7e,A] +jle 64 + +// CHECK: jmp 64 +// CHECK: encoding: [0xeb,A] +jmp 64 + +// CHECK: jne 64 +// CHECK: encoding: [0x75,A] +jne 64 + +// CHECK: jno 64 +// CHECK: encoding: [0x71,A] +jno 64 + +// CHECK: jnp 64 +// CHECK: encoding: [0x7b,A] +jnp 64 + +// CHECK: jns 64 +// CHECK: encoding: [0x79,A] +jns 64 + +// CHECK: jo 64 +// CHECK: encoding: [0x70,A] +jo 64 + +// CHECK: jp 64 +// CHECK: encoding: [0x7a,A] +jp 64 + +// CHECK: js 64 +// CHECK: encoding: [0x78,A] +js 64 + +// CHECK: leal 485498096, %r13d +// CHECK: encoding: [0x44,0x8d,0x2c,0x25,0xf0,0x1c,0xf0,0x1c] +leal 485498096, %r13d + +// CHECK: leal 64(%rdx), %r13d +// CHECK: encoding: [0x44,0x8d,0x6a,0x40] +leal 64(%rdx), %r13d + +// CHECK: leal 64(%rdx,%rax,4), %r13d +// CHECK: encoding: [0x44,0x8d,0x6c,0x82,0x40] +leal 64(%rdx,%rax,4), %r13d + +// CHECK: leal -64(%rdx,%rax,4), %r13d +// CHECK: encoding: [0x44,0x8d,0x6c,0x82,0xc0] +leal -64(%rdx,%rax,4), %r13d + +// CHECK: leal 64(%rdx,%rax), %r13d +// CHECK: encoding: [0x44,0x8d,0x6c,0x02,0x40] +leal 64(%rdx,%rax), %r13d + +// CHECK: leal (%rdx), %r13d +// CHECK: encoding: [0x44,0x8d,0x2a] +leal (%rdx), %r13d + +// CHECK: lodsb %gs:(%rsi), %al +// CHECK: encoding: [0x65,0xac] +lodsb %gs:(%rsi), %al + +// CHECK: lodsw %gs:(%rsi), %ax +// CHECK: encoding: [0x66,0x65,0xad] +lodsw %gs:(%rsi), %ax + +// CHECK: loop 64 +// CHECK: encoding: [0xe2,A] +loop 64 + +// CHECK: loope 64 +// CHECK: encoding: [0xe1,A] +loope 64 + +// CHECK: loopne 64 +// CHECK: encoding: [0xe0,A] +loopne 64 + +// CHECK: lretl $0 +// CHECK: encoding: [0xca,0x00,0x00] +lretl $0 + +// CHECK: lretl +// CHECK: encoding: [0xcb] +lretl + +// CHECK: movb $0, 485498096 +// CHECK: encoding: [0xc6,0x04,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +movb $0, 485498096 + +// CHECK: movb $0, 64(%rdx) +// CHECK: encoding: [0xc6,0x42,0x40,0x00] +movb $0, 64(%rdx) + +// CHECK: movb $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0xc6,0x44,0x82,0x40,0x00] +movb $0, 64(%rdx,%rax,4) + +// CHECK: movb $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0xc6,0x44,0x82,0xc0,0x00] +movb $0, -64(%rdx,%rax,4) + +// CHECK: movb $0, 64(%rdx,%rax) +// CHECK: encoding: [0xc6,0x44,0x02,0x40,0x00] +movb $0, 64(%rdx,%rax) + +// CHECK: movb $0, %r14b +// CHECK: encoding: [0x41,0xb6,0x00] +movb $0, %r14b + +// CHECK: movb $0, (%rdx) +// CHECK: encoding: [0xc6,0x02,0x00] +movb $0, (%rdx) + +// CHECK: movb 485498096, %r14b +// CHECK: encoding: [0x44,0x8a,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +movb 485498096, %r14b + +// CHECK: movb 64(%rdx), %r14b +// CHECK: encoding: [0x44,0x8a,0x72,0x40] +movb 64(%rdx), %r14b + +// CHECK: movb 64(%rdx,%rax,4), %r14b +// CHECK: encoding: [0x44,0x8a,0x74,0x82,0x40] +movb 64(%rdx,%rax,4), %r14b + +// CHECK: movb -64(%rdx,%rax,4), %r14b +// CHECK: encoding: [0x44,0x8a,0x74,0x82,0xc0] +movb -64(%rdx,%rax,4), %r14b + +// CHECK: movb 64(%rdx,%rax), %r14b +// CHECK: encoding: [0x44,0x8a,0x74,0x02,0x40] +movb 64(%rdx,%rax), %r14b + +// CHECK: movb %r14b, 485498096 +// CHECK: encoding: [0x44,0x88,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +movb %r14b, 485498096 + +// CHECK: movb %r14b, 64(%rdx) +// CHECK: encoding: [0x44,0x88,0x72,0x40] +movb %r14b, 64(%rdx) + +// CHECK: movb %r14b, 64(%rdx,%rax,4) +// CHECK: encoding: [0x44,0x88,0x74,0x82,0x40] +movb %r14b, 64(%rdx,%rax,4) + +// CHECK: movb %r14b, -64(%rdx,%rax,4) +// CHECK: encoding: [0x44,0x88,0x74,0x82,0xc0] +movb %r14b, -64(%rdx,%rax,4) + +// CHECK: movb %r14b, 64(%rdx,%rax) +// CHECK: encoding: [0x44,0x88,0x74,0x02,0x40] +movb %r14b, 64(%rdx,%rax) + +// CHECK: movb %r14b, %r14b +// CHECK: encoding: [0x45,0x88,0xf6] +movb %r14b, %r14b + +// CHECK: movb %r14b, (%rdx) +// CHECK: encoding: [0x44,0x88,0x32] +movb %r14b, (%rdx) + +// CHECK: movb (%rdx), %r14b +// CHECK: encoding: [0x44,0x8a,0x32] +movb (%rdx), %r14b + +// CHECK: movl $0, 485498096 +// CHECK: encoding: [0xc7,0x04,0x25,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00] +movl $0, 485498096 + +// CHECK: movl $0, 64(%rdx) +// CHECK: encoding: [0xc7,0x42,0x40,0x00,0x00,0x00,0x00] +movl $0, 64(%rdx) + +// CHECK: movl $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0xc7,0x44,0x82,0x40,0x00,0x00,0x00,0x00] +movl $0, 64(%rdx,%rax,4) + +// CHECK: movl $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0xc7,0x44,0x82,0xc0,0x00,0x00,0x00,0x00] +movl $0, -64(%rdx,%rax,4) + +// CHECK: movl $0, 64(%rdx,%rax) +// CHECK: encoding: [0xc7,0x44,0x02,0x40,0x00,0x00,0x00,0x00] +movl $0, 64(%rdx,%rax) + +// CHECK: movl $0, %r13d +// CHECK: encoding: [0x41,0xbd,0x00,0x00,0x00,0x00] +movl $0, %r13d + +// CHECK: movl $0, (%rdx) +// CHECK: encoding: [0xc7,0x02,0x00,0x00,0x00,0x00] +movl $0, (%rdx) + +// CHECK: movl %es, %r13d +// CHECK: encoding: [0x41,0x8c,0xc5] +movl %es, %r13d + +// CHECK: movl %r11d, %es +// CHECK: encoding: [0x41,0x8e,0xc3] +movl %r11d, %es + +// CHECK: movl %r13d, %r13d +// CHECK: encoding: [0x45,0x89,0xed] +movl %r13d, %r13d + +// CHECK: movq $0, 485498096 +// CHECK: encoding: [0x48,0xc7,0x04,0x25,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00] +movq $0, 485498096 + +// CHECK: movq $0, 64(%rdx) +// CHECK: encoding: [0x48,0xc7,0x42,0x40,0x00,0x00,0x00,0x00] +movq $0, 64(%rdx) + +// CHECK: movq $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xc7,0x44,0x82,0x40,0x00,0x00,0x00,0x00] +movq $0, 64(%rdx,%rax,4) + +// CHECK: movq $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xc7,0x44,0x82,0xc0,0x00,0x00,0x00,0x00] +movq $0, -64(%rdx,%rax,4) + +// CHECK: movq $0, 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xc7,0x44,0x02,0x40,0x00,0x00,0x00,0x00] +movq $0, 64(%rdx,%rax) + +// CHECK: movq $0, (%rdx) +// CHECK: encoding: [0x48,0xc7,0x02,0x00,0x00,0x00,0x00] +movq $0, (%rdx) + +// CHECK: movsb %gs:(%rsi), %es:(%rdi) +// CHECK: encoding: [0x65,0xa4] +movsb %gs:(%rsi), %es:(%rdi) + +// CHECK: movsl %gs:(%rsi), %es:(%rdi) +// CHECK: encoding: [0x65,0xa5] +movsl %gs:(%rsi), %es:(%rdi) + +// CHECK: movsq %gs:(%rsi), %es:(%rdi) +// CHECK: encoding: [0x48,0x65,0xa5] +movsq %gs:(%rsi), %es:(%rdi) + +// CHECK: movsw %gs:(%rsi), %es:(%rdi) +// CHECK: encoding: [0x66,0x65,0xa5] +movsw %gs:(%rsi), %es:(%rdi) + +// CHECK: movw $0, 485498096 +// CHECK: encoding: [0x66,0xc7,0x04,0x25,0xf0,0x1c,0xf0,0x1c,0x00,0x00] +movw $0, 485498096 + +// CHECK: movw $0, 64(%rdx) +// CHECK: encoding: [0x66,0xc7,0x42,0x40,0x00,0x00] +movw $0, 64(%rdx) + +// CHECK: movw $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xc7,0x44,0x82,0x40,0x00,0x00] +movw $0, 64(%rdx,%rax,4) + +// CHECK: movw $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xc7,0x44,0x82,0xc0,0x00,0x00] +movw $0, -64(%rdx,%rax,4) + +// CHECK: movw $0, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xc7,0x44,0x02,0x40,0x00,0x00] +movw $0, 64(%rdx,%rax) + +// CHECK: movw $0, %r14w +// CHECK: encoding: [0x66,0x41,0xbe,0x00,0x00] +movw $0, %r14w + +// CHECK: movw $0, (%rdx) +// CHECK: encoding: [0x66,0xc7,0x02,0x00,0x00] +movw $0, (%rdx) + +// CHECK: movw 485498096, %es +// CHECK: encoding: [0x8e,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +movw 485498096, %es + +// CHECK: movw 485498096, %r14w +// CHECK: encoding: [0x66,0x44,0x8b,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +movw 485498096, %r14w + +// CHECK: movw 64(%rdx), %es +// CHECK: encoding: [0x8e,0x42,0x40] +movw 64(%rdx), %es + +// CHECK: movw 64(%rdx), %r14w +// CHECK: encoding: [0x66,0x44,0x8b,0x72,0x40] +movw 64(%rdx), %r14w + +// CHECK: movw 64(%rdx,%rax,4), %es +// CHECK: encoding: [0x8e,0x44,0x82,0x40] +movw 64(%rdx,%rax,4), %es + +// CHECK: movw -64(%rdx,%rax,4), %es +// CHECK: encoding: [0x8e,0x44,0x82,0xc0] +movw -64(%rdx,%rax,4), %es + +// CHECK: movw 64(%rdx,%rax,4), %r14w +// CHECK: encoding: [0x66,0x44,0x8b,0x74,0x82,0x40] +movw 64(%rdx,%rax,4), %r14w + +// CHECK: movw -64(%rdx,%rax,4), %r14w +// CHECK: encoding: [0x66,0x44,0x8b,0x74,0x82,0xc0] +movw -64(%rdx,%rax,4), %r14w + +// CHECK: movw 64(%rdx,%rax), %es +// CHECK: encoding: [0x8e,0x44,0x02,0x40] +movw 64(%rdx,%rax), %es + +// CHECK: movw 64(%rdx,%rax), %r14w +// CHECK: encoding: [0x66,0x44,0x8b,0x74,0x02,0x40] +movw 64(%rdx,%rax), %r14w + +// CHECK: movw %es, 485498096 +// CHECK: encoding: [0x8c,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +movw %es, 485498096 + +// CHECK: movw %es, 64(%rdx) +// CHECK: encoding: [0x8c,0x42,0x40] +movw %es, 64(%rdx) + +// CHECK: movw %es, 64(%rdx,%rax,4) +// CHECK: encoding: [0x8c,0x44,0x82,0x40] +movw %es, 64(%rdx,%rax,4) + +// CHECK: movw %es, -64(%rdx,%rax,4) +// CHECK: encoding: [0x8c,0x44,0x82,0xc0] +movw %es, -64(%rdx,%rax,4) + +// CHECK: movw %es, 64(%rdx,%rax) +// CHECK: encoding: [0x8c,0x44,0x02,0x40] +movw %es, 64(%rdx,%rax) + +// CHECK: movw %es, (%rdx) +// CHECK: encoding: [0x8c,0x02] +movw %es, (%rdx) + +// CHECK: movw %r14w, 485498096 +// CHECK: encoding: [0x66,0x44,0x89,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +movw %r14w, 485498096 + +// CHECK: movw %r14w, 64(%rdx) +// CHECK: encoding: [0x66,0x44,0x89,0x72,0x40] +movw %r14w, 64(%rdx) + +// CHECK: movw %r14w, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x44,0x89,0x74,0x82,0x40] +movw %r14w, 64(%rdx,%rax,4) + +// CHECK: movw %r14w, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x44,0x89,0x74,0x82,0xc0] +movw %r14w, -64(%rdx,%rax,4) + +// CHECK: movw %r14w, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0x44,0x89,0x74,0x02,0x40] +movw %r14w, 64(%rdx,%rax) + +// CHECK: movw %r14w, %r14w +// CHECK: encoding: [0x66,0x45,0x89,0xf6] +movw %r14w, %r14w + +// CHECK: movw %r14w, (%rdx) +// CHECK: encoding: [0x66,0x44,0x89,0x32] +movw %r14w, (%rdx) + +// CHECK: movw (%rdx), %es +// CHECK: encoding: [0x8e,0x02] +movw (%rdx), %es + +// CHECK: movw (%rdx), %r14w +// CHECK: encoding: [0x66,0x44,0x8b,0x32] +movw (%rdx), %r14w + +// CHECK: mulb 485498096 +// CHECK: encoding: [0xf6,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +mulb 485498096 + +// CHECK: mulb 64(%rdx) +// CHECK: encoding: [0xf6,0x62,0x40] +mulb 64(%rdx) + +// CHECK: mulb 64(%rdx,%rax,4) +// CHECK: encoding: [0xf6,0x64,0x82,0x40] +mulb 64(%rdx,%rax,4) + +// CHECK: mulb -64(%rdx,%rax,4) +// CHECK: encoding: [0xf6,0x64,0x82,0xc0] +mulb -64(%rdx,%rax,4) + +// CHECK: mulb 64(%rdx,%rax) +// CHECK: encoding: [0xf6,0x64,0x02,0x40] +mulb 64(%rdx,%rax) + +// CHECK: mulb %r14b +// CHECK: encoding: [0x41,0xf6,0xe6] +mulb %r14b + +// CHECK: mulb (%rdx) +// CHECK: encoding: [0xf6,0x22] +mulb (%rdx) + +// CHECK: mull 485498096 +// CHECK: encoding: [0xf7,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +mull 485498096 + +// CHECK: mull 64(%rdx) +// CHECK: encoding: [0xf7,0x62,0x40] +mull 64(%rdx) + +// CHECK: mull 64(%rdx,%rax,4) +// CHECK: encoding: [0xf7,0x64,0x82,0x40] +mull 64(%rdx,%rax,4) + +// CHECK: mull -64(%rdx,%rax,4) +// CHECK: encoding: [0xf7,0x64,0x82,0xc0] +mull -64(%rdx,%rax,4) + +// CHECK: mull 64(%rdx,%rax) +// CHECK: encoding: [0xf7,0x64,0x02,0x40] +mull 64(%rdx,%rax) + +// CHECK: mull %r13d +// CHECK: encoding: [0x41,0xf7,0xe5] +mull %r13d + +// CHECK: mull (%rdx) +// CHECK: encoding: [0xf7,0x22] +mull (%rdx) + +// CHECK: mulq 485498096 +// CHECK: encoding: [0x48,0xf7,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +mulq 485498096 + +// CHECK: mulq 64(%rdx) +// CHECK: encoding: [0x48,0xf7,0x62,0x40] +mulq 64(%rdx) + +// CHECK: mulq 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xf7,0x64,0x82,0x40] +mulq 64(%rdx,%rax,4) + +// CHECK: mulq -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xf7,0x64,0x82,0xc0] +mulq -64(%rdx,%rax,4) + +// CHECK: mulq 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xf7,0x64,0x02,0x40] +mulq 64(%rdx,%rax) + +// CHECK: mulq (%rdx) +// CHECK: encoding: [0x48,0xf7,0x22] +mulq (%rdx) + +// CHECK: mulw 485498096 +// CHECK: encoding: [0x66,0xf7,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +mulw 485498096 + +// CHECK: mulw 64(%rdx) +// CHECK: encoding: [0x66,0xf7,0x62,0x40] +mulw 64(%rdx) + +// CHECK: mulw 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xf7,0x64,0x82,0x40] +mulw 64(%rdx,%rax,4) + +// CHECK: mulw -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xf7,0x64,0x82,0xc0] +mulw -64(%rdx,%rax,4) + +// CHECK: mulw 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xf7,0x64,0x02,0x40] +mulw 64(%rdx,%rax) + +// CHECK: mulw %r14w +// CHECK: encoding: [0x66,0x41,0xf7,0xe6] +mulw %r14w + +// CHECK: mulw (%rdx) +// CHECK: encoding: [0x66,0xf7,0x22] +mulw (%rdx) + +// CHECK: negb 485498096 +// CHECK: encoding: [0xf6,0x1c,0x25,0xf0,0x1c,0xf0,0x1c] +negb 485498096 + +// CHECK: negb 64(%rdx) +// CHECK: encoding: [0xf6,0x5a,0x40] +negb 64(%rdx) + +// CHECK: negb 64(%rdx,%rax,4) +// CHECK: encoding: [0xf6,0x5c,0x82,0x40] +negb 64(%rdx,%rax,4) + +// CHECK: negb -64(%rdx,%rax,4) +// CHECK: encoding: [0xf6,0x5c,0x82,0xc0] +negb -64(%rdx,%rax,4) + +// CHECK: negb 64(%rdx,%rax) +// CHECK: encoding: [0xf6,0x5c,0x02,0x40] +negb 64(%rdx,%rax) + +// CHECK: negb %r14b +// CHECK: encoding: [0x41,0xf6,0xde] +negb %r14b + +// CHECK: negb (%rdx) +// CHECK: encoding: [0xf6,0x1a] +negb (%rdx) + +// CHECK: negl 485498096 +// CHECK: encoding: [0xf7,0x1c,0x25,0xf0,0x1c,0xf0,0x1c] +negl 485498096 + +// CHECK: negl 64(%rdx) +// CHECK: encoding: [0xf7,0x5a,0x40] +negl 64(%rdx) + +// CHECK: negl 64(%rdx,%rax,4) +// CHECK: encoding: [0xf7,0x5c,0x82,0x40] +negl 64(%rdx,%rax,4) + +// CHECK: negl -64(%rdx,%rax,4) +// CHECK: encoding: [0xf7,0x5c,0x82,0xc0] +negl -64(%rdx,%rax,4) + +// CHECK: negl 64(%rdx,%rax) +// CHECK: encoding: [0xf7,0x5c,0x02,0x40] +negl 64(%rdx,%rax) + +// CHECK: negl %r13d +// CHECK: encoding: [0x41,0xf7,0xdd] +negl %r13d + +// CHECK: negl (%rdx) +// CHECK: encoding: [0xf7,0x1a] +negl (%rdx) + +// CHECK: negq 485498096 +// CHECK: encoding: [0x48,0xf7,0x1c,0x25,0xf0,0x1c,0xf0,0x1c] +negq 485498096 + +// CHECK: negq 64(%rdx) +// CHECK: encoding: [0x48,0xf7,0x5a,0x40] +negq 64(%rdx) + +// CHECK: negq 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xf7,0x5c,0x82,0x40] +negq 64(%rdx,%rax,4) + +// CHECK: negq -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xf7,0x5c,0x82,0xc0] +negq -64(%rdx,%rax,4) + +// CHECK: negq 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xf7,0x5c,0x02,0x40] +negq 64(%rdx,%rax) + +// CHECK: negq (%rdx) +// CHECK: encoding: [0x48,0xf7,0x1a] +negq (%rdx) + +// CHECK: negw 485498096 +// CHECK: encoding: [0x66,0xf7,0x1c,0x25,0xf0,0x1c,0xf0,0x1c] +negw 485498096 + +// CHECK: negw 64(%rdx) +// CHECK: encoding: [0x66,0xf7,0x5a,0x40] +negw 64(%rdx) + +// CHECK: negw 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xf7,0x5c,0x82,0x40] +negw 64(%rdx,%rax,4) + +// CHECK: negw -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xf7,0x5c,0x82,0xc0] +negw -64(%rdx,%rax,4) + +// CHECK: negw 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xf7,0x5c,0x02,0x40] +negw 64(%rdx,%rax) + +// CHECK: negw %r14w +// CHECK: encoding: [0x66,0x41,0xf7,0xde] +negw %r14w + +// CHECK: negw (%rdx) +// CHECK: encoding: [0x66,0xf7,0x1a] +negw (%rdx) + +// CHECK: nop +// CHECK: encoding: [0x90] +nop + +// CHECK: notb 485498096 +// CHECK: encoding: [0xf6,0x14,0x25,0xf0,0x1c,0xf0,0x1c] +notb 485498096 + +// CHECK: notb 64(%rdx) +// CHECK: encoding: [0xf6,0x52,0x40] +notb 64(%rdx) + +// CHECK: notb 64(%rdx,%rax,4) +// CHECK: encoding: [0xf6,0x54,0x82,0x40] +notb 64(%rdx,%rax,4) + +// CHECK: notb -64(%rdx,%rax,4) +// CHECK: encoding: [0xf6,0x54,0x82,0xc0] +notb -64(%rdx,%rax,4) + +// CHECK: notb 64(%rdx,%rax) +// CHECK: encoding: [0xf6,0x54,0x02,0x40] +notb 64(%rdx,%rax) + +// CHECK: notb %r14b +// CHECK: encoding: [0x41,0xf6,0xd6] +notb %r14b + +// CHECK: notb (%rdx) +// CHECK: encoding: [0xf6,0x12] +notb (%rdx) + +// CHECK: notl 485498096 +// CHECK: encoding: [0xf7,0x14,0x25,0xf0,0x1c,0xf0,0x1c] +notl 485498096 + +// CHECK: notl 64(%rdx) +// CHECK: encoding: [0xf7,0x52,0x40] +notl 64(%rdx) + +// CHECK: notl 64(%rdx,%rax,4) +// CHECK: encoding: [0xf7,0x54,0x82,0x40] +notl 64(%rdx,%rax,4) + +// CHECK: notl -64(%rdx,%rax,4) +// CHECK: encoding: [0xf7,0x54,0x82,0xc0] +notl -64(%rdx,%rax,4) + +// CHECK: notl 64(%rdx,%rax) +// CHECK: encoding: [0xf7,0x54,0x02,0x40] +notl 64(%rdx,%rax) + +// CHECK: notl %r13d +// CHECK: encoding: [0x41,0xf7,0xd5] +notl %r13d + +// CHECK: notl (%rdx) +// CHECK: encoding: [0xf7,0x12] +notl (%rdx) + +// CHECK: notq 485498096 +// CHECK: encoding: [0x48,0xf7,0x14,0x25,0xf0,0x1c,0xf0,0x1c] +notq 485498096 + +// CHECK: notq 64(%rdx) +// CHECK: encoding: [0x48,0xf7,0x52,0x40] +notq 64(%rdx) + +// CHECK: notq 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xf7,0x54,0x82,0x40] +notq 64(%rdx,%rax,4) + +// CHECK: notq -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xf7,0x54,0x82,0xc0] +notq -64(%rdx,%rax,4) + +// CHECK: notq 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xf7,0x54,0x02,0x40] +notq 64(%rdx,%rax) + +// CHECK: notq (%rdx) +// CHECK: encoding: [0x48,0xf7,0x12] +notq (%rdx) + +// CHECK: notw 485498096 +// CHECK: encoding: [0x66,0xf7,0x14,0x25,0xf0,0x1c,0xf0,0x1c] +notw 485498096 + +// CHECK: notw 64(%rdx) +// CHECK: encoding: [0x66,0xf7,0x52,0x40] +notw 64(%rdx) + +// CHECK: notw 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xf7,0x54,0x82,0x40] +notw 64(%rdx,%rax,4) + +// CHECK: notw -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xf7,0x54,0x82,0xc0] +notw -64(%rdx,%rax,4) + +// CHECK: notw 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xf7,0x54,0x02,0x40] +notw 64(%rdx,%rax) + +// CHECK: notw %r14w +// CHECK: encoding: [0x66,0x41,0xf7,0xd6] +notw %r14w + +// CHECK: notw (%rdx) +// CHECK: encoding: [0x66,0xf7,0x12] +notw (%rdx) + +// CHECK: orb $0, 485498096 +// CHECK: encoding: [0x80,0x0c,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +orb $0, 485498096 + +// CHECK: orb $0, 64(%rdx) +// CHECK: encoding: [0x80,0x4a,0x40,0x00] +orb $0, 64(%rdx) + +// CHECK: orb $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x80,0x4c,0x82,0x40,0x00] +orb $0, 64(%rdx,%rax,4) + +// CHECK: orb $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x80,0x4c,0x82,0xc0,0x00] +orb $0, -64(%rdx,%rax,4) + +// CHECK: orb $0, 64(%rdx,%rax) +// CHECK: encoding: [0x80,0x4c,0x02,0x40,0x00] +orb $0, 64(%rdx,%rax) + +// CHECK: orb $0, %al +// CHECK: encoding: [0x0c,0x00] +orb $0, %al + +// CHECK: orb $0, %r14b +// CHECK: encoding: [0x41,0x80,0xce,0x00] +orb $0, %r14b + +// CHECK: orb $0, (%rdx) +// CHECK: encoding: [0x80,0x0a,0x00] +orb $0, (%rdx) + +// CHECK: orb 485498096, %r14b +// CHECK: encoding: [0x44,0x0a,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +orb 485498096, %r14b + +// CHECK: orb 64(%rdx), %r14b +// CHECK: encoding: [0x44,0x0a,0x72,0x40] +orb 64(%rdx), %r14b + +// CHECK: orb 64(%rdx,%rax,4), %r14b +// CHECK: encoding: [0x44,0x0a,0x74,0x82,0x40] +orb 64(%rdx,%rax,4), %r14b + +// CHECK: orb -64(%rdx,%rax,4), %r14b +// CHECK: encoding: [0x44,0x0a,0x74,0x82,0xc0] +orb -64(%rdx,%rax,4), %r14b + +// CHECK: orb 64(%rdx,%rax), %r14b +// CHECK: encoding: [0x44,0x0a,0x74,0x02,0x40] +orb 64(%rdx,%rax), %r14b + +// CHECK: orb %r14b, 485498096 +// CHECK: encoding: [0x44,0x08,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +orb %r14b, 485498096 + +// CHECK: orb %r14b, 64(%rdx) +// CHECK: encoding: [0x44,0x08,0x72,0x40] +orb %r14b, 64(%rdx) + +// CHECK: orb %r14b, 64(%rdx,%rax,4) +// CHECK: encoding: [0x44,0x08,0x74,0x82,0x40] +orb %r14b, 64(%rdx,%rax,4) + +// CHECK: orb %r14b, -64(%rdx,%rax,4) +// CHECK: encoding: [0x44,0x08,0x74,0x82,0xc0] +orb %r14b, -64(%rdx,%rax,4) + +// CHECK: orb %r14b, 64(%rdx,%rax) +// CHECK: encoding: [0x44,0x08,0x74,0x02,0x40] +orb %r14b, 64(%rdx,%rax) + +// CHECK: orb %r14b, %r14b +// CHECK: encoding: [0x45,0x08,0xf6] +orb %r14b, %r14b + +// CHECK: orb %r14b, (%rdx) +// CHECK: encoding: [0x44,0x08,0x32] +orb %r14b, (%rdx) + +// CHECK: orb (%rdx), %r14b +// CHECK: encoding: [0x44,0x0a,0x32] +orb (%rdx), %r14b + +// CHECK: orl $0, 485498096 +// CHECK: encoding: [0x83,0x0c,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +orl $0, 485498096 + +// CHECK: orl $0, 64(%rdx) +// CHECK: encoding: [0x83,0x4a,0x40,0x00] +orl $0, 64(%rdx) + +// CHECK: orl $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x83,0x4c,0x82,0x40,0x00] +orl $0, 64(%rdx,%rax,4) + +// CHECK: orl $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x83,0x4c,0x82,0xc0,0x00] +orl $0, -64(%rdx,%rax,4) + +// CHECK: orl $0, 64(%rdx,%rax) +// CHECK: encoding: [0x83,0x4c,0x02,0x40,0x00] +orl $0, 64(%rdx,%rax) + +// CHECK: orl $0, %eax +// CHECK: encoding: [0x83,0xc8,0x00] +orl $0, %eax + +// CHECK: orl $0, %r13d +// CHECK: encoding: [0x41,0x83,0xcd,0x00] +orl $0, %r13d + +// CHECK: orl $0, (%rdx) +// CHECK: encoding: [0x83,0x0a,0x00] +orl $0, (%rdx) + +// CHECK: orl %r13d, %r13d +// CHECK: encoding: [0x45,0x09,0xed] +orl %r13d, %r13d + +// CHECK: orq $0, 485498096 +// CHECK: encoding: [0x48,0x83,0x0c,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +orq $0, 485498096 + +// CHECK: orq $0, 64(%rdx) +// CHECK: encoding: [0x48,0x83,0x4a,0x40,0x00] +orq $0, 64(%rdx) + +// CHECK: orq $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0x83,0x4c,0x82,0x40,0x00] +orq $0, 64(%rdx,%rax,4) + +// CHECK: orq $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0x83,0x4c,0x82,0xc0,0x00] +orq $0, -64(%rdx,%rax,4) + +// CHECK: orq $0, 64(%rdx,%rax) +// CHECK: encoding: [0x48,0x83,0x4c,0x02,0x40,0x00] +orq $0, 64(%rdx,%rax) + +// CHECK: orq $0, (%rdx) +// CHECK: encoding: [0x48,0x83,0x0a,0x00] +orq $0, (%rdx) + +// CHECK: orw $0, 485498096 +// CHECK: encoding: [0x66,0x83,0x0c,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +orw $0, 485498096 + +// CHECK: orw $0, 64(%rdx) +// CHECK: encoding: [0x66,0x83,0x4a,0x40,0x00] +orw $0, 64(%rdx) + +// CHECK: orw $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x83,0x4c,0x82,0x40,0x00] +orw $0, 64(%rdx,%rax,4) + +// CHECK: orw $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x83,0x4c,0x82,0xc0,0x00] +orw $0, -64(%rdx,%rax,4) + +// CHECK: orw $0, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0x83,0x4c,0x02,0x40,0x00] +orw $0, 64(%rdx,%rax) + +// CHECK: orw $0, %r14w +// CHECK: encoding: [0x66,0x41,0x83,0xce,0x00] +orw $0, %r14w + +// CHECK: orw $0, (%rdx) +// CHECK: encoding: [0x66,0x83,0x0a,0x00] +orw $0, (%rdx) + +// CHECK: orw 485498096, %r14w +// CHECK: encoding: [0x66,0x44,0x0b,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +orw 485498096, %r14w + +// CHECK: orw 64(%rdx), %r14w +// CHECK: encoding: [0x66,0x44,0x0b,0x72,0x40] +orw 64(%rdx), %r14w + +// CHECK: orw 64(%rdx,%rax,4), %r14w +// CHECK: encoding: [0x66,0x44,0x0b,0x74,0x82,0x40] +orw 64(%rdx,%rax,4), %r14w + +// CHECK: orw -64(%rdx,%rax,4), %r14w +// CHECK: encoding: [0x66,0x44,0x0b,0x74,0x82,0xc0] +orw -64(%rdx,%rax,4), %r14w + +// CHECK: orw 64(%rdx,%rax), %r14w +// CHECK: encoding: [0x66,0x44,0x0b,0x74,0x02,0x40] +orw 64(%rdx,%rax), %r14w + +// CHECK: orw %r14w, 485498096 +// CHECK: encoding: [0x66,0x44,0x09,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +orw %r14w, 485498096 + +// CHECK: orw %r14w, 64(%rdx) +// CHECK: encoding: [0x66,0x44,0x09,0x72,0x40] +orw %r14w, 64(%rdx) + +// CHECK: orw %r14w, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x44,0x09,0x74,0x82,0x40] +orw %r14w, 64(%rdx,%rax,4) + +// CHECK: orw %r14w, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x44,0x09,0x74,0x82,0xc0] +orw %r14w, -64(%rdx,%rax,4) + +// CHECK: orw %r14w, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0x44,0x09,0x74,0x02,0x40] +orw %r14w, 64(%rdx,%rax) + +// CHECK: orw %r14w, %r14w +// CHECK: encoding: [0x66,0x45,0x09,0xf6] +orw %r14w, %r14w + +// CHECK: orw %r14w, (%rdx) +// CHECK: encoding: [0x66,0x44,0x09,0x32] +orw %r14w, (%rdx) + +// CHECK: orw (%rdx), %r14w +// CHECK: encoding: [0x66,0x44,0x0b,0x32] +orw (%rdx), %r14w + +// CHECK: outb %al, $0 +// CHECK: encoding: [0xe6,0x00] +outb %al, $0 + +// CHECK: outb %al, %dx +// CHECK: encoding: [0xee] +outb %al, %dx + +// CHECK: outl %eax, $0 +// CHECK: encoding: [0xe7,0x00] +outl %eax, $0 + +// CHECK: outl %eax, %dx +// CHECK: encoding: [0xef] +outl %eax, %dx + +// CHECK: pause +// CHECK: encoding: [0xf3,0x90] +pause + +// CHECK: popfq +// CHECK: encoding: [0x9d] +popfq + +// CHECK: popfw +// CHECK: encoding: [0x66,0x9d] +popfw + +// CHECK: pushfq +// CHECK: encoding: [0x9c] +pushfq + +// CHECK: pushfw +// CHECK: encoding: [0x66,0x9c] +pushfw + +// CHECK: rclb 485498096 +// CHECK: encoding: [0xd0,0x14,0x25,0xf0,0x1c,0xf0,0x1c] +rclb 485498096 + +// CHECK: rclb 64(%rdx) +// CHECK: encoding: [0xd0,0x52,0x40] +rclb 64(%rdx) + +// CHECK: rclb 64(%rdx,%rax,4) +// CHECK: encoding: [0xd0,0x54,0x82,0x40] +rclb 64(%rdx,%rax,4) + +// CHECK: rclb -64(%rdx,%rax,4) +// CHECK: encoding: [0xd0,0x54,0x82,0xc0] +rclb -64(%rdx,%rax,4) + +// CHECK: rclb 64(%rdx,%rax) +// CHECK: encoding: [0xd0,0x54,0x02,0x40] +rclb 64(%rdx,%rax) + +// CHECK: rclb %cl, 485498096 +// CHECK: encoding: [0xd2,0x14,0x25,0xf0,0x1c,0xf0,0x1c] +rclb %cl, 485498096 + +// CHECK: rclb %cl, 64(%rdx) +// CHECK: encoding: [0xd2,0x52,0x40] +rclb %cl, 64(%rdx) + +// CHECK: rclb %cl, 64(%rdx,%rax,4) +// CHECK: encoding: [0xd2,0x54,0x82,0x40] +rclb %cl, 64(%rdx,%rax,4) + +// CHECK: rclb %cl, -64(%rdx,%rax,4) +// CHECK: encoding: [0xd2,0x54,0x82,0xc0] +rclb %cl, -64(%rdx,%rax,4) + +// CHECK: rclb %cl, 64(%rdx,%rax) +// CHECK: encoding: [0xd2,0x54,0x02,0x40] +rclb %cl, 64(%rdx,%rax) + +// CHECK: rclb %cl, %r14b +// CHECK: encoding: [0x41,0xd2,0xd6] +rclb %cl, %r14b + +// CHECK: rclb %cl, (%rdx) +// CHECK: encoding: [0xd2,0x12] +rclb %cl, (%rdx) + +// CHECK: rclb %r14b +// CHECK: encoding: [0x41,0xd0,0xd6] +rclb %r14b + +// CHECK: rclb (%rdx) +// CHECK: encoding: [0xd0,0x12] +rclb (%rdx) + +// CHECK: rcll 485498096 +// CHECK: encoding: [0xd1,0x14,0x25,0xf0,0x1c,0xf0,0x1c] +rcll 485498096 + +// CHECK: rcll 64(%rdx) +// CHECK: encoding: [0xd1,0x52,0x40] +rcll 64(%rdx) + +// CHECK: rcll 64(%rdx,%rax,4) +// CHECK: encoding: [0xd1,0x54,0x82,0x40] +rcll 64(%rdx,%rax,4) + +// CHECK: rcll -64(%rdx,%rax,4) +// CHECK: encoding: [0xd1,0x54,0x82,0xc0] +rcll -64(%rdx,%rax,4) + +// CHECK: rcll 64(%rdx,%rax) +// CHECK: encoding: [0xd1,0x54,0x02,0x40] +rcll 64(%rdx,%rax) + +// CHECK: rcll %cl, 485498096 +// CHECK: encoding: [0xd3,0x14,0x25,0xf0,0x1c,0xf0,0x1c] +rcll %cl, 485498096 + +// CHECK: rcll %cl, 64(%rdx) +// CHECK: encoding: [0xd3,0x52,0x40] +rcll %cl, 64(%rdx) + +// CHECK: rcll %cl, 64(%rdx,%rax,4) +// CHECK: encoding: [0xd3,0x54,0x82,0x40] +rcll %cl, 64(%rdx,%rax,4) + +// CHECK: rcll %cl, -64(%rdx,%rax,4) +// CHECK: encoding: [0xd3,0x54,0x82,0xc0] +rcll %cl, -64(%rdx,%rax,4) + +// CHECK: rcll %cl, 64(%rdx,%rax) +// CHECK: encoding: [0xd3,0x54,0x02,0x40] +rcll %cl, 64(%rdx,%rax) + +// CHECK: rcll %cl, %r13d +// CHECK: encoding: [0x41,0xd3,0xd5] +rcll %cl, %r13d + +// CHECK: rcll %cl, (%rdx) +// CHECK: encoding: [0xd3,0x12] +rcll %cl, (%rdx) + +// CHECK: rcll %r13d +// CHECK: encoding: [0x41,0xd1,0xd5] +rcll %r13d + +// CHECK: rcll (%rdx) +// CHECK: encoding: [0xd1,0x12] +rcll (%rdx) + +// CHECK: rclq 485498096 +// CHECK: encoding: [0x48,0xd1,0x14,0x25,0xf0,0x1c,0xf0,0x1c] +rclq 485498096 + +// CHECK: rclq 64(%rdx) +// CHECK: encoding: [0x48,0xd1,0x52,0x40] +rclq 64(%rdx) + +// CHECK: rclq 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xd1,0x54,0x82,0x40] +rclq 64(%rdx,%rax,4) + +// CHECK: rclq -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xd1,0x54,0x82,0xc0] +rclq -64(%rdx,%rax,4) + +// CHECK: rclq 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xd1,0x54,0x02,0x40] +rclq 64(%rdx,%rax) + +// CHECK: rclq %cl, 485498096 +// CHECK: encoding: [0x48,0xd3,0x14,0x25,0xf0,0x1c,0xf0,0x1c] +rclq %cl, 485498096 + +// CHECK: rclq %cl, 64(%rdx) +// CHECK: encoding: [0x48,0xd3,0x52,0x40] +rclq %cl, 64(%rdx) + +// CHECK: rclq %cl, 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xd3,0x54,0x82,0x40] +rclq %cl, 64(%rdx,%rax,4) + +// CHECK: rclq %cl, -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xd3,0x54,0x82,0xc0] +rclq %cl, -64(%rdx,%rax,4) + +// CHECK: rclq %cl, 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xd3,0x54,0x02,0x40] +rclq %cl, 64(%rdx,%rax) + +// CHECK: rclq %cl, (%rdx) +// CHECK: encoding: [0x48,0xd3,0x12] +rclq %cl, (%rdx) + +// CHECK: rclq (%rdx) +// CHECK: encoding: [0x48,0xd1,0x12] +rclq (%rdx) + +// CHECK: rclw 485498096 +// CHECK: encoding: [0x66,0xd1,0x14,0x25,0xf0,0x1c,0xf0,0x1c] +rclw 485498096 + +// CHECK: rclw 64(%rdx) +// CHECK: encoding: [0x66,0xd1,0x52,0x40] +rclw 64(%rdx) + +// CHECK: rclw 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xd1,0x54,0x82,0x40] +rclw 64(%rdx,%rax,4) + +// CHECK: rclw -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xd1,0x54,0x82,0xc0] +rclw -64(%rdx,%rax,4) + +// CHECK: rclw 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xd1,0x54,0x02,0x40] +rclw 64(%rdx,%rax) + +// CHECK: rclw %cl, 485498096 +// CHECK: encoding: [0x66,0xd3,0x14,0x25,0xf0,0x1c,0xf0,0x1c] +rclw %cl, 485498096 + +// CHECK: rclw %cl, 64(%rdx) +// CHECK: encoding: [0x66,0xd3,0x52,0x40] +rclw %cl, 64(%rdx) + +// CHECK: rclw %cl, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xd3,0x54,0x82,0x40] +rclw %cl, 64(%rdx,%rax,4) + +// CHECK: rclw %cl, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xd3,0x54,0x82,0xc0] +rclw %cl, -64(%rdx,%rax,4) + +// CHECK: rclw %cl, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xd3,0x54,0x02,0x40] +rclw %cl, 64(%rdx,%rax) + +// CHECK: rclw %cl, %r14w +// CHECK: encoding: [0x66,0x41,0xd3,0xd6] +rclw %cl, %r14w + +// CHECK: rclw %cl, (%rdx) +// CHECK: encoding: [0x66,0xd3,0x12] +rclw %cl, (%rdx) + +// CHECK: rclw %r14w +// CHECK: encoding: [0x66,0x41,0xd1,0xd6] +rclw %r14w + +// CHECK: rclw (%rdx) +// CHECK: encoding: [0x66,0xd1,0x12] +rclw (%rdx) + +// CHECK: rcrb 485498096 +// CHECK: encoding: [0xd0,0x1c,0x25,0xf0,0x1c,0xf0,0x1c] +rcrb 485498096 + +// CHECK: rcrb 64(%rdx) +// CHECK: encoding: [0xd0,0x5a,0x40] +rcrb 64(%rdx) + +// CHECK: rcrb 64(%rdx,%rax,4) +// CHECK: encoding: [0xd0,0x5c,0x82,0x40] +rcrb 64(%rdx,%rax,4) + +// CHECK: rcrb -64(%rdx,%rax,4) +// CHECK: encoding: [0xd0,0x5c,0x82,0xc0] +rcrb -64(%rdx,%rax,4) + +// CHECK: rcrb 64(%rdx,%rax) +// CHECK: encoding: [0xd0,0x5c,0x02,0x40] +rcrb 64(%rdx,%rax) + +// CHECK: rcrb %cl, 485498096 +// CHECK: encoding: [0xd2,0x1c,0x25,0xf0,0x1c,0xf0,0x1c] +rcrb %cl, 485498096 + +// CHECK: rcrb %cl, 64(%rdx) +// CHECK: encoding: [0xd2,0x5a,0x40] +rcrb %cl, 64(%rdx) + +// CHECK: rcrb %cl, 64(%rdx,%rax,4) +// CHECK: encoding: [0xd2,0x5c,0x82,0x40] +rcrb %cl, 64(%rdx,%rax,4) + +// CHECK: rcrb %cl, -64(%rdx,%rax,4) +// CHECK: encoding: [0xd2,0x5c,0x82,0xc0] +rcrb %cl, -64(%rdx,%rax,4) + +// CHECK: rcrb %cl, 64(%rdx,%rax) +// CHECK: encoding: [0xd2,0x5c,0x02,0x40] +rcrb %cl, 64(%rdx,%rax) + +// CHECK: rcrb %cl, %r14b +// CHECK: encoding: [0x41,0xd2,0xde] +rcrb %cl, %r14b + +// CHECK: rcrb %cl, (%rdx) +// CHECK: encoding: [0xd2,0x1a] +rcrb %cl, (%rdx) + +// CHECK: rcrb %r14b +// CHECK: encoding: [0x41,0xd0,0xde] +rcrb %r14b + +// CHECK: rcrb (%rdx) +// CHECK: encoding: [0xd0,0x1a] +rcrb (%rdx) + +// CHECK: rcrl 485498096 +// CHECK: encoding: [0xd1,0x1c,0x25,0xf0,0x1c,0xf0,0x1c] +rcrl 485498096 + +// CHECK: rcrl 64(%rdx) +// CHECK: encoding: [0xd1,0x5a,0x40] +rcrl 64(%rdx) + +// CHECK: rcrl 64(%rdx,%rax,4) +// CHECK: encoding: [0xd1,0x5c,0x82,0x40] +rcrl 64(%rdx,%rax,4) + +// CHECK: rcrl -64(%rdx,%rax,4) +// CHECK: encoding: [0xd1,0x5c,0x82,0xc0] +rcrl -64(%rdx,%rax,4) + +// CHECK: rcrl 64(%rdx,%rax) +// CHECK: encoding: [0xd1,0x5c,0x02,0x40] +rcrl 64(%rdx,%rax) + +// CHECK: rcrl %cl, 485498096 +// CHECK: encoding: [0xd3,0x1c,0x25,0xf0,0x1c,0xf0,0x1c] +rcrl %cl, 485498096 + +// CHECK: rcrl %cl, 64(%rdx) +// CHECK: encoding: [0xd3,0x5a,0x40] +rcrl %cl, 64(%rdx) + +// CHECK: rcrl %cl, 64(%rdx,%rax,4) +// CHECK: encoding: [0xd3,0x5c,0x82,0x40] +rcrl %cl, 64(%rdx,%rax,4) + +// CHECK: rcrl %cl, -64(%rdx,%rax,4) +// CHECK: encoding: [0xd3,0x5c,0x82,0xc0] +rcrl %cl, -64(%rdx,%rax,4) + +// CHECK: rcrl %cl, 64(%rdx,%rax) +// CHECK: encoding: [0xd3,0x5c,0x02,0x40] +rcrl %cl, 64(%rdx,%rax) + +// CHECK: rcrl %cl, %r13d +// CHECK: encoding: [0x41,0xd3,0xdd] +rcrl %cl, %r13d + +// CHECK: rcrl %cl, (%rdx) +// CHECK: encoding: [0xd3,0x1a] +rcrl %cl, (%rdx) + +// CHECK: rcrl %r13d +// CHECK: encoding: [0x41,0xd1,0xdd] +rcrl %r13d + +// CHECK: rcrl (%rdx) +// CHECK: encoding: [0xd1,0x1a] +rcrl (%rdx) + +// CHECK: rcrq 485498096 +// CHECK: encoding: [0x48,0xd1,0x1c,0x25,0xf0,0x1c,0xf0,0x1c] +rcrq 485498096 + +// CHECK: rcrq 64(%rdx) +// CHECK: encoding: [0x48,0xd1,0x5a,0x40] +rcrq 64(%rdx) + +// CHECK: rcrq 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xd1,0x5c,0x82,0x40] +rcrq 64(%rdx,%rax,4) + +// CHECK: rcrq -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xd1,0x5c,0x82,0xc0] +rcrq -64(%rdx,%rax,4) + +// CHECK: rcrq 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xd1,0x5c,0x02,0x40] +rcrq 64(%rdx,%rax) + +// CHECK: rcrq %cl, 485498096 +// CHECK: encoding: [0x48,0xd3,0x1c,0x25,0xf0,0x1c,0xf0,0x1c] +rcrq %cl, 485498096 + +// CHECK: rcrq %cl, 64(%rdx) +// CHECK: encoding: [0x48,0xd3,0x5a,0x40] +rcrq %cl, 64(%rdx) + +// CHECK: rcrq %cl, 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xd3,0x5c,0x82,0x40] +rcrq %cl, 64(%rdx,%rax,4) + +// CHECK: rcrq %cl, -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xd3,0x5c,0x82,0xc0] +rcrq %cl, -64(%rdx,%rax,4) + +// CHECK: rcrq %cl, 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xd3,0x5c,0x02,0x40] +rcrq %cl, 64(%rdx,%rax) + +// CHECK: rcrq %cl, (%rdx) +// CHECK: encoding: [0x48,0xd3,0x1a] +rcrq %cl, (%rdx) + +// CHECK: rcrq (%rdx) +// CHECK: encoding: [0x48,0xd1,0x1a] +rcrq (%rdx) + +// CHECK: rcrw 485498096 +// CHECK: encoding: [0x66,0xd1,0x1c,0x25,0xf0,0x1c,0xf0,0x1c] +rcrw 485498096 + +// CHECK: rcrw 64(%rdx) +// CHECK: encoding: [0x66,0xd1,0x5a,0x40] +rcrw 64(%rdx) + +// CHECK: rcrw 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xd1,0x5c,0x82,0x40] +rcrw 64(%rdx,%rax,4) + +// CHECK: rcrw -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xd1,0x5c,0x82,0xc0] +rcrw -64(%rdx,%rax,4) + +// CHECK: rcrw 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xd1,0x5c,0x02,0x40] +rcrw 64(%rdx,%rax) + +// CHECK: rcrw %cl, 485498096 +// CHECK: encoding: [0x66,0xd3,0x1c,0x25,0xf0,0x1c,0xf0,0x1c] +rcrw %cl, 485498096 + +// CHECK: rcrw %cl, 64(%rdx) +// CHECK: encoding: [0x66,0xd3,0x5a,0x40] +rcrw %cl, 64(%rdx) + +// CHECK: rcrw %cl, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xd3,0x5c,0x82,0x40] +rcrw %cl, 64(%rdx,%rax,4) + +// CHECK: rcrw %cl, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xd3,0x5c,0x82,0xc0] +rcrw %cl, -64(%rdx,%rax,4) + +// CHECK: rcrw %cl, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xd3,0x5c,0x02,0x40] +rcrw %cl, 64(%rdx,%rax) + +// CHECK: rcrw %cl, %r14w +// CHECK: encoding: [0x66,0x41,0xd3,0xde] +rcrw %cl, %r14w + +// CHECK: rcrw %cl, (%rdx) +// CHECK: encoding: [0x66,0xd3,0x1a] +rcrw %cl, (%rdx) + +// CHECK: rcrw %r14w +// CHECK: encoding: [0x66,0x41,0xd1,0xde] +rcrw %r14w + +// CHECK: rcrw (%rdx) +// CHECK: encoding: [0x66,0xd1,0x1a] +rcrw (%rdx) + +// CHECK: rep cmpsb %es:(%rdi), %gs:(%rsi) +// CHECK: encoding: [0xf3,0x65,0xa6] +rep cmpsb %es:(%rdi), %gs:(%rsi) + +// CHECK: rep cmpsl %es:(%rdi), %gs:(%rsi) +// CHECK: encoding: [0xf3,0x65,0xa7] +rep cmpsl %es:(%rdi), %gs:(%rsi) + +// CHECK: rep cmpsq %es:(%rdi), %gs:(%rsi) +// CHECK: encoding: [0xf3,0x48,0x65,0xa7] +rep cmpsq %es:(%rdi), %gs:(%rsi) + +// CHECK: rep cmpsw %es:(%rdi), %gs:(%rsi) +// CHECK: encoding: [0xf3,0x66,0x65,0xa7] +rep cmpsw %es:(%rdi), %gs:(%rsi) + +// CHECK: rep lodsb %gs:(%rsi), %al +// CHECK: encoding: [0xf3,0x65,0xac] +rep lodsb %gs:(%rsi), %al + +// CHECK: rep lodsw %gs:(%rsi), %ax +// CHECK: encoding: [0xf3,0x66,0x65,0xad] +rep lodsw %gs:(%rsi), %ax + +// CHECK: rep movsb %gs:(%rsi), %es:(%rdi) +// CHECK: encoding: [0xf3,0x65,0xa4] +rep movsb %gs:(%rsi), %es:(%rdi) + +// CHECK: rep movsl %gs:(%rsi), %es:(%rdi) +// CHECK: encoding: [0xf3,0x65,0xa5] +rep movsl %gs:(%rsi), %es:(%rdi) + +// CHECK: rep movsq %gs:(%rsi), %es:(%rdi) +// CHECK: encoding: [0xf3,0x48,0x65,0xa5] +rep movsq %gs:(%rsi), %es:(%rdi) + +// CHECK: rep movsw %gs:(%rsi), %es:(%rdi) +// CHECK: encoding: [0xf3,0x66,0x65,0xa5] +rep movsw %gs:(%rsi), %es:(%rdi) + +// CHECK: repne cmpsb %es:(%rdi), %gs:(%rsi) +// CHECK: encoding: [0xf2,0x65,0xa6] +repne cmpsb %es:(%rdi), %gs:(%rsi) + +// CHECK: repne cmpsl %es:(%rdi), %gs:(%rsi) +// CHECK: encoding: [0xf2,0x65,0xa7] +repne cmpsl %es:(%rdi), %gs:(%rsi) + +// CHECK: repne cmpsq %es:(%rdi), %gs:(%rsi) +// CHECK: encoding: [0xf2,0x48,0x65,0xa7] +repne cmpsq %es:(%rdi), %gs:(%rsi) + +// CHECK: repne cmpsw %es:(%rdi), %gs:(%rsi) +// CHECK: encoding: [0xf2,0x66,0x65,0xa7] +repne cmpsw %es:(%rdi), %gs:(%rsi) + +// CHECK: repne lodsb %gs:(%rsi), %al +// CHECK: encoding: [0xf2,0x65,0xac] +repne lodsb %gs:(%rsi), %al + +// CHECK: repne lodsw %gs:(%rsi), %ax +// CHECK: encoding: [0xf2,0x66,0x65,0xad] +repne lodsw %gs:(%rsi), %ax + +// CHECK: repne movsb %gs:(%rsi), %es:(%rdi) +// CHECK: encoding: [0xf2,0x65,0xa4] +repne movsb %gs:(%rsi), %es:(%rdi) + +// CHECK: repne movsl %gs:(%rsi), %es:(%rdi) +// CHECK: encoding: [0xf2,0x65,0xa5] +repne movsl %gs:(%rsi), %es:(%rdi) + +// CHECK: repne movsq %gs:(%rsi), %es:(%rdi) +// CHECK: encoding: [0xf2,0x48,0x65,0xa5] +repne movsq %gs:(%rsi), %es:(%rdi) + +// CHECK: repne movsw %gs:(%rsi), %es:(%rdi) +// CHECK: encoding: [0xf2,0x66,0x65,0xa5] +repne movsw %gs:(%rsi), %es:(%rdi) + +// CHECK: repne scasb %es:(%rdi), %al +// CHECK: encoding: [0xf2,0xae] +repne scasb %es:(%rdi), %al + +// CHECK: repne scasw %es:(%rdi), %ax +// CHECK: encoding: [0xf2,0x66,0xaf] +repne scasw %es:(%rdi), %ax + +// CHECK: repne stosb %al, %es:(%rdi) +// CHECK: encoding: [0xf2,0xaa] +repne stosb %al, %es:(%rdi) + +// CHECK: repne stosw %ax, %es:(%rdi) +// CHECK: encoding: [0xf2,0x66,0xab] +repne stosw %ax, %es:(%rdi) + +// CHECK: rep scasb %es:(%rdi), %al +// CHECK: encoding: [0xf3,0xae] +rep scasb %es:(%rdi), %al + +// CHECK: rep scasw %es:(%rdi), %ax +// CHECK: encoding: [0xf3,0x66,0xaf] +rep scasw %es:(%rdi), %ax + +// CHECK: rep stosb %al, %es:(%rdi) +// CHECK: encoding: [0xf3,0xaa] +rep stosb %al, %es:(%rdi) + +// CHECK: rep stosw %ax, %es:(%rdi) +// CHECK: encoding: [0xf3,0x66,0xab] +rep stosw %ax, %es:(%rdi) + +// CHECK: rolb 485498096 +// CHECK: encoding: [0xd0,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +rolb 485498096 + +// CHECK: rolb 64(%rdx) +// CHECK: encoding: [0xd0,0x42,0x40] +rolb 64(%rdx) + +// CHECK: rolb 64(%rdx,%rax,4) +// CHECK: encoding: [0xd0,0x44,0x82,0x40] +rolb 64(%rdx,%rax,4) + +// CHECK: rolb -64(%rdx,%rax,4) +// CHECK: encoding: [0xd0,0x44,0x82,0xc0] +rolb -64(%rdx,%rax,4) + +// CHECK: rolb 64(%rdx,%rax) +// CHECK: encoding: [0xd0,0x44,0x02,0x40] +rolb 64(%rdx,%rax) + +// CHECK: rolb %cl, 485498096 +// CHECK: encoding: [0xd2,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +rolb %cl, 485498096 + +// CHECK: rolb %cl, 64(%rdx) +// CHECK: encoding: [0xd2,0x42,0x40] +rolb %cl, 64(%rdx) + +// CHECK: rolb %cl, 64(%rdx,%rax,4) +// CHECK: encoding: [0xd2,0x44,0x82,0x40] +rolb %cl, 64(%rdx,%rax,4) + +// CHECK: rolb %cl, -64(%rdx,%rax,4) +// CHECK: encoding: [0xd2,0x44,0x82,0xc0] +rolb %cl, -64(%rdx,%rax,4) + +// CHECK: rolb %cl, 64(%rdx,%rax) +// CHECK: encoding: [0xd2,0x44,0x02,0x40] +rolb %cl, 64(%rdx,%rax) + +// CHECK: rolb %cl, %r14b +// CHECK: encoding: [0x41,0xd2,0xc6] +rolb %cl, %r14b + +// CHECK: rolb %cl, (%rdx) +// CHECK: encoding: [0xd2,0x02] +rolb %cl, (%rdx) + +// CHECK: rolb %r14b +// CHECK: encoding: [0x41,0xd0,0xc6] +rolb %r14b + +// CHECK: rolb (%rdx) +// CHECK: encoding: [0xd0,0x02] +rolb (%rdx) + +// CHECK: roll 485498096 +// CHECK: encoding: [0xd1,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +roll 485498096 + +// CHECK: roll 64(%rdx) +// CHECK: encoding: [0xd1,0x42,0x40] +roll 64(%rdx) + +// CHECK: roll 64(%rdx,%rax,4) +// CHECK: encoding: [0xd1,0x44,0x82,0x40] +roll 64(%rdx,%rax,4) + +// CHECK: roll -64(%rdx,%rax,4) +// CHECK: encoding: [0xd1,0x44,0x82,0xc0] +roll -64(%rdx,%rax,4) + +// CHECK: roll 64(%rdx,%rax) +// CHECK: encoding: [0xd1,0x44,0x02,0x40] +roll 64(%rdx,%rax) + +// CHECK: roll %cl, 485498096 +// CHECK: encoding: [0xd3,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +roll %cl, 485498096 + +// CHECK: roll %cl, 64(%rdx) +// CHECK: encoding: [0xd3,0x42,0x40] +roll %cl, 64(%rdx) + +// CHECK: roll %cl, 64(%rdx,%rax,4) +// CHECK: encoding: [0xd3,0x44,0x82,0x40] +roll %cl, 64(%rdx,%rax,4) + +// CHECK: roll %cl, -64(%rdx,%rax,4) +// CHECK: encoding: [0xd3,0x44,0x82,0xc0] +roll %cl, -64(%rdx,%rax,4) + +// CHECK: roll %cl, 64(%rdx,%rax) +// CHECK: encoding: [0xd3,0x44,0x02,0x40] +roll %cl, 64(%rdx,%rax) + +// CHECK: roll %cl, %r13d +// CHECK: encoding: [0x41,0xd3,0xc5] +roll %cl, %r13d + +// CHECK: roll %cl, (%rdx) +// CHECK: encoding: [0xd3,0x02] +roll %cl, (%rdx) + +// CHECK: roll %r13d +// CHECK: encoding: [0x41,0xd1,0xc5] +roll %r13d + +// CHECK: roll (%rdx) +// CHECK: encoding: [0xd1,0x02] +roll (%rdx) + +// CHECK: rolq 485498096 +// CHECK: encoding: [0x48,0xd1,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +rolq 485498096 + +// CHECK: rolq 64(%rdx) +// CHECK: encoding: [0x48,0xd1,0x42,0x40] +rolq 64(%rdx) + +// CHECK: rolq 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xd1,0x44,0x82,0x40] +rolq 64(%rdx,%rax,4) + +// CHECK: rolq -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xd1,0x44,0x82,0xc0] +rolq -64(%rdx,%rax,4) + +// CHECK: rolq 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xd1,0x44,0x02,0x40] +rolq 64(%rdx,%rax) + +// CHECK: rolq %cl, 485498096 +// CHECK: encoding: [0x48,0xd3,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +rolq %cl, 485498096 + +// CHECK: rolq %cl, 64(%rdx) +// CHECK: encoding: [0x48,0xd3,0x42,0x40] +rolq %cl, 64(%rdx) + +// CHECK: rolq %cl, 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xd3,0x44,0x82,0x40] +rolq %cl, 64(%rdx,%rax,4) + +// CHECK: rolq %cl, -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xd3,0x44,0x82,0xc0] +rolq %cl, -64(%rdx,%rax,4) + +// CHECK: rolq %cl, 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xd3,0x44,0x02,0x40] +rolq %cl, 64(%rdx,%rax) + +// CHECK: rolq %cl, (%rdx) +// CHECK: encoding: [0x48,0xd3,0x02] +rolq %cl, (%rdx) + +// CHECK: rolq (%rdx) +// CHECK: encoding: [0x48,0xd1,0x02] +rolq (%rdx) + +// CHECK: rolw 485498096 +// CHECK: encoding: [0x66,0xd1,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +rolw 485498096 + +// CHECK: rolw 64(%rdx) +// CHECK: encoding: [0x66,0xd1,0x42,0x40] +rolw 64(%rdx) + +// CHECK: rolw 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xd1,0x44,0x82,0x40] +rolw 64(%rdx,%rax,4) + +// CHECK: rolw -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xd1,0x44,0x82,0xc0] +rolw -64(%rdx,%rax,4) + +// CHECK: rolw 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xd1,0x44,0x02,0x40] +rolw 64(%rdx,%rax) + +// CHECK: rolw %cl, 485498096 +// CHECK: encoding: [0x66,0xd3,0x04,0x25,0xf0,0x1c,0xf0,0x1c] +rolw %cl, 485498096 + +// CHECK: rolw %cl, 64(%rdx) +// CHECK: encoding: [0x66,0xd3,0x42,0x40] +rolw %cl, 64(%rdx) + +// CHECK: rolw %cl, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xd3,0x44,0x82,0x40] +rolw %cl, 64(%rdx,%rax,4) + +// CHECK: rolw %cl, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xd3,0x44,0x82,0xc0] +rolw %cl, -64(%rdx,%rax,4) + +// CHECK: rolw %cl, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xd3,0x44,0x02,0x40] +rolw %cl, 64(%rdx,%rax) + +// CHECK: rolw %cl, %r14w +// CHECK: encoding: [0x66,0x41,0xd3,0xc6] +rolw %cl, %r14w + +// CHECK: rolw %cl, (%rdx) +// CHECK: encoding: [0x66,0xd3,0x02] +rolw %cl, (%rdx) + +// CHECK: rolw %r14w +// CHECK: encoding: [0x66,0x41,0xd1,0xc6] +rolw %r14w + +// CHECK: rolw (%rdx) +// CHECK: encoding: [0x66,0xd1,0x02] +rolw (%rdx) + +// CHECK: rorb 485498096 +// CHECK: encoding: [0xd0,0x0c,0x25,0xf0,0x1c,0xf0,0x1c] +rorb 485498096 + +// CHECK: rorb 64(%rdx) +// CHECK: encoding: [0xd0,0x4a,0x40] +rorb 64(%rdx) + +// CHECK: rorb 64(%rdx,%rax,4) +// CHECK: encoding: [0xd0,0x4c,0x82,0x40] +rorb 64(%rdx,%rax,4) + +// CHECK: rorb -64(%rdx,%rax,4) +// CHECK: encoding: [0xd0,0x4c,0x82,0xc0] +rorb -64(%rdx,%rax,4) + +// CHECK: rorb 64(%rdx,%rax) +// CHECK: encoding: [0xd0,0x4c,0x02,0x40] +rorb 64(%rdx,%rax) + +// CHECK: rorb %cl, 485498096 +// CHECK: encoding: [0xd2,0x0c,0x25,0xf0,0x1c,0xf0,0x1c] +rorb %cl, 485498096 + +// CHECK: rorb %cl, 64(%rdx) +// CHECK: encoding: [0xd2,0x4a,0x40] +rorb %cl, 64(%rdx) + +// CHECK: rorb %cl, 64(%rdx,%rax,4) +// CHECK: encoding: [0xd2,0x4c,0x82,0x40] +rorb %cl, 64(%rdx,%rax,4) + +// CHECK: rorb %cl, -64(%rdx,%rax,4) +// CHECK: encoding: [0xd2,0x4c,0x82,0xc0] +rorb %cl, -64(%rdx,%rax,4) + +// CHECK: rorb %cl, 64(%rdx,%rax) +// CHECK: encoding: [0xd2,0x4c,0x02,0x40] +rorb %cl, 64(%rdx,%rax) + +// CHECK: rorb %cl, %r14b +// CHECK: encoding: [0x41,0xd2,0xce] +rorb %cl, %r14b + +// CHECK: rorb %cl, (%rdx) +// CHECK: encoding: [0xd2,0x0a] +rorb %cl, (%rdx) + +// CHECK: rorb %r14b +// CHECK: encoding: [0x41,0xd0,0xce] +rorb %r14b + +// CHECK: rorb (%rdx) +// CHECK: encoding: [0xd0,0x0a] +rorb (%rdx) + +// CHECK: rorl 485498096 +// CHECK: encoding: [0xd1,0x0c,0x25,0xf0,0x1c,0xf0,0x1c] +rorl 485498096 + +// CHECK: rorl 64(%rdx) +// CHECK: encoding: [0xd1,0x4a,0x40] +rorl 64(%rdx) + +// CHECK: rorl 64(%rdx,%rax,4) +// CHECK: encoding: [0xd1,0x4c,0x82,0x40] +rorl 64(%rdx,%rax,4) + +// CHECK: rorl -64(%rdx,%rax,4) +// CHECK: encoding: [0xd1,0x4c,0x82,0xc0] +rorl -64(%rdx,%rax,4) + +// CHECK: rorl 64(%rdx,%rax) +// CHECK: encoding: [0xd1,0x4c,0x02,0x40] +rorl 64(%rdx,%rax) + +// CHECK: rorl %cl, 485498096 +// CHECK: encoding: [0xd3,0x0c,0x25,0xf0,0x1c,0xf0,0x1c] +rorl %cl, 485498096 + +// CHECK: rorl %cl, 64(%rdx) +// CHECK: encoding: [0xd3,0x4a,0x40] +rorl %cl, 64(%rdx) + +// CHECK: rorl %cl, 64(%rdx,%rax,4) +// CHECK: encoding: [0xd3,0x4c,0x82,0x40] +rorl %cl, 64(%rdx,%rax,4) + +// CHECK: rorl %cl, -64(%rdx,%rax,4) +// CHECK: encoding: [0xd3,0x4c,0x82,0xc0] +rorl %cl, -64(%rdx,%rax,4) + +// CHECK: rorl %cl, 64(%rdx,%rax) +// CHECK: encoding: [0xd3,0x4c,0x02,0x40] +rorl %cl, 64(%rdx,%rax) + +// CHECK: rorl %cl, %r13d +// CHECK: encoding: [0x41,0xd3,0xcd] +rorl %cl, %r13d + +// CHECK: rorl %cl, (%rdx) +// CHECK: encoding: [0xd3,0x0a] +rorl %cl, (%rdx) + +// CHECK: rorl %r13d +// CHECK: encoding: [0x41,0xd1,0xcd] +rorl %r13d + +// CHECK: rorl (%rdx) +// CHECK: encoding: [0xd1,0x0a] +rorl (%rdx) + +// CHECK: rorq 485498096 +// CHECK: encoding: [0x48,0xd1,0x0c,0x25,0xf0,0x1c,0xf0,0x1c] +rorq 485498096 + +// CHECK: rorq 64(%rdx) +// CHECK: encoding: [0x48,0xd1,0x4a,0x40] +rorq 64(%rdx) + +// CHECK: rorq 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xd1,0x4c,0x82,0x40] +rorq 64(%rdx,%rax,4) + +// CHECK: rorq -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xd1,0x4c,0x82,0xc0] +rorq -64(%rdx,%rax,4) + +// CHECK: rorq 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xd1,0x4c,0x02,0x40] +rorq 64(%rdx,%rax) + +// CHECK: rorq %cl, 485498096 +// CHECK: encoding: [0x48,0xd3,0x0c,0x25,0xf0,0x1c,0xf0,0x1c] +rorq %cl, 485498096 + +// CHECK: rorq %cl, 64(%rdx) +// CHECK: encoding: [0x48,0xd3,0x4a,0x40] +rorq %cl, 64(%rdx) + +// CHECK: rorq %cl, 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xd3,0x4c,0x82,0x40] +rorq %cl, 64(%rdx,%rax,4) + +// CHECK: rorq %cl, -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xd3,0x4c,0x82,0xc0] +rorq %cl, -64(%rdx,%rax,4) + +// CHECK: rorq %cl, 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xd3,0x4c,0x02,0x40] +rorq %cl, 64(%rdx,%rax) + +// CHECK: rorq %cl, (%rdx) +// CHECK: encoding: [0x48,0xd3,0x0a] +rorq %cl, (%rdx) + +// CHECK: rorq (%rdx) +// CHECK: encoding: [0x48,0xd1,0x0a] +rorq (%rdx) + +// CHECK: rorw 485498096 +// CHECK: encoding: [0x66,0xd1,0x0c,0x25,0xf0,0x1c,0xf0,0x1c] +rorw 485498096 + +// CHECK: rorw 64(%rdx) +// CHECK: encoding: [0x66,0xd1,0x4a,0x40] +rorw 64(%rdx) + +// CHECK: rorw 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xd1,0x4c,0x82,0x40] +rorw 64(%rdx,%rax,4) + +// CHECK: rorw -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xd1,0x4c,0x82,0xc0] +rorw -64(%rdx,%rax,4) + +// CHECK: rorw 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xd1,0x4c,0x02,0x40] +rorw 64(%rdx,%rax) + +// CHECK: rorw %cl, 485498096 +// CHECK: encoding: [0x66,0xd3,0x0c,0x25,0xf0,0x1c,0xf0,0x1c] +rorw %cl, 485498096 + +// CHECK: rorw %cl, 64(%rdx) +// CHECK: encoding: [0x66,0xd3,0x4a,0x40] +rorw %cl, 64(%rdx) + +// CHECK: rorw %cl, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xd3,0x4c,0x82,0x40] +rorw %cl, 64(%rdx,%rax,4) + +// CHECK: rorw %cl, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xd3,0x4c,0x82,0xc0] +rorw %cl, -64(%rdx,%rax,4) + +// CHECK: rorw %cl, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xd3,0x4c,0x02,0x40] +rorw %cl, 64(%rdx,%rax) + +// CHECK: rorw %cl, %r14w +// CHECK: encoding: [0x66,0x41,0xd3,0xce] +rorw %cl, %r14w + +// CHECK: rorw %cl, (%rdx) +// CHECK: encoding: [0x66,0xd3,0x0a] +rorw %cl, (%rdx) + +// CHECK: rorw %r14w +// CHECK: encoding: [0x66,0x41,0xd1,0xce] +rorw %r14w + +// CHECK: rorw (%rdx) +// CHECK: encoding: [0x66,0xd1,0x0a] +rorw (%rdx) + +// CHECK: sarb 485498096 +// CHECK: encoding: [0xd0,0x3c,0x25,0xf0,0x1c,0xf0,0x1c] +sarb 485498096 + +// CHECK: sarb 64(%rdx) +// CHECK: encoding: [0xd0,0x7a,0x40] +sarb 64(%rdx) + +// CHECK: sarb 64(%rdx,%rax,4) +// CHECK: encoding: [0xd0,0x7c,0x82,0x40] +sarb 64(%rdx,%rax,4) + +// CHECK: sarb -64(%rdx,%rax,4) +// CHECK: encoding: [0xd0,0x7c,0x82,0xc0] +sarb -64(%rdx,%rax,4) + +// CHECK: sarb 64(%rdx,%rax) +// CHECK: encoding: [0xd0,0x7c,0x02,0x40] +sarb 64(%rdx,%rax) + +// CHECK: sarb %cl, 485498096 +// CHECK: encoding: [0xd2,0x3c,0x25,0xf0,0x1c,0xf0,0x1c] +sarb %cl, 485498096 + +// CHECK: sarb %cl, 64(%rdx) +// CHECK: encoding: [0xd2,0x7a,0x40] +sarb %cl, 64(%rdx) + +// CHECK: sarb %cl, 64(%rdx,%rax,4) +// CHECK: encoding: [0xd2,0x7c,0x82,0x40] +sarb %cl, 64(%rdx,%rax,4) + +// CHECK: sarb %cl, -64(%rdx,%rax,4) +// CHECK: encoding: [0xd2,0x7c,0x82,0xc0] +sarb %cl, -64(%rdx,%rax,4) + +// CHECK: sarb %cl, 64(%rdx,%rax) +// CHECK: encoding: [0xd2,0x7c,0x02,0x40] +sarb %cl, 64(%rdx,%rax) + +// CHECK: sarb %cl, %r14b +// CHECK: encoding: [0x41,0xd2,0xfe] +sarb %cl, %r14b + +// CHECK: sarb %cl, (%rdx) +// CHECK: encoding: [0xd2,0x3a] +sarb %cl, (%rdx) + +// CHECK: sarb %r14b +// CHECK: encoding: [0x41,0xd0,0xfe] +sarb %r14b + +// CHECK: sarb (%rdx) +// CHECK: encoding: [0xd0,0x3a] +sarb (%rdx) + +// CHECK: sarl 485498096 +// CHECK: encoding: [0xd1,0x3c,0x25,0xf0,0x1c,0xf0,0x1c] +sarl 485498096 + +// CHECK: sarl 64(%rdx) +// CHECK: encoding: [0xd1,0x7a,0x40] +sarl 64(%rdx) + +// CHECK: sarl 64(%rdx,%rax,4) +// CHECK: encoding: [0xd1,0x7c,0x82,0x40] +sarl 64(%rdx,%rax,4) + +// CHECK: sarl -64(%rdx,%rax,4) +// CHECK: encoding: [0xd1,0x7c,0x82,0xc0] +sarl -64(%rdx,%rax,4) + +// CHECK: sarl 64(%rdx,%rax) +// CHECK: encoding: [0xd1,0x7c,0x02,0x40] +sarl 64(%rdx,%rax) + +// CHECK: sarl %cl, 485498096 +// CHECK: encoding: [0xd3,0x3c,0x25,0xf0,0x1c,0xf0,0x1c] +sarl %cl, 485498096 + +// CHECK: sarl %cl, 64(%rdx) +// CHECK: encoding: [0xd3,0x7a,0x40] +sarl %cl, 64(%rdx) + +// CHECK: sarl %cl, 64(%rdx,%rax,4) +// CHECK: encoding: [0xd3,0x7c,0x82,0x40] +sarl %cl, 64(%rdx,%rax,4) + +// CHECK: sarl %cl, -64(%rdx,%rax,4) +// CHECK: encoding: [0xd3,0x7c,0x82,0xc0] +sarl %cl, -64(%rdx,%rax,4) + +// CHECK: sarl %cl, 64(%rdx,%rax) +// CHECK: encoding: [0xd3,0x7c,0x02,0x40] +sarl %cl, 64(%rdx,%rax) + +// CHECK: sarl %cl, %r13d +// CHECK: encoding: [0x41,0xd3,0xfd] +sarl %cl, %r13d + +// CHECK: sarl %cl, (%rdx) +// CHECK: encoding: [0xd3,0x3a] +sarl %cl, (%rdx) + +// CHECK: sarl %r13d +// CHECK: encoding: [0x41,0xd1,0xfd] +sarl %r13d + +// CHECK: sarl (%rdx) +// CHECK: encoding: [0xd1,0x3a] +sarl (%rdx) + +// CHECK: sarq 485498096 +// CHECK: encoding: [0x48,0xd1,0x3c,0x25,0xf0,0x1c,0xf0,0x1c] +sarq 485498096 + +// CHECK: sarq 64(%rdx) +// CHECK: encoding: [0x48,0xd1,0x7a,0x40] +sarq 64(%rdx) + +// CHECK: sarq 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xd1,0x7c,0x82,0x40] +sarq 64(%rdx,%rax,4) + +// CHECK: sarq -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xd1,0x7c,0x82,0xc0] +sarq -64(%rdx,%rax,4) + +// CHECK: sarq 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xd1,0x7c,0x02,0x40] +sarq 64(%rdx,%rax) + +// CHECK: sarq %cl, 485498096 +// CHECK: encoding: [0x48,0xd3,0x3c,0x25,0xf0,0x1c,0xf0,0x1c] +sarq %cl, 485498096 + +// CHECK: sarq %cl, 64(%rdx) +// CHECK: encoding: [0x48,0xd3,0x7a,0x40] +sarq %cl, 64(%rdx) + +// CHECK: sarq %cl, 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xd3,0x7c,0x82,0x40] +sarq %cl, 64(%rdx,%rax,4) + +// CHECK: sarq %cl, -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xd3,0x7c,0x82,0xc0] +sarq %cl, -64(%rdx,%rax,4) + +// CHECK: sarq %cl, 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xd3,0x7c,0x02,0x40] +sarq %cl, 64(%rdx,%rax) + +// CHECK: sarq %cl, (%rdx) +// CHECK: encoding: [0x48,0xd3,0x3a] +sarq %cl, (%rdx) + +// CHECK: sarq (%rdx) +// CHECK: encoding: [0x48,0xd1,0x3a] +sarq (%rdx) + +// CHECK: sarw 485498096 +// CHECK: encoding: [0x66,0xd1,0x3c,0x25,0xf0,0x1c,0xf0,0x1c] +sarw 485498096 + +// CHECK: sarw 64(%rdx) +// CHECK: encoding: [0x66,0xd1,0x7a,0x40] +sarw 64(%rdx) + +// CHECK: sarw 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xd1,0x7c,0x82,0x40] +sarw 64(%rdx,%rax,4) + +// CHECK: sarw -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xd1,0x7c,0x82,0xc0] +sarw -64(%rdx,%rax,4) + +// CHECK: sarw 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xd1,0x7c,0x02,0x40] +sarw 64(%rdx,%rax) + +// CHECK: sarw %cl, 485498096 +// CHECK: encoding: [0x66,0xd3,0x3c,0x25,0xf0,0x1c,0xf0,0x1c] +sarw %cl, 485498096 + +// CHECK: sarw %cl, 64(%rdx) +// CHECK: encoding: [0x66,0xd3,0x7a,0x40] +sarw %cl, 64(%rdx) + +// CHECK: sarw %cl, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xd3,0x7c,0x82,0x40] +sarw %cl, 64(%rdx,%rax,4) + +// CHECK: sarw %cl, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xd3,0x7c,0x82,0xc0] +sarw %cl, -64(%rdx,%rax,4) + +// CHECK: sarw %cl, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xd3,0x7c,0x02,0x40] +sarw %cl, 64(%rdx,%rax) + +// CHECK: sarw %cl, %r14w +// CHECK: encoding: [0x66,0x41,0xd3,0xfe] +sarw %cl, %r14w + +// CHECK: sarw %cl, (%rdx) +// CHECK: encoding: [0x66,0xd3,0x3a] +sarw %cl, (%rdx) + +// CHECK: sarw %r14w +// CHECK: encoding: [0x66,0x41,0xd1,0xfe] +sarw %r14w + +// CHECK: sarw (%rdx) +// CHECK: encoding: [0x66,0xd1,0x3a] +sarw (%rdx) + +// CHECK: sbbb $0, 485498096 +// CHECK: encoding: [0x80,0x1c,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +sbbb $0, 485498096 + +// CHECK: sbbb $0, 64(%rdx) +// CHECK: encoding: [0x80,0x5a,0x40,0x00] +sbbb $0, 64(%rdx) + +// CHECK: sbbb $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x80,0x5c,0x82,0x40,0x00] +sbbb $0, 64(%rdx,%rax,4) + +// CHECK: sbbb $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x80,0x5c,0x82,0xc0,0x00] +sbbb $0, -64(%rdx,%rax,4) + +// CHECK: sbbb $0, 64(%rdx,%rax) +// CHECK: encoding: [0x80,0x5c,0x02,0x40,0x00] +sbbb $0, 64(%rdx,%rax) + +// CHECK: sbbb $0, %al +// CHECK: encoding: [0x1c,0x00] +sbbb $0, %al + +// CHECK: sbbb $0, %r14b +// CHECK: encoding: [0x41,0x80,0xde,0x00] +sbbb $0, %r14b + +// CHECK: sbbb $0, (%rdx) +// CHECK: encoding: [0x80,0x1a,0x00] +sbbb $0, (%rdx) + +// CHECK: sbbb 485498096, %r14b +// CHECK: encoding: [0x44,0x1a,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +sbbb 485498096, %r14b + +// CHECK: sbbb 64(%rdx), %r14b +// CHECK: encoding: [0x44,0x1a,0x72,0x40] +sbbb 64(%rdx), %r14b + +// CHECK: sbbb 64(%rdx,%rax,4), %r14b +// CHECK: encoding: [0x44,0x1a,0x74,0x82,0x40] +sbbb 64(%rdx,%rax,4), %r14b + +// CHECK: sbbb -64(%rdx,%rax,4), %r14b +// CHECK: encoding: [0x44,0x1a,0x74,0x82,0xc0] +sbbb -64(%rdx,%rax,4), %r14b + +// CHECK: sbbb 64(%rdx,%rax), %r14b +// CHECK: encoding: [0x44,0x1a,0x74,0x02,0x40] +sbbb 64(%rdx,%rax), %r14b + +// CHECK: sbbb %r14b, 485498096 +// CHECK: encoding: [0x44,0x18,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +sbbb %r14b, 485498096 + +// CHECK: sbbb %r14b, 64(%rdx) +// CHECK: encoding: [0x44,0x18,0x72,0x40] +sbbb %r14b, 64(%rdx) + +// CHECK: sbbb %r14b, 64(%rdx,%rax,4) +// CHECK: encoding: [0x44,0x18,0x74,0x82,0x40] +sbbb %r14b, 64(%rdx,%rax,4) + +// CHECK: sbbb %r14b, -64(%rdx,%rax,4) +// CHECK: encoding: [0x44,0x18,0x74,0x82,0xc0] +sbbb %r14b, -64(%rdx,%rax,4) + +// CHECK: sbbb %r14b, 64(%rdx,%rax) +// CHECK: encoding: [0x44,0x18,0x74,0x02,0x40] +sbbb %r14b, 64(%rdx,%rax) + +// CHECK: sbbb %r14b, %r14b +// CHECK: encoding: [0x45,0x18,0xf6] +sbbb %r14b, %r14b + +// CHECK: sbbb %r14b, (%rdx) +// CHECK: encoding: [0x44,0x18,0x32] +sbbb %r14b, (%rdx) + +// CHECK: sbbb (%rdx), %r14b +// CHECK: encoding: [0x44,0x1a,0x32] +sbbb (%rdx), %r14b + +// CHECK: sbbl $0, %eax +// CHECK: encoding: [0x83,0xd8,0x00] +sbbl $0, %eax + +// CHECK: sbbl $0, %r13d +// CHECK: encoding: [0x41,0x83,0xdd,0x00] +sbbl $0, %r13d + +// CHECK: sbbl %r13d, %r13d +// CHECK: encoding: [0x45,0x19,0xed] +sbbl %r13d, %r13d + +// CHECK: scasb %es:(%rdi), %al +// CHECK: encoding: [0xae] +scasb %es:(%rdi), %al + +// CHECK: scasw %es:(%rdi), %ax +// CHECK: encoding: [0x66,0xaf] +scasw %es:(%rdi), %ax + +// CHECK: shlb 485498096 +// CHECK: encoding: [0xd0,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +shlb 485498096 + +// CHECK: shlb 64(%rdx) +// CHECK: encoding: [0xd0,0x62,0x40] +shlb 64(%rdx) + +// CHECK: shlb 64(%rdx,%rax,4) +// CHECK: encoding: [0xd0,0x64,0x82,0x40] +shlb 64(%rdx,%rax,4) + +// CHECK: shlb -64(%rdx,%rax,4) +// CHECK: encoding: [0xd0,0x64,0x82,0xc0] +shlb -64(%rdx,%rax,4) + +// CHECK: shlb 64(%rdx,%rax) +// CHECK: encoding: [0xd0,0x64,0x02,0x40] +shlb 64(%rdx,%rax) + +// CHECK: shlb %cl, 485498096 +// CHECK: encoding: [0xd2,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +shlb %cl, 485498096 + +// CHECK: shlb %cl, 64(%rdx) +// CHECK: encoding: [0xd2,0x62,0x40] +shlb %cl, 64(%rdx) + +// CHECK: shlb %cl, 64(%rdx,%rax,4) +// CHECK: encoding: [0xd2,0x64,0x82,0x40] +shlb %cl, 64(%rdx,%rax,4) + +// CHECK: shlb %cl, -64(%rdx,%rax,4) +// CHECK: encoding: [0xd2,0x64,0x82,0xc0] +shlb %cl, -64(%rdx,%rax,4) + +// CHECK: shlb %cl, 64(%rdx,%rax) +// CHECK: encoding: [0xd2,0x64,0x02,0x40] +shlb %cl, 64(%rdx,%rax) + +// CHECK: shlb %cl, %r14b +// CHECK: encoding: [0x41,0xd2,0xe6] +shlb %cl, %r14b + +// CHECK: shlb %cl, (%rdx) +// CHECK: encoding: [0xd2,0x22] +shlb %cl, (%rdx) + +// CHECK: shlb %r14b +// CHECK: encoding: [0x41,0xd0,0xe6] +shlb %r14b + +// CHECK: shlb (%rdx) +// CHECK: encoding: [0xd0,0x22] +shlb (%rdx) + +// CHECK: shll 485498096 +// CHECK: encoding: [0xd1,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +shll 485498096 + +// CHECK: shll 64(%rdx) +// CHECK: encoding: [0xd1,0x62,0x40] +shll 64(%rdx) + +// CHECK: shll 64(%rdx,%rax,4) +// CHECK: encoding: [0xd1,0x64,0x82,0x40] +shll 64(%rdx,%rax,4) + +// CHECK: shll -64(%rdx,%rax,4) +// CHECK: encoding: [0xd1,0x64,0x82,0xc0] +shll -64(%rdx,%rax,4) + +// CHECK: shll 64(%rdx,%rax) +// CHECK: encoding: [0xd1,0x64,0x02,0x40] +shll 64(%rdx,%rax) + +// CHECK: shll %cl, 485498096 +// CHECK: encoding: [0xd3,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +shll %cl, 485498096 + +// CHECK: shll %cl, 64(%rdx) +// CHECK: encoding: [0xd3,0x62,0x40] +shll %cl, 64(%rdx) + +// CHECK: shll %cl, 64(%rdx,%rax,4) +// CHECK: encoding: [0xd3,0x64,0x82,0x40] +shll %cl, 64(%rdx,%rax,4) + +// CHECK: shll %cl, -64(%rdx,%rax,4) +// CHECK: encoding: [0xd3,0x64,0x82,0xc0] +shll %cl, -64(%rdx,%rax,4) + +// CHECK: shll %cl, 64(%rdx,%rax) +// CHECK: encoding: [0xd3,0x64,0x02,0x40] +shll %cl, 64(%rdx,%rax) + +// CHECK: shll %cl, %r13d +// CHECK: encoding: [0x41,0xd3,0xe5] +shll %cl, %r13d + +// CHECK: shll %cl, (%rdx) +// CHECK: encoding: [0xd3,0x22] +shll %cl, (%rdx) + +// CHECK: shll %r13d +// CHECK: encoding: [0x41,0xd1,0xe5] +shll %r13d + +// CHECK: shll (%rdx) +// CHECK: encoding: [0xd1,0x22] +shll (%rdx) + +// CHECK: shlq 485498096 +// CHECK: encoding: [0x48,0xd1,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +shlq 485498096 + +// CHECK: shlq 64(%rdx) +// CHECK: encoding: [0x48,0xd1,0x62,0x40] +shlq 64(%rdx) + +// CHECK: shlq 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xd1,0x64,0x82,0x40] +shlq 64(%rdx,%rax,4) + +// CHECK: shlq -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xd1,0x64,0x82,0xc0] +shlq -64(%rdx,%rax,4) + +// CHECK: shlq 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xd1,0x64,0x02,0x40] +shlq 64(%rdx,%rax) + +// CHECK: shlq %cl, 485498096 +// CHECK: encoding: [0x48,0xd3,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +shlq %cl, 485498096 + +// CHECK: shlq %cl, 64(%rdx) +// CHECK: encoding: [0x48,0xd3,0x62,0x40] +shlq %cl, 64(%rdx) + +// CHECK: shlq %cl, 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xd3,0x64,0x82,0x40] +shlq %cl, 64(%rdx,%rax,4) + +// CHECK: shlq %cl, -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xd3,0x64,0x82,0xc0] +shlq %cl, -64(%rdx,%rax,4) + +// CHECK: shlq %cl, 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xd3,0x64,0x02,0x40] +shlq %cl, 64(%rdx,%rax) + +// CHECK: shlq %cl, (%rdx) +// CHECK: encoding: [0x48,0xd3,0x22] +shlq %cl, (%rdx) + +// CHECK: shlq (%rdx) +// CHECK: encoding: [0x48,0xd1,0x22] +shlq (%rdx) + +// CHECK: shlw 485498096 +// CHECK: encoding: [0x66,0xd1,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +shlw 485498096 + +// CHECK: shlw 64(%rdx) +// CHECK: encoding: [0x66,0xd1,0x62,0x40] +shlw 64(%rdx) + +// CHECK: shlw 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xd1,0x64,0x82,0x40] +shlw 64(%rdx,%rax,4) + +// CHECK: shlw -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xd1,0x64,0x82,0xc0] +shlw -64(%rdx,%rax,4) + +// CHECK: shlw 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xd1,0x64,0x02,0x40] +shlw 64(%rdx,%rax) + +// CHECK: shlw %cl, 485498096 +// CHECK: encoding: [0x66,0xd3,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +shlw %cl, 485498096 + +// CHECK: shlw %cl, 64(%rdx) +// CHECK: encoding: [0x66,0xd3,0x62,0x40] +shlw %cl, 64(%rdx) + +// CHECK: shlw %cl, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xd3,0x64,0x82,0x40] +shlw %cl, 64(%rdx,%rax,4) + +// CHECK: shlw %cl, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xd3,0x64,0x82,0xc0] +shlw %cl, -64(%rdx,%rax,4) + +// CHECK: shlw %cl, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xd3,0x64,0x02,0x40] +shlw %cl, 64(%rdx,%rax) + +// CHECK: shlw %cl, %r14w +// CHECK: encoding: [0x66,0x41,0xd3,0xe6] +shlw %cl, %r14w + +// CHECK: shlw %cl, (%rdx) +// CHECK: encoding: [0x66,0xd3,0x22] +shlw %cl, (%rdx) + +// CHECK: shlw %r14w +// CHECK: encoding: [0x66,0x41,0xd1,0xe6] +shlw %r14w + +// CHECK: shlw (%rdx) +// CHECK: encoding: [0x66,0xd1,0x22] +shlw (%rdx) + +// CHECK: shrb 485498096 +// CHECK: encoding: [0xd0,0x2c,0x25,0xf0,0x1c,0xf0,0x1c] +shrb 485498096 + +// CHECK: shrb 64(%rdx) +// CHECK: encoding: [0xd0,0x6a,0x40] +shrb 64(%rdx) + +// CHECK: shrb 64(%rdx,%rax,4) +// CHECK: encoding: [0xd0,0x6c,0x82,0x40] +shrb 64(%rdx,%rax,4) + +// CHECK: shrb -64(%rdx,%rax,4) +// CHECK: encoding: [0xd0,0x6c,0x82,0xc0] +shrb -64(%rdx,%rax,4) + +// CHECK: shrb 64(%rdx,%rax) +// CHECK: encoding: [0xd0,0x6c,0x02,0x40] +shrb 64(%rdx,%rax) + +// CHECK: shrb %cl, 485498096 +// CHECK: encoding: [0xd2,0x2c,0x25,0xf0,0x1c,0xf0,0x1c] +shrb %cl, 485498096 + +// CHECK: shrb %cl, 64(%rdx) +// CHECK: encoding: [0xd2,0x6a,0x40] +shrb %cl, 64(%rdx) + +// CHECK: shrb %cl, 64(%rdx,%rax,4) +// CHECK: encoding: [0xd2,0x6c,0x82,0x40] +shrb %cl, 64(%rdx,%rax,4) + +// CHECK: shrb %cl, -64(%rdx,%rax,4) +// CHECK: encoding: [0xd2,0x6c,0x82,0xc0] +shrb %cl, -64(%rdx,%rax,4) + +// CHECK: shrb %cl, 64(%rdx,%rax) +// CHECK: encoding: [0xd2,0x6c,0x02,0x40] +shrb %cl, 64(%rdx,%rax) + +// CHECK: shrb %cl, %r14b +// CHECK: encoding: [0x41,0xd2,0xee] +shrb %cl, %r14b + +// CHECK: shrb %cl, (%rdx) +// CHECK: encoding: [0xd2,0x2a] +shrb %cl, (%rdx) + +// CHECK: shrb %r14b +// CHECK: encoding: [0x41,0xd0,0xee] +shrb %r14b + +// CHECK: shrb (%rdx) +// CHECK: encoding: [0xd0,0x2a] +shrb (%rdx) + +// CHECK: shrl 485498096 +// CHECK: encoding: [0xd1,0x2c,0x25,0xf0,0x1c,0xf0,0x1c] +shrl 485498096 + +// CHECK: shrl 64(%rdx) +// CHECK: encoding: [0xd1,0x6a,0x40] +shrl 64(%rdx) + +// CHECK: shrl 64(%rdx,%rax,4) +// CHECK: encoding: [0xd1,0x6c,0x82,0x40] +shrl 64(%rdx,%rax,4) + +// CHECK: shrl -64(%rdx,%rax,4) +// CHECK: encoding: [0xd1,0x6c,0x82,0xc0] +shrl -64(%rdx,%rax,4) + +// CHECK: shrl 64(%rdx,%rax) +// CHECK: encoding: [0xd1,0x6c,0x02,0x40] +shrl 64(%rdx,%rax) + +// CHECK: shrl %cl, 485498096 +// CHECK: encoding: [0xd3,0x2c,0x25,0xf0,0x1c,0xf0,0x1c] +shrl %cl, 485498096 + +// CHECK: shrl %cl, 64(%rdx) +// CHECK: encoding: [0xd3,0x6a,0x40] +shrl %cl, 64(%rdx) + +// CHECK: shrl %cl, 64(%rdx,%rax,4) +// CHECK: encoding: [0xd3,0x6c,0x82,0x40] +shrl %cl, 64(%rdx,%rax,4) + +// CHECK: shrl %cl, -64(%rdx,%rax,4) +// CHECK: encoding: [0xd3,0x6c,0x82,0xc0] +shrl %cl, -64(%rdx,%rax,4) + +// CHECK: shrl %cl, 64(%rdx,%rax) +// CHECK: encoding: [0xd3,0x6c,0x02,0x40] +shrl %cl, 64(%rdx,%rax) + +// CHECK: shrl %cl, %r13d +// CHECK: encoding: [0x41,0xd3,0xed] +shrl %cl, %r13d + +// CHECK: shrl %cl, (%rdx) +// CHECK: encoding: [0xd3,0x2a] +shrl %cl, (%rdx) + +// CHECK: shrl %r13d +// CHECK: encoding: [0x41,0xd1,0xed] +shrl %r13d + +// CHECK: shrl (%rdx) +// CHECK: encoding: [0xd1,0x2a] +shrl (%rdx) + +// CHECK: shrq 485498096 +// CHECK: encoding: [0x48,0xd1,0x2c,0x25,0xf0,0x1c,0xf0,0x1c] +shrq 485498096 + +// CHECK: shrq 64(%rdx) +// CHECK: encoding: [0x48,0xd1,0x6a,0x40] +shrq 64(%rdx) + +// CHECK: shrq 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xd1,0x6c,0x82,0x40] +shrq 64(%rdx,%rax,4) + +// CHECK: shrq -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xd1,0x6c,0x82,0xc0] +shrq -64(%rdx,%rax,4) + +// CHECK: shrq 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xd1,0x6c,0x02,0x40] +shrq 64(%rdx,%rax) + +// CHECK: shrq %cl, 485498096 +// CHECK: encoding: [0x48,0xd3,0x2c,0x25,0xf0,0x1c,0xf0,0x1c] +shrq %cl, 485498096 + +// CHECK: shrq %cl, 64(%rdx) +// CHECK: encoding: [0x48,0xd3,0x6a,0x40] +shrq %cl, 64(%rdx) + +// CHECK: shrq %cl, 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xd3,0x6c,0x82,0x40] +shrq %cl, 64(%rdx,%rax,4) + +// CHECK: shrq %cl, -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xd3,0x6c,0x82,0xc0] +shrq %cl, -64(%rdx,%rax,4) + +// CHECK: shrq %cl, 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xd3,0x6c,0x02,0x40] +shrq %cl, 64(%rdx,%rax) + +// CHECK: shrq %cl, (%rdx) +// CHECK: encoding: [0x48,0xd3,0x2a] +shrq %cl, (%rdx) + +// CHECK: shrq (%rdx) +// CHECK: encoding: [0x48,0xd1,0x2a] +shrq (%rdx) + +// CHECK: shrw 485498096 +// CHECK: encoding: [0x66,0xd1,0x2c,0x25,0xf0,0x1c,0xf0,0x1c] +shrw 485498096 + +// CHECK: shrw 64(%rdx) +// CHECK: encoding: [0x66,0xd1,0x6a,0x40] +shrw 64(%rdx) + +// CHECK: shrw 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xd1,0x6c,0x82,0x40] +shrw 64(%rdx,%rax,4) + +// CHECK: shrw -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xd1,0x6c,0x82,0xc0] +shrw -64(%rdx,%rax,4) + +// CHECK: shrw 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xd1,0x6c,0x02,0x40] +shrw 64(%rdx,%rax) + +// CHECK: shrw %cl, 485498096 +// CHECK: encoding: [0x66,0xd3,0x2c,0x25,0xf0,0x1c,0xf0,0x1c] +shrw %cl, 485498096 + +// CHECK: shrw %cl, 64(%rdx) +// CHECK: encoding: [0x66,0xd3,0x6a,0x40] +shrw %cl, 64(%rdx) + +// CHECK: shrw %cl, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xd3,0x6c,0x82,0x40] +shrw %cl, 64(%rdx,%rax,4) + +// CHECK: shrw %cl, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xd3,0x6c,0x82,0xc0] +shrw %cl, -64(%rdx,%rax,4) + +// CHECK: shrw %cl, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xd3,0x6c,0x02,0x40] +shrw %cl, 64(%rdx,%rax) + +// CHECK: shrw %cl, %r14w +// CHECK: encoding: [0x66,0x41,0xd3,0xee] +shrw %cl, %r14w + +// CHECK: shrw %cl, (%rdx) +// CHECK: encoding: [0x66,0xd3,0x2a] +shrw %cl, (%rdx) + +// CHECK: shrw %r14w +// CHECK: encoding: [0x66,0x41,0xd1,0xee] +shrw %r14w + +// CHECK: shrw (%rdx) +// CHECK: encoding: [0x66,0xd1,0x2a] +shrw (%rdx) + +// CHECK: stc +// CHECK: encoding: [0xf9] +stc + +// CHECK: std +// CHECK: encoding: [0xfd] +std + +// CHECK: sti +// CHECK: encoding: [0xfb] +sti + +// CHECK: stosb %al, %es:(%rdi) +// CHECK: encoding: [0xaa] +stosb %al, %es:(%rdi) + +// CHECK: stosw %ax, %es:(%rdi) +// CHECK: encoding: [0x66,0xab] +stosw %ax, %es:(%rdi) + +// CHECK: subb $0, 485498096 +// CHECK: encoding: [0x80,0x2c,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +subb $0, 485498096 + +// CHECK: subb $0, 64(%rdx) +// CHECK: encoding: [0x80,0x6a,0x40,0x00] +subb $0, 64(%rdx) + +// CHECK: subb $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x80,0x6c,0x82,0x40,0x00] +subb $0, 64(%rdx,%rax,4) + +// CHECK: subb $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x80,0x6c,0x82,0xc0,0x00] +subb $0, -64(%rdx,%rax,4) + +// CHECK: subb $0, 64(%rdx,%rax) +// CHECK: encoding: [0x80,0x6c,0x02,0x40,0x00] +subb $0, 64(%rdx,%rax) + +// CHECK: subb $0, %al +// CHECK: encoding: [0x2c,0x00] +subb $0, %al + +// CHECK: subb $0, %r14b +// CHECK: encoding: [0x41,0x80,0xee,0x00] +subb $0, %r14b + +// CHECK: subb $0, (%rdx) +// CHECK: encoding: [0x80,0x2a,0x00] +subb $0, (%rdx) + +// CHECK: subb 485498096, %r14b +// CHECK: encoding: [0x44,0x2a,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +subb 485498096, %r14b + +// CHECK: subb 64(%rdx), %r14b +// CHECK: encoding: [0x44,0x2a,0x72,0x40] +subb 64(%rdx), %r14b + +// CHECK: subb 64(%rdx,%rax,4), %r14b +// CHECK: encoding: [0x44,0x2a,0x74,0x82,0x40] +subb 64(%rdx,%rax,4), %r14b + +// CHECK: subb -64(%rdx,%rax,4), %r14b +// CHECK: encoding: [0x44,0x2a,0x74,0x82,0xc0] +subb -64(%rdx,%rax,4), %r14b + +// CHECK: subb 64(%rdx,%rax), %r14b +// CHECK: encoding: [0x44,0x2a,0x74,0x02,0x40] +subb 64(%rdx,%rax), %r14b + +// CHECK: subb %r14b, 485498096 +// CHECK: encoding: [0x44,0x28,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +subb %r14b, 485498096 + +// CHECK: subb %r14b, 64(%rdx) +// CHECK: encoding: [0x44,0x28,0x72,0x40] +subb %r14b, 64(%rdx) + +// CHECK: subb %r14b, 64(%rdx,%rax,4) +// CHECK: encoding: [0x44,0x28,0x74,0x82,0x40] +subb %r14b, 64(%rdx,%rax,4) + +// CHECK: subb %r14b, -64(%rdx,%rax,4) +// CHECK: encoding: [0x44,0x28,0x74,0x82,0xc0] +subb %r14b, -64(%rdx,%rax,4) + +// CHECK: subb %r14b, 64(%rdx,%rax) +// CHECK: encoding: [0x44,0x28,0x74,0x02,0x40] +subb %r14b, 64(%rdx,%rax) + +// CHECK: subb %r14b, %r14b +// CHECK: encoding: [0x45,0x28,0xf6] +subb %r14b, %r14b + +// CHECK: subb %r14b, (%rdx) +// CHECK: encoding: [0x44,0x28,0x32] +subb %r14b, (%rdx) + +// CHECK: subb (%rdx), %r14b +// CHECK: encoding: [0x44,0x2a,0x32] +subb (%rdx), %r14b + +// CHECK: subl $0, %eax +// CHECK: encoding: [0x83,0xe8,0x00] +subl $0, %eax + +// CHECK: subl $0, %r13d +// CHECK: encoding: [0x41,0x83,0xed,0x00] +subl $0, %r13d + +// CHECK: subl %r13d, %r13d +// CHECK: encoding: [0x45,0x29,0xed] +subl %r13d, %r13d + +// CHECK: testb $0, 485498096 +// CHECK: encoding: [0xf6,0x04,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +testb $0, 485498096 + +// CHECK: testb $0, 64(%rdx) +// CHECK: encoding: [0xf6,0x42,0x40,0x00] +testb $0, 64(%rdx) + +// CHECK: testb $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0xf6,0x44,0x82,0x40,0x00] +testb $0, 64(%rdx,%rax,4) + +// CHECK: testb $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0xf6,0x44,0x82,0xc0,0x00] +testb $0, -64(%rdx,%rax,4) + +// CHECK: testb $0, 64(%rdx,%rax) +// CHECK: encoding: [0xf6,0x44,0x02,0x40,0x00] +testb $0, 64(%rdx,%rax) + +// CHECK: testb $0, %al +// CHECK: encoding: [0xa8,0x00] +testb $0, %al + +// CHECK: testb $0, %r14b +// CHECK: encoding: [0x41,0xf6,0xc6,0x00] +testb $0, %r14b + +// CHECK: testb $0, (%rdx) +// CHECK: encoding: [0xf6,0x02,0x00] +testb $0, (%rdx) + +// CHECK: testb %r14b, 485498096 +// CHECK: encoding: [0x44,0x84,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +testb %r14b, 485498096 + +// CHECK: testb %r14b, 64(%rdx) +// CHECK: encoding: [0x44,0x84,0x72,0x40] +testb %r14b, 64(%rdx) + +// CHECK: testb %r14b, 64(%rdx,%rax,4) +// CHECK: encoding: [0x44,0x84,0x74,0x82,0x40] +testb %r14b, 64(%rdx,%rax,4) + +// CHECK: testb %r14b, -64(%rdx,%rax,4) +// CHECK: encoding: [0x44,0x84,0x74,0x82,0xc0] +testb %r14b, -64(%rdx,%rax,4) + +// CHECK: testb %r14b, 64(%rdx,%rax) +// CHECK: encoding: [0x44,0x84,0x74,0x02,0x40] +testb %r14b, 64(%rdx,%rax) + +// CHECK: testb %r14b, %r14b +// CHECK: encoding: [0x45,0x84,0xf6] +testb %r14b, %r14b + +// CHECK: testb %r14b, (%rdx) +// CHECK: encoding: [0x44,0x84,0x32] +testb %r14b, (%rdx) + +// CHECK: testl $0, 485498096 +// CHECK: encoding: [0xf7,0x04,0x25,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00] +testl $0, 485498096 + +// CHECK: testl $0, 64(%rdx) +// CHECK: encoding: [0xf7,0x42,0x40,0x00,0x00,0x00,0x00] +testl $0, 64(%rdx) + +// CHECK: testl $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0xf7,0x44,0x82,0x40,0x00,0x00,0x00,0x00] +testl $0, 64(%rdx,%rax,4) + +// CHECK: testl $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0xf7,0x44,0x82,0xc0,0x00,0x00,0x00,0x00] +testl $0, -64(%rdx,%rax,4) + +// CHECK: testl $0, 64(%rdx,%rax) +// CHECK: encoding: [0xf7,0x44,0x02,0x40,0x00,0x00,0x00,0x00] +testl $0, 64(%rdx,%rax) + +// CHECK: testl $0, %eax +// CHECK: encoding: [0xa9,0x00,0x00,0x00,0x00] +testl $0, %eax + +// CHECK: testl $0, %r13d +// CHECK: encoding: [0x41,0xf7,0xc5,0x00,0x00,0x00,0x00] +testl $0, %r13d + +// CHECK: testl $0, (%rdx) +// CHECK: encoding: [0xf7,0x02,0x00,0x00,0x00,0x00] +testl $0, (%rdx) + +// CHECK: testl %r13d, %r13d +// CHECK: encoding: [0x45,0x85,0xed] +testl %r13d, %r13d + +// CHECK: testq $0, 485498096 +// CHECK: encoding: [0x48,0xf7,0x04,0x25,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00] +testq $0, 485498096 + +// CHECK: testq $0, 64(%rdx) +// CHECK: encoding: [0x48,0xf7,0x42,0x40,0x00,0x00,0x00,0x00] +testq $0, 64(%rdx) + +// CHECK: testq $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xf7,0x44,0x82,0x40,0x00,0x00,0x00,0x00] +testq $0, 64(%rdx,%rax,4) + +// CHECK: testq $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0xf7,0x44,0x82,0xc0,0x00,0x00,0x00,0x00] +testq $0, -64(%rdx,%rax,4) + +// CHECK: testq $0, 64(%rdx,%rax) +// CHECK: encoding: [0x48,0xf7,0x44,0x02,0x40,0x00,0x00,0x00,0x00] +testq $0, 64(%rdx,%rax) + +// CHECK: testq $0, (%rdx) +// CHECK: encoding: [0x48,0xf7,0x02,0x00,0x00,0x00,0x00] +testq $0, (%rdx) + +// CHECK: testw $0, 485498096 +// CHECK: encoding: [0x66,0xf7,0x04,0x25,0xf0,0x1c,0xf0,0x1c,0x00,0x00] +testw $0, 485498096 + +// CHECK: testw $0, 64(%rdx) +// CHECK: encoding: [0x66,0xf7,0x42,0x40,0x00,0x00] +testw $0, 64(%rdx) + +// CHECK: testw $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xf7,0x44,0x82,0x40,0x00,0x00] +testw $0, 64(%rdx,%rax,4) + +// CHECK: testw $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0xf7,0x44,0x82,0xc0,0x00,0x00] +testw $0, -64(%rdx,%rax,4) + +// CHECK: testw $0, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0xf7,0x44,0x02,0x40,0x00,0x00] +testw $0, 64(%rdx,%rax) + +// CHECK: testw $0, %r14w +// CHECK: encoding: [0x66,0x41,0xf7,0xc6,0x00,0x00] +testw $0, %r14w + +// CHECK: testw $0, (%rdx) +// CHECK: encoding: [0x66,0xf7,0x02,0x00,0x00] +testw $0, (%rdx) + +// CHECK: testw %r14w, 485498096 +// CHECK: encoding: [0x66,0x44,0x85,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +testw %r14w, 485498096 + +// CHECK: testw %r14w, 64(%rdx) +// CHECK: encoding: [0x66,0x44,0x85,0x72,0x40] +testw %r14w, 64(%rdx) + +// CHECK: testw %r14w, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x44,0x85,0x74,0x82,0x40] +testw %r14w, 64(%rdx,%rax,4) + +// CHECK: testw %r14w, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x44,0x85,0x74,0x82,0xc0] +testw %r14w, -64(%rdx,%rax,4) + +// CHECK: testw %r14w, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0x44,0x85,0x74,0x02,0x40] +testw %r14w, 64(%rdx,%rax) + +// CHECK: testw %r14w, %r14w +// CHECK: encoding: [0x66,0x45,0x85,0xf6] +testw %r14w, %r14w + +// CHECK: testw %r14w, (%rdx) +// CHECK: encoding: [0x66,0x44,0x85,0x32] +testw %r14w, (%rdx) + +// CHECK: xchgb %r14b, 485498096 +// CHECK: encoding: [0x44,0x86,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +xchgb %r14b, 485498096 + +// CHECK: xchgb %r14b, 64(%rdx) +// CHECK: encoding: [0x44,0x86,0x72,0x40] +xchgb %r14b, 64(%rdx) + +// CHECK: xchgb %r14b, 64(%rdx,%rax,4) +// CHECK: encoding: [0x44,0x86,0x74,0x82,0x40] +xchgb %r14b, 64(%rdx,%rax,4) + +// CHECK: xchgb %r14b, -64(%rdx,%rax,4) +// CHECK: encoding: [0x44,0x86,0x74,0x82,0xc0] +xchgb %r14b, -64(%rdx,%rax,4) + +// CHECK: xchgb %r14b, 64(%rdx,%rax) +// CHECK: encoding: [0x44,0x86,0x74,0x02,0x40] +xchgb %r14b, 64(%rdx,%rax) + +// CHECK: xchgb %r14b, %r14b +// CHECK: encoding: [0x45,0x86,0xf6] +xchgb %r14b, %r14b + +// CHECK: xchgb %r14b, (%rdx) +// CHECK: encoding: [0x44,0x86,0x32] +xchgb %r14b, (%rdx) + +// CHECK: xchgl %r13d, %eax +// CHECK: encoding: [0x41,0x95] +xchgl %r13d, %eax + +// CHECK: xchgl %r13d, %r13d +// CHECK: encoding: [0x45,0x87,0xed] +xchgl %r13d, %r13d + +// CHECK: xchgl %r8d, %eax +// CHECK: encoding: [0x41,0x90] +xchgl %r8d, %eax + +// CHECK: xchgw %r14w, 485498096 +// CHECK: encoding: [0x66,0x44,0x87,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +xchgw %r14w, 485498096 + +// CHECK: xchgw %r14w, 64(%rdx) +// CHECK: encoding: [0x66,0x44,0x87,0x72,0x40] +xchgw %r14w, 64(%rdx) + +// CHECK: xchgw %r14w, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x44,0x87,0x74,0x82,0x40] +xchgw %r14w, 64(%rdx,%rax,4) + +// CHECK: xchgw %r14w, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x44,0x87,0x74,0x82,0xc0] +xchgw %r14w, -64(%rdx,%rax,4) + +// CHECK: xchgw %r14w, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0x44,0x87,0x74,0x02,0x40] +xchgw %r14w, 64(%rdx,%rax) + +// CHECK: xchgw %r14w, %r14w +// CHECK: encoding: [0x66,0x45,0x87,0xf6] +xchgw %r14w, %r14w + +// CHECK: xchgw %r14w, (%rdx) +// CHECK: encoding: [0x66,0x44,0x87,0x32] +xchgw %r14w, (%rdx) + +// CHECK: xlatb +// CHECK: encoding: [0xd7] +xlatb + +// CHECK: xorb $0, 485498096 +// CHECK: encoding: [0x80,0x34,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +xorb $0, 485498096 + +// CHECK: xorb $0, 64(%rdx) +// CHECK: encoding: [0x80,0x72,0x40,0x00] +xorb $0, 64(%rdx) + +// CHECK: xorb $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x80,0x74,0x82,0x40,0x00] +xorb $0, 64(%rdx,%rax,4) + +// CHECK: xorb $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x80,0x74,0x82,0xc0,0x00] +xorb $0, -64(%rdx,%rax,4) + +// CHECK: xorb $0, 64(%rdx,%rax) +// CHECK: encoding: [0x80,0x74,0x02,0x40,0x00] +xorb $0, 64(%rdx,%rax) + +// CHECK: xorb $0, %al +// CHECK: encoding: [0x34,0x00] +xorb $0, %al + +// CHECK: xorb $0, %r14b +// CHECK: encoding: [0x41,0x80,0xf6,0x00] +xorb $0, %r14b + +// CHECK: xorb $0, (%rdx) +// CHECK: encoding: [0x80,0x32,0x00] +xorb $0, (%rdx) + +// CHECK: xorb 485498096, %r14b +// CHECK: encoding: [0x44,0x32,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +xorb 485498096, %r14b + +// CHECK: xorb 64(%rdx), %r14b +// CHECK: encoding: [0x44,0x32,0x72,0x40] +xorb 64(%rdx), %r14b + +// CHECK: xorb 64(%rdx,%rax,4), %r14b +// CHECK: encoding: [0x44,0x32,0x74,0x82,0x40] +xorb 64(%rdx,%rax,4), %r14b + +// CHECK: xorb -64(%rdx,%rax,4), %r14b +// CHECK: encoding: [0x44,0x32,0x74,0x82,0xc0] +xorb -64(%rdx,%rax,4), %r14b + +// CHECK: xorb 64(%rdx,%rax), %r14b +// CHECK: encoding: [0x44,0x32,0x74,0x02,0x40] +xorb 64(%rdx,%rax), %r14b + +// CHECK: xorb %r14b, 485498096 +// CHECK: encoding: [0x44,0x30,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +xorb %r14b, 485498096 + +// CHECK: xorb %r14b, 64(%rdx) +// CHECK: encoding: [0x44,0x30,0x72,0x40] +xorb %r14b, 64(%rdx) + +// CHECK: xorb %r14b, 64(%rdx,%rax,4) +// CHECK: encoding: [0x44,0x30,0x74,0x82,0x40] +xorb %r14b, 64(%rdx,%rax,4) + +// CHECK: xorb %r14b, -64(%rdx,%rax,4) +// CHECK: encoding: [0x44,0x30,0x74,0x82,0xc0] +xorb %r14b, -64(%rdx,%rax,4) + +// CHECK: xorb %r14b, 64(%rdx,%rax) +// CHECK: encoding: [0x44,0x30,0x74,0x02,0x40] +xorb %r14b, 64(%rdx,%rax) + +// CHECK: xorb %r14b, %r14b +// CHECK: encoding: [0x45,0x30,0xf6] +xorb %r14b, %r14b + +// CHECK: xorb %r14b, (%rdx) +// CHECK: encoding: [0x44,0x30,0x32] +xorb %r14b, (%rdx) + +// CHECK: xorb (%rdx), %r14b +// CHECK: encoding: [0x44,0x32,0x32] +xorb (%rdx), %r14b + +// CHECK: xorl $0, 485498096 +// CHECK: encoding: [0x83,0x34,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +xorl $0, 485498096 + +// CHECK: xorl $0, 64(%rdx) +// CHECK: encoding: [0x83,0x72,0x40,0x00] +xorl $0, 64(%rdx) + +// CHECK: xorl $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x83,0x74,0x82,0x40,0x00] +xorl $0, 64(%rdx,%rax,4) + +// CHECK: xorl $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x83,0x74,0x82,0xc0,0x00] +xorl $0, -64(%rdx,%rax,4) + +// CHECK: xorl $0, 64(%rdx,%rax) +// CHECK: encoding: [0x83,0x74,0x02,0x40,0x00] +xorl $0, 64(%rdx,%rax) + +// CHECK: xorl $0, %eax +// CHECK: encoding: [0x83,0xf0,0x00] +xorl $0, %eax + +// CHECK: xorl $0, %r13d +// CHECK: encoding: [0x41,0x83,0xf5,0x00] +xorl $0, %r13d + +// CHECK: xorl $0, (%rdx) +// CHECK: encoding: [0x83,0x32,0x00] +xorl $0, (%rdx) + +// CHECK: xorl %r13d, %r13d +// CHECK: encoding: [0x45,0x31,0xed] +xorl %r13d, %r13d + +// CHECK: xorq $0, 485498096 +// CHECK: encoding: [0x48,0x83,0x34,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +xorq $0, 485498096 + +// CHECK: xorq $0, 64(%rdx) +// CHECK: encoding: [0x48,0x83,0x72,0x40,0x00] +xorq $0, 64(%rdx) + +// CHECK: xorq $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0x83,0x74,0x82,0x40,0x00] +xorq $0, 64(%rdx,%rax,4) + +// CHECK: xorq $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x48,0x83,0x74,0x82,0xc0,0x00] +xorq $0, -64(%rdx,%rax,4) + +// CHECK: xorq $0, 64(%rdx,%rax) +// CHECK: encoding: [0x48,0x83,0x74,0x02,0x40,0x00] +xorq $0, 64(%rdx,%rax) + +// CHECK: xorq $0, (%rdx) +// CHECK: encoding: [0x48,0x83,0x32,0x00] +xorq $0, (%rdx) + +// CHECK: xorw $0, 485498096 +// CHECK: encoding: [0x66,0x83,0x34,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +xorw $0, 485498096 + +// CHECK: xorw $0, 64(%rdx) +// CHECK: encoding: [0x66,0x83,0x72,0x40,0x00] +xorw $0, 64(%rdx) + +// CHECK: xorw $0, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x83,0x74,0x82,0x40,0x00] +xorw $0, 64(%rdx,%rax,4) + +// CHECK: xorw $0, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x83,0x74,0x82,0xc0,0x00] +xorw $0, -64(%rdx,%rax,4) + +// CHECK: xorw $0, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0x83,0x74,0x02,0x40,0x00] +xorw $0, 64(%rdx,%rax) + +// CHECK: xorw $0, %r14w +// CHECK: encoding: [0x66,0x41,0x83,0xf6,0x00] +xorw $0, %r14w + +// CHECK: xorw $0, (%rdx) +// CHECK: encoding: [0x66,0x83,0x32,0x00] +xorw $0, (%rdx) + +// CHECK: xorw 485498096, %r14w +// CHECK: encoding: [0x66,0x44,0x33,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +xorw 485498096, %r14w + +// CHECK: xorw 64(%rdx), %r14w +// CHECK: encoding: [0x66,0x44,0x33,0x72,0x40] +xorw 64(%rdx), %r14w + +// CHECK: xorw 64(%rdx,%rax,4), %r14w +// CHECK: encoding: [0x66,0x44,0x33,0x74,0x82,0x40] +xorw 64(%rdx,%rax,4), %r14w + +// CHECK: xorw -64(%rdx,%rax,4), %r14w +// CHECK: encoding: [0x66,0x44,0x33,0x74,0x82,0xc0] +xorw -64(%rdx,%rax,4), %r14w + +// CHECK: xorw 64(%rdx,%rax), %r14w +// CHECK: encoding: [0x66,0x44,0x33,0x74,0x02,0x40] +xorw 64(%rdx,%rax), %r14w + +// CHECK: xorw %r14w, 485498096 +// CHECK: encoding: [0x66,0x44,0x31,0x34,0x25,0xf0,0x1c,0xf0,0x1c] +xorw %r14w, 485498096 + +// CHECK: xorw %r14w, 64(%rdx) +// CHECK: encoding: [0x66,0x44,0x31,0x72,0x40] +xorw %r14w, 64(%rdx) + +// CHECK: xorw %r14w, 64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x44,0x31,0x74,0x82,0x40] +xorw %r14w, 64(%rdx,%rax,4) + +// CHECK: xorw %r14w, -64(%rdx,%rax,4) +// CHECK: encoding: [0x66,0x44,0x31,0x74,0x82,0xc0] +xorw %r14w, -64(%rdx,%rax,4) + +// CHECK: xorw %r14w, 64(%rdx,%rax) +// CHECK: encoding: [0x66,0x44,0x31,0x74,0x02,0x40] +xorw %r14w, 64(%rdx,%rax) + +// CHECK: xorw %r14w, %r14w +// CHECK: encoding: [0x66,0x45,0x31,0xf6] +xorw %r14w, %r14w + +// CHECK: xorw %r14w, (%rdx) +// CHECK: encoding: [0x66,0x44,0x31,0x32] +xorw %r14w, (%rdx) + +// CHECK: xorw (%rdx), %r14w +// CHECK: encoding: [0x66,0x44,0x33,0x32] +xorw (%rdx), %r14w + diff --git a/llvm/test/MC/X86/MMX-32.s b/llvm/test/MC/X86/MMX-32.s new file mode 100755 index 000000000000..25fa370fd6b9 --- /dev/null +++ b/llvm/test/MC/X86/MMX-32.s @@ -0,0 +1,1730 @@ +// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s + +// CHECK: emms +// CHECK: encoding: [0x0f,0x77] +emms + +// CHECK: maskmovq %mm4, %mm4 +// CHECK: encoding: [0x0f,0xf7,0xe4] +maskmovq %mm4, %mm4 + +// CHECK: movd -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x6e,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +movd -485498096(%edx,%eax,4), %mm4 + +// CHECK: movd 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x6e,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +movd 485498096(%edx,%eax,4), %mm4 + +// CHECK: movd 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0x6e,0xa2,0xf0,0x1c,0xf0,0x1c] +movd 485498096(%edx), %mm4 + +// CHECK: movd 485498096, %mm4 +// CHECK: encoding: [0x0f,0x6e,0x25,0xf0,0x1c,0xf0,0x1c] +movd 485498096, %mm4 + +// CHECK: movd 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0x6e,0x64,0x02,0x40] +movd 64(%edx,%eax), %mm4 + +// CHECK: movd (%edx), %mm4 +// CHECK: encoding: [0x0f,0x6e,0x22] +movd (%edx), %mm4 + +// CHECK: movd %mm4, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x7e,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +movd %mm4, -485498096(%edx,%eax,4) + +// CHECK: movd %mm4, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x7e,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +movd %mm4, 485498096(%edx,%eax,4) + +// CHECK: movd %mm4, 485498096(%edx) +// CHECK: encoding: [0x0f,0x7e,0xa2,0xf0,0x1c,0xf0,0x1c] +movd %mm4, 485498096(%edx) + +// CHECK: movd %mm4, 485498096 +// CHECK: encoding: [0x0f,0x7e,0x25,0xf0,0x1c,0xf0,0x1c] +movd %mm4, 485498096 + +// CHECK: movd %mm4, 64(%edx,%eax) +// CHECK: encoding: [0x0f,0x7e,0x64,0x02,0x40] +movd %mm4, 64(%edx,%eax) + +// CHECK: movd %mm4, (%edx) +// CHECK: encoding: [0x0f,0x7e,0x22] +movd %mm4, (%edx) + +// CHECK: movntq %mm4, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0xe7,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +movntq %mm4, -485498096(%edx,%eax,4) + +// CHECK: movntq %mm4, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0xe7,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +movntq %mm4, 485498096(%edx,%eax,4) + +// CHECK: movntq %mm4, 485498096(%edx) +// CHECK: encoding: [0x0f,0xe7,0xa2,0xf0,0x1c,0xf0,0x1c] +movntq %mm4, 485498096(%edx) + +// CHECK: movntq %mm4, 485498096 +// CHECK: encoding: [0x0f,0xe7,0x25,0xf0,0x1c,0xf0,0x1c] +movntq %mm4, 485498096 + +// CHECK: movntq %mm4, 64(%edx,%eax) +// CHECK: encoding: [0x0f,0xe7,0x64,0x02,0x40] +movntq %mm4, 64(%edx,%eax) + +// CHECK: movntq %mm4, (%edx) +// CHECK: encoding: [0x0f,0xe7,0x22] +movntq %mm4, (%edx) + +// CHECK: movq -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x6f,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +movq -485498096(%edx,%eax,4), %mm4 + +// CHECK: movq 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x6f,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +movq 485498096(%edx,%eax,4), %mm4 + +// CHECK: movq 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0x6f,0xa2,0xf0,0x1c,0xf0,0x1c] +movq 485498096(%edx), %mm4 + +// CHECK: movq 485498096, %mm4 +// CHECK: encoding: [0x0f,0x6f,0x25,0xf0,0x1c,0xf0,0x1c] +movq 485498096, %mm4 + +// CHECK: movq 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0x6f,0x64,0x02,0x40] +movq 64(%edx,%eax), %mm4 + +// CHECK: movq (%edx), %mm4 +// CHECK: encoding: [0x0f,0x6f,0x22] +movq (%edx), %mm4 + +// CHECK: movq %mm4, -485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x7f,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +movq %mm4, -485498096(%edx,%eax,4) + +// CHECK: movq %mm4, 485498096(%edx,%eax,4) +// CHECK: encoding: [0x0f,0x7f,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +movq %mm4, 485498096(%edx,%eax,4) + +// CHECK: movq %mm4, 485498096(%edx) +// CHECK: encoding: [0x0f,0x7f,0xa2,0xf0,0x1c,0xf0,0x1c] +movq %mm4, 485498096(%edx) + +// CHECK: movq %mm4, 485498096 +// CHECK: encoding: [0x0f,0x7f,0x25,0xf0,0x1c,0xf0,0x1c] +movq %mm4, 485498096 + +// CHECK: movq %mm4, 64(%edx,%eax) +// CHECK: encoding: [0x0f,0x7f,0x64,0x02,0x40] +movq %mm4, 64(%edx,%eax) + +// CHECK: movq %mm4, (%edx) +// CHECK: encoding: [0x0f,0x7f,0x22] +movq %mm4, (%edx) + +// CHECK: movq %mm4, %mm4 +// CHECK: encoding: [0x0f,0x6f,0xe4] +movq %mm4, %mm4 + +// CHECK: packssdw -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x6b,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +packssdw -485498096(%edx,%eax,4), %mm4 + +// CHECK: packssdw 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x6b,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +packssdw 485498096(%edx,%eax,4), %mm4 + +// CHECK: packssdw 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0x6b,0xa2,0xf0,0x1c,0xf0,0x1c] +packssdw 485498096(%edx), %mm4 + +// CHECK: packssdw 485498096, %mm4 +// CHECK: encoding: [0x0f,0x6b,0x25,0xf0,0x1c,0xf0,0x1c] +packssdw 485498096, %mm4 + +// CHECK: packssdw 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0x6b,0x64,0x02,0x40] +packssdw 64(%edx,%eax), %mm4 + +// CHECK: packssdw (%edx), %mm4 +// CHECK: encoding: [0x0f,0x6b,0x22] +packssdw (%edx), %mm4 + +// CHECK: packssdw %mm4, %mm4 +// CHECK: encoding: [0x0f,0x6b,0xe4] +packssdw %mm4, %mm4 + +// CHECK: packsswb -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x63,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +packsswb -485498096(%edx,%eax,4), %mm4 + +// CHECK: packsswb 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x63,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +packsswb 485498096(%edx,%eax,4), %mm4 + +// CHECK: packsswb 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0x63,0xa2,0xf0,0x1c,0xf0,0x1c] +packsswb 485498096(%edx), %mm4 + +// CHECK: packsswb 485498096, %mm4 +// CHECK: encoding: [0x0f,0x63,0x25,0xf0,0x1c,0xf0,0x1c] +packsswb 485498096, %mm4 + +// CHECK: packsswb 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0x63,0x64,0x02,0x40] +packsswb 64(%edx,%eax), %mm4 + +// CHECK: packsswb (%edx), %mm4 +// CHECK: encoding: [0x0f,0x63,0x22] +packsswb (%edx), %mm4 + +// CHECK: packsswb %mm4, %mm4 +// CHECK: encoding: [0x0f,0x63,0xe4] +packsswb %mm4, %mm4 + +// CHECK: packuswb -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x67,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +packuswb -485498096(%edx,%eax,4), %mm4 + +// CHECK: packuswb 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x67,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +packuswb 485498096(%edx,%eax,4), %mm4 + +// CHECK: packuswb 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0x67,0xa2,0xf0,0x1c,0xf0,0x1c] +packuswb 485498096(%edx), %mm4 + +// CHECK: packuswb 485498096, %mm4 +// CHECK: encoding: [0x0f,0x67,0x25,0xf0,0x1c,0xf0,0x1c] +packuswb 485498096, %mm4 + +// CHECK: packuswb 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0x67,0x64,0x02,0x40] +packuswb 64(%edx,%eax), %mm4 + +// CHECK: packuswb (%edx), %mm4 +// CHECK: encoding: [0x0f,0x67,0x22] +packuswb (%edx), %mm4 + +// CHECK: packuswb %mm4, %mm4 +// CHECK: encoding: [0x0f,0x67,0xe4] +packuswb %mm4, %mm4 + +// CHECK: paddb -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xfc,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +paddb -485498096(%edx,%eax,4), %mm4 + +// CHECK: paddb 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xfc,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +paddb 485498096(%edx,%eax,4), %mm4 + +// CHECK: paddb 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xfc,0xa2,0xf0,0x1c,0xf0,0x1c] +paddb 485498096(%edx), %mm4 + +// CHECK: paddb 485498096, %mm4 +// CHECK: encoding: [0x0f,0xfc,0x25,0xf0,0x1c,0xf0,0x1c] +paddb 485498096, %mm4 + +// CHECK: paddb 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xfc,0x64,0x02,0x40] +paddb 64(%edx,%eax), %mm4 + +// CHECK: paddb (%edx), %mm4 +// CHECK: encoding: [0x0f,0xfc,0x22] +paddb (%edx), %mm4 + +// CHECK: paddb %mm4, %mm4 +// CHECK: encoding: [0x0f,0xfc,0xe4] +paddb %mm4, %mm4 + +// CHECK: paddd -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xfe,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +paddd -485498096(%edx,%eax,4), %mm4 + +// CHECK: paddd 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xfe,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +paddd 485498096(%edx,%eax,4), %mm4 + +// CHECK: paddd 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xfe,0xa2,0xf0,0x1c,0xf0,0x1c] +paddd 485498096(%edx), %mm4 + +// CHECK: paddd 485498096, %mm4 +// CHECK: encoding: [0x0f,0xfe,0x25,0xf0,0x1c,0xf0,0x1c] +paddd 485498096, %mm4 + +// CHECK: paddd 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xfe,0x64,0x02,0x40] +paddd 64(%edx,%eax), %mm4 + +// CHECK: paddd (%edx), %mm4 +// CHECK: encoding: [0x0f,0xfe,0x22] +paddd (%edx), %mm4 + +// CHECK: paddd %mm4, %mm4 +// CHECK: encoding: [0x0f,0xfe,0xe4] +paddd %mm4, %mm4 + +// CHECK: paddq -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xd4,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +paddq -485498096(%edx,%eax,4), %mm4 + +// CHECK: paddq 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xd4,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +paddq 485498096(%edx,%eax,4), %mm4 + +// CHECK: paddq 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xd4,0xa2,0xf0,0x1c,0xf0,0x1c] +paddq 485498096(%edx), %mm4 + +// CHECK: paddq 485498096, %mm4 +// CHECK: encoding: [0x0f,0xd4,0x25,0xf0,0x1c,0xf0,0x1c] +paddq 485498096, %mm4 + +// CHECK: paddq 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xd4,0x64,0x02,0x40] +paddq 64(%edx,%eax), %mm4 + +// CHECK: paddq (%edx), %mm4 +// CHECK: encoding: [0x0f,0xd4,0x22] +paddq (%edx), %mm4 + +// CHECK: paddq %mm4, %mm4 +// CHECK: encoding: [0x0f,0xd4,0xe4] +paddq %mm4, %mm4 + +// CHECK: paddsb -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xec,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +paddsb -485498096(%edx,%eax,4), %mm4 + +// CHECK: paddsb 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xec,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +paddsb 485498096(%edx,%eax,4), %mm4 + +// CHECK: paddsb 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xec,0xa2,0xf0,0x1c,0xf0,0x1c] +paddsb 485498096(%edx), %mm4 + +// CHECK: paddsb 485498096, %mm4 +// CHECK: encoding: [0x0f,0xec,0x25,0xf0,0x1c,0xf0,0x1c] +paddsb 485498096, %mm4 + +// CHECK: paddsb 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xec,0x64,0x02,0x40] +paddsb 64(%edx,%eax), %mm4 + +// CHECK: paddsb (%edx), %mm4 +// CHECK: encoding: [0x0f,0xec,0x22] +paddsb (%edx), %mm4 + +// CHECK: paddsb %mm4, %mm4 +// CHECK: encoding: [0x0f,0xec,0xe4] +paddsb %mm4, %mm4 + +// CHECK: paddsw -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xed,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +paddsw -485498096(%edx,%eax,4), %mm4 + +// CHECK: paddsw 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xed,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +paddsw 485498096(%edx,%eax,4), %mm4 + +// CHECK: paddsw 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xed,0xa2,0xf0,0x1c,0xf0,0x1c] +paddsw 485498096(%edx), %mm4 + +// CHECK: paddsw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xed,0x25,0xf0,0x1c,0xf0,0x1c] +paddsw 485498096, %mm4 + +// CHECK: paddsw 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xed,0x64,0x02,0x40] +paddsw 64(%edx,%eax), %mm4 + +// CHECK: paddsw (%edx), %mm4 +// CHECK: encoding: [0x0f,0xed,0x22] +paddsw (%edx), %mm4 + +// CHECK: paddsw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xed,0xe4] +paddsw %mm4, %mm4 + +// CHECK: paddusb -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xdc,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +paddusb -485498096(%edx,%eax,4), %mm4 + +// CHECK: paddusb 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xdc,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +paddusb 485498096(%edx,%eax,4), %mm4 + +// CHECK: paddusb 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xdc,0xa2,0xf0,0x1c,0xf0,0x1c] +paddusb 485498096(%edx), %mm4 + +// CHECK: paddusb 485498096, %mm4 +// CHECK: encoding: [0x0f,0xdc,0x25,0xf0,0x1c,0xf0,0x1c] +paddusb 485498096, %mm4 + +// CHECK: paddusb 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xdc,0x64,0x02,0x40] +paddusb 64(%edx,%eax), %mm4 + +// CHECK: paddusb (%edx), %mm4 +// CHECK: encoding: [0x0f,0xdc,0x22] +paddusb (%edx), %mm4 + +// CHECK: paddusb %mm4, %mm4 +// CHECK: encoding: [0x0f,0xdc,0xe4] +paddusb %mm4, %mm4 + +// CHECK: paddusw -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xdd,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +paddusw -485498096(%edx,%eax,4), %mm4 + +// CHECK: paddusw 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xdd,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +paddusw 485498096(%edx,%eax,4), %mm4 + +// CHECK: paddusw 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xdd,0xa2,0xf0,0x1c,0xf0,0x1c] +paddusw 485498096(%edx), %mm4 + +// CHECK: paddusw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xdd,0x25,0xf0,0x1c,0xf0,0x1c] +paddusw 485498096, %mm4 + +// CHECK: paddusw 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xdd,0x64,0x02,0x40] +paddusw 64(%edx,%eax), %mm4 + +// CHECK: paddusw (%edx), %mm4 +// CHECK: encoding: [0x0f,0xdd,0x22] +paddusw (%edx), %mm4 + +// CHECK: paddusw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xdd,0xe4] +paddusw %mm4, %mm4 + +// CHECK: paddw -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xfd,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +paddw -485498096(%edx,%eax,4), %mm4 + +// CHECK: paddw 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xfd,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +paddw 485498096(%edx,%eax,4), %mm4 + +// CHECK: paddw 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xfd,0xa2,0xf0,0x1c,0xf0,0x1c] +paddw 485498096(%edx), %mm4 + +// CHECK: paddw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xfd,0x25,0xf0,0x1c,0xf0,0x1c] +paddw 485498096, %mm4 + +// CHECK: paddw 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xfd,0x64,0x02,0x40] +paddw 64(%edx,%eax), %mm4 + +// CHECK: paddw (%edx), %mm4 +// CHECK: encoding: [0x0f,0xfd,0x22] +paddw (%edx), %mm4 + +// CHECK: paddw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xfd,0xe4] +paddw %mm4, %mm4 + +// CHECK: pand -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xdb,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +pand -485498096(%edx,%eax,4), %mm4 + +// CHECK: pand 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xdb,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +pand 485498096(%edx,%eax,4), %mm4 + +// CHECK: pand 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xdb,0xa2,0xf0,0x1c,0xf0,0x1c] +pand 485498096(%edx), %mm4 + +// CHECK: pand 485498096, %mm4 +// CHECK: encoding: [0x0f,0xdb,0x25,0xf0,0x1c,0xf0,0x1c] +pand 485498096, %mm4 + +// CHECK: pand 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xdb,0x64,0x02,0x40] +pand 64(%edx,%eax), %mm4 + +// CHECK: pand (%edx), %mm4 +// CHECK: encoding: [0x0f,0xdb,0x22] +pand (%edx), %mm4 + +// CHECK: pand %mm4, %mm4 +// CHECK: encoding: [0x0f,0xdb,0xe4] +pand %mm4, %mm4 + +// CHECK: pandn -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xdf,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +pandn -485498096(%edx,%eax,4), %mm4 + +// CHECK: pandn 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xdf,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +pandn 485498096(%edx,%eax,4), %mm4 + +// CHECK: pandn 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xdf,0xa2,0xf0,0x1c,0xf0,0x1c] +pandn 485498096(%edx), %mm4 + +// CHECK: pandn 485498096, %mm4 +// CHECK: encoding: [0x0f,0xdf,0x25,0xf0,0x1c,0xf0,0x1c] +pandn 485498096, %mm4 + +// CHECK: pandn 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xdf,0x64,0x02,0x40] +pandn 64(%edx,%eax), %mm4 + +// CHECK: pandn (%edx), %mm4 +// CHECK: encoding: [0x0f,0xdf,0x22] +pandn (%edx), %mm4 + +// CHECK: pandn %mm4, %mm4 +// CHECK: encoding: [0x0f,0xdf,0xe4] +pandn %mm4, %mm4 + +// CHECK: pavgb -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xe0,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +pavgb -485498096(%edx,%eax,4), %mm4 + +// CHECK: pavgb 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xe0,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +pavgb 485498096(%edx,%eax,4), %mm4 + +// CHECK: pavgb 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xe0,0xa2,0xf0,0x1c,0xf0,0x1c] +pavgb 485498096(%edx), %mm4 + +// CHECK: pavgb 485498096, %mm4 +// CHECK: encoding: [0x0f,0xe0,0x25,0xf0,0x1c,0xf0,0x1c] +pavgb 485498096, %mm4 + +// CHECK: pavgb 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xe0,0x64,0x02,0x40] +pavgb 64(%edx,%eax), %mm4 + +// CHECK: pavgb (%edx), %mm4 +// CHECK: encoding: [0x0f,0xe0,0x22] +pavgb (%edx), %mm4 + +// CHECK: pavgb %mm4, %mm4 +// CHECK: encoding: [0x0f,0xe0,0xe4] +pavgb %mm4, %mm4 + +// CHECK: pavgw -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xe3,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +pavgw -485498096(%edx,%eax,4), %mm4 + +// CHECK: pavgw 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xe3,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +pavgw 485498096(%edx,%eax,4), %mm4 + +// CHECK: pavgw 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xe3,0xa2,0xf0,0x1c,0xf0,0x1c] +pavgw 485498096(%edx), %mm4 + +// CHECK: pavgw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xe3,0x25,0xf0,0x1c,0xf0,0x1c] +pavgw 485498096, %mm4 + +// CHECK: pavgw 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xe3,0x64,0x02,0x40] +pavgw 64(%edx,%eax), %mm4 + +// CHECK: pavgw (%edx), %mm4 +// CHECK: encoding: [0x0f,0xe3,0x22] +pavgw (%edx), %mm4 + +// CHECK: pavgw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xe3,0xe4] +pavgw %mm4, %mm4 + +// CHECK: pcmpeqb -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x74,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +pcmpeqb -485498096(%edx,%eax,4), %mm4 + +// CHECK: pcmpeqb 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x74,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +pcmpeqb 485498096(%edx,%eax,4), %mm4 + +// CHECK: pcmpeqb 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0x74,0xa2,0xf0,0x1c,0xf0,0x1c] +pcmpeqb 485498096(%edx), %mm4 + +// CHECK: pcmpeqb 485498096, %mm4 +// CHECK: encoding: [0x0f,0x74,0x25,0xf0,0x1c,0xf0,0x1c] +pcmpeqb 485498096, %mm4 + +// CHECK: pcmpeqb 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0x74,0x64,0x02,0x40] +pcmpeqb 64(%edx,%eax), %mm4 + +// CHECK: pcmpeqb (%edx), %mm4 +// CHECK: encoding: [0x0f,0x74,0x22] +pcmpeqb (%edx), %mm4 + +// CHECK: pcmpeqb %mm4, %mm4 +// CHECK: encoding: [0x0f,0x74,0xe4] +pcmpeqb %mm4, %mm4 + +// CHECK: pcmpeqd -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x76,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +pcmpeqd -485498096(%edx,%eax,4), %mm4 + +// CHECK: pcmpeqd 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x76,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +pcmpeqd 485498096(%edx,%eax,4), %mm4 + +// CHECK: pcmpeqd 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0x76,0xa2,0xf0,0x1c,0xf0,0x1c] +pcmpeqd 485498096(%edx), %mm4 + +// CHECK: pcmpeqd 485498096, %mm4 +// CHECK: encoding: [0x0f,0x76,0x25,0xf0,0x1c,0xf0,0x1c] +pcmpeqd 485498096, %mm4 + +// CHECK: pcmpeqd 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0x76,0x64,0x02,0x40] +pcmpeqd 64(%edx,%eax), %mm4 + +// CHECK: pcmpeqd (%edx), %mm4 +// CHECK: encoding: [0x0f,0x76,0x22] +pcmpeqd (%edx), %mm4 + +// CHECK: pcmpeqd %mm4, %mm4 +// CHECK: encoding: [0x0f,0x76,0xe4] +pcmpeqd %mm4, %mm4 + +// CHECK: pcmpeqw -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x75,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +pcmpeqw -485498096(%edx,%eax,4), %mm4 + +// CHECK: pcmpeqw 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x75,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +pcmpeqw 485498096(%edx,%eax,4), %mm4 + +// CHECK: pcmpeqw 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0x75,0xa2,0xf0,0x1c,0xf0,0x1c] +pcmpeqw 485498096(%edx), %mm4 + +// CHECK: pcmpeqw 485498096, %mm4 +// CHECK: encoding: [0x0f,0x75,0x25,0xf0,0x1c,0xf0,0x1c] +pcmpeqw 485498096, %mm4 + +// CHECK: pcmpeqw 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0x75,0x64,0x02,0x40] +pcmpeqw 64(%edx,%eax), %mm4 + +// CHECK: pcmpeqw (%edx), %mm4 +// CHECK: encoding: [0x0f,0x75,0x22] +pcmpeqw (%edx), %mm4 + +// CHECK: pcmpeqw %mm4, %mm4 +// CHECK: encoding: [0x0f,0x75,0xe4] +pcmpeqw %mm4, %mm4 + +// CHECK: pcmpgtb -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x64,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +pcmpgtb -485498096(%edx,%eax,4), %mm4 + +// CHECK: pcmpgtb 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x64,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +pcmpgtb 485498096(%edx,%eax,4), %mm4 + +// CHECK: pcmpgtb 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0x64,0xa2,0xf0,0x1c,0xf0,0x1c] +pcmpgtb 485498096(%edx), %mm4 + +// CHECK: pcmpgtb 485498096, %mm4 +// CHECK: encoding: [0x0f,0x64,0x25,0xf0,0x1c,0xf0,0x1c] +pcmpgtb 485498096, %mm4 + +// CHECK: pcmpgtb 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0x64,0x64,0x02,0x40] +pcmpgtb 64(%edx,%eax), %mm4 + +// CHECK: pcmpgtb (%edx), %mm4 +// CHECK: encoding: [0x0f,0x64,0x22] +pcmpgtb (%edx), %mm4 + +// CHECK: pcmpgtb %mm4, %mm4 +// CHECK: encoding: [0x0f,0x64,0xe4] +pcmpgtb %mm4, %mm4 + +// CHECK: pcmpgtd -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x66,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +pcmpgtd -485498096(%edx,%eax,4), %mm4 + +// CHECK: pcmpgtd 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x66,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +pcmpgtd 485498096(%edx,%eax,4), %mm4 + +// CHECK: pcmpgtd 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0x66,0xa2,0xf0,0x1c,0xf0,0x1c] +pcmpgtd 485498096(%edx), %mm4 + +// CHECK: pcmpgtd 485498096, %mm4 +// CHECK: encoding: [0x0f,0x66,0x25,0xf0,0x1c,0xf0,0x1c] +pcmpgtd 485498096, %mm4 + +// CHECK: pcmpgtd 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0x66,0x64,0x02,0x40] +pcmpgtd 64(%edx,%eax), %mm4 + +// CHECK: pcmpgtd (%edx), %mm4 +// CHECK: encoding: [0x0f,0x66,0x22] +pcmpgtd (%edx), %mm4 + +// CHECK: pcmpgtd %mm4, %mm4 +// CHECK: encoding: [0x0f,0x66,0xe4] +pcmpgtd %mm4, %mm4 + +// CHECK: pcmpgtw -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x65,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +pcmpgtw -485498096(%edx,%eax,4), %mm4 + +// CHECK: pcmpgtw 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x65,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +pcmpgtw 485498096(%edx,%eax,4), %mm4 + +// CHECK: pcmpgtw 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0x65,0xa2,0xf0,0x1c,0xf0,0x1c] +pcmpgtw 485498096(%edx), %mm4 + +// CHECK: pcmpgtw 485498096, %mm4 +// CHECK: encoding: [0x0f,0x65,0x25,0xf0,0x1c,0xf0,0x1c] +pcmpgtw 485498096, %mm4 + +// CHECK: pcmpgtw 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0x65,0x64,0x02,0x40] +pcmpgtw 64(%edx,%eax), %mm4 + +// CHECK: pcmpgtw (%edx), %mm4 +// CHECK: encoding: [0x0f,0x65,0x22] +pcmpgtw (%edx), %mm4 + +// CHECK: pcmpgtw %mm4, %mm4 +// CHECK: encoding: [0x0f,0x65,0xe4] +pcmpgtw %mm4, %mm4 + +// CHECK: pinsrw $0, -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xc4,0xa4,0x82,0x10,0xe3,0x0f,0xe3,0x00] +pinsrw $0, -485498096(%edx,%eax,4), %mm4 + +// CHECK: pinsrw $0, 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xc4,0xa4,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +pinsrw $0, 485498096(%edx,%eax,4), %mm4 + +// CHECK: pinsrw $0, 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xc4,0xa2,0xf0,0x1c,0xf0,0x1c,0x00] +pinsrw $0, 485498096(%edx), %mm4 + +// CHECK: pinsrw $0, 485498096, %mm4 +// CHECK: encoding: [0x0f,0xc4,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +pinsrw $0, 485498096, %mm4 + +// CHECK: pinsrw $0, 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xc4,0x64,0x02,0x40,0x00] +pinsrw $0, 64(%edx,%eax), %mm4 + +// CHECK: pinsrw $0, (%edx), %mm4 +// CHECK: encoding: [0x0f,0xc4,0x22,0x00] +pinsrw $0, (%edx), %mm4 + +// CHECK: pmaddwd -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xf5,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +pmaddwd -485498096(%edx,%eax,4), %mm4 + +// CHECK: pmaddwd 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xf5,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +pmaddwd 485498096(%edx,%eax,4), %mm4 + +// CHECK: pmaddwd 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xf5,0xa2,0xf0,0x1c,0xf0,0x1c] +pmaddwd 485498096(%edx), %mm4 + +// CHECK: pmaddwd 485498096, %mm4 +// CHECK: encoding: [0x0f,0xf5,0x25,0xf0,0x1c,0xf0,0x1c] +pmaddwd 485498096, %mm4 + +// CHECK: pmaddwd 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xf5,0x64,0x02,0x40] +pmaddwd 64(%edx,%eax), %mm4 + +// CHECK: pmaddwd (%edx), %mm4 +// CHECK: encoding: [0x0f,0xf5,0x22] +pmaddwd (%edx), %mm4 + +// CHECK: pmaddwd %mm4, %mm4 +// CHECK: encoding: [0x0f,0xf5,0xe4] +pmaddwd %mm4, %mm4 + +// CHECK: pmaxsw -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xee,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +pmaxsw -485498096(%edx,%eax,4), %mm4 + +// CHECK: pmaxsw 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xee,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +pmaxsw 485498096(%edx,%eax,4), %mm4 + +// CHECK: pmaxsw 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xee,0xa2,0xf0,0x1c,0xf0,0x1c] +pmaxsw 485498096(%edx), %mm4 + +// CHECK: pmaxsw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xee,0x25,0xf0,0x1c,0xf0,0x1c] +pmaxsw 485498096, %mm4 + +// CHECK: pmaxsw 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xee,0x64,0x02,0x40] +pmaxsw 64(%edx,%eax), %mm4 + +// CHECK: pmaxsw (%edx), %mm4 +// CHECK: encoding: [0x0f,0xee,0x22] +pmaxsw (%edx), %mm4 + +// CHECK: pmaxsw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xee,0xe4] +pmaxsw %mm4, %mm4 + +// CHECK: pmaxub -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xde,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +pmaxub -485498096(%edx,%eax,4), %mm4 + +// CHECK: pmaxub 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xde,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +pmaxub 485498096(%edx,%eax,4), %mm4 + +// CHECK: pmaxub 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xde,0xa2,0xf0,0x1c,0xf0,0x1c] +pmaxub 485498096(%edx), %mm4 + +// CHECK: pmaxub 485498096, %mm4 +// CHECK: encoding: [0x0f,0xde,0x25,0xf0,0x1c,0xf0,0x1c] +pmaxub 485498096, %mm4 + +// CHECK: pmaxub 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xde,0x64,0x02,0x40] +pmaxub 64(%edx,%eax), %mm4 + +// CHECK: pmaxub (%edx), %mm4 +// CHECK: encoding: [0x0f,0xde,0x22] +pmaxub (%edx), %mm4 + +// CHECK: pmaxub %mm4, %mm4 +// CHECK: encoding: [0x0f,0xde,0xe4] +pmaxub %mm4, %mm4 + +// CHECK: pminsw -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xea,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +pminsw -485498096(%edx,%eax,4), %mm4 + +// CHECK: pminsw 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xea,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +pminsw 485498096(%edx,%eax,4), %mm4 + +// CHECK: pminsw 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xea,0xa2,0xf0,0x1c,0xf0,0x1c] +pminsw 485498096(%edx), %mm4 + +// CHECK: pminsw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xea,0x25,0xf0,0x1c,0xf0,0x1c] +pminsw 485498096, %mm4 + +// CHECK: pminsw 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xea,0x64,0x02,0x40] +pminsw 64(%edx,%eax), %mm4 + +// CHECK: pminsw (%edx), %mm4 +// CHECK: encoding: [0x0f,0xea,0x22] +pminsw (%edx), %mm4 + +// CHECK: pminsw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xea,0xe4] +pminsw %mm4, %mm4 + +// CHECK: pminub -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xda,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +pminub -485498096(%edx,%eax,4), %mm4 + +// CHECK: pminub 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xda,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +pminub 485498096(%edx,%eax,4), %mm4 + +// CHECK: pminub 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xda,0xa2,0xf0,0x1c,0xf0,0x1c] +pminub 485498096(%edx), %mm4 + +// CHECK: pminub 485498096, %mm4 +// CHECK: encoding: [0x0f,0xda,0x25,0xf0,0x1c,0xf0,0x1c] +pminub 485498096, %mm4 + +// CHECK: pminub 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xda,0x64,0x02,0x40] +pminub 64(%edx,%eax), %mm4 + +// CHECK: pminub (%edx), %mm4 +// CHECK: encoding: [0x0f,0xda,0x22] +pminub (%edx), %mm4 + +// CHECK: pminub %mm4, %mm4 +// CHECK: encoding: [0x0f,0xda,0xe4] +pminub %mm4, %mm4 + +// CHECK: pmulhuw -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xe4,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +pmulhuw -485498096(%edx,%eax,4), %mm4 + +// CHECK: pmulhuw 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xe4,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +pmulhuw 485498096(%edx,%eax,4), %mm4 + +// CHECK: pmulhuw 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xe4,0xa2,0xf0,0x1c,0xf0,0x1c] +pmulhuw 485498096(%edx), %mm4 + +// CHECK: pmulhuw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xe4,0x25,0xf0,0x1c,0xf0,0x1c] +pmulhuw 485498096, %mm4 + +// CHECK: pmulhuw 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xe4,0x64,0x02,0x40] +pmulhuw 64(%edx,%eax), %mm4 + +// CHECK: pmulhuw (%edx), %mm4 +// CHECK: encoding: [0x0f,0xe4,0x22] +pmulhuw (%edx), %mm4 + +// CHECK: pmulhuw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xe4,0xe4] +pmulhuw %mm4, %mm4 + +// CHECK: pmulhw -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xe5,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +pmulhw -485498096(%edx,%eax,4), %mm4 + +// CHECK: pmulhw 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xe5,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +pmulhw 485498096(%edx,%eax,4), %mm4 + +// CHECK: pmulhw 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xe5,0xa2,0xf0,0x1c,0xf0,0x1c] +pmulhw 485498096(%edx), %mm4 + +// CHECK: pmulhw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xe5,0x25,0xf0,0x1c,0xf0,0x1c] +pmulhw 485498096, %mm4 + +// CHECK: pmulhw 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xe5,0x64,0x02,0x40] +pmulhw 64(%edx,%eax), %mm4 + +// CHECK: pmulhw (%edx), %mm4 +// CHECK: encoding: [0x0f,0xe5,0x22] +pmulhw (%edx), %mm4 + +// CHECK: pmulhw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xe5,0xe4] +pmulhw %mm4, %mm4 + +// CHECK: pmullw -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xd5,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +pmullw -485498096(%edx,%eax,4), %mm4 + +// CHECK: pmullw 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xd5,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +pmullw 485498096(%edx,%eax,4), %mm4 + +// CHECK: pmullw 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xd5,0xa2,0xf0,0x1c,0xf0,0x1c] +pmullw 485498096(%edx), %mm4 + +// CHECK: pmullw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xd5,0x25,0xf0,0x1c,0xf0,0x1c] +pmullw 485498096, %mm4 + +// CHECK: pmullw 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xd5,0x64,0x02,0x40] +pmullw 64(%edx,%eax), %mm4 + +// CHECK: pmullw (%edx), %mm4 +// CHECK: encoding: [0x0f,0xd5,0x22] +pmullw (%edx), %mm4 + +// CHECK: pmullw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xd5,0xe4] +pmullw %mm4, %mm4 + +// CHECK: por -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xeb,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +por -485498096(%edx,%eax,4), %mm4 + +// CHECK: por 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xeb,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +por 485498096(%edx,%eax,4), %mm4 + +// CHECK: por 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xeb,0xa2,0xf0,0x1c,0xf0,0x1c] +por 485498096(%edx), %mm4 + +// CHECK: por 485498096, %mm4 +// CHECK: encoding: [0x0f,0xeb,0x25,0xf0,0x1c,0xf0,0x1c] +por 485498096, %mm4 + +// CHECK: por 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xeb,0x64,0x02,0x40] +por 64(%edx,%eax), %mm4 + +// CHECK: por (%edx), %mm4 +// CHECK: encoding: [0x0f,0xeb,0x22] +por (%edx), %mm4 + +// CHECK: por %mm4, %mm4 +// CHECK: encoding: [0x0f,0xeb,0xe4] +por %mm4, %mm4 + +// CHECK: psadbw -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xf6,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +psadbw -485498096(%edx,%eax,4), %mm4 + +// CHECK: psadbw 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xf6,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +psadbw 485498096(%edx,%eax,4), %mm4 + +// CHECK: psadbw 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xf6,0xa2,0xf0,0x1c,0xf0,0x1c] +psadbw 485498096(%edx), %mm4 + +// CHECK: psadbw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xf6,0x25,0xf0,0x1c,0xf0,0x1c] +psadbw 485498096, %mm4 + +// CHECK: psadbw 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xf6,0x64,0x02,0x40] +psadbw 64(%edx,%eax), %mm4 + +// CHECK: psadbw (%edx), %mm4 +// CHECK: encoding: [0x0f,0xf6,0x22] +psadbw (%edx), %mm4 + +// CHECK: psadbw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xf6,0xe4] +psadbw %mm4, %mm4 + +// CHECK: pshufw $0, -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x70,0xa4,0x82,0x10,0xe3,0x0f,0xe3,0x00] +pshufw $0, -485498096(%edx,%eax,4), %mm4 + +// CHECK: pshufw $0, 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x70,0xa4,0x82,0xf0,0x1c,0xf0,0x1c,0x00] +pshufw $0, 485498096(%edx,%eax,4), %mm4 + +// CHECK: pshufw $0, 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0x70,0xa2,0xf0,0x1c,0xf0,0x1c,0x00] +pshufw $0, 485498096(%edx), %mm4 + +// CHECK: pshufw $0, 485498096, %mm4 +// CHECK: encoding: [0x0f,0x70,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +pshufw $0, 485498096, %mm4 + +// CHECK: pshufw $0, 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0x70,0x64,0x02,0x40,0x00] +pshufw $0, 64(%edx,%eax), %mm4 + +// CHECK: pshufw $0, (%edx), %mm4 +// CHECK: encoding: [0x0f,0x70,0x22,0x00] +pshufw $0, (%edx), %mm4 + +// CHECK: pshufw $0, %mm4, %mm4 +// CHECK: encoding: [0x0f,0x70,0xe4,0x00] +pshufw $0, %mm4, %mm4 + +// CHECK: pslld $0, %mm4 +// CHECK: encoding: [0x0f,0x72,0xf4,0x00] +pslld $0, %mm4 + +// CHECK: pslld -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xf2,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +pslld -485498096(%edx,%eax,4), %mm4 + +// CHECK: pslld 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xf2,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +pslld 485498096(%edx,%eax,4), %mm4 + +// CHECK: pslld 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xf2,0xa2,0xf0,0x1c,0xf0,0x1c] +pslld 485498096(%edx), %mm4 + +// CHECK: pslld 485498096, %mm4 +// CHECK: encoding: [0x0f,0xf2,0x25,0xf0,0x1c,0xf0,0x1c] +pslld 485498096, %mm4 + +// CHECK: pslld 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xf2,0x64,0x02,0x40] +pslld 64(%edx,%eax), %mm4 + +// CHECK: pslld (%edx), %mm4 +// CHECK: encoding: [0x0f,0xf2,0x22] +pslld (%edx), %mm4 + +// CHECK: pslld %mm4, %mm4 +// CHECK: encoding: [0x0f,0xf2,0xe4] +pslld %mm4, %mm4 + +// CHECK: psllq $0, %mm4 +// CHECK: encoding: [0x0f,0x73,0xf4,0x00] +psllq $0, %mm4 + +// CHECK: psllq -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xf3,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +psllq -485498096(%edx,%eax,4), %mm4 + +// CHECK: psllq 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xf3,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +psllq 485498096(%edx,%eax,4), %mm4 + +// CHECK: psllq 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xf3,0xa2,0xf0,0x1c,0xf0,0x1c] +psllq 485498096(%edx), %mm4 + +// CHECK: psllq 485498096, %mm4 +// CHECK: encoding: [0x0f,0xf3,0x25,0xf0,0x1c,0xf0,0x1c] +psllq 485498096, %mm4 + +// CHECK: psllq 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xf3,0x64,0x02,0x40] +psllq 64(%edx,%eax), %mm4 + +// CHECK: psllq (%edx), %mm4 +// CHECK: encoding: [0x0f,0xf3,0x22] +psllq (%edx), %mm4 + +// CHECK: psllq %mm4, %mm4 +// CHECK: encoding: [0x0f,0xf3,0xe4] +psllq %mm4, %mm4 + +// CHECK: psllw $0, %mm4 +// CHECK: encoding: [0x0f,0x71,0xf4,0x00] +psllw $0, %mm4 + +// CHECK: psllw -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xf1,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +psllw -485498096(%edx,%eax,4), %mm4 + +// CHECK: psllw 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xf1,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +psllw 485498096(%edx,%eax,4), %mm4 + +// CHECK: psllw 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xf1,0xa2,0xf0,0x1c,0xf0,0x1c] +psllw 485498096(%edx), %mm4 + +// CHECK: psllw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xf1,0x25,0xf0,0x1c,0xf0,0x1c] +psllw 485498096, %mm4 + +// CHECK: psllw 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xf1,0x64,0x02,0x40] +psllw 64(%edx,%eax), %mm4 + +// CHECK: psllw (%edx), %mm4 +// CHECK: encoding: [0x0f,0xf1,0x22] +psllw (%edx), %mm4 + +// CHECK: psllw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xf1,0xe4] +psllw %mm4, %mm4 + +// CHECK: psrad $0, %mm4 +// CHECK: encoding: [0x0f,0x72,0xe4,0x00] +psrad $0, %mm4 + +// CHECK: psrad -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xe2,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +psrad -485498096(%edx,%eax,4), %mm4 + +// CHECK: psrad 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xe2,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +psrad 485498096(%edx,%eax,4), %mm4 + +// CHECK: psrad 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xe2,0xa2,0xf0,0x1c,0xf0,0x1c] +psrad 485498096(%edx), %mm4 + +// CHECK: psrad 485498096, %mm4 +// CHECK: encoding: [0x0f,0xe2,0x25,0xf0,0x1c,0xf0,0x1c] +psrad 485498096, %mm4 + +// CHECK: psrad 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xe2,0x64,0x02,0x40] +psrad 64(%edx,%eax), %mm4 + +// CHECK: psrad (%edx), %mm4 +// CHECK: encoding: [0x0f,0xe2,0x22] +psrad (%edx), %mm4 + +// CHECK: psrad %mm4, %mm4 +// CHECK: encoding: [0x0f,0xe2,0xe4] +psrad %mm4, %mm4 + +// CHECK: psraw $0, %mm4 +// CHECK: encoding: [0x0f,0x71,0xe4,0x00] +psraw $0, %mm4 + +// CHECK: psraw -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xe1,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +psraw -485498096(%edx,%eax,4), %mm4 + +// CHECK: psraw 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xe1,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +psraw 485498096(%edx,%eax,4), %mm4 + +// CHECK: psraw 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xe1,0xa2,0xf0,0x1c,0xf0,0x1c] +psraw 485498096(%edx), %mm4 + +// CHECK: psraw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xe1,0x25,0xf0,0x1c,0xf0,0x1c] +psraw 485498096, %mm4 + +// CHECK: psraw 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xe1,0x64,0x02,0x40] +psraw 64(%edx,%eax), %mm4 + +// CHECK: psraw (%edx), %mm4 +// CHECK: encoding: [0x0f,0xe1,0x22] +psraw (%edx), %mm4 + +// CHECK: psraw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xe1,0xe4] +psraw %mm4, %mm4 + +// CHECK: psrld $0, %mm4 +// CHECK: encoding: [0x0f,0x72,0xd4,0x00] +psrld $0, %mm4 + +// CHECK: psrld -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xd2,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +psrld -485498096(%edx,%eax,4), %mm4 + +// CHECK: psrld 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xd2,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +psrld 485498096(%edx,%eax,4), %mm4 + +// CHECK: psrld 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xd2,0xa2,0xf0,0x1c,0xf0,0x1c] +psrld 485498096(%edx), %mm4 + +// CHECK: psrld 485498096, %mm4 +// CHECK: encoding: [0x0f,0xd2,0x25,0xf0,0x1c,0xf0,0x1c] +psrld 485498096, %mm4 + +// CHECK: psrld 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xd2,0x64,0x02,0x40] +psrld 64(%edx,%eax), %mm4 + +// CHECK: psrld (%edx), %mm4 +// CHECK: encoding: [0x0f,0xd2,0x22] +psrld (%edx), %mm4 + +// CHECK: psrld %mm4, %mm4 +// CHECK: encoding: [0x0f,0xd2,0xe4] +psrld %mm4, %mm4 + +// CHECK: psrlq $0, %mm4 +// CHECK: encoding: [0x0f,0x73,0xd4,0x00] +psrlq $0, %mm4 + +// CHECK: psrlq -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xd3,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +psrlq -485498096(%edx,%eax,4), %mm4 + +// CHECK: psrlq 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xd3,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +psrlq 485498096(%edx,%eax,4), %mm4 + +// CHECK: psrlq 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xd3,0xa2,0xf0,0x1c,0xf0,0x1c] +psrlq 485498096(%edx), %mm4 + +// CHECK: psrlq 485498096, %mm4 +// CHECK: encoding: [0x0f,0xd3,0x25,0xf0,0x1c,0xf0,0x1c] +psrlq 485498096, %mm4 + +// CHECK: psrlq 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xd3,0x64,0x02,0x40] +psrlq 64(%edx,%eax), %mm4 + +// CHECK: psrlq (%edx), %mm4 +// CHECK: encoding: [0x0f,0xd3,0x22] +psrlq (%edx), %mm4 + +// CHECK: psrlq %mm4, %mm4 +// CHECK: encoding: [0x0f,0xd3,0xe4] +psrlq %mm4, %mm4 + +// CHECK: psrlw $0, %mm4 +// CHECK: encoding: [0x0f,0x71,0xd4,0x00] +psrlw $0, %mm4 + +// CHECK: psrlw -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xd1,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +psrlw -485498096(%edx,%eax,4), %mm4 + +// CHECK: psrlw 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xd1,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +psrlw 485498096(%edx,%eax,4), %mm4 + +// CHECK: psrlw 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xd1,0xa2,0xf0,0x1c,0xf0,0x1c] +psrlw 485498096(%edx), %mm4 + +// CHECK: psrlw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xd1,0x25,0xf0,0x1c,0xf0,0x1c] +psrlw 485498096, %mm4 + +// CHECK: psrlw 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xd1,0x64,0x02,0x40] +psrlw 64(%edx,%eax), %mm4 + +// CHECK: psrlw (%edx), %mm4 +// CHECK: encoding: [0x0f,0xd1,0x22] +psrlw (%edx), %mm4 + +// CHECK: psrlw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xd1,0xe4] +psrlw %mm4, %mm4 + +// CHECK: psubb -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xf8,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +psubb -485498096(%edx,%eax,4), %mm4 + +// CHECK: psubb 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xf8,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +psubb 485498096(%edx,%eax,4), %mm4 + +// CHECK: psubb 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xf8,0xa2,0xf0,0x1c,0xf0,0x1c] +psubb 485498096(%edx), %mm4 + +// CHECK: psubb 485498096, %mm4 +// CHECK: encoding: [0x0f,0xf8,0x25,0xf0,0x1c,0xf0,0x1c] +psubb 485498096, %mm4 + +// CHECK: psubb 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xf8,0x64,0x02,0x40] +psubb 64(%edx,%eax), %mm4 + +// CHECK: psubb (%edx), %mm4 +// CHECK: encoding: [0x0f,0xf8,0x22] +psubb (%edx), %mm4 + +// CHECK: psubb %mm4, %mm4 +// CHECK: encoding: [0x0f,0xf8,0xe4] +psubb %mm4, %mm4 + +// CHECK: psubd -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xfa,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +psubd -485498096(%edx,%eax,4), %mm4 + +// CHECK: psubd 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xfa,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +psubd 485498096(%edx,%eax,4), %mm4 + +// CHECK: psubd 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xfa,0xa2,0xf0,0x1c,0xf0,0x1c] +psubd 485498096(%edx), %mm4 + +// CHECK: psubd 485498096, %mm4 +// CHECK: encoding: [0x0f,0xfa,0x25,0xf0,0x1c,0xf0,0x1c] +psubd 485498096, %mm4 + +// CHECK: psubd 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xfa,0x64,0x02,0x40] +psubd 64(%edx,%eax), %mm4 + +// CHECK: psubd (%edx), %mm4 +// CHECK: encoding: [0x0f,0xfa,0x22] +psubd (%edx), %mm4 + +// CHECK: psubd %mm4, %mm4 +// CHECK: encoding: [0x0f,0xfa,0xe4] +psubd %mm4, %mm4 + +// CHECK: psubq -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xfb,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +psubq -485498096(%edx,%eax,4), %mm4 + +// CHECK: psubq 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xfb,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +psubq 485498096(%edx,%eax,4), %mm4 + +// CHECK: psubq 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xfb,0xa2,0xf0,0x1c,0xf0,0x1c] +psubq 485498096(%edx), %mm4 + +// CHECK: psubq 485498096, %mm4 +// CHECK: encoding: [0x0f,0xfb,0x25,0xf0,0x1c,0xf0,0x1c] +psubq 485498096, %mm4 + +// CHECK: psubq 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xfb,0x64,0x02,0x40] +psubq 64(%edx,%eax), %mm4 + +// CHECK: psubq (%edx), %mm4 +// CHECK: encoding: [0x0f,0xfb,0x22] +psubq (%edx), %mm4 + +// CHECK: psubq %mm4, %mm4 +// CHECK: encoding: [0x0f,0xfb,0xe4] +psubq %mm4, %mm4 + +// CHECK: psubsb -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xe8,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +psubsb -485498096(%edx,%eax,4), %mm4 + +// CHECK: psubsb 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xe8,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +psubsb 485498096(%edx,%eax,4), %mm4 + +// CHECK: psubsb 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xe8,0xa2,0xf0,0x1c,0xf0,0x1c] +psubsb 485498096(%edx), %mm4 + +// CHECK: psubsb 485498096, %mm4 +// CHECK: encoding: [0x0f,0xe8,0x25,0xf0,0x1c,0xf0,0x1c] +psubsb 485498096, %mm4 + +// CHECK: psubsb 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xe8,0x64,0x02,0x40] +psubsb 64(%edx,%eax), %mm4 + +// CHECK: psubsb (%edx), %mm4 +// CHECK: encoding: [0x0f,0xe8,0x22] +psubsb (%edx), %mm4 + +// CHECK: psubsb %mm4, %mm4 +// CHECK: encoding: [0x0f,0xe8,0xe4] +psubsb %mm4, %mm4 + +// CHECK: psubsw -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xe9,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +psubsw -485498096(%edx,%eax,4), %mm4 + +// CHECK: psubsw 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xe9,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +psubsw 485498096(%edx,%eax,4), %mm4 + +// CHECK: psubsw 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xe9,0xa2,0xf0,0x1c,0xf0,0x1c] +psubsw 485498096(%edx), %mm4 + +// CHECK: psubsw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xe9,0x25,0xf0,0x1c,0xf0,0x1c] +psubsw 485498096, %mm4 + +// CHECK: psubsw 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xe9,0x64,0x02,0x40] +psubsw 64(%edx,%eax), %mm4 + +// CHECK: psubsw (%edx), %mm4 +// CHECK: encoding: [0x0f,0xe9,0x22] +psubsw (%edx), %mm4 + +// CHECK: psubsw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xe9,0xe4] +psubsw %mm4, %mm4 + +// CHECK: psubusb -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xd8,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +psubusb -485498096(%edx,%eax,4), %mm4 + +// CHECK: psubusb 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xd8,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +psubusb 485498096(%edx,%eax,4), %mm4 + +// CHECK: psubusb 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xd8,0xa2,0xf0,0x1c,0xf0,0x1c] +psubusb 485498096(%edx), %mm4 + +// CHECK: psubusb 485498096, %mm4 +// CHECK: encoding: [0x0f,0xd8,0x25,0xf0,0x1c,0xf0,0x1c] +psubusb 485498096, %mm4 + +// CHECK: psubusb 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xd8,0x64,0x02,0x40] +psubusb 64(%edx,%eax), %mm4 + +// CHECK: psubusb (%edx), %mm4 +// CHECK: encoding: [0x0f,0xd8,0x22] +psubusb (%edx), %mm4 + +// CHECK: psubusb %mm4, %mm4 +// CHECK: encoding: [0x0f,0xd8,0xe4] +psubusb %mm4, %mm4 + +// CHECK: psubusw -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xd9,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +psubusw -485498096(%edx,%eax,4), %mm4 + +// CHECK: psubusw 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xd9,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +psubusw 485498096(%edx,%eax,4), %mm4 + +// CHECK: psubusw 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xd9,0xa2,0xf0,0x1c,0xf0,0x1c] +psubusw 485498096(%edx), %mm4 + +// CHECK: psubusw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xd9,0x25,0xf0,0x1c,0xf0,0x1c] +psubusw 485498096, %mm4 + +// CHECK: psubusw 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xd9,0x64,0x02,0x40] +psubusw 64(%edx,%eax), %mm4 + +// CHECK: psubusw (%edx), %mm4 +// CHECK: encoding: [0x0f,0xd9,0x22] +psubusw (%edx), %mm4 + +// CHECK: psubusw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xd9,0xe4] +psubusw %mm4, %mm4 + +// CHECK: psubw -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xf9,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +psubw -485498096(%edx,%eax,4), %mm4 + +// CHECK: psubw 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xf9,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +psubw 485498096(%edx,%eax,4), %mm4 + +// CHECK: psubw 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xf9,0xa2,0xf0,0x1c,0xf0,0x1c] +psubw 485498096(%edx), %mm4 + +// CHECK: psubw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xf9,0x25,0xf0,0x1c,0xf0,0x1c] +psubw 485498096, %mm4 + +// CHECK: psubw 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xf9,0x64,0x02,0x40] +psubw 64(%edx,%eax), %mm4 + +// CHECK: psubw (%edx), %mm4 +// CHECK: encoding: [0x0f,0xf9,0x22] +psubw (%edx), %mm4 + +// CHECK: psubw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xf9,0xe4] +psubw %mm4, %mm4 + +// CHECK: punpckhbw -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x68,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +punpckhbw -485498096(%edx,%eax,4), %mm4 + +// CHECK: punpckhbw 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x68,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +punpckhbw 485498096(%edx,%eax,4), %mm4 + +// CHECK: punpckhbw 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0x68,0xa2,0xf0,0x1c,0xf0,0x1c] +punpckhbw 485498096(%edx), %mm4 + +// CHECK: punpckhbw 485498096, %mm4 +// CHECK: encoding: [0x0f,0x68,0x25,0xf0,0x1c,0xf0,0x1c] +punpckhbw 485498096, %mm4 + +// CHECK: punpckhbw 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0x68,0x64,0x02,0x40] +punpckhbw 64(%edx,%eax), %mm4 + +// CHECK: punpckhbw (%edx), %mm4 +// CHECK: encoding: [0x0f,0x68,0x22] +punpckhbw (%edx), %mm4 + +// CHECK: punpckhbw %mm4, %mm4 +// CHECK: encoding: [0x0f,0x68,0xe4] +punpckhbw %mm4, %mm4 + +// CHECK: punpckhdq -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x6a,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +punpckhdq -485498096(%edx,%eax,4), %mm4 + +// CHECK: punpckhdq 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x6a,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +punpckhdq 485498096(%edx,%eax,4), %mm4 + +// CHECK: punpckhdq 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0x6a,0xa2,0xf0,0x1c,0xf0,0x1c] +punpckhdq 485498096(%edx), %mm4 + +// CHECK: punpckhdq 485498096, %mm4 +// CHECK: encoding: [0x0f,0x6a,0x25,0xf0,0x1c,0xf0,0x1c] +punpckhdq 485498096, %mm4 + +// CHECK: punpckhdq 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0x6a,0x64,0x02,0x40] +punpckhdq 64(%edx,%eax), %mm4 + +// CHECK: punpckhdq (%edx), %mm4 +// CHECK: encoding: [0x0f,0x6a,0x22] +punpckhdq (%edx), %mm4 + +// CHECK: punpckhdq %mm4, %mm4 +// CHECK: encoding: [0x0f,0x6a,0xe4] +punpckhdq %mm4, %mm4 + +// CHECK: punpckhwd -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x69,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +punpckhwd -485498096(%edx,%eax,4), %mm4 + +// CHECK: punpckhwd 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x69,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +punpckhwd 485498096(%edx,%eax,4), %mm4 + +// CHECK: punpckhwd 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0x69,0xa2,0xf0,0x1c,0xf0,0x1c] +punpckhwd 485498096(%edx), %mm4 + +// CHECK: punpckhwd 485498096, %mm4 +// CHECK: encoding: [0x0f,0x69,0x25,0xf0,0x1c,0xf0,0x1c] +punpckhwd 485498096, %mm4 + +// CHECK: punpckhwd 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0x69,0x64,0x02,0x40] +punpckhwd 64(%edx,%eax), %mm4 + +// CHECK: punpckhwd (%edx), %mm4 +// CHECK: encoding: [0x0f,0x69,0x22] +punpckhwd (%edx), %mm4 + +// CHECK: punpckhwd %mm4, %mm4 +// CHECK: encoding: [0x0f,0x69,0xe4] +punpckhwd %mm4, %mm4 + +// CHECK: punpcklbw -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x60,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +punpcklbw -485498096(%edx,%eax,4), %mm4 + +// CHECK: punpcklbw 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x60,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +punpcklbw 485498096(%edx,%eax,4), %mm4 + +// CHECK: punpcklbw 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0x60,0xa2,0xf0,0x1c,0xf0,0x1c] +punpcklbw 485498096(%edx), %mm4 + +// CHECK: punpcklbw 485498096, %mm4 +// CHECK: encoding: [0x0f,0x60,0x25,0xf0,0x1c,0xf0,0x1c] +punpcklbw 485498096, %mm4 + +// CHECK: punpcklbw 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0x60,0x64,0x02,0x40] +punpcklbw 64(%edx,%eax), %mm4 + +// CHECK: punpcklbw (%edx), %mm4 +// CHECK: encoding: [0x0f,0x60,0x22] +punpcklbw (%edx), %mm4 + +// CHECK: punpcklbw %mm4, %mm4 +// CHECK: encoding: [0x0f,0x60,0xe4] +punpcklbw %mm4, %mm4 + +// CHECK: punpckldq -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x62,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +punpckldq -485498096(%edx,%eax,4), %mm4 + +// CHECK: punpckldq 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x62,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +punpckldq 485498096(%edx,%eax,4), %mm4 + +// CHECK: punpckldq 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0x62,0xa2,0xf0,0x1c,0xf0,0x1c] +punpckldq 485498096(%edx), %mm4 + +// CHECK: punpckldq 485498096, %mm4 +// CHECK: encoding: [0x0f,0x62,0x25,0xf0,0x1c,0xf0,0x1c] +punpckldq 485498096, %mm4 + +// CHECK: punpckldq 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0x62,0x64,0x02,0x40] +punpckldq 64(%edx,%eax), %mm4 + +// CHECK: punpckldq (%edx), %mm4 +// CHECK: encoding: [0x0f,0x62,0x22] +punpckldq (%edx), %mm4 + +// CHECK: punpckldq %mm4, %mm4 +// CHECK: encoding: [0x0f,0x62,0xe4] +punpckldq %mm4, %mm4 + +// CHECK: punpcklwd -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x61,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +punpcklwd -485498096(%edx,%eax,4), %mm4 + +// CHECK: punpcklwd 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0x61,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +punpcklwd 485498096(%edx,%eax,4), %mm4 + +// CHECK: punpcklwd 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0x61,0xa2,0xf0,0x1c,0xf0,0x1c] +punpcklwd 485498096(%edx), %mm4 + +// CHECK: punpcklwd 485498096, %mm4 +// CHECK: encoding: [0x0f,0x61,0x25,0xf0,0x1c,0xf0,0x1c] +punpcklwd 485498096, %mm4 + +// CHECK: punpcklwd 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0x61,0x64,0x02,0x40] +punpcklwd 64(%edx,%eax), %mm4 + +// CHECK: punpcklwd (%edx), %mm4 +// CHECK: encoding: [0x0f,0x61,0x22] +punpcklwd (%edx), %mm4 + +// CHECK: punpcklwd %mm4, %mm4 +// CHECK: encoding: [0x0f,0x61,0xe4] +punpcklwd %mm4, %mm4 + +// CHECK: pxor -485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xef,0xa4,0x82,0x10,0xe3,0x0f,0xe3] +pxor -485498096(%edx,%eax,4), %mm4 + +// CHECK: pxor 485498096(%edx,%eax,4), %mm4 +// CHECK: encoding: [0x0f,0xef,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] +pxor 485498096(%edx,%eax,4), %mm4 + +// CHECK: pxor 485498096(%edx), %mm4 +// CHECK: encoding: [0x0f,0xef,0xa2,0xf0,0x1c,0xf0,0x1c] +pxor 485498096(%edx), %mm4 + +// CHECK: pxor 485498096, %mm4 +// CHECK: encoding: [0x0f,0xef,0x25,0xf0,0x1c,0xf0,0x1c] +pxor 485498096, %mm4 + +// CHECK: pxor 64(%edx,%eax), %mm4 +// CHECK: encoding: [0x0f,0xef,0x64,0x02,0x40] +pxor 64(%edx,%eax), %mm4 + +// CHECK: pxor (%edx), %mm4 +// CHECK: encoding: [0x0f,0xef,0x22] +pxor (%edx), %mm4 + +// CHECK: pxor %mm4, %mm4 +// CHECK: encoding: [0x0f,0xef,0xe4] +pxor %mm4, %mm4 + diff --git a/llvm/test/MC/X86/MMX-64.s b/llvm/test/MC/X86/MMX-64.s new file mode 100644 index 000000000000..4a148f216d55 --- /dev/null +++ b/llvm/test/MC/X86/MMX-64.s @@ -0,0 +1,1754 @@ +// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s + +// CHECK: emms +// CHECK: encoding: [0x0f,0x77] +emms + +// CHECK: maskmovq %mm4, %mm4 +// CHECK: encoding: [0x0f,0xf7,0xe4] +maskmovq %mm4, %mm4 + +// CHECK: movd 485498096, %mm4 +// CHECK: encoding: [0x0f,0x6e,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +movd 485498096, %mm4 + +// CHECK: movd 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0x6e,0x62,0x40] +movd 64(%rdx), %mm4 + +// CHECK: movd 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x6e,0x64,0x82,0x40] +movd 64(%rdx,%rax,4), %mm4 + +// CHECK: movd -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x6e,0x64,0x82,0xc0] +movd -64(%rdx,%rax,4), %mm4 + +// CHECK: movd 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0x6e,0x64,0x02,0x40] +movd 64(%rdx,%rax), %mm4 + +// CHECK: movd %mm4, 485498096 +// CHECK: encoding: [0x0f,0x7e,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +movd %mm4, 485498096 + +// CHECK: movd %mm4, 64(%rdx) +// CHECK: encoding: [0x0f,0x7e,0x62,0x40] +movd %mm4, 64(%rdx) + +// CHECK: movd %mm4, 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x7e,0x64,0x82,0x40] +movd %mm4, 64(%rdx,%rax,4) + +// CHECK: movd %mm4, -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x7e,0x64,0x82,0xc0] +movd %mm4, -64(%rdx,%rax,4) + +// CHECK: movd %mm4, 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x7e,0x64,0x02,0x40] +movd %mm4, 64(%rdx,%rax) + +// CHECK: movd %mm4, %r13d +// CHECK: encoding: [0x41,0x0f,0x7e,0xe5] +movd %mm4, %r13d + +// CHECK: movd %mm4, %r15d +// CHECK: encoding: [0x41,0x0f,0x7e,0xe7] +movd %mm4, %r15d + +// CHECK: movd %mm4, (%rdx) +// CHECK: encoding: [0x0f,0x7e,0x22] +movd %mm4, (%rdx) + +// CHECK: movd %r13d, %mm4 +// CHECK: encoding: [0x41,0x0f,0x6e,0xe5] +movd %r13d, %mm4 + +// CHECK: movd %r15d, %mm4 +// CHECK: encoding: [0x41,0x0f,0x6e,0xe7] +movd %r15d, %mm4 + +// CHECK: movd (%rdx), %mm4 +// CHECK: encoding: [0x0f,0x6e,0x22] +movd (%rdx), %mm4 + +// CHECK: movntq %mm4, 485498096 +// CHECK: encoding: [0x0f,0xe7,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +movntq %mm4, 485498096 + +// CHECK: movntq %mm4, 64(%rdx) +// CHECK: encoding: [0x0f,0xe7,0x62,0x40] +movntq %mm4, 64(%rdx) + +// CHECK: movntq %mm4, 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0xe7,0x64,0x82,0x40] +movntq %mm4, 64(%rdx,%rax,4) + +// CHECK: movntq %mm4, -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0xe7,0x64,0x82,0xc0] +movntq %mm4, -64(%rdx,%rax,4) + +// CHECK: movntq %mm4, 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0xe7,0x64,0x02,0x40] +movntq %mm4, 64(%rdx,%rax) + +// CHECK: movntq %mm4, (%rdx) +// CHECK: encoding: [0x0f,0xe7,0x22] +movntq %mm4, (%rdx) + +// CHECK: movq 485498096, %mm4 +// CHECK: encoding: [0x0f,0x6f,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +movq 485498096, %mm4 + +// CHECK: movq 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0x6f,0x62,0x40] +movq 64(%rdx), %mm4 + +// CHECK: movq 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x6f,0x64,0x82,0x40] +movq 64(%rdx,%rax,4), %mm4 + +// CHECK: movq -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x6f,0x64,0x82,0xc0] +movq -64(%rdx,%rax,4), %mm4 + +// CHECK: movq 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0x6f,0x64,0x02,0x40] +movq 64(%rdx,%rax), %mm4 + +// CHECK: movq %mm4, 485498096 +// CHECK: encoding: [0x0f,0x7f,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +movq %mm4, 485498096 + +// CHECK: movq %mm4, 64(%rdx) +// CHECK: encoding: [0x0f,0x7f,0x62,0x40] +movq %mm4, 64(%rdx) + +// CHECK: movq %mm4, 64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x7f,0x64,0x82,0x40] +movq %mm4, 64(%rdx,%rax,4) + +// CHECK: movq %mm4, -64(%rdx,%rax,4) +// CHECK: encoding: [0x0f,0x7f,0x64,0x82,0xc0] +movq %mm4, -64(%rdx,%rax,4) + +// CHECK: movq %mm4, 64(%rdx,%rax) +// CHECK: encoding: [0x0f,0x7f,0x64,0x02,0x40] +movq %mm4, 64(%rdx,%rax) + +// CHECK: movq %mm4, %mm4 +// CHECK: encoding: [0x0f,0x6f,0xe4] +movq %mm4, %mm4 + +// CHECK: movq %mm4, (%rdx) +// CHECK: encoding: [0x0f,0x7f,0x22] +movq %mm4, (%rdx) + +// CHECK: movq (%rdx), %mm4 +// CHECK: encoding: [0x0f,0x6f,0x22] +movq (%rdx), %mm4 + +// CHECK: packssdw 485498096, %mm4 +// CHECK: encoding: [0x0f,0x6b,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +packssdw 485498096, %mm4 + +// CHECK: packssdw 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0x6b,0x62,0x40] +packssdw 64(%rdx), %mm4 + +// CHECK: packssdw 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x6b,0x64,0x82,0x40] +packssdw 64(%rdx,%rax,4), %mm4 + +// CHECK: packssdw -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x6b,0x64,0x82,0xc0] +packssdw -64(%rdx,%rax,4), %mm4 + +// CHECK: packssdw 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0x6b,0x64,0x02,0x40] +packssdw 64(%rdx,%rax), %mm4 + +// CHECK: packssdw %mm4, %mm4 +// CHECK: encoding: [0x0f,0x6b,0xe4] +packssdw %mm4, %mm4 + +// CHECK: packssdw (%rdx), %mm4 +// CHECK: encoding: [0x0f,0x6b,0x22] +packssdw (%rdx), %mm4 + +// CHECK: packsswb 485498096, %mm4 +// CHECK: encoding: [0x0f,0x63,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +packsswb 485498096, %mm4 + +// CHECK: packsswb 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0x63,0x62,0x40] +packsswb 64(%rdx), %mm4 + +// CHECK: packsswb 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x63,0x64,0x82,0x40] +packsswb 64(%rdx,%rax,4), %mm4 + +// CHECK: packsswb -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x63,0x64,0x82,0xc0] +packsswb -64(%rdx,%rax,4), %mm4 + +// CHECK: packsswb 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0x63,0x64,0x02,0x40] +packsswb 64(%rdx,%rax), %mm4 + +// CHECK: packsswb %mm4, %mm4 +// CHECK: encoding: [0x0f,0x63,0xe4] +packsswb %mm4, %mm4 + +// CHECK: packsswb (%rdx), %mm4 +// CHECK: encoding: [0x0f,0x63,0x22] +packsswb (%rdx), %mm4 + +// CHECK: packuswb 485498096, %mm4 +// CHECK: encoding: [0x0f,0x67,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +packuswb 485498096, %mm4 + +// CHECK: packuswb 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0x67,0x62,0x40] +packuswb 64(%rdx), %mm4 + +// CHECK: packuswb 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x67,0x64,0x82,0x40] +packuswb 64(%rdx,%rax,4), %mm4 + +// CHECK: packuswb -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x67,0x64,0x82,0xc0] +packuswb -64(%rdx,%rax,4), %mm4 + +// CHECK: packuswb 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0x67,0x64,0x02,0x40] +packuswb 64(%rdx,%rax), %mm4 + +// CHECK: packuswb %mm4, %mm4 +// CHECK: encoding: [0x0f,0x67,0xe4] +packuswb %mm4, %mm4 + +// CHECK: packuswb (%rdx), %mm4 +// CHECK: encoding: [0x0f,0x67,0x22] +packuswb (%rdx), %mm4 + +// CHECK: paddb 485498096, %mm4 +// CHECK: encoding: [0x0f,0xfc,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +paddb 485498096, %mm4 + +// CHECK: paddb 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xfc,0x62,0x40] +paddb 64(%rdx), %mm4 + +// CHECK: paddb 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xfc,0x64,0x82,0x40] +paddb 64(%rdx,%rax,4), %mm4 + +// CHECK: paddb -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xfc,0x64,0x82,0xc0] +paddb -64(%rdx,%rax,4), %mm4 + +// CHECK: paddb 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xfc,0x64,0x02,0x40] +paddb 64(%rdx,%rax), %mm4 + +// CHECK: paddb %mm4, %mm4 +// CHECK: encoding: [0x0f,0xfc,0xe4] +paddb %mm4, %mm4 + +// CHECK: paddb (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xfc,0x22] +paddb (%rdx), %mm4 + +// CHECK: paddd 485498096, %mm4 +// CHECK: encoding: [0x0f,0xfe,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +paddd 485498096, %mm4 + +// CHECK: paddd 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xfe,0x62,0x40] +paddd 64(%rdx), %mm4 + +// CHECK: paddd 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xfe,0x64,0x82,0x40] +paddd 64(%rdx,%rax,4), %mm4 + +// CHECK: paddd -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xfe,0x64,0x82,0xc0] +paddd -64(%rdx,%rax,4), %mm4 + +// CHECK: paddd 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xfe,0x64,0x02,0x40] +paddd 64(%rdx,%rax), %mm4 + +// CHECK: paddd %mm4, %mm4 +// CHECK: encoding: [0x0f,0xfe,0xe4] +paddd %mm4, %mm4 + +// CHECK: paddd (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xfe,0x22] +paddd (%rdx), %mm4 + +// CHECK: paddq 485498096, %mm4 +// CHECK: encoding: [0x0f,0xd4,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +paddq 485498096, %mm4 + +// CHECK: paddq 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xd4,0x62,0x40] +paddq 64(%rdx), %mm4 + +// CHECK: paddq 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xd4,0x64,0x82,0x40] +paddq 64(%rdx,%rax,4), %mm4 + +// CHECK: paddq -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xd4,0x64,0x82,0xc0] +paddq -64(%rdx,%rax,4), %mm4 + +// CHECK: paddq 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xd4,0x64,0x02,0x40] +paddq 64(%rdx,%rax), %mm4 + +// CHECK: paddq %mm4, %mm4 +// CHECK: encoding: [0x0f,0xd4,0xe4] +paddq %mm4, %mm4 + +// CHECK: paddq (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xd4,0x22] +paddq (%rdx), %mm4 + +// CHECK: paddsb 485498096, %mm4 +// CHECK: encoding: [0x0f,0xec,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +paddsb 485498096, %mm4 + +// CHECK: paddsb 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xec,0x62,0x40] +paddsb 64(%rdx), %mm4 + +// CHECK: paddsb 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xec,0x64,0x82,0x40] +paddsb 64(%rdx,%rax,4), %mm4 + +// CHECK: paddsb -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xec,0x64,0x82,0xc0] +paddsb -64(%rdx,%rax,4), %mm4 + +// CHECK: paddsb 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xec,0x64,0x02,0x40] +paddsb 64(%rdx,%rax), %mm4 + +// CHECK: paddsb %mm4, %mm4 +// CHECK: encoding: [0x0f,0xec,0xe4] +paddsb %mm4, %mm4 + +// CHECK: paddsb (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xec,0x22] +paddsb (%rdx), %mm4 + +// CHECK: paddsw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xed,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +paddsw 485498096, %mm4 + +// CHECK: paddsw 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xed,0x62,0x40] +paddsw 64(%rdx), %mm4 + +// CHECK: paddsw 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xed,0x64,0x82,0x40] +paddsw 64(%rdx,%rax,4), %mm4 + +// CHECK: paddsw -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xed,0x64,0x82,0xc0] +paddsw -64(%rdx,%rax,4), %mm4 + +// CHECK: paddsw 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xed,0x64,0x02,0x40] +paddsw 64(%rdx,%rax), %mm4 + +// CHECK: paddsw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xed,0xe4] +paddsw %mm4, %mm4 + +// CHECK: paddsw (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xed,0x22] +paddsw (%rdx), %mm4 + +// CHECK: paddusb 485498096, %mm4 +// CHECK: encoding: [0x0f,0xdc,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +paddusb 485498096, %mm4 + +// CHECK: paddusb 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xdc,0x62,0x40] +paddusb 64(%rdx), %mm4 + +// CHECK: paddusb 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xdc,0x64,0x82,0x40] +paddusb 64(%rdx,%rax,4), %mm4 + +// CHECK: paddusb -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xdc,0x64,0x82,0xc0] +paddusb -64(%rdx,%rax,4), %mm4 + +// CHECK: paddusb 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xdc,0x64,0x02,0x40] +paddusb 64(%rdx,%rax), %mm4 + +// CHECK: paddusb %mm4, %mm4 +// CHECK: encoding: [0x0f,0xdc,0xe4] +paddusb %mm4, %mm4 + +// CHECK: paddusb (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xdc,0x22] +paddusb (%rdx), %mm4 + +// CHECK: paddusw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xdd,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +paddusw 485498096, %mm4 + +// CHECK: paddusw 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xdd,0x62,0x40] +paddusw 64(%rdx), %mm4 + +// CHECK: paddusw 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xdd,0x64,0x82,0x40] +paddusw 64(%rdx,%rax,4), %mm4 + +// CHECK: paddusw -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xdd,0x64,0x82,0xc0] +paddusw -64(%rdx,%rax,4), %mm4 + +// CHECK: paddusw 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xdd,0x64,0x02,0x40] +paddusw 64(%rdx,%rax), %mm4 + +// CHECK: paddusw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xdd,0xe4] +paddusw %mm4, %mm4 + +// CHECK: paddusw (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xdd,0x22] +paddusw (%rdx), %mm4 + +// CHECK: paddw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xfd,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +paddw 485498096, %mm4 + +// CHECK: paddw 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xfd,0x62,0x40] +paddw 64(%rdx), %mm4 + +// CHECK: paddw 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xfd,0x64,0x82,0x40] +paddw 64(%rdx,%rax,4), %mm4 + +// CHECK: paddw -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xfd,0x64,0x82,0xc0] +paddw -64(%rdx,%rax,4), %mm4 + +// CHECK: paddw 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xfd,0x64,0x02,0x40] +paddw 64(%rdx,%rax), %mm4 + +// CHECK: paddw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xfd,0xe4] +paddw %mm4, %mm4 + +// CHECK: paddw (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xfd,0x22] +paddw (%rdx), %mm4 + +// CHECK: pand 485498096, %mm4 +// CHECK: encoding: [0x0f,0xdb,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +pand 485498096, %mm4 + +// CHECK: pand 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xdb,0x62,0x40] +pand 64(%rdx), %mm4 + +// CHECK: pand 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xdb,0x64,0x82,0x40] +pand 64(%rdx,%rax,4), %mm4 + +// CHECK: pand -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xdb,0x64,0x82,0xc0] +pand -64(%rdx,%rax,4), %mm4 + +// CHECK: pand 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xdb,0x64,0x02,0x40] +pand 64(%rdx,%rax), %mm4 + +// CHECK: pand %mm4, %mm4 +// CHECK: encoding: [0x0f,0xdb,0xe4] +pand %mm4, %mm4 + +// CHECK: pandn 485498096, %mm4 +// CHECK: encoding: [0x0f,0xdf,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +pandn 485498096, %mm4 + +// CHECK: pandn 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xdf,0x62,0x40] +pandn 64(%rdx), %mm4 + +// CHECK: pandn 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xdf,0x64,0x82,0x40] +pandn 64(%rdx,%rax,4), %mm4 + +// CHECK: pandn -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xdf,0x64,0x82,0xc0] +pandn -64(%rdx,%rax,4), %mm4 + +// CHECK: pandn 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xdf,0x64,0x02,0x40] +pandn 64(%rdx,%rax), %mm4 + +// CHECK: pandn %mm4, %mm4 +// CHECK: encoding: [0x0f,0xdf,0xe4] +pandn %mm4, %mm4 + +// CHECK: pandn (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xdf,0x22] +pandn (%rdx), %mm4 + +// CHECK: pand (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xdb,0x22] +pand (%rdx), %mm4 + +// CHECK: pavgb 485498096, %mm4 +// CHECK: encoding: [0x0f,0xe0,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +pavgb 485498096, %mm4 + +// CHECK: pavgb 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xe0,0x62,0x40] +pavgb 64(%rdx), %mm4 + +// CHECK: pavgb 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xe0,0x64,0x82,0x40] +pavgb 64(%rdx,%rax,4), %mm4 + +// CHECK: pavgb -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xe0,0x64,0x82,0xc0] +pavgb -64(%rdx,%rax,4), %mm4 + +// CHECK: pavgb 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xe0,0x64,0x02,0x40] +pavgb 64(%rdx,%rax), %mm4 + +// CHECK: pavgb %mm4, %mm4 +// CHECK: encoding: [0x0f,0xe0,0xe4] +pavgb %mm4, %mm4 + +// CHECK: pavgb (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xe0,0x22] +pavgb (%rdx), %mm4 + +// CHECK: pavgw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xe3,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +pavgw 485498096, %mm4 + +// CHECK: pavgw 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xe3,0x62,0x40] +pavgw 64(%rdx), %mm4 + +// CHECK: pavgw 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xe3,0x64,0x82,0x40] +pavgw 64(%rdx,%rax,4), %mm4 + +// CHECK: pavgw -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xe3,0x64,0x82,0xc0] +pavgw -64(%rdx,%rax,4), %mm4 + +// CHECK: pavgw 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xe3,0x64,0x02,0x40] +pavgw 64(%rdx,%rax), %mm4 + +// CHECK: pavgw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xe3,0xe4] +pavgw %mm4, %mm4 + +// CHECK: pavgw (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xe3,0x22] +pavgw (%rdx), %mm4 + +// CHECK: pcmpeqb 485498096, %mm4 +// CHECK: encoding: [0x0f,0x74,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +pcmpeqb 485498096, %mm4 + +// CHECK: pcmpeqb 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0x74,0x62,0x40] +pcmpeqb 64(%rdx), %mm4 + +// CHECK: pcmpeqb 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x74,0x64,0x82,0x40] +pcmpeqb 64(%rdx,%rax,4), %mm4 + +// CHECK: pcmpeqb -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x74,0x64,0x82,0xc0] +pcmpeqb -64(%rdx,%rax,4), %mm4 + +// CHECK: pcmpeqb 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0x74,0x64,0x02,0x40] +pcmpeqb 64(%rdx,%rax), %mm4 + +// CHECK: pcmpeqb %mm4, %mm4 +// CHECK: encoding: [0x0f,0x74,0xe4] +pcmpeqb %mm4, %mm4 + +// CHECK: pcmpeqb (%rdx), %mm4 +// CHECK: encoding: [0x0f,0x74,0x22] +pcmpeqb (%rdx), %mm4 + +// CHECK: pcmpeqd 485498096, %mm4 +// CHECK: encoding: [0x0f,0x76,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +pcmpeqd 485498096, %mm4 + +// CHECK: pcmpeqd 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0x76,0x62,0x40] +pcmpeqd 64(%rdx), %mm4 + +// CHECK: pcmpeqd 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x76,0x64,0x82,0x40] +pcmpeqd 64(%rdx,%rax,4), %mm4 + +// CHECK: pcmpeqd -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x76,0x64,0x82,0xc0] +pcmpeqd -64(%rdx,%rax,4), %mm4 + +// CHECK: pcmpeqd 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0x76,0x64,0x02,0x40] +pcmpeqd 64(%rdx,%rax), %mm4 + +// CHECK: pcmpeqd %mm4, %mm4 +// CHECK: encoding: [0x0f,0x76,0xe4] +pcmpeqd %mm4, %mm4 + +// CHECK: pcmpeqd (%rdx), %mm4 +// CHECK: encoding: [0x0f,0x76,0x22] +pcmpeqd (%rdx), %mm4 + +// CHECK: pcmpeqw 485498096, %mm4 +// CHECK: encoding: [0x0f,0x75,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +pcmpeqw 485498096, %mm4 + +// CHECK: pcmpeqw 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0x75,0x62,0x40] +pcmpeqw 64(%rdx), %mm4 + +// CHECK: pcmpeqw 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x75,0x64,0x82,0x40] +pcmpeqw 64(%rdx,%rax,4), %mm4 + +// CHECK: pcmpeqw -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x75,0x64,0x82,0xc0] +pcmpeqw -64(%rdx,%rax,4), %mm4 + +// CHECK: pcmpeqw 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0x75,0x64,0x02,0x40] +pcmpeqw 64(%rdx,%rax), %mm4 + +// CHECK: pcmpeqw %mm4, %mm4 +// CHECK: encoding: [0x0f,0x75,0xe4] +pcmpeqw %mm4, %mm4 + +// CHECK: pcmpeqw (%rdx), %mm4 +// CHECK: encoding: [0x0f,0x75,0x22] +pcmpeqw (%rdx), %mm4 + +// CHECK: pcmpgtb 485498096, %mm4 +// CHECK: encoding: [0x0f,0x64,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +pcmpgtb 485498096, %mm4 + +// CHECK: pcmpgtb 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0x64,0x62,0x40] +pcmpgtb 64(%rdx), %mm4 + +// CHECK: pcmpgtb 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x64,0x64,0x82,0x40] +pcmpgtb 64(%rdx,%rax,4), %mm4 + +// CHECK: pcmpgtb -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x64,0x64,0x82,0xc0] +pcmpgtb -64(%rdx,%rax,4), %mm4 + +// CHECK: pcmpgtb 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0x64,0x64,0x02,0x40] +pcmpgtb 64(%rdx,%rax), %mm4 + +// CHECK: pcmpgtb %mm4, %mm4 +// CHECK: encoding: [0x0f,0x64,0xe4] +pcmpgtb %mm4, %mm4 + +// CHECK: pcmpgtb (%rdx), %mm4 +// CHECK: encoding: [0x0f,0x64,0x22] +pcmpgtb (%rdx), %mm4 + +// CHECK: pcmpgtd 485498096, %mm4 +// CHECK: encoding: [0x0f,0x66,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +pcmpgtd 485498096, %mm4 + +// CHECK: pcmpgtd 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0x66,0x62,0x40] +pcmpgtd 64(%rdx), %mm4 + +// CHECK: pcmpgtd 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x66,0x64,0x82,0x40] +pcmpgtd 64(%rdx,%rax,4), %mm4 + +// CHECK: pcmpgtd -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x66,0x64,0x82,0xc0] +pcmpgtd -64(%rdx,%rax,4), %mm4 + +// CHECK: pcmpgtd 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0x66,0x64,0x02,0x40] +pcmpgtd 64(%rdx,%rax), %mm4 + +// CHECK: pcmpgtd %mm4, %mm4 +// CHECK: encoding: [0x0f,0x66,0xe4] +pcmpgtd %mm4, %mm4 + +// CHECK: pcmpgtd (%rdx), %mm4 +// CHECK: encoding: [0x0f,0x66,0x22] +pcmpgtd (%rdx), %mm4 + +// CHECK: pcmpgtw 485498096, %mm4 +// CHECK: encoding: [0x0f,0x65,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +pcmpgtw 485498096, %mm4 + +// CHECK: pcmpgtw 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0x65,0x62,0x40] +pcmpgtw 64(%rdx), %mm4 + +// CHECK: pcmpgtw 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x65,0x64,0x82,0x40] +pcmpgtw 64(%rdx,%rax,4), %mm4 + +// CHECK: pcmpgtw -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x65,0x64,0x82,0xc0] +pcmpgtw -64(%rdx,%rax,4), %mm4 + +// CHECK: pcmpgtw 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0x65,0x64,0x02,0x40] +pcmpgtw 64(%rdx,%rax), %mm4 + +// CHECK: pcmpgtw %mm4, %mm4 +// CHECK: encoding: [0x0f,0x65,0xe4] +pcmpgtw %mm4, %mm4 + +// CHECK: pcmpgtw (%rdx), %mm4 +// CHECK: encoding: [0x0f,0x65,0x22] +pcmpgtw (%rdx), %mm4 + +// CHECK: pextrw $0, %mm4, %r13d +// CHECK: encoding: [0x44,0x0f,0xc5,0xec,0x00] +pextrw $0, %mm4, %r13d + +// CHECK: pinsrw $0, 485498096, %mm4 +// CHECK: encoding: [0x0f,0xc4,0x24,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +pinsrw $0, 485498096, %mm4 + +// CHECK: pinsrw $0, 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xc4,0x62,0x40,0x00] +pinsrw $0, 64(%rdx), %mm4 + +// CHECK: pinsrw $0, 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xc4,0x64,0x82,0x40,0x00] +pinsrw $0, 64(%rdx,%rax,4), %mm4 + +// CHECK: pinsrw $0, -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xc4,0x64,0x82,0xc0,0x00] +pinsrw $0, -64(%rdx,%rax,4), %mm4 + +// CHECK: pinsrw $0, 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xc4,0x64,0x02,0x40,0x00] +pinsrw $0, 64(%rdx,%rax), %mm4 + +// CHECK: pinsrw $0, %r13d, %mm4 +// CHECK: encoding: [0x41,0x0f,0xc4,0xe5,0x00] +pinsrw $0, %r13d, %mm4 + +// CHECK: pinsrw $0, (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xc4,0x22,0x00] +pinsrw $0, (%rdx), %mm4 + +// CHECK: pmaddwd 485498096, %mm4 +// CHECK: encoding: [0x0f,0xf5,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +pmaddwd 485498096, %mm4 + +// CHECK: pmaddwd 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xf5,0x62,0x40] +pmaddwd 64(%rdx), %mm4 + +// CHECK: pmaddwd 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xf5,0x64,0x82,0x40] +pmaddwd 64(%rdx,%rax,4), %mm4 + +// CHECK: pmaddwd -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xf5,0x64,0x82,0xc0] +pmaddwd -64(%rdx,%rax,4), %mm4 + +// CHECK: pmaddwd 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xf5,0x64,0x02,0x40] +pmaddwd 64(%rdx,%rax), %mm4 + +// CHECK: pmaddwd %mm4, %mm4 +// CHECK: encoding: [0x0f,0xf5,0xe4] +pmaddwd %mm4, %mm4 + +// CHECK: pmaddwd (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xf5,0x22] +pmaddwd (%rdx), %mm4 + +// CHECK: pmaxsw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xee,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +pmaxsw 485498096, %mm4 + +// CHECK: pmaxsw 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xee,0x62,0x40] +pmaxsw 64(%rdx), %mm4 + +// CHECK: pmaxsw 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xee,0x64,0x82,0x40] +pmaxsw 64(%rdx,%rax,4), %mm4 + +// CHECK: pmaxsw -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xee,0x64,0x82,0xc0] +pmaxsw -64(%rdx,%rax,4), %mm4 + +// CHECK: pmaxsw 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xee,0x64,0x02,0x40] +pmaxsw 64(%rdx,%rax), %mm4 + +// CHECK: pmaxsw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xee,0xe4] +pmaxsw %mm4, %mm4 + +// CHECK: pmaxsw (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xee,0x22] +pmaxsw (%rdx), %mm4 + +// CHECK: pmaxub 485498096, %mm4 +// CHECK: encoding: [0x0f,0xde,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +pmaxub 485498096, %mm4 + +// CHECK: pmaxub 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xde,0x62,0x40] +pmaxub 64(%rdx), %mm4 + +// CHECK: pmaxub 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xde,0x64,0x82,0x40] +pmaxub 64(%rdx,%rax,4), %mm4 + +// CHECK: pmaxub -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xde,0x64,0x82,0xc0] +pmaxub -64(%rdx,%rax,4), %mm4 + +// CHECK: pmaxub 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xde,0x64,0x02,0x40] +pmaxub 64(%rdx,%rax), %mm4 + +// CHECK: pmaxub %mm4, %mm4 +// CHECK: encoding: [0x0f,0xde,0xe4] +pmaxub %mm4, %mm4 + +// CHECK: pmaxub (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xde,0x22] +pmaxub (%rdx), %mm4 + +// CHECK: pminsw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xea,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +pminsw 485498096, %mm4 + +// CHECK: pminsw 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xea,0x62,0x40] +pminsw 64(%rdx), %mm4 + +// CHECK: pminsw 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xea,0x64,0x82,0x40] +pminsw 64(%rdx,%rax,4), %mm4 + +// CHECK: pminsw -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xea,0x64,0x82,0xc0] +pminsw -64(%rdx,%rax,4), %mm4 + +// CHECK: pminsw 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xea,0x64,0x02,0x40] +pminsw 64(%rdx,%rax), %mm4 + +// CHECK: pminsw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xea,0xe4] +pminsw %mm4, %mm4 + +// CHECK: pminsw (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xea,0x22] +pminsw (%rdx), %mm4 + +// CHECK: pminub 485498096, %mm4 +// CHECK: encoding: [0x0f,0xda,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +pminub 485498096, %mm4 + +// CHECK: pminub 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xda,0x62,0x40] +pminub 64(%rdx), %mm4 + +// CHECK: pminub 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xda,0x64,0x82,0x40] +pminub 64(%rdx,%rax,4), %mm4 + +// CHECK: pminub -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xda,0x64,0x82,0xc0] +pminub -64(%rdx,%rax,4), %mm4 + +// CHECK: pminub 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xda,0x64,0x02,0x40] +pminub 64(%rdx,%rax), %mm4 + +// CHECK: pminub %mm4, %mm4 +// CHECK: encoding: [0x0f,0xda,0xe4] +pminub %mm4, %mm4 + +// CHECK: pminub (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xda,0x22] +pminub (%rdx), %mm4 + +// CHECK: pmulhuw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xe4,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +pmulhuw 485498096, %mm4 + +// CHECK: pmulhuw 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xe4,0x62,0x40] +pmulhuw 64(%rdx), %mm4 + +// CHECK: pmulhuw 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xe4,0x64,0x82,0x40] +pmulhuw 64(%rdx,%rax,4), %mm4 + +// CHECK: pmulhuw -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xe4,0x64,0x82,0xc0] +pmulhuw -64(%rdx,%rax,4), %mm4 + +// CHECK: pmulhuw 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xe4,0x64,0x02,0x40] +pmulhuw 64(%rdx,%rax), %mm4 + +// CHECK: pmulhuw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xe4,0xe4] +pmulhuw %mm4, %mm4 + +// CHECK: pmulhuw (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xe4,0x22] +pmulhuw (%rdx), %mm4 + +// CHECK: pmulhw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xe5,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +pmulhw 485498096, %mm4 + +// CHECK: pmulhw 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xe5,0x62,0x40] +pmulhw 64(%rdx), %mm4 + +// CHECK: pmulhw 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xe5,0x64,0x82,0x40] +pmulhw 64(%rdx,%rax,4), %mm4 + +// CHECK: pmulhw -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xe5,0x64,0x82,0xc0] +pmulhw -64(%rdx,%rax,4), %mm4 + +// CHECK: pmulhw 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xe5,0x64,0x02,0x40] +pmulhw 64(%rdx,%rax), %mm4 + +// CHECK: pmulhw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xe5,0xe4] +pmulhw %mm4, %mm4 + +// CHECK: pmulhw (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xe5,0x22] +pmulhw (%rdx), %mm4 + +// CHECK: pmullw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xd5,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +pmullw 485498096, %mm4 + +// CHECK: pmullw 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xd5,0x62,0x40] +pmullw 64(%rdx), %mm4 + +// CHECK: pmullw 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xd5,0x64,0x82,0x40] +pmullw 64(%rdx,%rax,4), %mm4 + +// CHECK: pmullw -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xd5,0x64,0x82,0xc0] +pmullw -64(%rdx,%rax,4), %mm4 + +// CHECK: pmullw 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xd5,0x64,0x02,0x40] +pmullw 64(%rdx,%rax), %mm4 + +// CHECK: pmullw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xd5,0xe4] +pmullw %mm4, %mm4 + +// CHECK: pmullw (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xd5,0x22] +pmullw (%rdx), %mm4 + +// CHECK: por 485498096, %mm4 +// CHECK: encoding: [0x0f,0xeb,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +por 485498096, %mm4 + +// CHECK: por 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xeb,0x62,0x40] +por 64(%rdx), %mm4 + +// CHECK: por 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xeb,0x64,0x82,0x40] +por 64(%rdx,%rax,4), %mm4 + +// CHECK: por -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xeb,0x64,0x82,0xc0] +por -64(%rdx,%rax,4), %mm4 + +// CHECK: por 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xeb,0x64,0x02,0x40] +por 64(%rdx,%rax), %mm4 + +// CHECK: por %mm4, %mm4 +// CHECK: encoding: [0x0f,0xeb,0xe4] +por %mm4, %mm4 + +// CHECK: por (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xeb,0x22] +por (%rdx), %mm4 + +// CHECK: psadbw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xf6,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +psadbw 485498096, %mm4 + +// CHECK: psadbw 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xf6,0x62,0x40] +psadbw 64(%rdx), %mm4 + +// CHECK: psadbw 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xf6,0x64,0x82,0x40] +psadbw 64(%rdx,%rax,4), %mm4 + +// CHECK: psadbw -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xf6,0x64,0x82,0xc0] +psadbw -64(%rdx,%rax,4), %mm4 + +// CHECK: psadbw 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xf6,0x64,0x02,0x40] +psadbw 64(%rdx,%rax), %mm4 + +// CHECK: psadbw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xf6,0xe4] +psadbw %mm4, %mm4 + +// CHECK: psadbw (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xf6,0x22] +psadbw (%rdx), %mm4 + +// CHECK: pshufw $0, 485498096, %mm4 +// CHECK: encoding: [0x0f,0x70,0x24,0x25,0xf0,0x1c,0xf0,0x1c,0x00] +pshufw $0, 485498096, %mm4 + +// CHECK: pshufw $0, 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0x70,0x62,0x40,0x00] +pshufw $0, 64(%rdx), %mm4 + +// CHECK: pshufw $0, 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x70,0x64,0x82,0x40,0x00] +pshufw $0, 64(%rdx,%rax,4), %mm4 + +// CHECK: pshufw $0, -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x70,0x64,0x82,0xc0,0x00] +pshufw $0, -64(%rdx,%rax,4), %mm4 + +// CHECK: pshufw $0, 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0x70,0x64,0x02,0x40,0x00] +pshufw $0, 64(%rdx,%rax), %mm4 + +// CHECK: pshufw $0, %mm4, %mm4 +// CHECK: encoding: [0x0f,0x70,0xe4,0x00] +pshufw $0, %mm4, %mm4 + +// CHECK: pshufw $0, (%rdx), %mm4 +// CHECK: encoding: [0x0f,0x70,0x22,0x00] +pshufw $0, (%rdx), %mm4 + +// CHECK: pslld $0, %mm4 +// CHECK: encoding: [0x0f,0x72,0xf4,0x00] +pslld $0, %mm4 + +// CHECK: pslld 485498096, %mm4 +// CHECK: encoding: [0x0f,0xf2,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +pslld 485498096, %mm4 + +// CHECK: pslld 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xf2,0x62,0x40] +pslld 64(%rdx), %mm4 + +// CHECK: pslld 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xf2,0x64,0x82,0x40] +pslld 64(%rdx,%rax,4), %mm4 + +// CHECK: pslld -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xf2,0x64,0x82,0xc0] +pslld -64(%rdx,%rax,4), %mm4 + +// CHECK: pslld 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xf2,0x64,0x02,0x40] +pslld 64(%rdx,%rax), %mm4 + +// CHECK: pslld %mm4, %mm4 +// CHECK: encoding: [0x0f,0xf2,0xe4] +pslld %mm4, %mm4 + +// CHECK: pslld (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xf2,0x22] +pslld (%rdx), %mm4 + +// CHECK: psllq $0, %mm4 +// CHECK: encoding: [0x0f,0x73,0xf4,0x00] +psllq $0, %mm4 + +// CHECK: psllq 485498096, %mm4 +// CHECK: encoding: [0x0f,0xf3,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +psllq 485498096, %mm4 + +// CHECK: psllq 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xf3,0x62,0x40] +psllq 64(%rdx), %mm4 + +// CHECK: psllq 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xf3,0x64,0x82,0x40] +psllq 64(%rdx,%rax,4), %mm4 + +// CHECK: psllq -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xf3,0x64,0x82,0xc0] +psllq -64(%rdx,%rax,4), %mm4 + +// CHECK: psllq 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xf3,0x64,0x02,0x40] +psllq 64(%rdx,%rax), %mm4 + +// CHECK: psllq %mm4, %mm4 +// CHECK: encoding: [0x0f,0xf3,0xe4] +psllq %mm4, %mm4 + +// CHECK: psllq (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xf3,0x22] +psllq (%rdx), %mm4 + +// CHECK: psllw $0, %mm4 +// CHECK: encoding: [0x0f,0x71,0xf4,0x00] +psllw $0, %mm4 + +// CHECK: psllw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xf1,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +psllw 485498096, %mm4 + +// CHECK: psllw 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xf1,0x62,0x40] +psllw 64(%rdx), %mm4 + +// CHECK: psllw 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xf1,0x64,0x82,0x40] +psllw 64(%rdx,%rax,4), %mm4 + +// CHECK: psllw -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xf1,0x64,0x82,0xc0] +psllw -64(%rdx,%rax,4), %mm4 + +// CHECK: psllw 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xf1,0x64,0x02,0x40] +psllw 64(%rdx,%rax), %mm4 + +// CHECK: psllw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xf1,0xe4] +psllw %mm4, %mm4 + +// CHECK: psllw (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xf1,0x22] +psllw (%rdx), %mm4 + +// CHECK: psrad $0, %mm4 +// CHECK: encoding: [0x0f,0x72,0xe4,0x00] +psrad $0, %mm4 + +// CHECK: psrad 485498096, %mm4 +// CHECK: encoding: [0x0f,0xe2,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +psrad 485498096, %mm4 + +// CHECK: psrad 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xe2,0x62,0x40] +psrad 64(%rdx), %mm4 + +// CHECK: psrad 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xe2,0x64,0x82,0x40] +psrad 64(%rdx,%rax,4), %mm4 + +// CHECK: psrad -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xe2,0x64,0x82,0xc0] +psrad -64(%rdx,%rax,4), %mm4 + +// CHECK: psrad 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xe2,0x64,0x02,0x40] +psrad 64(%rdx,%rax), %mm4 + +// CHECK: psrad %mm4, %mm4 +// CHECK: encoding: [0x0f,0xe2,0xe4] +psrad %mm4, %mm4 + +// CHECK: psrad (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xe2,0x22] +psrad (%rdx), %mm4 + +// CHECK: psraw $0, %mm4 +// CHECK: encoding: [0x0f,0x71,0xe4,0x00] +psraw $0, %mm4 + +// CHECK: psraw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xe1,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +psraw 485498096, %mm4 + +// CHECK: psraw 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xe1,0x62,0x40] +psraw 64(%rdx), %mm4 + +// CHECK: psraw 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xe1,0x64,0x82,0x40] +psraw 64(%rdx,%rax,4), %mm4 + +// CHECK: psraw -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xe1,0x64,0x82,0xc0] +psraw -64(%rdx,%rax,4), %mm4 + +// CHECK: psraw 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xe1,0x64,0x02,0x40] +psraw 64(%rdx,%rax), %mm4 + +// CHECK: psraw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xe1,0xe4] +psraw %mm4, %mm4 + +// CHECK: psraw (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xe1,0x22] +psraw (%rdx), %mm4 + +// CHECK: psrld $0, %mm4 +// CHECK: encoding: [0x0f,0x72,0xd4,0x00] +psrld $0, %mm4 + +// CHECK: psrld 485498096, %mm4 +// CHECK: encoding: [0x0f,0xd2,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +psrld 485498096, %mm4 + +// CHECK: psrld 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xd2,0x62,0x40] +psrld 64(%rdx), %mm4 + +// CHECK: psrld 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xd2,0x64,0x82,0x40] +psrld 64(%rdx,%rax,4), %mm4 + +// CHECK: psrld -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xd2,0x64,0x82,0xc0] +psrld -64(%rdx,%rax,4), %mm4 + +// CHECK: psrld 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xd2,0x64,0x02,0x40] +psrld 64(%rdx,%rax), %mm4 + +// CHECK: psrld %mm4, %mm4 +// CHECK: encoding: [0x0f,0xd2,0xe4] +psrld %mm4, %mm4 + +// CHECK: psrld (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xd2,0x22] +psrld (%rdx), %mm4 + +// CHECK: psrlq $0, %mm4 +// CHECK: encoding: [0x0f,0x73,0xd4,0x00] +psrlq $0, %mm4 + +// CHECK: psrlq 485498096, %mm4 +// CHECK: encoding: [0x0f,0xd3,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +psrlq 485498096, %mm4 + +// CHECK: psrlq 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xd3,0x62,0x40] +psrlq 64(%rdx), %mm4 + +// CHECK: psrlq 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xd3,0x64,0x82,0x40] +psrlq 64(%rdx,%rax,4), %mm4 + +// CHECK: psrlq -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xd3,0x64,0x82,0xc0] +psrlq -64(%rdx,%rax,4), %mm4 + +// CHECK: psrlq 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xd3,0x64,0x02,0x40] +psrlq 64(%rdx,%rax), %mm4 + +// CHECK: psrlq %mm4, %mm4 +// CHECK: encoding: [0x0f,0xd3,0xe4] +psrlq %mm4, %mm4 + +// CHECK: psrlq (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xd3,0x22] +psrlq (%rdx), %mm4 + +// CHECK: psrlw $0, %mm4 +// CHECK: encoding: [0x0f,0x71,0xd4,0x00] +psrlw $0, %mm4 + +// CHECK: psrlw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xd1,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +psrlw 485498096, %mm4 + +// CHECK: psrlw 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xd1,0x62,0x40] +psrlw 64(%rdx), %mm4 + +// CHECK: psrlw 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xd1,0x64,0x82,0x40] +psrlw 64(%rdx,%rax,4), %mm4 + +// CHECK: psrlw -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xd1,0x64,0x82,0xc0] +psrlw -64(%rdx,%rax,4), %mm4 + +// CHECK: psrlw 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xd1,0x64,0x02,0x40] +psrlw 64(%rdx,%rax), %mm4 + +// CHECK: psrlw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xd1,0xe4] +psrlw %mm4, %mm4 + +// CHECK: psrlw (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xd1,0x22] +psrlw (%rdx), %mm4 + +// CHECK: psubb 485498096, %mm4 +// CHECK: encoding: [0x0f,0xf8,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +psubb 485498096, %mm4 + +// CHECK: psubb 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xf8,0x62,0x40] +psubb 64(%rdx), %mm4 + +// CHECK: psubb 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xf8,0x64,0x82,0x40] +psubb 64(%rdx,%rax,4), %mm4 + +// CHECK: psubb -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xf8,0x64,0x82,0xc0] +psubb -64(%rdx,%rax,4), %mm4 + +// CHECK: psubb 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xf8,0x64,0x02,0x40] +psubb 64(%rdx,%rax), %mm4 + +// CHECK: psubb %mm4, %mm4 +// CHECK: encoding: [0x0f,0xf8,0xe4] +psubb %mm4, %mm4 + +// CHECK: psubb (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xf8,0x22] +psubb (%rdx), %mm4 + +// CHECK: psubd 485498096, %mm4 +// CHECK: encoding: [0x0f,0xfa,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +psubd 485498096, %mm4 + +// CHECK: psubd 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xfa,0x62,0x40] +psubd 64(%rdx), %mm4 + +// CHECK: psubd 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xfa,0x64,0x82,0x40] +psubd 64(%rdx,%rax,4), %mm4 + +// CHECK: psubd -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xfa,0x64,0x82,0xc0] +psubd -64(%rdx,%rax,4), %mm4 + +// CHECK: psubd 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xfa,0x64,0x02,0x40] +psubd 64(%rdx,%rax), %mm4 + +// CHECK: psubd %mm4, %mm4 +// CHECK: encoding: [0x0f,0xfa,0xe4] +psubd %mm4, %mm4 + +// CHECK: psubd (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xfa,0x22] +psubd (%rdx), %mm4 + +// CHECK: psubq 485498096, %mm4 +// CHECK: encoding: [0x0f,0xfb,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +psubq 485498096, %mm4 + +// CHECK: psubq 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xfb,0x62,0x40] +psubq 64(%rdx), %mm4 + +// CHECK: psubq 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xfb,0x64,0x82,0x40] +psubq 64(%rdx,%rax,4), %mm4 + +// CHECK: psubq -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xfb,0x64,0x82,0xc0] +psubq -64(%rdx,%rax,4), %mm4 + +// CHECK: psubq 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xfb,0x64,0x02,0x40] +psubq 64(%rdx,%rax), %mm4 + +// CHECK: psubq %mm4, %mm4 +// CHECK: encoding: [0x0f,0xfb,0xe4] +psubq %mm4, %mm4 + +// CHECK: psubq (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xfb,0x22] +psubq (%rdx), %mm4 + +// CHECK: psubsb 485498096, %mm4 +// CHECK: encoding: [0x0f,0xe8,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +psubsb 485498096, %mm4 + +// CHECK: psubsb 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xe8,0x62,0x40] +psubsb 64(%rdx), %mm4 + +// CHECK: psubsb 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xe8,0x64,0x82,0x40] +psubsb 64(%rdx,%rax,4), %mm4 + +// CHECK: psubsb -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xe8,0x64,0x82,0xc0] +psubsb -64(%rdx,%rax,4), %mm4 + +// CHECK: psubsb 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xe8,0x64,0x02,0x40] +psubsb 64(%rdx,%rax), %mm4 + +// CHECK: psubsb %mm4, %mm4 +// CHECK: encoding: [0x0f,0xe8,0xe4] +psubsb %mm4, %mm4 + +// CHECK: psubsb (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xe8,0x22] +psubsb (%rdx), %mm4 + +// CHECK: psubsw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xe9,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +psubsw 485498096, %mm4 + +// CHECK: psubsw 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xe9,0x62,0x40] +psubsw 64(%rdx), %mm4 + +// CHECK: psubsw 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xe9,0x64,0x82,0x40] +psubsw 64(%rdx,%rax,4), %mm4 + +// CHECK: psubsw -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xe9,0x64,0x82,0xc0] +psubsw -64(%rdx,%rax,4), %mm4 + +// CHECK: psubsw 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xe9,0x64,0x02,0x40] +psubsw 64(%rdx,%rax), %mm4 + +// CHECK: psubsw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xe9,0xe4] +psubsw %mm4, %mm4 + +// CHECK: psubsw (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xe9,0x22] +psubsw (%rdx), %mm4 + +// CHECK: psubusb 485498096, %mm4 +// CHECK: encoding: [0x0f,0xd8,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +psubusb 485498096, %mm4 + +// CHECK: psubusb 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xd8,0x62,0x40] +psubusb 64(%rdx), %mm4 + +// CHECK: psubusb 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xd8,0x64,0x82,0x40] +psubusb 64(%rdx,%rax,4), %mm4 + +// CHECK: psubusb -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xd8,0x64,0x82,0xc0] +psubusb -64(%rdx,%rax,4), %mm4 + +// CHECK: psubusb 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xd8,0x64,0x02,0x40] +psubusb 64(%rdx,%rax), %mm4 + +// CHECK: psubusb %mm4, %mm4 +// CHECK: encoding: [0x0f,0xd8,0xe4] +psubusb %mm4, %mm4 + +// CHECK: psubusb (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xd8,0x22] +psubusb (%rdx), %mm4 + +// CHECK: psubusw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xd9,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +psubusw 485498096, %mm4 + +// CHECK: psubusw 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xd9,0x62,0x40] +psubusw 64(%rdx), %mm4 + +// CHECK: psubusw 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xd9,0x64,0x82,0x40] +psubusw 64(%rdx,%rax,4), %mm4 + +// CHECK: psubusw -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xd9,0x64,0x82,0xc0] +psubusw -64(%rdx,%rax,4), %mm4 + +// CHECK: psubusw 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xd9,0x64,0x02,0x40] +psubusw 64(%rdx,%rax), %mm4 + +// CHECK: psubusw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xd9,0xe4] +psubusw %mm4, %mm4 + +// CHECK: psubusw (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xd9,0x22] +psubusw (%rdx), %mm4 + +// CHECK: psubw 485498096, %mm4 +// CHECK: encoding: [0x0f,0xf9,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +psubw 485498096, %mm4 + +// CHECK: psubw 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xf9,0x62,0x40] +psubw 64(%rdx), %mm4 + +// CHECK: psubw 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xf9,0x64,0x82,0x40] +psubw 64(%rdx,%rax,4), %mm4 + +// CHECK: psubw -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xf9,0x64,0x82,0xc0] +psubw -64(%rdx,%rax,4), %mm4 + +// CHECK: psubw 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xf9,0x64,0x02,0x40] +psubw 64(%rdx,%rax), %mm4 + +// CHECK: psubw %mm4, %mm4 +// CHECK: encoding: [0x0f,0xf9,0xe4] +psubw %mm4, %mm4 + +// CHECK: psubw (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xf9,0x22] +psubw (%rdx), %mm4 + +// CHECK: punpckhbw 485498096, %mm4 +// CHECK: encoding: [0x0f,0x68,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +punpckhbw 485498096, %mm4 + +// CHECK: punpckhbw 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0x68,0x62,0x40] +punpckhbw 64(%rdx), %mm4 + +// CHECK: punpckhbw 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x68,0x64,0x82,0x40] +punpckhbw 64(%rdx,%rax,4), %mm4 + +// CHECK: punpckhbw -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x68,0x64,0x82,0xc0] +punpckhbw -64(%rdx,%rax,4), %mm4 + +// CHECK: punpckhbw 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0x68,0x64,0x02,0x40] +punpckhbw 64(%rdx,%rax), %mm4 + +// CHECK: punpckhbw %mm4, %mm4 +// CHECK: encoding: [0x0f,0x68,0xe4] +punpckhbw %mm4, %mm4 + +// CHECK: punpckhbw (%rdx), %mm4 +// CHECK: encoding: [0x0f,0x68,0x22] +punpckhbw (%rdx), %mm4 + +// CHECK: punpckhdq 485498096, %mm4 +// CHECK: encoding: [0x0f,0x6a,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +punpckhdq 485498096, %mm4 + +// CHECK: punpckhdq 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0x6a,0x62,0x40] +punpckhdq 64(%rdx), %mm4 + +// CHECK: punpckhdq 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x6a,0x64,0x82,0x40] +punpckhdq 64(%rdx,%rax,4), %mm4 + +// CHECK: punpckhdq -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x6a,0x64,0x82,0xc0] +punpckhdq -64(%rdx,%rax,4), %mm4 + +// CHECK: punpckhdq 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0x6a,0x64,0x02,0x40] +punpckhdq 64(%rdx,%rax), %mm4 + +// CHECK: punpckhdq %mm4, %mm4 +// CHECK: encoding: [0x0f,0x6a,0xe4] +punpckhdq %mm4, %mm4 + +// CHECK: punpckhdq (%rdx), %mm4 +// CHECK: encoding: [0x0f,0x6a,0x22] +punpckhdq (%rdx), %mm4 + +// CHECK: punpckhwd 485498096, %mm4 +// CHECK: encoding: [0x0f,0x69,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +punpckhwd 485498096, %mm4 + +// CHECK: punpckhwd 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0x69,0x62,0x40] +punpckhwd 64(%rdx), %mm4 + +// CHECK: punpckhwd 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x69,0x64,0x82,0x40] +punpckhwd 64(%rdx,%rax,4), %mm4 + +// CHECK: punpckhwd -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x69,0x64,0x82,0xc0] +punpckhwd -64(%rdx,%rax,4), %mm4 + +// CHECK: punpckhwd 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0x69,0x64,0x02,0x40] +punpckhwd 64(%rdx,%rax), %mm4 + +// CHECK: punpckhwd %mm4, %mm4 +// CHECK: encoding: [0x0f,0x69,0xe4] +punpckhwd %mm4, %mm4 + +// CHECK: punpckhwd (%rdx), %mm4 +// CHECK: encoding: [0x0f,0x69,0x22] +punpckhwd (%rdx), %mm4 + +// CHECK: punpcklbw 485498096, %mm4 +// CHECK: encoding: [0x0f,0x60,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +punpcklbw 485498096, %mm4 + +// CHECK: punpcklbw 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0x60,0x62,0x40] +punpcklbw 64(%rdx), %mm4 + +// CHECK: punpcklbw 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x60,0x64,0x82,0x40] +punpcklbw 64(%rdx,%rax,4), %mm4 + +// CHECK: punpcklbw -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x60,0x64,0x82,0xc0] +punpcklbw -64(%rdx,%rax,4), %mm4 + +// CHECK: punpcklbw 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0x60,0x64,0x02,0x40] +punpcklbw 64(%rdx,%rax), %mm4 + +// CHECK: punpcklbw %mm4, %mm4 +// CHECK: encoding: [0x0f,0x60,0xe4] +punpcklbw %mm4, %mm4 + +// CHECK: punpcklbw (%rdx), %mm4 +// CHECK: encoding: [0x0f,0x60,0x22] +punpcklbw (%rdx), %mm4 + +// CHECK: punpckldq 485498096, %mm4 +// CHECK: encoding: [0x0f,0x62,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +punpckldq 485498096, %mm4 + +// CHECK: punpckldq 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0x62,0x62,0x40] +punpckldq 64(%rdx), %mm4 + +// CHECK: punpckldq 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x62,0x64,0x82,0x40] +punpckldq 64(%rdx,%rax,4), %mm4 + +// CHECK: punpckldq -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x62,0x64,0x82,0xc0] +punpckldq -64(%rdx,%rax,4), %mm4 + +// CHECK: punpckldq 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0x62,0x64,0x02,0x40] +punpckldq 64(%rdx,%rax), %mm4 + +// CHECK: punpckldq %mm4, %mm4 +// CHECK: encoding: [0x0f,0x62,0xe4] +punpckldq %mm4, %mm4 + +// CHECK: punpckldq (%rdx), %mm4 +// CHECK: encoding: [0x0f,0x62,0x22] +punpckldq (%rdx), %mm4 + +// CHECK: punpcklwd 485498096, %mm4 +// CHECK: encoding: [0x0f,0x61,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +punpcklwd 485498096, %mm4 + +// CHECK: punpcklwd 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0x61,0x62,0x40] +punpcklwd 64(%rdx), %mm4 + +// CHECK: punpcklwd 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x61,0x64,0x82,0x40] +punpcklwd 64(%rdx,%rax,4), %mm4 + +// CHECK: punpcklwd -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0x61,0x64,0x82,0xc0] +punpcklwd -64(%rdx,%rax,4), %mm4 + +// CHECK: punpcklwd 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0x61,0x64,0x02,0x40] +punpcklwd 64(%rdx,%rax), %mm4 + +// CHECK: punpcklwd %mm4, %mm4 +// CHECK: encoding: [0x0f,0x61,0xe4] +punpcklwd %mm4, %mm4 + +// CHECK: punpcklwd (%rdx), %mm4 +// CHECK: encoding: [0x0f,0x61,0x22] +punpcklwd (%rdx), %mm4 + +// CHECK: pxor 485498096, %mm4 +// CHECK: encoding: [0x0f,0xef,0x24,0x25,0xf0,0x1c,0xf0,0x1c] +pxor 485498096, %mm4 + +// CHECK: pxor 64(%rdx), %mm4 +// CHECK: encoding: [0x0f,0xef,0x62,0x40] +pxor 64(%rdx), %mm4 + +// CHECK: pxor 64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xef,0x64,0x82,0x40] +pxor 64(%rdx,%rax,4), %mm4 + +// CHECK: pxor -64(%rdx,%rax,4), %mm4 +// CHECK: encoding: [0x0f,0xef,0x64,0x82,0xc0] +pxor -64(%rdx,%rax,4), %mm4 + +// CHECK: pxor 64(%rdx,%rax), %mm4 +// CHECK: encoding: [0x0f,0xef,0x64,0x02,0x40] +pxor 64(%rdx,%rax), %mm4 + +// CHECK: pxor %mm4, %mm4 +// CHECK: encoding: [0x0f,0xef,0xe4] +pxor %mm4, %mm4 + +// CHECK: pxor (%rdx), %mm4 +// CHECK: encoding: [0x0f,0xef,0x22] +pxor (%rdx), %mm4 + diff --git a/llvm/test/MC/X86/PPRO-32.s b/llvm/test/MC/X86/PPRO-32.s new file mode 100644 index 000000000000..bbd933e58af0 --- /dev/null +++ b/llvm/test/MC/X86/PPRO-32.s @@ -0,0 +1,126 @@ +// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s + +// CHECK: cmovael %eax, %eax +// CHECK: encoding: [0x0f,0x43,0xc0] +cmovael %eax, %eax + +// CHECK: cmoval %eax, %eax +// CHECK: encoding: [0x0f,0x47,0xc0] +cmoval %eax, %eax + +// CHECK: cmovbel %eax, %eax +// CHECK: encoding: [0x0f,0x46,0xc0] +cmovbel %eax, %eax + +// CHECK: cmovbl %eax, %eax +// CHECK: encoding: [0x0f,0x42,0xc0] +cmovbl %eax, %eax + +// CHECK: cmovel %eax, %eax +// CHECK: encoding: [0x0f,0x44,0xc0] +cmovel %eax, %eax + +// CHECK: cmovgel %eax, %eax +// CHECK: encoding: [0x0f,0x4d,0xc0] +cmovgel %eax, %eax + +// CHECK: cmovgl %eax, %eax +// CHECK: encoding: [0x0f,0x4f,0xc0] +cmovgl %eax, %eax + +// CHECK: cmovlel %eax, %eax +// CHECK: encoding: [0x0f,0x4e,0xc0] +cmovlel %eax, %eax + +// CHECK: cmovll %eax, %eax +// CHECK: encoding: [0x0f,0x4c,0xc0] +cmovll %eax, %eax + +// CHECK: cmovnel %eax, %eax +// CHECK: encoding: [0x0f,0x45,0xc0] +cmovnel %eax, %eax + +// CHECK: cmovnol %eax, %eax +// CHECK: encoding: [0x0f,0x41,0xc0] +cmovnol %eax, %eax + +// CHECK: cmovnpl %eax, %eax +// CHECK: encoding: [0x0f,0x4b,0xc0] +cmovnpl %eax, %eax + +// CHECK: cmovnsl %eax, %eax +// CHECK: encoding: [0x0f,0x49,0xc0] +cmovnsl %eax, %eax + +// CHECK: cmovol %eax, %eax +// CHECK: encoding: [0x0f,0x40,0xc0] +cmovol %eax, %eax + +// CHECK: cmovpl %eax, %eax +// CHECK: encoding: [0x0f,0x4a,0xc0] +cmovpl %eax, %eax + +// CHECK: cmovsl %eax, %eax +// CHECK: encoding: [0x0f,0x48,0xc0] +cmovsl %eax, %eax + +// CHECK: fcmovbe %st(4), %st(0) +// CHECK: encoding: [0xda,0xd4] +fcmovbe %st(4), %st(0) + +// CHECK: fcmovb %st(4), %st(0) +// CHECK: encoding: [0xda,0xc4] +fcmovb %st(4), %st(0) + +// CHECK: fcmove %st(4), %st(0) +// CHECK: encoding: [0xda,0xcc] +fcmove %st(4), %st(0) + +// CHECK: fcmovnbe %st(4), %st(0) +// CHECK: encoding: [0xdb,0xd4] +fcmovnbe %st(4), %st(0) + +// CHECK: fcmovnb %st(4), %st(0) +// CHECK: encoding: [0xdb,0xc4] +fcmovnb %st(4), %st(0) + +// CHECK: fcmovne %st(4), %st(0) +// CHECK: encoding: [0xdb,0xcc] +fcmovne %st(4), %st(0) + +// CHECK: fcmovnu %st(4), %st(0) +// CHECK: encoding: [0xdb,0xdc] +fcmovnu %st(4), %st(0) + +// CHECK: fcmovu %st(4), %st(0) +// CHECK: encoding: [0xda,0xdc] +fcmovu %st(4), %st(0) + +// CHECK: fcomi %st(4) +// CHECK: encoding: [0xdb,0xf4] +fcomi %st(4) + +// CHECK: fcompi %st(4) +// CHECK: encoding: [0xdf,0xf4] +fcompi %st(4) + +// CHECK: fucomi %st(4) +// CHECK: encoding: [0xdb,0xec] +fucomi %st(4) + +// CHECK: fucompi %st(4) +// CHECK: encoding: [0xdf,0xec] +fucompi %st(4) + +// CHECK: sysenter +// CHECK: encoding: [0x0f,0x34] +sysenter + +// CHECK: sysexitl +// CHECK: encoding: [0x0f,0x35] +sysexitl + +// CHECK: ud2 +// CHECK: encoding: [0x0f,0x0b] +ud2 + diff --git a/llvm/test/MC/X86/PPRO-64.s b/llvm/test/MC/X86/PPRO-64.s new file mode 100644 index 000000000000..a41d4a0f93cc --- /dev/null +++ b/llvm/test/MC/X86/PPRO-64.s @@ -0,0 +1,130 @@ +// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s + +// CHECK: cmovael %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0x43,0xed] +cmovael %r13d, %r13d + +// CHECK: cmoval %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0x47,0xed] +cmoval %r13d, %r13d + +// CHECK: cmovbel %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0x46,0xed] +cmovbel %r13d, %r13d + +// CHECK: cmovbl %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0x42,0xed] +cmovbl %r13d, %r13d + +// CHECK: cmovel %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0x44,0xed] +cmovel %r13d, %r13d + +// CHECK: cmovgel %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0x4d,0xed] +cmovgel %r13d, %r13d + +// CHECK: cmovgl %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0x4f,0xed] +cmovgl %r13d, %r13d + +// CHECK: cmovlel %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0x4e,0xed] +cmovlel %r13d, %r13d + +// CHECK: cmovll %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0x4c,0xed] +cmovll %r13d, %r13d + +// CHECK: cmovnel %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0x45,0xed] +cmovnel %r13d, %r13d + +// CHECK: cmovnol %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0x41,0xed] +cmovnol %r13d, %r13d + +// CHECK: cmovnpl %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0x4b,0xed] +cmovnpl %r13d, %r13d + +// CHECK: cmovnsl %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0x49,0xed] +cmovnsl %r13d, %r13d + +// CHECK: cmovol %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0x40,0xed] +cmovol %r13d, %r13d + +// CHECK: cmovpl %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0x4a,0xed] +cmovpl %r13d, %r13d + +// CHECK: cmovsl %r13d, %r13d +// CHECK: encoding: [0x45,0x0f,0x48,0xed] +cmovsl %r13d, %r13d + +// CHECK: fcmovbe %st(4), %st(0) +// CHECK: encoding: [0xda,0xd4] +fcmovbe %st(4), %st(0) + +// CHECK: fcmovb %st(4), %st(0) +// CHECK: encoding: [0xda,0xc4] +fcmovb %st(4), %st(0) + +// CHECK: fcmove %st(4), %st(0) +// CHECK: encoding: [0xda,0xcc] +fcmove %st(4), %st(0) + +// CHECK: fcmovnbe %st(4), %st(0) +// CHECK: encoding: [0xdb,0xd4] +fcmovnbe %st(4), %st(0) + +// CHECK: fcmovnb %st(4), %st(0) +// CHECK: encoding: [0xdb,0xc4] +fcmovnb %st(4), %st(0) + +// CHECK: fcmovne %st(4), %st(0) +// CHECK: encoding: [0xdb,0xcc] +fcmovne %st(4), %st(0) + +// CHECK: fcmovnu %st(4), %st(0) +// CHECK: encoding: [0xdb,0xdc] +fcmovnu %st(4), %st(0) + +// CHECK: fcmovu %st(4), %st(0) +// CHECK: encoding: [0xda,0xdc] +fcmovu %st(4), %st(0) + +// CHECK: fcomi %st(4) +// CHECK: encoding: [0xdb,0xf4] +fcomi %st(4) + +// CHECK: fcompi %st(4) +// CHECK: encoding: [0xdf,0xf4] +fcompi %st(4) + +// CHECK: fucomi %st(4) +// CHECK: encoding: [0xdb,0xec] +fucomi %st(4) + +// CHECK: fucompi %st(4) +// CHECK: encoding: [0xdf,0xec] +fucompi %st(4) + +// CHECK: sysenter +// CHECK: encoding: [0x0f,0x34] +sysenter + +// CHECK: sysexitl +// CHECK: encoding: [0x0f,0x35] +sysexitl + +// CHECK: sysexitq +// CHECK: encoding: [0x48,0x0f,0x35] +sysexitq + +// CHECK: ud2 +// CHECK: encoding: [0x0f,0x0b] +ud2 +