Commit | Line | Data |
---|---|---|
8f06b2d8 PB |
1 | @ VFP2 Additional instructions |
2 | @ Same as vfp2.s, but for Thumb-2 | |
3 | .syntax unified | |
4 | .thumb | |
5 | .text | |
6 | .global F | |
7 | F: | |
8 | @ First we test the basic syntax and bit patterns of the opcodes. | |
9 | @ Use a combination of r5, r10, s15, s17, d0 and d15 to exercise | |
10 | @ the full register bitpatterns | |
11 | ||
12 | fmdrr d0, r5, r10 | |
13 | fmrrd r5, r10, d0 | |
14 | fmsrr {s15, s16}, r5, r10 | |
15 | fmrrs r5, r10, {s15, s16} | |
16 | ||
17 | fmdrr d15, r10, r5 | |
18 | fmrrd r10, r5, d15 | |
19 | fmsrr {s17, s18}, r10, r5 | |
20 | fmrrs r10, r5, {s17, s18} | |
21 |