c5d56cf553b873fd2c0701a52a7747c2e10b475d
[deliverable/binutils-gdb.git] / gas / testsuite / gas / hppa / basic / coprmem.s
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
This page took 0.038605 seconds and 3 git commands to generate.