i386: Add tests for -malign-branch-boundary and -malign-branch
[deliverable/binutils-gdb.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 notrack bnd call *%eax
17 notrack bnd call *%ax
18 notrack bnd jmp *%eax
19 notrack bnd jmp *%ax
20
21 notrack bnd call *(%eax)
22 notrack bnd callw *(%eax)
23 notrack bnd jmp *(%eax)
24 notrack bnd jmpw *(%eax)
25
26 bnd notrack call *%eax
27 bnd notrack call *%ax
28 bnd notrack call *(%eax)
29 bnd notrack callw *(%eax)
30
31 .intel_syntax noprefix
32 notrack call eax
33 notrack call ax
34 notrack jmp eax
35 notrack jmp ax
36
37 notrack call DWORD PTR [eax]
38 notrack call WORD PTR [eax]
39 notrack jmp DWORD PTR [eax]
40 notrack jmp WORD PTR [eax]
41
42 notrack bnd call eax
43 notrack bnd call ax
44 notrack bnd jmp eax
45 notrack bnd jmp ax
46
47 notrack bnd call DWORD PTR [eax]
48 notrack bnd call WORD PTR [eax]
49 notrack bnd jmp DWORD PTR [eax]
50 notrack bnd jmp WORD PTR [eax]
51
52 bnd notrack call eax
53 bnd notrack call ax
54 bnd notrack call DWORD PTR [eax]
55 bnd notrack call WORD PTR [eax]
56
57 # bnd notrack call *%eax
58 .byte 0xf2
59 .byte 0x3e
60 .byte 0xff
61 .byte 0xd0
62
63 # notrack callw *%ax
64 .byte 0x66
65 .byte 0x3e
66 .byte 0xff
67 .byte 0xd0
This page took 0.031457 seconds and 4 git commands to generate.