~ubuntu-branches/ubuntu/utopic/binutils-arm64-cross/utopic

« back to all changes in this revision

Viewing changes to binutils-2.23.52.20130611/gas/testsuite/gas/i386/bundle-bad.s

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-06-20 17:38:09 UTC
  • Revision ID: package-import@ubuntu.com-20130620173809-app8lzgvymy5fg6c
Tags: 0.7
Build-depend on binutils-source (>= 2.23.52.20130620-1~).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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