aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/cr16/lshd_i.cgs
blob: aa65933648da2b9294b23a7e51305e70ec15a8c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# cr16 testcase for lshb_i $uimm5, regp
# mach(): cr16

	.include "testutils.inc"

	start

	.global lshb_i
lshb_i:
	movd $0x12345678,(r4,r3)
	lshd $16, (r4,r3)
	test_h_grp "(r4,r3)", 0x56780000

	pass