Re: [PATCH] RISC-V: testsuite: fix target selector for sync_char_short

2025-01-09 Thread Jeff Law
On 1/9/25 11:33 AM, Edwin Lu wrote: The effective-target selector for riscv on sync_char_short did not check to see if atomics were enabled. As a result, these test cases were ran on targets without the a extension. Add additional checks for zalrsc or zabha extensions. gcc/testsuite/ChangeLog

[PATCH] RISC-V: testsuite: fix target selector for sync_char_short

2025-01-09 Thread Edwin Lu
The effective-target selector for riscv on sync_char_short did not check to see if atomics were enabled. As a result, these test cases were ran on targets without the a extension. Add additional checks for zalrsc or zabha extensions. gcc/testsuite/ChangeLog: * lib/target-supports.exp: Fix