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