aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/bfin/issue140.S
blob: df275177b0d0693f86f73b9e81fae4b48b1d7c82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# mach: bfin

#include "test.h"
.include "testutils.inc"
	start

	R0 = 0;
	ASTAT = R0;

	R6.L = -32768;
	R6.H = -32768;
	R1.L = -32768;
	R1.H = -32768;

	R4 = R6.L * R1.H;

	_DBG ASTAT;

	R7 = ASTAT;
	CHECKREG R7, (_VS|_V|_V_COPY);

	pass