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 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169
|
// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
// CHECK: prefetch -485498096(%edx,%eax,4)
// CHECK: encoding: [0x0f,0x0d,0x84,0x82,0x10,0xe3,0x0f,0xe3]
prefetch -485498096(%edx,%eax,4)
// CHECK: prefetch 485498096(%edx,%eax,4)
// CHECK: encoding: [0x0f,0x0d,0x84,0x82,0xf0,0x1c,0xf0,0x1c]
prefetch 485498096(%edx,%eax,4)
// CHECK: prefetch 485498096(%edx)
// CHECK: encoding: [0x0f,0x0d,0x82,0xf0,0x1c,0xf0,0x1c]
prefetch 485498096(%edx)
// CHECK: prefetch 485498096
// CHECK: encoding: [0x0f,0x0d,0x05,0xf0,0x1c,0xf0,0x1c]
prefetch 485498096
// CHECK: prefetch 64(%edx,%eax)
// CHECK: encoding: [0x0f,0x0d,0x44,0x02,0x40]
prefetch 64(%edx,%eax)
// CHECK: prefetch (%edx)
// CHECK: encoding: [0x0f,0x0d,0x02]
prefetch (%edx)
// CHECK: prefetchnta -485498096(%edx,%eax,4)
// CHECK: encoding: [0x0f,0x18,0x84,0x82,0x10,0xe3,0x0f,0xe3]
prefetchnta -485498096(%edx,%eax,4)
// CHECK: prefetchnta 485498096(%edx,%eax,4)
// CHECK: encoding: [0x0f,0x18,0x84,0x82,0xf0,0x1c,0xf0,0x1c]
prefetchnta 485498096(%edx,%eax,4)
// CHECK: prefetchnta 485498096(%edx)
// CHECK: encoding: [0x0f,0x18,0x82,0xf0,0x1c,0xf0,0x1c]
prefetchnta 485498096(%edx)
// CHECK: prefetchnta 485498096
// CHECK: encoding: [0x0f,0x18,0x05,0xf0,0x1c,0xf0,0x1c]
prefetchnta 485498096
// CHECK: prefetchnta 64(%edx,%eax)
// CHECK: encoding: [0x0f,0x18,0x44,0x02,0x40]
prefetchnta 64(%edx,%eax)
// CHECK: prefetchnta (%edx)
// CHECK: encoding: [0x0f,0x18,0x02]
prefetchnta (%edx)
// CHECK: prefetcht0 -485498096(%edx,%eax,4)
// CHECK: encoding: [0x0f,0x18,0x8c,0x82,0x10,0xe3,0x0f,0xe3]
prefetcht0 -485498096(%edx,%eax,4)
// CHECK: prefetcht0 485498096(%edx,%eax,4)
// CHECK: encoding: [0x0f,0x18,0x8c,0x82,0xf0,0x1c,0xf0,0x1c]
prefetcht0 485498096(%edx,%eax,4)
// CHECK: prefetcht0 485498096(%edx)
// CHECK: encoding: [0x0f,0x18,0x8a,0xf0,0x1c,0xf0,0x1c]
prefetcht0 485498096(%edx)
// CHECK: prefetcht0 485498096
// CHECK: encoding: [0x0f,0x18,0x0d,0xf0,0x1c,0xf0,0x1c]
prefetcht0 485498096
// CHECK: prefetcht0 64(%edx,%eax)
// CHECK: encoding: [0x0f,0x18,0x4c,0x02,0x40]
prefetcht0 64(%edx,%eax)
// CHECK: prefetcht0 (%edx)
// CHECK: encoding: [0x0f,0x18,0x0a]
prefetcht0 (%edx)
// CHECK: prefetcht1 -485498096(%edx,%eax,4)
// CHECK: encoding: [0x0f,0x18,0x94,0x82,0x10,0xe3,0x0f,0xe3]
prefetcht1 -485498096(%edx,%eax,4)
// CHECK: prefetcht1 485498096(%edx,%eax,4)
// CHECK: encoding: [0x0f,0x18,0x94,0x82,0xf0,0x1c,0xf0,0x1c]
prefetcht1 485498096(%edx,%eax,4)
// CHECK: prefetcht1 485498096(%edx)
// CHECK: encoding: [0x0f,0x18,0x92,0xf0,0x1c,0xf0,0x1c]
prefetcht1 485498096(%edx)
// CHECK: prefetcht1 485498096
// CHECK: encoding: [0x0f,0x18,0x15,0xf0,0x1c,0xf0,0x1c]
prefetcht1 485498096
// CHECK: prefetcht1 64(%edx,%eax)
// CHECK: encoding: [0x0f,0x18,0x54,0x02,0x40]
prefetcht1 64(%edx,%eax)
// CHECK: prefetcht1 (%edx)
// CHECK: encoding: [0x0f,0x18,0x12]
prefetcht1 (%edx)
// CHECK: prefetcht2 -485498096(%edx,%eax,4)
// CHECK: encoding: [0x0f,0x18,0x9c,0x82,0x10,0xe3,0x0f,0xe3]
prefetcht2 -485498096(%edx,%eax,4)
// CHECK: prefetcht2 485498096(%edx,%eax,4)
// CHECK: encoding: [0x0f,0x18,0x9c,0x82,0xf0,0x1c,0xf0,0x1c]
prefetcht2 485498096(%edx,%eax,4)
// CHECK: prefetcht2 485498096(%edx)
// CHECK: encoding: [0x0f,0x18,0x9a,0xf0,0x1c,0xf0,0x1c]
prefetcht2 485498096(%edx)
// CHECK: prefetcht2 485498096
// CHECK: encoding: [0x0f,0x18,0x1d,0xf0,0x1c,0xf0,0x1c]
prefetcht2 485498096
// CHECK: prefetcht2 64(%edx,%eax)
// CHECK: encoding: [0x0f,0x18,0x5c,0x02,0x40]
prefetcht2 64(%edx,%eax)
// CHECK: prefetcht2 (%edx)
// CHECK: encoding: [0x0f,0x18,0x1a]
prefetcht2 (%edx)
// CHECK: prefetchw -485498096(%edx,%eax,4)
// CHECK: encoding: [0x0f,0x0d,0x8c,0x82,0x10,0xe3,0x0f,0xe3]
prefetchw -485498096(%edx,%eax,4)
// CHECK: prefetchw 485498096(%edx,%eax,4)
// CHECK: encoding: [0x0f,0x0d,0x8c,0x82,0xf0,0x1c,0xf0,0x1c]
prefetchw 485498096(%edx,%eax,4)
// CHECK: prefetchw 485498096(%edx)
// CHECK: encoding: [0x0f,0x0d,0x8a,0xf0,0x1c,0xf0,0x1c]
prefetchw 485498096(%edx)
// CHECK: prefetchw 485498096
// CHECK: encoding: [0x0f,0x0d,0x0d,0xf0,0x1c,0xf0,0x1c]
prefetchw 485498096
// CHECK: prefetchw 64(%edx,%eax)
// CHECK: encoding: [0x0f,0x0d,0x4c,0x02,0x40]
prefetchw 64(%edx,%eax)
// CHECK: prefetchw (%edx)
// CHECK: encoding: [0x0f,0x0d,0x0a]
prefetchw (%edx)
// CHECK: prefetchwt1 -485498096(%edx,%eax,4)
// CHECK: encoding: [0x0f,0x0d,0x94,0x82,0x10,0xe3,0x0f,0xe3]
prefetchwt1 -485498096(%edx,%eax,4)
// CHECK: prefetchwt1 485498096(%edx,%eax,4)
// CHECK: encoding: [0x0f,0x0d,0x94,0x82,0xf0,0x1c,0xf0,0x1c]
prefetchwt1 485498096(%edx,%eax,4)
// CHECK: prefetchwt1 485498096(%edx)
// CHECK: encoding: [0x0f,0x0d,0x92,0xf0,0x1c,0xf0,0x1c]
prefetchwt1 485498096(%edx)
// CHECK: prefetchwt1 485498096
// CHECK: encoding: [0x0f,0x0d,0x15,0xf0,0x1c,0xf0,0x1c]
prefetchwt1 485498096
// CHECK: prefetchwt1 64(%edx,%eax)
// CHECK: encoding: [0x0f,0x0d,0x54,0x02,0x40
prefetchwt1 64(%edx,%eax)
// CHECK: prefetchwt1 (%edx)
// CHECK: encoding: [0x0f,0x0d,0x12]
prefetchwt1 (%edx)
|