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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [cris/] [asm/] [addxc.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: crisv0 crisv3 crisv8 crisv10 crisv32
2
# output: 1\n1\n101\n10001\n100fe\n1fffe\nfffe\nfffe\nfffffffe\nfe\nfffffffe\n781344db\n781343db\n78143bdb\n78133bdb\n800000ed\n0\n
3
 
4
 .include "testutils.inc"
5
 start
6
 moveq 2,r3
7
 adds.b 0xff,r3
8
 test_cc 0 0 0 1
9
 dumpr3 ; 1
10
 
11
 moveq 2,r3
12
 adds.w 0xffff,r3
13
 test_cc 0 0 0 1
14
 dumpr3 ; 1
15
 
16
 moveq 2,r3
17
 addu.b 0xff,r3
18
 dumpr3 ; 101
19
 
20
 moveq 2,r3
21
 move.d 0xffffffff,r4
22
 addu.w -1,r3
23
 test_cc 0 0 0 0
24
 dumpr3 ; 10001
25
 
26
 move.d 0xffff,r3
27
 addu.b -1,r3
28
 test_cc 0 0 0 0
29
 dumpr3 ; 100fe
30
 
31
 move.d 0xffff,r3
32
 addu.w -1,r3
33
 test_cc 0 0 0 0
34
 dumpr3 ; 1fffe
35
 
36
 move.d 0xffff,r3
37
 adds.b 0xff,r3
38
 test_cc 0 0 0 1
39
 dumpr3 ; fffe
40
 
41
 move.d 0xffff,r3
42
 adds.w 0xffff,r3
43
 test_cc 0 0 0 1
44
 dumpr3 ; fffe
45
 
46
 moveq -1,r3
47
 adds.b 0xff,r3
48
 test_cc 1 0 0 1
49
 dumpr3 ; fffffffe
50
 
51
 moveq -1,r3
52
 adds.w 0xff,r3
53
 test_cc 0 0 0 1
54
 dumpr3 ; fe
55
 
56
 moveq -1,r3
57
 adds.w 0xffff,r3
58
 test_cc 1 0 0 1
59
 dumpr3 ; fffffffe
60
 
61
 move.d 0x78134452,r3
62
 addu.b 0x89,r3
63
 test_cc 0 0 0 0
64
 dumpr3 ; 781344db
65
 
66
 move.d 0x78134452,r3
67
 adds.b 0x89,r3
68
 test_cc 0 0 0 1
69
 dumpr3 ; 781343db
70
 
71
 move.d 0x78134452,r3
72
 addu.w 0xf789,r3
73
 test_cc 0 0 0 0
74
 dumpr3 ; 78143bdb
75
 
76
 move.d 0x78134452,r3
77
 adds.w 0xf789,r3
78
 test_cc 0 0 0 1
79
 dumpr3 ; 78133bdb
80
 
81
 move.d 0x7fffffee,r3
82
 addu.b 0xff,r3
83
 test_cc 1 0 1 0
84
 dumpr3 ; 800000ed
85
 
86
 move.d 0x1,r3
87
 adds.w 0xffff,r3
88
 test_cc 0 1 0 1
89
 dumpr3 ; 0
90
 
91
 quit

powered by: WebSVN 2.1.0

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