OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [cris/] [asm/] [movemrv32.ms] - Blame information for rev 816

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
# mach: crisv32
2
# output: 15\n7\n2\nffff1234\nb\n16\nf\n2\nffffffef\nf\nffff1234\nf\nfffffff4\nd\nfffffff2\n10\nfffffff2\nd\n
3
 
4
 .include "testutils.inc"
5
 .data
6
x:
7
 .dword 8,9,10,11
8
y:
9
 .dword -12,13,-14,15,16
10
 
11
 start
12
 moveq 7,r0
13
 moveq 2,r1
14
 move.d 0xffff1234,r2
15
 moveq 21,r3
16
 move.d x,r4
17
 setf zcvn
18
 movem r2,[r4+]
19
 test_cc 1 1 1 1
20
 subq 12,r4
21
 
22
 dumpr3 ; 15
23
 
24
 move.d [r4+],r3
25
 dumpr3 ; 7
26
 
27
 move.d [r4+],r3
28
 dumpr3 ; 2
29
 
30
 move.d [r4+],r3
31
 dumpr3 ; ffff1234
32
 
33
 move.d [r4+],r3
34
 dumpr3 ; b
35
 
36
 subq 16,r4
37
 moveq 22,r0
38
 moveq 15,r1
39
 clearf zcvn
40
 movem r0,[r4]
41
 test_cc 0 0 0 0
42
 move.d [r4+],r3
43
 dumpr3 ; 16
44
 
45
 move.d r1,r3
46
 dumpr3 ; f
47
 
48
 move.d [r4+],r3
49
 dumpr3 ; 2
50
 
51
 subq 8,r4
52
 moveq 10,r2
53
 moveq -17,r0
54
 clearf zc
55
 setf vn
56
 movem r1,[r4]
57
 test_cc 1 0 1 0
58
 move.d [r4+],r3
59
 dumpr3 ; ffffffef
60
 
61
 move.d [r4+],r3
62
 dumpr3 ; f
63
 
64
 move.d [r4+],r3
65
 dumpr3 ; ffff1234
66
 
67
 move.d y,r4
68
 setf zc
69
 clearf vn
70
 movem [r4+],r3
71
 test_cc 0 1 0 1
72
 dumpr3 ; f
73
 
74
 move.d r0,r3
75
 dumpr3 ; fffffff4
76
 
77
 move.d r1,r3
78
 dumpr3 ; d
79
 
80
 move.d r2,r3
81
 dumpr3 ; fffffff2
82
 
83
 move.d [r4],r3
84
 dumpr3 ; 10
85
 
86
 subq 8,r4
87
 setf zcvn
88
 movem [r4+],r0
89
 test_cc 1 1 1 1
90
 move.d r0,r3
91
 dumpr3 ; fffffff2
92
 
93
 move.d r1,r3
94
 dumpr3 ; d
95
 
96
 quit
97
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.