From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5F80F3858C50; Mon, 17 Oct 2022 19:45:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5F80F3858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666035941; bh=rUthub1kxHr4V9HxPhFMCrRt11OAFcHuz95KLEEMK0c=; h=From:To:Subject:Date:In-Reply-To:References:From; b=U/jqdF6MdJpL45HmfRJUie+kUZ+Elu8tN0eIORsc/f7kRE7ASOZEUzQwPBg2m528k rkYxjL9hrVBmPcV9+iIVIvGhm8p1w3XFoQhvu0HfryqraK6MWEK1MaNX+XcMpeZltQ yE3USFNopIppnSZyz7XGj8nvmrljKZkiq4sbBP/o= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/99685] gcc.target/powerpc/divkc3-1.c and mulkc3-1.c fail for 32 bits Date: Mon, 17 Oct 2022 19:45:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: testsuite-fail X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pthaugen at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99685 --- Comment #4 from CVS Commits --- The releases/gcc-12 branch has been updated by Pat Haugen : https://gcc.gnu.org/g:0bc43f9ae1384787b0efcf9a41f00c1eeaf8bb8b commit r12-8842-g0bc43f9ae1384787b0efcf9a41f00c1eeaf8bb8b Author: Pat Haugen Date: Tue May 17 15:53:24 2022 -0500 Fix register count when not splitting Complex IEEE 128-bit args. For ABI_V4, we do not split complex args. This created a problem because even though an arg would be passed in two VSX regs, we were only advanc= ing the function arg counter by one VSX register. Fixed with this patch. PR target/99685 gcc/ * config/rs6000/rs6000-call.cc (rs6000_function_arg_advance_1): Bump register count when not splitting IEEE 128-bit Complex. (cherry picked from commit 2ee68beee709e48fce85b8892ff9985acc6a91a8)=