This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ports/10094] use of FPU_SETCW or FPU_GETCW causes illegal instruction on armel


------- Additional Comments From joseph at codesourcery dot com  2009-04-24 11:21 -------
Subject: Re:  use of FPU_SETCW or FPU_GETCW causes illegal
 instruction on armel

On Fri, 24 Apr 2009, aurelien at aurel32 dot net wrote:

> ------- Additional Comments From aurelien at aurel32 dot net  2009-04-24 09:44 -------
> > That said, making the contents compile-time conditional 
> > like the MIPS version would be reasonable; I don't think it can sensibly 
> > be made run-time conditional.
> 
> I agree. The patch I just attached, inspired by the mips version should to 
> the trick.

I think you need to condition on _LIBC not being defined as well, or 
you'll break the runtime VFP detection in the fenv.h functions (which use 
fpu_control.h).  I'd be surprised if glibc even built for soft-float with 
that patch applied, since fesetenv.c uses _FPU_IEEE which the patch would 
make undefined in the soft-float case.



-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10094

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]