This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA PATCH, ia64]: Put soft-FP exception handler out-of-line
On Tue, Jun 12, 2012 at 12:31 PM, Uros Bizjak <ubizjak@gmail.com> wrote:
> Similar to x86, this patch puts soft-FP exception handler out-of-line.
> The patch also cleans asm constraints a bit (introduces "+"), but has
> no other functional changes.
>
> 2012-06-12 ?Uros Bizjak ?<ubizjak@gmail.com>
>
> ? ? ? ?* config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
> ? ? ? ?function declaration.
> ? ? ? ?(FP_EX_MASK): New.
> ? ? ? ?(FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
> ? ? ? ?* config/ia64/sfp-exceptions.c: New.
> ? ? ? ?* config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
>
> The patch is only compile tested, needs someone to regression test it ...
I have bootstrapped and regression tested the patch on
ia64-unknown-linux-gnu (gcc60) without problems. Also, I have checked
that exceptions are generated correctly with various __float128
testcases involving feenableexcept.
If there are no further objections, I plan to commit the patch to 4.8 tomorrow.
Uros.