xref: /netbsd-src/external/gpl3/gdb/dist/sim/testsuite/m32r/mvfaclo.cgs (revision 4b169a6ba595ae283ca507b26b15fdff40495b1c)
1*4b169a6bSchristos# m32r testcase for mvfaclo $dr
2*4b169a6bSchristos# mach(): m32r m32rx
3*4b169a6bSchristos
4*4b169a6bSchristos	.include "testutils.inc"
5*4b169a6bSchristos
6*4b169a6bSchristos	start
7*4b169a6bSchristos
8*4b169a6bSchristos	.global mvfaclo
9*4b169a6bSchristosmvfaclo:
10*4b169a6bSchristos	mvi_h_accum0 0x11223344, 0x55667788
11*4b169a6bSchristos	mvi_h_gr r4, 0
12*4b169a6bSchristos
13*4b169a6bSchristos	mvfaclo r4
14*4b169a6bSchristos
15*4b169a6bSchristos	test_h_gr r4, 0x55667788
16*4b169a6bSchristos
17*4b169a6bSchristos	pass
18