diff options
Diffstat (limited to 'arch/sparc/lib/divdi3.S')
-rw-r--r-- | arch/sparc/lib/divdi3.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/lib/divdi3.S b/arch/sparc/lib/divdi3.S index d74bc0925f2d..9614b48b6ef8 100644 --- a/arch/sparc/lib/divdi3.S +++ b/arch/sparc/lib/divdi3.S | |||
@@ -19,7 +19,6 @@ Boston, MA 02111-1307, USA. */ | |||
19 | 19 | ||
20 | .text | 20 | .text |
21 | .align 4 | 21 | .align 4 |
22 | .global .udiv | ||
23 | .globl __divdi3 | 22 | .globl __divdi3 |
24 | __divdi3: | 23 | __divdi3: |
25 | save %sp,-104,%sp | 24 | save %sp,-104,%sp |
@@ -83,8 +82,9 @@ __divdi3: | |||
83 | bne .LL85 | 82 | bne .LL85 |
84 | mov %i0,%o2 | 83 | mov %i0,%o2 |
85 | mov 1,%o0 | 84 | mov 1,%o0 |
86 | call .udiv,0 | ||
87 | mov 0,%o1 | 85 | mov 0,%o1 |
86 | wr %g0, 0, %y | ||
87 | udiv %o0, %o1, %o0 | ||
88 | mov %o0,%o4 | 88 | mov %o0,%o4 |
89 | mov %i0,%o2 | 89 | mov %i0,%o2 |
90 | .LL85: | 90 | .LL85: |