~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/mips/and.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
# Source file used to test the and macro.
 
2
        
 
3
foo:
 
4
        and     $4,$4,0
 
5
        and     $4,$4,1
 
6
        and     $4,$4,0x8000
 
7
        and     $4,$4,-0x8000
 
8
        and     $4,$4,0x10000
 
9
        and     $4,$4,0x1a5a5
 
10
 
 
11
# nor, or, and xor are handled by the same code.  There is a special
 
12
# case for nor, so we test all variants.
 
13
        
 
14
        nor     $4,$5,0
 
15
        nor     $4,$5,1
 
16
        nor     $4,$5,0x8000
 
17
        nor     $4,$5,-0x8000
 
18
        nor     $4,$5,0x10000
 
19
        nor     $4,$5,0x1a5a5
 
20
        
 
21
        or      $4,$5,0
 
22
 
 
23
        xor     $4,$5,0
 
24
 
 
25
# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
 
26
        .align  2
 
27
        .space  8