Add e500 version of fetestexceptflag.
commitf2227063111582d025778d61263a5662d075714c
authorJoseph Myers <joseph@codesourcery.com>
Wed, 7 Sep 2016 17:47:11 +0000 (7 17:47 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 7 Sep 2016 17:47:11 +0000 (7 17:47 +0000)
tree15a38ce9d738cf0f3b568db95af9d34d87677222
parented29339bf95362bd540be94ea3c2b94f78d363ec
Add e500 version of fetestexceptflag.

When I added fetestexceptflag, I missed that e500 was another case
that needed its own version because saved exceptions were not directly
stored in a form that could be ANDed with exception bits (they were
stored with exceptions in SPE form, but the FE_* macros always use the
classic hard-float form).  This patch adds an e500 version with the
required call to __fexcepts_from_spe to convert from one form to the
other.

Tested for e500.

* sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
file.
ChangeLog
sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c [new file with mode: 0644]