~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/hppa/basic/coprmem.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
        .code
 
2
        .align 4
 
3
; Basic copr memory tests which also test the various 
 
4
; addressing modes and completers.
 
5
;
 
6
; We could/should test some of the corner cases for register and 
 
7
; immediate fields.  We should also check the assorted field
 
8
; selectors to make sure they're handled correctly.
 
9
 
10
copr_indexing_load:
 
11
 
 
12
        cldwx,4 %r5(%sr0,%r4),%r26
 
13
        cldwx,4,s %r5(%sr0,%r4),%r26
 
14
        cldwx,4,m %r5(%sr0,%r4),%r26
 
15
        cldwx,4,sm %r5(%sr0,%r4),%r26
 
16
        clddx,4 %r5(%sr0,%r4),%r26
 
17
        clddx,4,s %r5(%sr0,%r4),%r26
 
18
        clddx,4,m %r5(%sr0,%r4),%r26
 
19
        clddx,4,sm %r5(%sr0,%r4),%r26
 
20
 
 
21
copr_indexing_store:
 
22
        cstwx,4 %r26,%r5(%sr0,%r4)
 
23
        cstwx,4,s %r26,%r5(%sr0,%r4)
 
24
        cstwx,4,m %r26,%r5(%sr0,%r4)
 
25
        cstwx,4,sm %r26,%r5(%sr0,%r4)
 
26
        cstdx,4 %r26,%r5(%sr0,%r4)
 
27
        cstdx,4,s %r26,%r5(%sr0,%r4)
 
28
        cstdx,4,m %r26,%r5(%sr0,%r4)
 
29
        cstdx,4,sm %r26,%r5(%sr0,%r4)
 
30
 
 
31
copr_short_memory:
 
32
        cldws,4 0(%sr0,%r4),%r26
 
33
        cldws,4,mb 0(%sr0,%r4),%r26
 
34
        cldws,4,ma 0(%sr0,%r4),%r26
 
35
        cldds,4 0(%sr0,%r4),%r26
 
36
        cldds,4,mb 0(%sr0,%r4),%r26
 
37
        cldds,4,ma 0(%sr0,%r4),%r26
 
38
        cstws,4 %r26,0(%sr0,%r4)
 
39
        cstws,4,mb %r26,0(%sr0,%r4)
 
40
        cstws,4,ma %r26,0(%sr0,%r4)
 
41
        cstds,4 %r26,0(%sr0,%r4)
 
42
        cstds,4,mb %r26,0(%sr0,%r4)
 
43
        cstds,4,ma %r26,0(%sr0,%r4)
 
44
 
 
45
; gas fucks this up thinks it gets the expression 4 modulo 5
 
46
;       cldwx,4 %r5(0,%r4),%r%r26