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-7.2/] [gdb-7.2-or32-1.0rc1/] [sim/] [testsuite/] [sim/] [sh64/] [media/] [ldxb.cgs] - Rev 341
Compare with Previous | Blame | View Log
# sh testcase for ldx.b $rm, $rn, $rd -*- Asm -*-
# mach: all
# as: -isa=shmedia
# ld: -m shelf64
.include "media/testutils.inc"
start
ldxb1:
movi 20, r3
shlli r3, 8, r3
movi 0, r4
ldx.b r3, r4, r0
ldxb2:
movi 20, r3
shlli r3, 8, r3
movi 1, r4
ldx.b r3, r4, r0
ldxb3:
movi 20, r3
shlli r3, 8, r3
movi -1, r4
ldx.b r3, r4, r0
okay:
pass