1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
|
// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s
// CHECK: llwpcb %r13d
// CHECK: encoding: [0x8f,0xc9,0x78,0x12,0xc5]
llwpcb %r13d
// CHECK: llwpcb %r13
// CHECK: encoding: [0x8f,0xc9,0xf8,0x12,0xc5]
llwpcb %r13
// CHECK: lwpins $0, 485498096, %r15d
// CHECK: encoding: [0x8f,0xea,0x00,0x12,0x04,0x25,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00]
lwpins $0, 485498096, %r15d
// CHECK: lwpins $0, 485498096, %r15
// CHECK: encoding: [0x8f,0xea,0x80,0x12,0x04,0x25,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00]
lwpins $0, 485498096, %r15
// CHECK: lwpins $0, 64(%rdx), %r15d
// CHECK: encoding: [0x8f,0xea,0x00,0x12,0x42,0x40,0x00,0x00,0x00,0x00]
lwpins $0, 64(%rdx), %r15d
// CHECK: lwpins $0, 64(%rdx), %r15
// CHECK: encoding: [0x8f,0xea,0x80,0x12,0x42,0x40,0x00,0x00,0x00,0x00]
lwpins $0, 64(%rdx), %r15
// CHECK: lwpins $0, 64(%rdx,%rax,4), %r15d
// CHECK: encoding: [0x8f,0xea,0x00,0x12,0x44,0x82,0x40,0x00,0x00,0x00,0x00]
lwpins $0, 64(%rdx,%rax,4), %r15d
// CHECK: lwpins $0, 64(%rdx,%rax,4), %r15
// CHECK: encoding: [0x8f,0xea,0x80,0x12,0x44,0x82,0x40,0x00,0x00,0x00,0x00]
lwpins $0, 64(%rdx,%rax,4), %r15
// CHECK: lwpins $0, -64(%rdx,%rax,4), %r15d
// CHECK: encoding: [0x8f,0xea,0x00,0x12,0x44,0x82,0xc0,0x00,0x00,0x00,0x00]
lwpins $0, -64(%rdx,%rax,4), %r15d
// CHECK: lwpins $0, -64(%rdx,%rax,4), %r15
// CHECK: encoding: [0x8f,0xea,0x80,0x12,0x44,0x82,0xc0,0x00,0x00,0x00,0x00]
lwpins $0, -64(%rdx,%rax,4), %r15
// CHECK: lwpins $0, 64(%rdx,%rax), %r15d
// CHECK: encoding: [0x8f,0xea,0x00,0x12,0x44,0x02,0x40,0x00,0x00,0x00,0x00]
lwpins $0, 64(%rdx,%rax), %r15d
// CHECK: lwpins $0, 64(%rdx,%rax), %r15
// CHECK: encoding: [0x8f,0xea,0x80,0x12,0x44,0x02,0x40,0x00,0x00,0x00,0x00]
lwpins $0, 64(%rdx,%rax), %r15
// CHECK: lwpins $0, %r13d, %r15d
// CHECK: encoding: [0x8f,0xca,0x00,0x12,0xc5,0x00,0x00,0x00,0x00]
lwpins $0, %r13d, %r15d
// CHECK: lwpins $0, %r13d, %r15
// CHECK: encoding: [0x8f,0xca,0x80,0x12,0xc5,0x00,0x00,0x00,0x00]
lwpins $0, %r13d, %r15
// CHECK: lwpins $0, (%rdx), %r15d
// CHECK: encoding: [0x8f,0xea,0x00,0x12,0x02,0x00,0x00,0x00,0x00]
lwpins $0, (%rdx), %r15d
// CHECK: lwpins $0, (%rdx), %r15
// CHECK: encoding: [0x8f,0xea,0x80,0x12,0x02,0x00,0x00,0x00,0x00]
lwpins $0, (%rdx), %r15
// CHECK: lwpval $0, 485498096, %r15d
// CHECK: encoding: [0x8f,0xea,0x00,0x12,0x0c,0x25,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00]
lwpval $0, 485498096, %r15d
// CHECK: lwpval $0, 485498096, %r15
// CHECK: encoding: [0x8f,0xea,0x80,0x12,0x0c,0x25,0xf0,0x1c,0xf0,0x1c,0x00,0x00,0x00,0x00]
lwpval $0, 485498096, %r15
// CHECK: lwpval $0, 64(%rdx), %r15d
// CHECK: encoding: [0x8f,0xea,0x00,0x12,0x4a,0x40,0x00,0x00,0x00,0x00]
lwpval $0, 64(%rdx), %r15d
// CHECK: lwpval $0, 64(%rdx), %r15
// CHECK: encoding: [0x8f,0xea,0x80,0x12,0x4a,0x40,0x00,0x00,0x00,0x00]
lwpval $0, 64(%rdx), %r15
// CHECK: lwpval $0, 64(%rdx,%rax,4), %r15d
// CHECK: encoding: [0x8f,0xea,0x00,0x12,0x4c,0x82,0x40,0x00,0x00,0x00,0x00]
lwpval $0, 64(%rdx,%rax,4), %r15d
// CHECK: lwpval $0, 64(%rdx,%rax,4), %r15
// CHECK: encoding: [0x8f,0xea,0x80,0x12,0x4c,0x82,0x40,0x00,0x00,0x00,0x00]
lwpval $0, 64(%rdx,%rax,4), %r15
// CHECK: lwpval $0, -64(%rdx,%rax,4), %r15d
// CHECK: encoding: [0x8f,0xea,0x00,0x12,0x4c,0x82,0xc0,0x00,0x00,0x00,0x00]
lwpval $0, -64(%rdx,%rax,4), %r15d
// CHECK: lwpval $0, -64(%rdx,%rax,4), %r15
// CHECK: encoding: [0x8f,0xea,0x80,0x12,0x4c,0x82,0xc0,0x00,0x00,0x00,0x00]
lwpval $0, -64(%rdx,%rax,4), %r15
// CHECK: lwpval $0, 64(%rdx,%rax), %r15d
// CHECK: encoding: [0x8f,0xea,0x00,0x12,0x4c,0x02,0x40,0x00,0x00,0x00,0x00]
lwpval $0, 64(%rdx,%rax), %r15d
// CHECK: lwpval $0, 64(%rdx,%rax), %r15
// CHECK: encoding: [0x8f,0xea,0x80,0x12,0x4c,0x02,0x40,0x00,0x00,0x00,0x00]
lwpval $0, 64(%rdx,%rax), %r15
// CHECK: lwpval $0, %r13d, %r15d
// CHECK: encoding: [0x8f,0xca,0x00,0x12,0xcd,0x00,0x00,0x00,0x00]
lwpval $0, %r13d, %r15d
// CHECK: lwpval $0, %r13d, %r15
// CHECK: encoding: [0x8f,0xca,0x80,0x12,0xcd,0x00,0x00,0x00,0x00]
lwpval $0, %r13d, %r15
// CHECK: lwpval $0, (%rdx), %r15d
// CHECK: encoding: [0x8f,0xea,0x00,0x12,0x0a,0x00,0x00,0x00,0x00]
lwpval $0, (%rdx), %r15d
// CHECK: lwpval $0, (%rdx), %r15
// CHECK: encoding: [0x8f,0xea,0x80,0x12,0x0a,0x00,0x00,0x00,0x00]
lwpval $0, (%rdx), %r15
// CHECK: slwpcb %r13d
// CHECK: encoding: [0x8f,0xc9,0x78,0x12,0xcd]
slwpcb %r13d
// CHECK: slwpcb %r13
// CHECK: encoding: [0x8f,0xc9,0xf8,0x12,0xcd]
slwpcb %r13
|