]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/testsuite/sim/bfin/issue119.s
sim: bfin: import testsuite
[thirdparty/binutils-gdb.git] / sim / testsuite / sim / bfin / issue119.s
1 # mach: bfin
2
3 .include "testutils.inc"
4 start
5
6 R0 = 0;
7 R1 = 0;
8 R2 = 0;
9 R3 = 0;
10 R0.L = -32768;
11 R0.H = 32767;
12 R1.L = 32767;
13 R1.H = -32768;
14 R2.H = (A1 = R0.L * R1.H) (M), R2.L = (A0 = R0.L * R1.L) (TFU);
15
16 _DBG R2;
17 DBGA ( R2.L , 0x3fff );
18 DBGA ( R2.H , 0xc000 );
19
20 R3 = ( A1 = R0.L * R1.H ) (M), R2 = ( A0 = R0.L * R1.L ) (FU);
21
22 _DBG R3;
23 DBGA ( R3.L , 0 );
24 DBGA ( R3.H , 0xc000 );
25
26 pass