Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 311216 Details for
Bug 450790
glibc lroundl() clobbers call-saved condition registers.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch current for Fedora 9 glibc
glibc-2.8-powerpc-fix.patch (text/plain), 4.75 KB, created by
W. Michael Petullo
on 2008-07-08 01:43:09 UTC
(
hide
)
Description:
Patch current for Fedora 9 glibc
Filename:
MIME Type:
Creator:
W. Michael Petullo
Created:
2008-07-08 01:43:09 UTC
Size:
4.75 KB
patch
obsolete
>diff -u --recursive glibc-20080412T0741-vanilla/sysdeps/powerpc/powerpc32/fpu/s_lround.S glibc-20080412T0741/sysdeps/powerpc/powerpc32/fpu/s_lround.S >--- glibc-20080412T0741-vanilla/sysdeps/powerpc/powerpc32/fpu/s_lround.S 2008-07-06 14:02:27.000000000 -0400 >+++ glibc-20080412T0741/sysdeps/powerpc/powerpc32/fpu/s_lround.S 2008-07-06 14:09:57.000000000 -0400 >@@ -65,10 +65,10 @@ > fabs fp2, fp1 /* Get the absolute value of x. */ > fsub fp12,fp10,fp10 /* Compute 0.0. */ > fcmpu cr6, fp2, fp10 /* if |x| < 0.5 */ >- fcmpu cr3, fp1, fp12 /* x is negative? x < 0.0 */ >+ fcmpu cr7, fp1, fp12 /* x is negative? x < 0.0 */ > blt- cr6,.Lretzero > fadd fp3,fp2,fp10 /* |x|+=0.5 bias to prepare to round. */ >- bge cr3,.Lconvert /* x is positive so don't negate x. */ >+ bge cr7,.Lconvert /* x is positive so don't negate x. */ > fnabs fp3,fp3 /* -(|x|+=0.5) */ > .Lconvert: > fctiwz fp4,fp3 /* Convert to Integer word lround toward 0. */ >diff -u --recursive glibc-20080412T0741-vanilla/sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S glibc-20080412T0741/sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S >--- glibc-20080412T0741-vanilla/sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S 2008-07-06 14:02:26.000000000 -0400 >+++ glibc-20080412T0741/sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S 2008-07-06 14:11:43.000000000 -0400 >@@ -75,12 +75,12 @@ > fabs fp2,fp1 /* Get the absolute value of x. */ > fsub fp12,fp10,fp10 /* Compute 0.0 into fpr12. */ > fcmpu cr6,fp2,fp10 /* if |x| < 0.5 */ >- fcmpu cr4,fp2,fp9 /* if |x| >= 2^52 */ >- fcmpu cr3,fp1,fp12 /* x is negative? x < 0.0 */ >+ fcmpu cr7,fp2,fp9 /* if |x| >= 2^52 */ >+ fcmpu cr1,fp1,fp12 /* x is negative? x < 0.0 */ > blt- cr6,.Lretzero /* 0.5 > x < -0.5 so just return 0. */ >- bge- cr4,.Lnobias /* 2^52 > x < -2^52 just convert with no bias. */ >+ bge- cr7,.Lnobias /* 2^52 > x < -2^52 just convert with no bias. */ > fadd fp3,fp2,fp10 /* |x|+=0.5 bias to prepare to round. */ >- bge cr3,.Lconvert /* x is positive so don't negate x. */ >+ bge cr1,.Lconvert /* x is positive so don't negate x. */ > fnabs fp3,fp3 /* -(|x|+=0.5) */ > .Lconvert: > fctidz fp4,fp3 /* Convert to Integer double word round toward 0. */ >diff -u --recursive glibc-20080412T0741-vanilla/sysdeps/powerpc/powerpc64/fpu/s_llroundf.S glibc-20080412T0741/sysdeps/powerpc/powerpc64/fpu/s_llroundf.S >--- glibc-20080412T0741-vanilla/sysdeps/powerpc/powerpc64/fpu/s_llroundf.S 2008-07-06 14:02:34.000000000 -0400 >+++ glibc-20080412T0741/sysdeps/powerpc/powerpc64/fpu/s_llroundf.S 2008-07-06 14:05:16.000000000 -0400 >@@ -51,12 +51,13 @@ > fabs fp2,fp1 /* Get the absolute value of x. */ > fsub fp12,fp10,fp10 /* Compute 0.0 into fp12. */ > fcmpu cr6,fp2,fp10 /* if |x| < 0.5 */ >- fcmpu cr4,fp2,fp9 /* if |x| >= 2^23 */ >- fcmpu cr3,fp1,fp12 /* x is negative? x < 0.0 */ >+ fcmpu cr7,fp2,fp9 /* if |x| >= 2^23 */ >+ fcmpu cr1,fp1,fp12 /* x is negative? x < 0.0 */ >+ > blt- cr6,.Lretzero /* 0.5 > x < -0.5 so just return 0. */ >- bge- cr4,.Lnobias /* 2^23 > x < -2^23 just convert with no bias. */ >+ bge- cr7,.Lnobias /* 2^23 > x < -2^23 just convert with no bias. */ > fadd fp3,fp2,fp10 /* |x|+=0.5 bias to prepare to round. */ >- bge cr3,.Lconvert /* x is positive so don't negate x. */ >+ bge cr1,.Lconvert /* x is positive so don't negate x. */ > fnabs fp3,fp3 /* -(|x|+=0.5) */ > .Lconvert: > fctidz fp4,fp3 /* Convert to Integer double word round toward 0. */ >diff -u --recursive glibc-20080412T0741-vanilla/sysdeps/powerpc/powerpc64/fpu/s_llround.S glibc-20080412T0741/sysdeps/powerpc/powerpc64/fpu/s_llround.S >--- glibc-20080412T0741-vanilla/sysdeps/powerpc/powerpc64/fpu/s_llround.S 2008-07-06 14:02:35.000000000 -0400 >+++ glibc-20080412T0741/sysdeps/powerpc/powerpc64/fpu/s_llround.S 2008-07-06 14:08:16.000000000 -0400 >@@ -52,12 +52,12 @@ > fabs fp2,fp1 /* Get the absolute value of x. */ > fsub fp12,fp10,fp10 /* Compute 0.0 into fp12. */ > fcmpu cr6,fp2,fp10 /* if |x| < 0.5 */ >- fcmpu cr4,fp2,fp9 /* if |x| >= 2^52 */ >- fcmpu cr3,fp1,fp12 /* x is negative? x < 0.0 */ >+ fcmpu cr7,fp2,fp9 /* if |x| >= 2^52 */ >+ fcmpu cr1,fp1,fp12 /* x is negative? x < 0.0 */ > blt- cr6,.Lretzero /* 0.5 > x < -0.5 so just return 0. */ >- bge- cr4,.Lnobias /* 2^52 > x < -2^52 just convert with no bias. */ >+ bge- cr7,.Lnobias /* 2^52 > x < -2^52 just convert with no bias. */ > fadd fp3,fp2,fp10 /* |x|+=0.5 bias to prepare to round. */ >- bge cr3,.Lconvert /* x is positive so don't negate x. */ >+ bge cr1,.Lconvert /* x is positive so don't negate x. */ > fnabs fp3,fp3 /* -(|x|+=0.5) */ > .Lconvert: > fctidz fp4,fp3 /* Convert to Integer double word round toward 0. */ >Only in glibc-20080412T0741-vanilla/sysdeps/powerpc/powerpc64/fpu: .s_llround.S.swp
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 450790
:
308912
| 311216