OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gdb/] [gdb-6.8/] [gdb-6.8.openrisc-2.1/] [sim/] [testsuite/] [sim/] [cris/] [asm/] [addswpc.ms] - Diff between revs 24 and 33

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 24 Rev 33
# mach: crisv3 crisv8 crisv10
# mach: crisv3 crisv8 crisv10
# output: 7\n
# output: 7\n
# Test that the special case adds.w [pc+rN.w],pc works.
# Test that the special case adds.w [pc+rN.w],pc works.
 .include "testutils.inc"
 .include "testutils.inc"
 start
 start
x:
x:
 moveq 0,r3
 moveq 0,r3
 ba xy
 ba xy
 moveq 5,r2
 moveq 5,r2
ok:
ok:
 moveq 7,r3
 moveq 7,r3
 dumpr3
 dumpr3
 quit
 quit
xy:
xy:
 adds.w [pc+r2.w],pc
 adds.w [pc+r2.w],pc
y:
y:
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word ok-y
 .word ok-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
 .word x0-y
x0:
x0:
 quit
 quit
 
 

powered by: WebSVN 2.1.0

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