xref: /netbsd-src/external/gpl3/gdb/dist/sim/testsuite/cr16/lshd_i.cgs (revision 4b169a6ba595ae283ca507b26b15fdff40495b1c)
1# cr16 testcase for lshb_i $uimm5, regp
2# mach(): cr16
3
4	.include "testutils.inc"
5
6	start
7
8	.global lshb_i
9lshb_i:
10	movd $0x12345678,(r4,r3)
11	lshd $16, (r4,r3)
12	test_h_grp "(r4,r3)", 0x56780000
13
14	pass
15