~ubuntu-branches/ubuntu/hoary/binutils/hoary

« back to all changes in this revision

Viewing changes to gas/testsuite/gas/mips/rol.s

  • Committer: Bazaar Package Importer
  • Author(s): James Troup
  • Date: 2004-05-19 10:35:44 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040519103544-17h3o6e8pwndydrg
Tags: 2.14.90.0.7-8
debian/rules: don't use gcc-2.95 on m68k.  Thanks to Adam Conrad for
pointing this out.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Source file used to test the rol and ror macros.
 
2
 
 
3
        # generate warnings for all uses of AT.
 
4
        .set noat
 
5
 
 
6
foo:
 
7
        rol     $4,$5
 
8
        rol     $4,$5,$6
 
9
        rol     $4,1
 
10
        rol     $4,$5,1
 
11
        rol     $4,$5,0
 
12
 
 
13
        ror     $4,$5
 
14
        ror     $4,$5,$6
 
15
        ror     $4,1
 
16
        ror     $4,$5,1
 
17
        ror     $4,$5,0
 
18
 
 
19
        rol     $4,$5,32
 
20
        rol     $4,$5,33
 
21
        rol     $4,$5,63
 
22
 
 
23
        ror     $4,$5,32
 
24
        ror     $4,$5,33
 
25
        ror     $4,$5,63
 
26
 
 
27
        .space  8