URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [sh64/] [media/] [ptabs.cgs] - Rev 868
Go to most recent revision | Compare with Previous | Blame | View Log
# sh testcase for ptabs$likely $rn, $tra -*- Asm -*-
# mach: all
# as: -isa=shmedia
# ld: -m shelf64
.include "media/testutils.inc"
start
.global ptabs
ptabs:
movi 16, r0
shlli r0, 8, r0
# Add one to stay in SHmedia mode.
addi r0, 29, r0
ptabs r0, tr0
# Now jump.
beqi r63, 0, tr0
wrong:
fail
okay:
pass
Go to most recent revision | Compare with Previous | Blame | View Log