1 // RUN
: llvm-mc
-triple x86_64-unknown-unknown
%s
> %t 2> %t.err
2 // RUN
: FileCheck
--check-prefix
=CHECK-STDERR
< %t.err
%s
3 // RUN
: FileCheck
< %t %s
5 // CHECK
: prefetchit0
(%rdi
)
6 // CHECK-STDERR
: warning
: 'prefetchit0' only supports RIP-relative address
9 // CHECK
: prefetchit1
(%rcx
)
10 // CHECK-STDERR
: warning
: 'prefetchit1' only supports RIP-relative address
13 // CHECK
: prefetchit0
1(%rdx
)
14 // CHECK-STDERR
: warning
: 'prefetchit0' only supports RIP-relative address
17 // CHECK
: prefetchit1
12(%rsi
)
18 // CHECK-STDERR
: warning
: 'prefetchit1' only supports RIP-relative address
21 // CHECK
: prefetchit0
123(%r8,%rax
)
22 // CHECK-STDERR
: warning
: 'prefetchit0' only supports RIP-relative address
23 prefetchit0
123(%r8,%rax
)
25 // CHECK
: prefetchit1
1234(%r9,%r10)
26 // CHECK-STDERR
: warning
: 'prefetchit1' only supports RIP-relative address
27 prefetchit1
1234(%r9,%r10)
29 // CHECK
: prefetchit0
(%r11,%r12)
30 // CHECK-STDERR
: warning
: 'prefetchit0' only supports RIP-relative address
31 prefetchit0
(%r11,%r12)
33 // CHECK
: prefetchit1
(%r13,%r14)
34 // CHECK-STDERR
: warning
: 'prefetchit1' only supports RIP-relative address
35 prefetchit1
(%r13,%r14)
37 // CHECK
: prefetchit0
987(%rsp
,%r15,4)
38 // CHECK-STDERR
: warning
: 'prefetchit0' only supports RIP-relative address
39 prefetchit0
987(%rsp
,%r15,4)
41 // CHECK
: prefetchit1
-1(%rbp
,%rdi
,8)
42 // CHECK-STDERR
: warning
: 'prefetchit1' only supports RIP-relative address
43 prefetchit1
-1(%rbp
,%rdi
,8)
45 // CHECK
: prefetchit0
(%rsp
,%rsi
,2)
46 // CHECK-STDERR
: warning
: 'prefetchit0' only supports RIP-relative address
47 prefetchit0
(%rsp
,%rsi
,2)
49 // CHECK
: prefetchit1
(%rdi
,%r15,4)
50 // CHECK-STDERR
: warning
: 'prefetchit1' only supports RIP-relative address
51 prefetchit1
(%rdi
,%r15,4)
53 // CHECK
: prefetchit0
80(,%r14,8)
54 // CHECK-STDERR
: warning
: 'prefetchit0' only supports RIP-relative address
55 prefetchit0
80(,%r14,8)
57 // CHECK
: prefetchit1
3(,%r8,4)
58 // CHECK-STDERR
: warning
: 'prefetchit1' only supports RIP-relative address
61 // CHECK
: prefetchit0
(,%rax
,2)
62 // CHECK-STDERR
: warning
: 'prefetchit0' only supports RIP-relative address
65 // CHECK
: prefetchit1
(,%rcx
,8)
66 // CHECK-STDERR
: warning
: 'prefetchit1' only supports RIP-relative address