1# RUN: llvm-mc -triple x86_64 -show-encoding %s | FileCheck %s 2 3# CHECK: {evex} rorb %al 4# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xd0,0xc8] 5 {evex} rorb $1, %al 6# CHECK: {evex} rorw %ax 7# CHECK: encoding: [0x62,0xf4,0x7d,0x08,0xd1,0xc8] 8 {evex} rorw $1, %ax 9# CHECK: {evex} rorl %eax 10# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xd1,0xc8] 11 {evex} rorl $1, %eax 12# CHECK: {evex} rorq %rax 13# CHECK: encoding: [0x62,0xf4,0xfc,0x08,0xd1,0xc8] 14 {evex} rorq $1, %rax 15# CHECK: {nf} rorb %al 16# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0xd0,0xc8] 17 {nf} rorb $1, %al 18# CHECK: {nf} rorw %ax 19# CHECK: encoding: [0x62,0xf4,0x7d,0x0c,0xd1,0xc8] 20 {nf} rorw $1, %ax 21# CHECK: {nf} rorl %eax 22# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0xd1,0xc8] 23 {nf} rorl $1, %eax 24# CHECK: {nf} rorq %rax 25# CHECK: encoding: [0x62,0xf4,0xfc,0x0c,0xd1,0xc8] 26 {nf} rorq $1, %rax 27# CHECK: rorb %al, %bl 28# CHECK: encoding: [0x62,0xf4,0x64,0x18,0xd0,0xc8] 29 rorb $1, %al, %bl 30# CHECK: rorw %ax, %bx 31# CHECK: encoding: [0x62,0xf4,0x65,0x18,0xd1,0xc8] 32 rorw $1, %ax, %bx 33# CHECK: rorl %eax, %ebx 34# CHECK: encoding: [0x62,0xf4,0x64,0x18,0xd1,0xc8] 35 rorl $1, %eax, %ebx 36# CHECK: rorq %rax, %rbx 37# CHECK: encoding: [0x62,0xf4,0xe4,0x18,0xd1,0xc8] 38 rorq $1, %rax, %rbx 39# CHECK: {nf} rorb %al, %bl 40# CHECK: encoding: [0x62,0xf4,0x64,0x1c,0xd0,0xc8] 41 {nf} rorb $1, %al, %bl 42# CHECK: {nf} rorw %ax, %bx 43# CHECK: encoding: [0x62,0xf4,0x65,0x1c,0xd1,0xc8] 44 {nf} rorw $1, %ax, %bx 45# CHECK: {nf} rorl %eax, %ebx 46# CHECK: encoding: [0x62,0xf4,0x64,0x1c,0xd1,0xc8] 47 {nf} rorl $1, %eax, %ebx 48# CHECK: {nf} rorq %rax, %rbx 49# CHECK: encoding: [0x62,0xf4,0xe4,0x1c,0xd1,0xc8] 50 {nf} rorq $1, %rax, %rbx 51# CHECK: {evex} rorb 123(%r8,%rax,4) 52# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xd0,0x4c,0x80,0x7b] 53 {evex} rorb $1, 123(%r8,%rax,4) 54# CHECK: {evex} rorw 123(%r8,%rax,4) 55# CHECK: encoding: [0x62,0xd4,0x7d,0x08,0xd1,0x4c,0x80,0x7b] 56 {evex} rorw $1, 123(%r8,%rax,4) 57# CHECK: {evex} rorl 123(%r8,%rax,4) 58# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0xd1,0x4c,0x80,0x7b] 59 {evex} rorl $1, 123(%r8,%rax,4) 60# CHECK: {evex} rorq 123(%r8,%rax,4) 61# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0xd1,0x4c,0x80,0x7b] 62 {evex} rorq $1, 123(%r8,%rax,4) 63# CHECK: {nf} rorb 123(%r8,%rax,4) 64# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0xd0,0x4c,0x80,0x7b] 65 {nf} rorb $1, 123(%r8,%rax,4) 66# CHECK: {nf} rorw 123(%r8,%rax,4) 67# CHECK: encoding: [0x62,0xd4,0x7d,0x0c,0xd1,0x4c,0x80,0x7b] 68 {nf} rorw $1, 123(%r8,%rax,4) 69# CHECK: {nf} rorl 123(%r8,%rax,4) 70# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0xd1,0x4c,0x80,0x7b] 71 {nf} rorl $1, 123(%r8,%rax,4) 72# CHECK: {nf} rorq 123(%r8,%rax,4) 73# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0xd1,0x4c,0x80,0x7b] 74 {nf} rorq $1, 123(%r8,%rax,4) 75# CHECK: rorb 123(%r8,%rax,4), %bl 76# CHECK: encoding: [0x62,0xd4,0x64,0x18,0xd0,0x4c,0x80,0x7b] 77 rorb $1, 123(%r8,%rax,4), %bl 78# CHECK: rorw 123(%r8,%rax,4), %bx 79# CHECK: encoding: [0x62,0xd4,0x65,0x18,0xd1,0x4c,0x80,0x7b] 80 rorw $1, 123(%r8,%rax,4), %bx 81# CHECK: rorl 123(%r8,%rax,4), %ebx 82# CHECK: encoding: [0x62,0xd4,0x64,0x18,0xd1,0x4c,0x80,0x7b] 83 rorl $1, 123(%r8,%rax,4), %ebx 84# CHECK: rorq 123(%r8,%rax,4), %rbx 85# CHECK: encoding: [0x62,0xd4,0xe4,0x18,0xd1,0x4c,0x80,0x7b] 86 rorq $1, 123(%r8,%rax,4), %rbx 87# CHECK: {nf} rorb 123(%r8,%rax,4), %bl 88# CHECK: encoding: [0x62,0xd4,0x64,0x1c,0xd0,0x4c,0x80,0x7b] 89 {nf} rorb $1, 123(%r8,%rax,4), %bl 90# CHECK: {nf} rorw 123(%r8,%rax,4), %bx 91# CHECK: encoding: [0x62,0xd4,0x65,0x1c,0xd1,0x4c,0x80,0x7b] 92 {nf} rorw $1, 123(%r8,%rax,4), %bx 93# CHECK: {nf} rorl 123(%r8,%rax,4), %ebx 94# CHECK: encoding: [0x62,0xd4,0x64,0x1c,0xd1,0x4c,0x80,0x7b] 95 {nf} rorl $1, 123(%r8,%rax,4), %ebx 96# CHECK: {nf} rorq 123(%r8,%rax,4), %rbx 97# CHECK: encoding: [0x62,0xd4,0xe4,0x1c,0xd1,0x4c,0x80,0x7b] 98 {nf} rorq $1, 123(%r8,%rax,4), %rbx 99