URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [sh64/] [media/] [ldw.cgs] - Rev 853
Go to most recent revision | Compare with Previous | Blame | View Log
# sh testcase for ld.w $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
ldw1:
ld.w r3, 0, r0
ldw2:
ld.w r3, -2, r0
ldw3:
ld.w r3, 2, r0
okay:
pass
Go to most recent revision | Compare with Previous | Blame | View Log