https://gcc.gnu.org/g:28a46b59148208e2fcc1a4a869aed0656244ff7f
commit 28a46b59148208e2fcc1a4a869aed0656244ff7f Author: Michael Meissner <[email protected]> Date: Thu Jun 25 21:29:59 2026 -0400 Add future test support. 2026-06-25 Michael Meissner <[email protected]> gcc/testsuite/ * lib/target-supports.exp (check_effective_target_powerpc_future_ok): New target support. Diff: --- gcc/testsuite/lib/target-supports.exp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index c6ebbed4f4b5..f6c9ad0bb229 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -8268,6 +8268,19 @@ proc check_htm_hw_available { } { } }] } + +# Return 1 if this is a PowerPC target supporting -mcpu=future + +proc check_effective_target_powerpc_future_ok { } { + return [check_no_compiler_messages powerpc_future_ok object { + unsigned long a, b, c; + int main (void) { + asm ("subdus %0,%1,%2" : "=r" (a) : "r" (b), "r" (c)); + return 0; + } + } "-mcpu=future"] +} + # Return 1 if this is a PowerPC target supporting -mcpu=cell. proc check_effective_target_powerpc_ppu_ok { } {
