xref: /netbsd-src/external/gpl3/gdb/dist/sim/testsuite/bfin/issue140.S (revision 4b169a6ba595ae283ca507b26b15fdff40495b1c)
1# mach: bfin
2
3#include "test.h"
4.include "testutils.inc"
5	start
6
7	R0 = 0;
8	ASTAT = R0;
9
10	R6.L = -32768;
11	R6.H = -32768;
12	R1.L = -32768;
13	R1.H = -32768;
14
15	R4 = R6.L * R1.H;
16
17	_DBG ASTAT;
18
19	R7 = ASTAT;
20	CHECKREG R7, (_VS|_V|_V_COPY);
21
22	pass
23