URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [tags/] [gnu-src/] [gdb-6.8/] [pre-binutils-2.20.1-sync/] [sim/] [testsuite/] [sim/] [sh64/] [media/] [ldb.cgs] - Rev 157
Go to most recent revision | Compare with Previous | Blame | View Log
# sh testcase for ld.b $rm, $disp10, $rd -*- Asm -*-
# mach: all
# as: -isa=shmedia
# ld: -m shelf64
.include "media/testutils.inc"
start
init:
movi 20, r3
shlli r3, 8, r3
ldb1:
ld.b r3, 0, r0
ldb2:
ld.b r3, -1, r0
ldb3:
ld.b r3, 1, r0
okay:
pass
Go to most recent revision | Compare with Previous | Blame | View Log