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