* gas/config/tc-avr.c: Change ISA for devices with USB support to
[external/binutils.git] / gas / testsuite / gas / i386 / bundle-bad.s
1         .text
2
3         # Using .bundle_lock without the mode enabled.
4         .bundle_lock
5         hlt
6         .bundle_unlock
7
8         .bundle_align_mode 3
9
10         # This instruction is 9 bytes long, exceeding the 8-byte bundle size.
11         lock addl $0xaabbccdd,%fs:0x10(%esi)
12
13         hlt
14
15         # This locked sequence exceeds the bundle size.
16         .bundle_lock
17         mov $0xaabbccdd,%eax
18         mov $0xaabbccdd,%eax
19         .bundle_unlock
20
21         # Test changing subsection inside .bundle_lock.
22         .text 0
23         .bundle_lock
24         clc
25         .text 1
26         cld
27         .bundle_unlock
28
29         # Trying to change the setting inside .bundle_lock.
30         .bundle_lock
31         .bundle_align_mode 0
32         .bundle_unlock
33
34         # Spurious .bundle_unlock.
35         hlt
36         .bundle_unlock
37
38         # End of input with dangling .bundle_lock.
39         .bundle_lock
40         hlt