> -----Original Message-----
> From: Rainer Orth <[email protected]>
> Sent: Tuesday, June 30, 2026 5:17 PM
> To: [email protected]
> Cc: Liu, Hongtao <[email protected]>
> Subject: [PATCH] testsuite: i386: Fix gcc.target/i386/bt-cmov-1.c on Solaris
>
> The new gcc.target/i386/bt-cmov-1.c FAILs on Solaris:
>
> FAIL: gcc.target/i386/bt-cmov-1.c scan-assembler-times cmov[n]*c 4
>
> The Solaris assembler uses a slightly different syntax:
>
> cmovl.c %edx, %eax
> cmovl.nc %edx, %eax
>
> instead of
>
> cmovc %edx, %eax
> cmovnc %edx, %eax
>
> This patch allows for both forms. At the same time, it avoids escaping by
> using brace quoting. The character sets with a single character aren't
> necessary. 'l' in "btl" isn't optional or does 'c' in "cmov"
> occur more than one.
>
> Tested on i386-pc-solaris2.11 (as and gas, 32 and 64-bit), and x86_64-pc-
> linux-gnu (32 and 64-bit).
>
> Ok for trunk?
Ok.
>
> Rainer
>
> --
> -----------------------------------------------------------------------------
> Rainer Orth, Center for Biotechnology, Bielefeld University
>
>
> 2026-06-30 Rainer Orth <[email protected]>
>
> gcc/testsuite:
> * gcc.target/i386/bt-cmov-1.c (scan-assembler-times): Simplify
> patterns. Allow for Solaris as syntax.