blob: e52fe45bd49779f07068b18aab4147604f80151d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# mach: bfin
.include "testutils.inc"
start
R0 = 70 (X);
R1 = 5;
P2 = 16;
DIVS ( R0 , R1 );
LSETUP ( s0 , s0 ) LC0 = P2;
s0:
DIVQ ( R0 , R1 );
DBGA ( R0.L , 14 );
R0 = 3272 (X);
R1 = 55;
DIVS ( R0 , R1 );
LSETUP ( s1 , s1 ) LC0 = P2;
s1:
DIVQ ( R0 , R1 );
DBGA ( R0.L , 59 );
R0 = 32767 (X);
R1 = 55;
DIVS ( R0 , R1 );
LSETUP ( s2 , s2 ) LC0 = P2;
s2:
DIVQ ( R0 , R1 );
DBGA ( R0.L , 595 );
pass
|