Re: [PATCH] i386, testsuite: adjust asm patterns

2024-02-12 Thread Fangrui Song
On Sun, Feb 11, 2024 at 11:12 AM Mike Stump wrote: > > On Feb 10, 2024, at 10:07 AM, FX Coudert wrote: > > > > The new testcase gcc.target/i386/asm-raw-symbol.c fails on darwin. This is > > partly because symbols are prefixed with underscore, and also because the > > order of operands in the

Re: [PATCH] i386, testsuite: adjust asm patterns

2024-02-11 Thread Mike Stump
On Feb 10, 2024, at 10:07 AM, FX Coudert wrote: > > The new testcase gcc.target/i386/asm-raw-symbol.c fails on darwin. This is > partly because symbols are prefixed with underscore, and also because the > order of operands in the addition is reversed (but I think it’s valid still). > The code

[PATCH] i386, testsuite: adjust asm patterns

2024-02-10 Thread FX Coudert
The new testcase gcc.target/i386/asm-raw-symbol.c fails on darwin. This is partly because symbols are prefixed with underscore, and also because the order of operands in the addition is reversed (but I think it’s valid still). The code generated is this: _func: LFB0: pushq %rbp