New effective-target 'asm_goto_with_outputs' (was: [PATCH] testsuite: Fix up lra effective target)

2024-04-08 Thread Thomas Schwinge
r nvptx -- > which, I suppose, is OK, given that nvptx neither uses LRA nor doesn't > use LRA. ;-) (Therefore, effective-target 'lra' shouldn't get used in > test cases that are active for nvptx.) > > However, nvptx appears to support 'asm goto' with output

Re: New effective-target 'asm_goto_with_outputs'

2024-03-22 Thread Jeff Law
On 3/22/24 12:24 PM, Jakub Jelinek wrote: On Fri, Mar 22, 2024 at 12:17:03PM -0600, Jeff Law wrote: I'd just make target_lra return false for nvptx rather than creating a new The lra effective target currently though doesn't check if asm goto can have outputs, but rather if the target is us

Re: New effective-target 'asm_goto_with_outputs'

2024-03-22 Thread Jakub Jelinek
On Fri, Mar 22, 2024 at 12:17:03PM -0600, Jeff Law wrote: > I'd just make target_lra return false for nvptx rather than creating a new The lra effective target currently though doesn't check if asm goto can have outputs, but rather if the target is using lra. > selector -- I'm not aware of any fe

Re: New effective-target 'asm_goto_with_outputs'

2024-03-22 Thread Jeff Law
vptx.) However, nvptx appears to support 'asm goto' with outputs, including the new execution test case: PASS: gcc.dg/pr107385.c execution test I'm attaching "[WIP] New effective-target 'asm_goto_with_outputs'", which does address the effective-target

New effective-target 'asm_goto_with_outputs' (was: [PATCH] testsuite: Fix up lra effective target)

2024-03-21 Thread Thomas Schwinge
get used in test cases that are active for nvptx.) However, nvptx appears to support 'asm goto' with outputs, including the new execution test case: PASS: gcc.dg/pr107385.c execution test I'm attaching "[WIP] New effective-target 'asm_goto_with_outputs'", whic