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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [cris/] [asm/] [addm.ms] - Blame information for rev 856

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

Line No. Rev Author Line
1 24 jeremybenn
# mach: crisv0 crisv3 crisv8 crisv10 crisv32
2
# output: 1\n1\n1fffe\nfffffffe\ncc463bdb\nffff0001\n1\nfffe\nfedafffe\n78133bdb\nffffff01\n1\nfe\nfeda49fe\n781344db\n781344d0\n
3
 
4
 .include "testutils.inc"
5
 .data
6
x:
7
 .dword 2,-1,0xffff,-1,0x5432f789
8
 .word 2,-1,0xffff,0xf789
9
 .byte 2,0xff,0x89
10
 .byte 0x7e
11
 
12
 start
13
 moveq -1,r3
14
 move.d x,r5
15
 add.d [r5+],r3
16
 test_cc 0 0 0 1
17
 dumpr3 ; 1
18
 
19
 moveq 2,r3
20
 add.d [r5],r3
21
 test_cc 0 0 0 1
22
 addq 4,r5
23
 dumpr3 ; 1
24
 
25
 move.d 0xffff,r3
26
 add.d [r5+],r3
27
 test_cc 0 0 0 0
28
 dumpr3 ; 1fffe
29
 
30
 moveq -1,r3
31
 add.d [r5+],r3
32
 test_cc 1 0 0 1
33
 dumpr3 ; fffffffe
34
 
35
 move.d 0x78134452,r3
36
 add.d [r5+],r3
37
 test_cc 1 0 1 0
38
 dumpr3 ; cc463bdb
39
 
40
 moveq -1,r3
41
 add.w [r5+],r3
42
 test_cc 0 0 0 1
43
 dumpr3 ; ffff0001
44
 
45
 moveq 2,r3
46
 add.w [r5+],r3
47
 test_cc 0 0 0 1
48
 dumpr3 ; 1
49
 
50
 move.d 0xffff,r3
51
 add.w [r5],r3
52
 test_cc 1 0 0 1
53
 dumpr3 ; fffe
54
 
55
 move.d 0xfedaffff,r3
56
 add.w [r5+],r3
57
 test_cc 1 0 0 1
58
 dumpr3 ; fedafffe
59
 
60
 move.d 0x78134452,r3
61
 add.w [r5+],r3
62
 test_cc 0 0 0 1
63
 dumpr3 ; 78133bdb
64
 
65
 moveq -1,r3
66
 add.b [r5],r3
67
 test_cc 0 0 0 1
68
 addq 1,r5
69
 dumpr3 ; ffffff01
70
 
71
 moveq 2,r3
72
 add.b [r5],r3
73
 test_cc 0 0 0 1
74
 dumpr3 ; 1
75
 
76
 move.d 0xff,r3
77
 add.b [r5],r3
78
 test_cc 1 0 0 1
79
 dumpr3 ; fe
80
 
81
 move.d 0xfeda49ff,r3
82
 add.b [r5+],r3
83
 test_cc 1 0 0 1
84
 dumpr3 ; feda49fe
85
 
86
 move.d 0x78134452,r3
87
 add.b [r5+],r3
88
 test_cc 1 0 0 0
89
 dumpr3 ; 781344db
90
 
91
 move.d 0x78134452,r3
92
 add.b [r5],r3
93
 test_cc 1 0 1 0
94
 dumpr3 ; 781344d0
95
 
96
 quit

powered by: WebSVN 2.1.0

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