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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# mach: crisv0 crisv3 crisv8 crisv10 crisv32
2
# output: ffffffff\n2\nffff\nffffffff\n78134452\nffffffff\n2\nffff\nfedaffff\n78134452\nffffffff\n2\nff\nfeda49ff\n78134452\n85649282\n
3
 
4
 .include "testutils.inc"
5
 start
6
 moveq -1,r3
7
 cmp.d -2,r3
8
 test_cc 0 0 0 0
9
 dumpr3 ; ffffffff
10
 
11
 moveq 2,r3
12
 cmp.d 1,r3
13
 test_cc 0 0 0 0
14
 dumpr3 ; 2
15
 
16
 move.d 0xffff,r3
17
 cmp.d -0xffff,r3
18
 test_cc 0 0 0 1
19
 dumpr3 ; ffff
20
 
21
 moveq -1,r3
22
 cmp.d 1,r3
23
 test_cc 1 0 0 0
24
 dumpr3 ; ffffffff
25
 
26
 move.d 0x78134452,r3
27
 cmp.d -0x5432f789,r3
28
 test_cc 1 0 1 1
29
 dumpr3 ; 78134452
30
 
31
 moveq -1,r3
32
 cmp.w -2,r3
33
 test_cc 0 0 0 0
34
 dumpr3 ; ffffffff
35
 
36
 moveq 2,r3
37
 cmp.w 1,r3
38
 test_cc 0 0 0 0
39
 dumpr3 ; 2
40
 
41
 move.d 0xffff,r3
42
 cmp.w 1,r3
43
 test_cc 1 0 0 0
44
 dumpr3 ; ffff
45
 
46
 move.d 0xfedaffff,r3
47
 cmp.w 1,r3
48
 test_cc 1 0 0 0
49
 dumpr3 ; fedaffff
50
 
51
 move.d 0x78134452,r3
52
 cmp.w 0x877,r3
53
 test_cc 0 0 0 0
54
 dumpr3 ; 78134452
55
 
56
 moveq -1,r3
57
 cmp.b -2,r3
58
 test_cc 0 0 0 0
59
 dumpr3 ; ffffffff
60
 
61
 moveq 2,r3
62
 cmp.b 1,r3
63
 test_cc 0 0 0 0
64
 dumpr3 ; 2
65
 
66
 move.d 0xff,r3
67
 cmp.b 1,r3
68
 test_cc 1 0 0 0
69
 dumpr3 ; ff
70
 
71
 move.d 0xfeda49ff,r3
72
 cmp.b 1,r3
73
 test_cc 1 0 0 0
74
 dumpr3 ; feda49ff
75
 
76
 move.d 0x78134452,r3
77
 cmp.b 0x77,r3
78
 test_cc 1 0 0 1
79
 dumpr3 ; 78134452
80
 
81
 move.d 0x85649282,r3
82
 cmp.b 0x82,r3
83
 test_cc 0 1 0 0
84
 dumpr3 ; 85649282
85
 
86
 quit

powered by: WebSVN 2.1.0

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