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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [cris/] [asm/] [lz.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: 0\n20\n0\n1\n1\n1a\n1f\n10\n1e\n
3
 
4
 .include "testutils.inc"
5
 start
6
 moveq -1,r3
7
 
8
 lz r3,r3
9
 test_move_cc 0 1 0 0
10
 dumpr3 ; 0
11
 
12
 moveq 0,r3
13
 lz r3,r3
14
 test_move_cc 0 0 0 0
15
 dumpr3 ; 20
16
 
17
 move.d 0x80000000,r4
18
 lz r4,r3
19
 test_move_cc 0 1 0 0
20
 dumpr3 ; 0
21
 
22
 move.d 0x40000000,r4
23
 lz r4,r3
24
 test_move_cc 0 0 0 0
25
 dumpr3 ; 1
26
 
27
 move.d 0x7fffffff,r4
28
 lz r4,r3
29
 test_move_cc 0 0 0 0
30
 dumpr3 ; 1
31
 
32
 move.d 42,r3
33
 lz r3,r3
34
 test_move_cc 0 0 0 0
35
 dumpr3 ; 1a
36
 
37
 moveq 1,r6
38
 lz r6,r3
39
 test_move_cc 0 0 0 0
40
 dumpr3 ; 1f
41
 
42
 move.d 0xffff,r3
43
 lz r3,r3
44
 test_move_cc 0 0 0 0
45
 dumpr3 ; 10
46
 
47
 moveq 2,r5
48
 lz r5,r3
49
 test_move_cc 0 0 0 0
50
 dumpr3 ; 1e
51
 
52
 quit

powered by: WebSVN 2.1.0

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