Commit | Line | Data |
---|---|---|
f9911beb JM |
1 | # Test SPARC "natural" registers and instructions |
2 | .text | |
3 | ba %ncc, 0f | |
4 | nop | |
9e85c798 JM |
5 | ldn [%g1], %g2 |
6 | ldna [%g1]#ASI_AIUP, %g2 | |
7 | stn %g1, [%g2] | |
8 | stna %g1, [%g2]#ASI_AIUP | |
9 | slln %g1, 10, %g2 | |
10 | srln %g1, 10, %g2 | |
11 | sran %g1, 10, %g2 | |
12 | casn [%g1], %g2, %g3 | |
13 | casna [%g1]#ASI_AIUP, %g2, %g3 | |
14 | clrn [%g1] | |
f9911beb | 15 | 0: nop |