e1000: link auto-negotiation emulation
[qemu/ar7.git] / tests / tcg / cris / check_movpr.s
blobeef9bdb4fbaa9458b5ddfc8a1c7c21cb76d343d3
1 # mach: crisv3 crisv8 crisv10 crisv32
2 # output: ffffff00\nffff0000\n0\nbb113344\n
4 # Test generic "move Ps,Rd" and "move Rs,Pd" insns; the ones with
5 # functionality common to all models.
7 .include "testutils.inc"
8 start
9 moveq -1,r3
10 clear.b r3
11 checkr3 ffffff00
13 moveq -1,r3
14 clear.w r3
15 checkr3 ffff0000
17 moveq -1,r3
18 clear.d r3
19 checkr3 0
21 moveq -1,r3
22 move.d 0xbb113344,r4
23 setf zcvn
24 move r4,srp
25 move srp,r3
26 test_cc 1 1 1 1
27 checkr3 bb113344
28 quit