From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id C20F8385841D; Mon, 22 Apr 2024 05:13:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C20F8385841D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713762809; bh=tmYuMMJMTKRSw9xW6dDWkAb0QsyATjOubehVv8Dbi2Y=; h=From:To:Subject:Date:From; b=MwLct4ktnGin/0MwIlfBiAsapufDQEgPQgFp90FS2JGJ4jr2l8GjKnXdRfRYsgI2y NJ9+VMLKEuMKW59mGcXeIX6Hfu+h5t5Kk7bLvnr3DT7kXlE7Lxksehsu1Si1XFVGnl pG3rU3WfQc42Gj9AcGUp5GK9jOT8GedzDPp9uZqM= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Alexandre Oliva To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/aoliva/heads/testme)] ppc: testsuite: pr79004 needs -mlong-double-128 X-Act-Checkin: gcc X-Git-Author: Alexandre Oliva X-Git-Refname: refs/users/aoliva/heads/testme X-Git-Oldrev: de156d08943e343720819a9920ba7e4f67bbd8e4 X-Git-Newrev: 762f75a75a192bdc4f7b056a978f9ae37b12bcf7 Message-Id: <20240422051329.C20F8385841D@sourceware.org> Date: Mon, 22 Apr 2024 05:13:29 +0000 (GMT) List-Id: https://gcc.gnu.org/g:762f75a75a192bdc4f7b056a978f9ae37b12bcf7 commit 762f75a75a192bdc4f7b056a978f9ae37b12bcf7 Author: Alexandre Oliva Date: Sun Apr 21 17:24:28 2024 -0300 ppc: testsuite: pr79004 needs -mlong-double-128 Some of the asm opcodes expected by pr79004 depend on -mlong-double-128 to be output. E.g., without this flag, the conditions of patterns @extenddf2 and extendsf2 do not hold, and so GCC resorts to libcalls instead of even trying rs6000_expand_float128_convert. Perhaps the conditions are too strict, and they could enable the use of conversion insns involving __ieee128/_Float128 even with 64-bit long doubles. Alas, for now, we need this flag for the test to pass on target variants that use 64-bit long doubles. for gcc/testsuite/ChangeLog * gcc.target/powerpr/pr79004.c: Add -mlong-double-128. Diff: --- gcc/testsuite/gcc.target/powerpc/pr79004.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.target/powerpc/pr79004.c b/gcc/testsuite/gcc.target/powerpc/pr79004.c index caf1f6c1eef..83f20ca2243 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr79004.c +++ b/gcc/testsuite/gcc.target/powerpc/pr79004.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -mfloat128" } */ +/* { dg-additional-options "-mlong-double-128" } */ #include