Deleted Added
full compact
__umoddi3.S (108533) __umoddi3.S (110725)
1.file "__umoddi3.s"
2
1.file "__umoddi3.s"
2
3// $FreeBSD: head/sys/libkern/ia64/__umoddi3.S 108533 2003-01-01 18:49:04Z schweikh $
3// $FreeBSD: head/sys/libkern/ia64/__umoddi3.S 110725 2003-02-11 20:15:11Z schweikh $
4//
5// Copyright (c) 2000, Intel Corporation
6// All rights reserved.
7//
8// Contributed 2/15/2000 by Marius Cornea, John Harrison, Cristina Iordache,
9// Ted Kubaska, Bob Norin, and Shane Story of the Computational Software Lab,
10// Intel Corporation.
11//

--- 31 unchanged lines hidden (view full) ---

43 alloc r31=ar.pfs,3,0,0,0
44 nop.i 0
45 nop.i 0
46} { .mmb
47
48 // 64-BIT UNSIGNED INTEGER REMAINDER BEGINS HERE
49
50 // general register used:
4//
5// Copyright (c) 2000, Intel Corporation
6// All rights reserved.
7//
8// Contributed 2/15/2000 by Marius Cornea, John Harrison, Cristina Iordache,
9// Ted Kubaska, Bob Norin, and Shane Story of the Computational Software Lab,
10// Intel Corporation.
11//

--- 31 unchanged lines hidden (view full) ---

43 alloc r31=ar.pfs,3,0,0,0
44 nop.i 0
45 nop.i 0
46} { .mmb
47
48 // 64-BIT UNSIGNED INTEGER REMAINDER BEGINS HERE
49
50 // general register used:
51 // r32 - 64-bit unsigned integer dividend
52 // r33 - 64-bit unsigned integer divisor
51 // r32 - 64-bit unsigned integer dividend, called a below
52 // r33 - 64-bit unsigned integer divisor, called b below
53 // r8 - 64-bit unsigned integer result
54 // floating-point registers used: f6, f7, f8, f9, f10, f11, f12
55 // predicate registers used: p6
56
53 // r8 - 64-bit unsigned integer result
54 // floating-point registers used: f6, f7, f8, f9, f10, f11, f12
55 // predicate registers used: p6
56
57 setf.sig f12=r32 // holds an in integer form
57 setf.sig f12=r32 // holds a in integer form
58 setf.sig f7=r33
59 nop.b 0;;
60} { .mfi
61 // get 2's complement of b
62 sub r33=r0,r33
63 fcvt.xuf.s1 f6=f12
64 nop.i 0
65} { .mfi

--- 89 unchanged lines hidden ---
58 setf.sig f7=r33
59 nop.b 0;;
60} { .mfi
61 // get 2's complement of b
62 sub r33=r0,r33
63 fcvt.xuf.s1 f6=f12
64 nop.i 0
65} { .mfi

--- 89 unchanged lines hidden ---