Re: [PATCH] zero-scratch-regs-[29|30].c: Disable TARGET_USE_FFREEP

Uros Bizjak <[email protected]>
Newsgroups gmane.comp.gcc.patches
Message-ID <CAFULd4bwTe3Dz0VZ-0KdvbjG7JbQ9_tBQdvD_ZHsQP_nZH8fWQ@mail.gmail.com>
On Wed, Aug 19, 2026 at 12:50 AM H.J. Lu <[email protected]> wrote:
>
> Compile zero-scratch-regs-[29|30].c with -mtune-ctrl=^use_ffreep to
> disable using freep instruction instead of fstp to avoid:
>
> FAIL: gcc.target/i386/zero-scratch-regs-29.c scan-assembler-times fstp[ \t]+%st\
> \(0\\) 7
> FAIL: gcc.target/i386/zero-scratch-regs-29.c scan-assembler-times fstp[ \t]+%st\
> \(0\\) 7
> FAIL: gcc.target/i386/zero-scratch-regs-30.c scan-assembler-times fstp[ \t]+%st\
> \(0\\) 6
> FAIL: gcc.target/i386/zero-scratch-regs-30.c scan-assembler-times fstp[ \t]+%st\
> \(0\\) 8
>
> when TARGET_USE_FFREEP is enabled by default.
>
> PR testsuite/126923
> * gcc.target/i386/zero-scratch-regs-29.c (dg-options): Add
> -mtune-ctrl=^use_ffreep.
> * gcc.target/i386/zero-scratch-regs-30.c (dg-options): Likewise.

OK.

Thanks,
Uros.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.