URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [sh64/] [media/] [stxw.cgs] - Rev 157
Compare with Previous | Blame | View Log
# sh testcase for stx.w $rm, $rn, $rd -*- Asm -*-
# mach: all
# as: -isa=shmedia
# ld: -m shelf64
.include "media/testutils.inc"
start
init:
movi -1, r7
xori r7, 13, r7
movi 40, r0
shlli r0, 8, r0
stxw1:
movi 0, r1
stx.w r0, r1, r7
stxw2:
movi 2, r1
stx.w r0, r1, r7
stxw3:
movi -2, r1
stx.w r0, r1, r7
okay:
pass