rac.cgs   [plain text]


# m32r testcase for rac
# mach(): m32r m32rx

	.include "testutils.inc"

	start

	.global rac
rac:

	mvi_h_accum0 1, 0x4001
	rac
	test_h_accum0 2, 0x10000

	mvi_h_accum0 0x3fff, 0xffff4000
	rac
	test_h_accum0 0x7fff, 0xffff0000

	mvi_h_accum0 0xffff8000, 0
	rac
	test_h_accum0 0xffff8000, 0

	pass