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

« back to all changes in this revision

Viewing changes to tests/cris/check_moverm.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: 7823fec2\n10231879\n102318fe\n
 
3
 
 
4
 .include "testutils.inc"
 
5
 start
 
6
 
 
7
 .data
 
8
mem1:
 
9
 .dword 0x12345678
 
10
mem2:
 
11
 .word 0x4567
 
12
mem3:
 
13
 .byte 0x23
 
14
 .dword 0x76543210
 
15
 .byte 0xaa,0x11,0x99
 
16
 
 
17
 .text
 
18
 move.d mem1,r2
 
19
 move.d 0x7823fec2,r4
 
20
 setf nzvc
 
21
 move.d r4,[r2+]
 
22
 test_cc 1 1 1 1
 
23
 subq 4,r2
 
24
 move.d [r2],r3
 
25
 checkr3 7823fec2
 
26
 
 
27
 move.d mem2,r3
 
28
 move.d 0x45231879,r4
 
29
 clearf nzvc
 
30
 move.w r4,[r3]
 
31
 test_cc 0 0 0 0
 
32
 move.d [r3],r3
 
33
 checkr3 10231879
 
34
 
 
35
 move.d mem2,r2
 
36
 moveq -2,r4
 
37
 clearf nc
 
38
 setf zv
 
39
 move.b r4,[r2+]
 
40
 test_cc 0 1 1 0
 
41
 subq 1,r2
 
42
 move.d [r2],r3
 
43
 checkr3 102318fe
 
44
 
 
45
 quit