~ubuntu-branches/ubuntu/wily/qemu-kvm-spice/wily

« back to all changes in this revision

Viewing changes to tests/cris/check_mover.s

  • Committer: Bazaar Package Importer
  • Author(s): Serge Hallyn
  • Date: 2011-10-19 10:44:56 UTC
  • Revision ID: james.westby@ubuntu.com-20111019104456-xgvskumk3sxi97f4
Tags: upstream-0.15.0+noroms
ImportĀ upstreamĀ versionĀ 0.15.0+noroms

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# mach: crisv3 crisv8 crisv10 crisv32
 
2
# output: ffffff05\nffff0005\n5\nffffff00\n
 
3
 
 
4
; Move between registers.  Check that just the subreg is copied.
 
5
 
 
6
 .include "testutils.inc"
 
7
 startnostack
 
8
 moveq -30,r3
 
9
 moveq 5,r4
 
10
 move.b r4,r3
 
11
 test_move_cc 0 0 0 0           ; FIXME
 
12
 checkr3 ffffff05
 
13
 
 
14
 move.w r4,r3
 
15
 test_move_cc 0 0 0 0
 
16
 checkr3 ffff0005
 
17
 
 
18
 move.d r4,r3
 
19
 test_move_cc 0 0 0 0
 
20
 checkr3 5
 
21
 
 
22
 moveq -1,r3
 
23
 moveq 0,r4
 
24
 move.b r4,r3
 
25
 test_move_cc 0 1 0 0
 
26
 checkr3 ffffff00
 
27
 
 
28
 quit