Re: [PATCH] x86-64: Update gcc.target/i386/apx-ndd.c

2024-02-05 Thread H.J. Lu
On Mon, Feb 5, 2024 at 3:53 AM H.J. Lu <> wrote: > > Fix the following issues: > > 1. Replace long with int64_t to support x32. > 2. Replace \\(%rdi\\) with \\(%(?:r|e)di\\) for memory operand since x32 > uses (%edi). > 3. Replace %(?:|r|e)al with %al in negb scan. > > * gcc.target/i386/ap

[PATCH] x86-64: Update gcc.target/i386/apx-ndd.c

2024-02-05 Thread H.J. Lu <>
Fix the following issues: 1. Replace long with int64_t to support x32. 2. Replace \\(%rdi\\) with \\(%(?:r|e)di\\) for memory operand since x32 uses (%edi). 3. Replace %(?:|r|e)al with %al in negb scan. * gcc.target/i386/apx-ndd.c: Updated. --- gcc/testsuite/gcc.target/i386/apx-ndd.c | 6