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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [cris/] [asm/] [cmpxc.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: 2\n2\n2\n2\nffff\nffff\nffff\nffff\nffffffff\nffffffff\nffffffff\n78134452\n78134452\n78134452\n78134452\n4452\n80000032\n
3
 
4
 .include "testutils.inc"
5
 start
6
 moveq 2,r3
7
 cmps.b 0xff,r3
8
 test_cc 0 0 0 1
9
 dumpr3 ; 2
10
 
11
 moveq 2,r3
12
 cmps.w 0xffff,r3
13
 test_cc 0 0 0 1
14
 dumpr3 ; 2
15
 
16
 moveq 2,r3
17
 cmpu.b 0xff,r3
18
 test_cc 1 0 0 1
19
 dumpr3 ; 2
20
 
21
 moveq 2,r3
22
 move.d 0xffffffff,r4
23
 cmpu.w -1,r3
24
 test_cc 1 0 0 1
25
 dumpr3 ; 2
26
 
27
 move.d 0xffff,r3
28
 cmpu.b -1,r3
29
 test_cc 0 0 0 0
30
 dumpr3 ; ffff
31
 
32
 move.d 0xffff,r3
33
 cmpu.w -1,r3
34
 test_cc 0 1 0 0
35
 dumpr3 ; ffff
36
 
37
 move.d 0xffff,r3
38
 cmps.b 0xff,r3
39
 test_cc 0 0 0 1
40
 dumpr3 ; ffff
41
 
42
 move.d 0xffff,r3
43
 cmps.w 0xffff,r3
44
 test_cc 0 0 0 1
45
 dumpr3 ; ffff
46
 
47
 moveq -1,r3
48
 cmps.b 0xff,r3
49
 test_cc 0 1 0 0
50
 dumpr3 ; ffffffff
51
 
52
 moveq -1,r3
53
 cmps.w 0xff,r3
54
 test_cc 1 0 0 0
55
 dumpr3 ; ffffffff
56
 
57
 moveq -1,r3
58
 cmps.w 0xffff,r3
59
 test_cc 0 1 0 0
60
 dumpr3 ; ffffffff
61
 
62
 move.d 0x78134452,r3
63
 cmpu.b 0x89,r3
64
 test_cc 0 0 0 0
65
 dumpr3 ; 78134452
66
 
67
 move.d 0x78134452,r3
68
 cmps.b 0x89,r3
69
 test_cc 0 0 0 1
70
 dumpr3 ; 78134452
71
 
72
 move.d 0x78134452,r3
73
 cmpu.w 0xf789,r3
74
 test_cc 0 0 0 0
75
 dumpr3 ; 78134452
76
 
77
 move.d 0x78134452,r3
78
 cmps.w 0xf789,r3
79
 test_cc 0 0 0 1
80
 dumpr3 ; 78134452
81
 
82
 move.d 0x4452,r3
83
 cmps.w 0x8002,r3
84
 test_cc 0 0 0 1
85
 dumpr3 ; 4452
86
 
87
 move.d 0x80000032,r3
88
 cmpu.w 0x764,r3
89
 test_cc 0 0 1 0
90
 dumpr3 ; 80000032
91
 
92
 quit

powered by: WebSVN 2.1.0

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