# sh testcase for ptrel$likely $rn, $tra -*- Asm -*-
# mach: all
# as: -isa=shmedia
# ld: -m shelf64

	.include "media/testutils.inc"

	start
	# Add one to stay in SHmedia mode.
	movi 53, r0
	ptrel r0, tr0
	movi 0, r0
	# Always branch.
	bnei r0, 1, tr0
	fail
	fail
	fail
	fail
	fail
	pass
	fail
	fail
