This is the mail archive of the libc-alpha@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]

Re: [PATCH] Mark sparc %fsr load and store inline asms as volatile.


The very same issue was just fixed for some x86_64 (or i686?) math function
(forget which).  I registered my distaste with the big hammer of volatile
when some way to express the true dependency would be better.  GCC folks
said that there is no kludge that fakes the compiler out like I thought
there might be.  For the x86 case my distaste was mitigated by the fact
that newer GCC has the function in question as a built-in so we can drop
the hack entirely for new-enough compilers.  I wonder if sparc might be
acquiring fma* built-ins one of these days?

Thanks,
Roland


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