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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [cris/] [asm/] [andc.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: 2\n2\nffff\nffffffff\n50124400\nffff0002\n2\nfffff\nfedaff0f\n78134400\nffffff02\n2\nf02\n78134401\n78134400\n
3
 
4
 .include "testutils.inc"
5
 start
6
 moveq -1,r3
7
 and.d 2,r3
8
 test_move_cc 0 0 0 0
9
 dumpr3 ; 2
10
 
11
 moveq 2,r3
12
 and.d -1,r3
13
 test_move_cc 0 0 0 0
14
 dumpr3 ; 2
15
 
16
 move.d 0xffff,r3
17
 and.d 0xffff,r3
18
 test_move_cc 0 0 0 0
19
 dumpr3 ; ffff
20
 
21
 moveq -1,r3
22
 and.d -1,r3
23
 test_move_cc 1 0 0 0
24
 dumpr3 ; ffffffff
25
 
26
 move.d 0x78134452,r3
27
 and.d 0x5432f789,r3
28
 test_move_cc 0 0 0 0
29
 dumpr3 ; 50124400
30
 
31
 moveq -1,r3
32
 and.w 2,r3
33
 test_move_cc 0 0 0 0
34
 dumpr3 ; ffff0002
35
 
36
 moveq 2,r3
37
 and.w -1,r3
38
 test_move_cc 0 0 0 0
39
 dumpr3 ; 2
40
 
41
 move.d 0xfffff,r3
42
 and.w 0xffff,r3
43
 test_move_cc 1 0 0 0
44
 dumpr3 ; fffff
45
 
46
 move.d 0xfedaffaf,r3
47
 and.w 0xff5f,r3
48
 test_move_cc 1 0 0 0
49
 dumpr3 ; fedaff0f
50
 
51
 move.d 0x78134452,r3
52
 and.w 0xf789,r3
53
 test_move_cc 0 0 0 0
54
 dumpr3 ; 78134400
55
 
56
 moveq -1,r3
57
 and.b 2,r3
58
 test_move_cc 0 0 0 0
59
 dumpr3 ; ffffff02
60
 
61
 moveq 2,r3
62
 and.b -1,r3
63
 test_move_cc 0 0 0 0
64
 dumpr3 ; 2
65
 
66
 move.d 0xfa7,r3
67
 and.b 0x5a,r3
68
 test_move_cc 0 0 0 0
69
 dumpr3 ; f02
70
 
71
 move.d 0x78134453,r3
72
 and.b 0x89,r3
73
 test_move_cc 0 0 0 0
74
 dumpr3 ; 78134401
75
 
76
 and.b 0,r3
77
 test_move_cc 0 1 0 0
78
 dumpr3 ; 78134400
79
 
80
 quit

powered by: WebSVN 2.1.0

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