x86: Properly handle __ehdr_start
[deliverable/binutils-gdb.git] / gas / testsuite / gas / i386 / x86-64-notrack.s
CommitLineData
04ef582a
L
1# Check 64bit NOTRACK prefix
2
3 .allow_index_reg
4 .text
5_start:
6 notrack call *%rax
7 notrack call *%r8
8 notrack jmp *%rax
9 notrack jmp *%r8
10
9fef80d6
L
11 notrack call *(%rax)
12 notrack call *(%r8)
13 notrack jmp *(%rax)
14 notrack jmp *(%r8)
15
16 notrack call *(%eax)
17 notrack call *(%r8d)
18 notrack jmp *(%eax)
19 notrack jmp *(%r8d)
20
04ef582a
L
21 bnd notrack call *%rax
22 bnd notrack call *%r8
23 bnd notrack jmp *%rax
24 bnd notrack jmp *%r8
25
9fef80d6
L
26 bnd notrack call *(%rax)
27 bnd notrack call *(%r8)
28 bnd notrack jmp *(%rax)
29 bnd notrack jmp *(%r8)
30
31 bnd notrack call *(%eax)
32 bnd notrack call *(%r8d)
33 bnd notrack jmp *(%eax)
34 bnd notrack jmp *(%r8d)
35
04ef582a
L
36 .intel_syntax noprefix
37 notrack call rax
38 notrack call r8
39 notrack jmp rax
40 notrack jmp r8
41
9fef80d6
L
42 notrack call QWORD PTR [rax]
43 notrack call QWORD PTR [r8]
44 notrack jmp QWORD PTR [rax]
45 notrack jmp QWORD PTR [r8]
46
47 notrack call QWORD PTR [eax]
48 notrack call QWORD PTR [r8d]
49 notrack jmp QWORD PTR [eax]
50 notrack jmp QWORD PTR [r8d]
51
04ef582a
L
52 bnd notrack call rax
53 bnd notrack call r8
54 bnd notrack jmp rax
55 bnd notrack jmp r8
56
9fef80d6
L
57 bnd notrack call QWORD PTR [rax]
58 bnd notrack call QWORD PTR [r8]
59 bnd notrack jmp QWORD PTR [rax]
60 bnd notrack jmp QWORD PTR [r8]
61
62 bnd notrack call QWORD PTR [eax]
63 bnd notrack call QWORD PTR [r8d]
64 bnd notrack jmp QWORD PTR [eax]
65 bnd notrack jmp QWORD PTR [r8d]
66
67 # ds bnd callq *%rax
04ef582a
L
68 .byte 0x3e
69 .byte 0xf2
70 .byte 0xff
71 .byte 0xd0
72
9fef80d6 73 # ds callw *%ax
04ef582a
L
74 .byte 0x3e
75 .byte 0x66
76 .byte 0xff
77 .byte 0xd0
78
9fef80d6 79 # ds callw *%ax
04ef582a
L
80 .byte 0x66
81 .byte 0x3e
82 .byte 0xff
83 .byte 0xd0
This page took 0.038802 seconds and 4 git commands to generate.