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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# mach: crisv3 crisv8 crisv10
2
# output: 7\n
3
 
4
# Test that the special case adds.w [pc+rN.w],pc works.
5
 
6
 .include "testutils.inc"
7
 start
8
x:
9
 moveq 0,r3
10
 ba xy
11
 moveq 5,r2
12
 
13
ok:
14
 moveq 7,r3
15
 dumpr3
16
 quit
17
 
18
xy:
19
 adds.w [pc+r2.w],pc
20
y:
21
 .word x0-y
22
 .word x0-y
23
 .word x0-y
24
 .word x0-y
25
 .word x0-y
26
 .word ok-y
27
 .word x0-y
28
 .word x0-y
29
 .word x0-y
30
 .word x0-y
31
 .word x0-y
32
 .word x0-y
33
 .word x0-y
34
 .word x0-y
35
 .word x0-y
36
 .word x0-y
37
 .word x0-y
38
 .word x0-y
39
 .word x0-y
40
 .word x0-y
41
 .word x0-y
42
 .word x0-y
43
 .word x0-y
44
 .word x0-y
45
 .word x0-y
46
 .word x0-y
47
 .word x0-y
48
 .word x0-y
49
 .word x0-y
50
 .word x0-y
51
 .word x0-y
52
 .word x0-y
53
 .word x0-y
54
 .word x0-y
55
 .word x0-y
56
 .word x0-y
57
 .word x0-y
58
 .word x0-y
59
 .word x0-y
60
x0:
61
 quit

powered by: WebSVN 2.1.0

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