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] ARM - Rewrite feupdateenv


> From: Joseph Myers wrote:
> On Fri, 23 May 2014, Wilco wrote:
> 
> > This patch rewrites feupdateenv to improve performance by avoiding
> > unnecessary FPSCR reads/writes and to fix bug 16918
> > (https://sourceware.org/bugzilla/show_bug.cgi?id=16918).
> 
> It would be desirable to add an architecture-independent testcase that, if
> FE_NOMASK_ENV is defined and feupdateenv (FE_NOMASK_ENV) succeeds, the
> exceptions are then enabled as indicated by fegetexcept (or by getting
> SIGFPE, as test-fenv.c tests various cases, but a test using fegetexcept
> is simpler to write).  (It's best for this to be a new test rather than
> adding to the things in test-fenv.c.)

I'll add such a test in a separate patch (as a separate test it's best to 
test all of fesetenv, feupdateenv and feenableexcept so we've covered all 
of the special cases in one go).

Wilco




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