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/] [ldxq.cgs] - Rev 223
Compare with Previous | Blame | View Log
# sh testcase for ldx.q $rm, $rn, $rd -*- Asm -*-
# mach: all
# as: -isa=shmedia
# ld: -m shelf64
.include "media/testutils.inc"
start
ldxq1:
movi 20, r3
shlli r3, 8, r3
movi 0, r4
ldx.q r3, r4, r0
ldxq2:
movi 20, r3
shlli r3, 8, r3
movi 8, r4
ldx.q r3, r4, r0
ldxq3:
movi 20, r3
shlli r3, 8, r3
movi -8, r4
ldx.q r3, r4, r0
okay:
pass