~ahs3/+junk/cq-qemu

« back to all changes in this revision

Viewing changes to tests/cris/check_movpr.s

  • Committer: Al Stone
  • Date: 2012-02-09 01:17:20 UTC
  • Revision ID: albert.stone@canonical.com-20120209011720-tztl7ik3qayz80p4
first commit to bzr for qemu

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# mach: crisv3 crisv8 crisv10 crisv32
 
2
# output: ffffff00\nffff0000\n0\nbb113344\n
 
3
 
 
4
# Test generic "move Ps,Rd" and "move Rs,Pd" insns; the ones with
 
5
# functionality common to all models.
 
6
 
 
7
 .include "testutils.inc"
 
8
 start
 
9
 moveq -1,r3
 
10
 clear.b r3
 
11
 checkr3 ffffff00
 
12
 
 
13
 moveq -1,r3
 
14
 clear.w r3
 
15
 checkr3 ffff0000
 
16
 
 
17
 moveq -1,r3
 
18
 clear.d r3
 
19
 checkr3 0
 
20
 
 
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