]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gas/testsuite/gas/i386/x86-64-notrack.s
x86: CET v2.0: Update NOTRACK prefix
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / i386 / x86-64-notrack.s
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
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
21 bnd notrack call *%rax
22 bnd notrack call *%r8
23 bnd notrack jmp *%rax
24 bnd notrack jmp *%r8
25
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
36 .intel_syntax noprefix
37 notrack call rax
38 notrack call r8
39 notrack jmp rax
40 notrack jmp r8
41
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
52 bnd notrack call rax
53 bnd notrack call r8
54 bnd notrack jmp rax
55 bnd notrack jmp r8
56
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
68 .byte 0x3e
69 .byte 0xf2
70 .byte 0xff
71 .byte 0xd0
72
73 # ds callw *%ax
74 .byte 0x3e
75 .byte 0x66
76 .byte 0xff
77 .byte 0xd0
78
79 # ds callw *%ax
80 .byte 0x66
81 .byte 0x3e
82 .byte 0xff
83 .byte 0xd0