This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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 target/70465] [5/6 Regression] Poor code for x87 asm


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70465

--- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Uroš Bizjak from comment #19)
> (In reply to Jakub Jelinek from comment #18)
> > Created attachment 40808 [details]
> > gcc7-pr70465-2.patch
> > 
> > Now actually working patch for this testcase.
> 
> +/* { dg-do compile { target ia32 } } */
> +/* { dg-options "-Ofast -mfpmath=387 -fomit-frame-pointer" } */
> 
> Is there a reason that this test (and the previous one) is limited to ia32
> only? -mfpmath=387 should give the same result on x86_64, too.

Indeed, no reason.  Consider { target ia32 } dropped from this one.
The pr70465.c tests needs it though, because there are intervening stores.

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