1 # mach: crisv3 crisv8 crisv10 crisv32
2 # output: ffffff00\nffff0000\n0\nffffff00\nffff0000\n0\nffffff00\nffff0000\n0\nbb113344\n664433aa\ncc557788\nabcde012\nabcde000\n77880000\n0\n
4 # Test generic "move Ps,[]" and "move [],Pd" insns; the ones with
5 # functionality common to all models.
7 .include "testutils.inc"
18 ; Test that writing to zero-registers is
a nop
20 ; We used to just ignore the writes
, but now an error is emitted. We
21 ; keep the test-code but disabled
, in case we need to change this again.
43 ;
"Write" using ordinary memory references too.
44 .if 0 ; See ".if 0" above.
51 # ffffff00\nffff0000\n0\nffffff00\nffff0000\n0\nbb113344\n664433aa\ncc557788\nabcde012\nabcde000\n77880000\n0\n
65 ;
And postincremented.
66 .if 0 ; See ".if 0" above.
72 # ffffff00\nffff0000\n0\nbb113344\n664433aa\ncc557788\nabcde012\nabcde000\n77880000\n0\n
86 ; Now see that we can write to the registers too.
87 # bb113344\n664433aa\ncc557788\nabcde012\nabcde000\n77880000\n0\n
104 ;
And check writing to memory
, clear
and srp.