x86: CET v2.0: Update NOTRACK prefix
[external/binutils.git] / gas / testsuite / gas / i386 / notrack.s
1 # Check 32bit NOTRACK prefix
2
3         .allow_index_reg
4         .text
5 _start:
6         notrack call *%eax
7         notrack call *%ax
8         notrack jmp *%eax
9         notrack jmp *%ax
10
11         notrack call *(%eax)
12         notrack callw *(%eax)
13         notrack jmp *(%eax)
14         notrack jmpw *(%eax)
15
16         bnd notrack call *%eax
17         bnd notrack call *%ax
18         bnd notrack jmp *%eax
19         bnd notrack jmp *%ax
20
21         bnd notrack call *(%eax)
22         bnd notrack callw *(%eax)
23         bnd notrack jmp *(%eax)
24         bnd notrack jmpw *(%eax)
25
26         .intel_syntax noprefix
27         notrack call eax
28         notrack call ax
29         notrack jmp eax
30         notrack jmp ax
31
32         notrack call DWORD PTR [eax]
33         notrack call WORD PTR [eax]
34         notrack jmp DWORD PTR [eax]
35         notrack jmp WORD PTR [eax]
36
37         bnd notrack call eax
38         bnd notrack call ax
39         bnd notrack jmp eax
40         bnd notrack jmp ax
41
42         bnd notrack call DWORD PTR [eax]
43         bnd notrack call WORD PTR [eax]
44         bnd notrack jmp DWORD PTR [eax]
45         bnd notrack jmp WORD PTR [eax]
46
47         # ds bnd call *%eax
48         .byte 0x3e
49         .byte 0xf2
50         .byte 0xff
51         .byte 0xd0
52
53         # ds callw *%ax
54         .byte 0x3e
55         .byte 0x66
56         .byte 0xff
57         .byte 0xd0