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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [cris/] [asm/] [subc.ms] - Blame information for rev 308

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\n85649200\n
3
 
4
 .include "testutils.inc"
5
 start
6
 moveq -1,r3
7
 sub.d -2,r3
8
 test_cc 0 0 0 0
9
 dumpr3 ; 1
10
 
11
 moveq 2,r3
12
 sub.d 1,r3
13
 test_cc 0 0 0 0
14
 dumpr3 ; 1
15
 
16
 move.d 0xffff,r3
17
 sub.d -0xffff,r3
18
 test_cc 0 0 0 1
19
 dumpr3 ; 1fffe
20
 
21
 moveq -1,r3
22
 sub.d 1,r3
23
 test_cc 1 0 0 0
24
 dumpr3 ; fffffffe
25
 
26
 move.d 0x78134452,r3
27
 sub.d -0x5432f789,r3
28
 test_cc 1 0 1 1
29
 dumpr3 ; cc463bdb
30
 
31
 moveq -1,r3
32
 sub.w -2,r3
33
 test_cc 0 0 0 0
34
 dumpr3 ; ffff0001
35
 
36
 moveq 2,r3
37
 sub.w 1,r3
38
 test_cc 0 0 0 0
39
 dumpr3 ; 1
40
 
41
 move.d 0xffff,r3
42
 sub.w 1,r3
43
 test_cc 1 0 0 0
44
 dumpr3 ; fffe
45
 
46
 move.d 0xfedaffff,r3
47
 sub.w 1,r3
48
 test_cc 1 0 0 0
49
 dumpr3 ; fedafffe
50
 
51
 move.d 0x78134452,r3
52
 sub.w 0x877,r3
53
 test_cc 0 0 0 0
54
 dumpr3 ; 78133bdb
55
 
56
 moveq -1,r3
57
 sub.b -2,r3
58
 test_cc 0 0 0 0
59
 dumpr3 ; ffffff01
60
 
61
 moveq 2,r3
62
 sub.b 1,r3
63
 test_cc 0 0 0 0
64
 dumpr3 ; 1
65
 
66
 move.d 0xff,r3
67
 sub.b 1,r3
68
 test_cc 1 0 0 0
69
 dumpr3 ; fe
70
 
71
 move.d 0xfeda49ff,r3
72
 sub.b 1,r3
73
 test_cc 1 0 0 0
74
 dumpr3 ; feda49fe
75
 
76
 move.d 0x78134452,r3
77
 sub.b 0x77,r3
78
 test_cc 1 0 0 1
79
 dumpr3 ; 781344db
80
 
81
 move.d 0x85649282,r3
82
 sub.b 0x82,r3
83
 test_cc 0 1 0 0
84
 dumpr3 ; 85649200
85
 
86
 quit

powered by: WebSVN 2.1.0

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