diff options
Diffstat (limited to 'arch/sparc/lib/rem.S')
| -rw-r--r-- | arch/sparc/lib/rem.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/lib/rem.S b/arch/sparc/lib/rem.S index 44508148d055..bf015a90d07e 100644 --- a/arch/sparc/lib/rem.S +++ b/arch/sparc/lib/rem.S | |||
| @@ -43,7 +43,9 @@ | |||
| 43 | 43 | ||
| 44 | 44 | ||
| 45 | .globl .rem | 45 | .globl .rem |
| 46 | .globl _Rem | ||
| 46 | .rem: | 47 | .rem: |
| 48 | _Rem: /* needed for export */ | ||
| 47 | ! compute sign of result; if neither is negative, no problem | 49 | ! compute sign of result; if neither is negative, no problem |
| 48 | orcc %o1, %o0, %g0 ! either negative? | 50 | orcc %o1, %o0, %g0 ! either negative? |
| 49 | bge 2f ! no, go do the divide | 51 | bge 2f ! no, go do the divide |
