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

	.include "media/testutils.inc"

	start

ptb0:
	ptb foo, tr0
ptb:
	ptb/l bar, tr1
ptb2:
	ptb/u baz, tr2
	movi 0, r0
	bnei r0, 1, tr2
	fail

.mode SHcompact

foo:
bar:
baz:
	trapa #253
        trapa #254
        trapa #254 
        trapa #254 
        trapa #254 
