From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 385313858C98; Thu, 21 Mar 2024 16:16:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 385313858C98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1711037776; bh=Mj53RN7rxXjOzo+SAroqguWF4BXDCmDl7hwBLVjq7IE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ioO1BRrnEsTvK2fRtkig8GMYVMepc7qD0d53eJJPbGTQLaB4yGkNus0HOPLOA12eQ BunD3Wa6ce/wH1Kx1QcStxuR1nJFeCnnv+jTjPY0MAGddYumkwH8VAqXz2qBf0ayZg ncj4J8K8xjBwXpT88OmhNEGrHp6iMq1jEIvrnh9Q= From: "lee.imple at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/114417] simd parameters are passed by memory on x64 , not using the available sse registers Date: Thu, 21 Mar 2024 16:16:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: ABI X-Bugzilla-Severity: normal X-Bugzilla-Who: lee.imple at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned 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=3D114417 --- Comment #2 from Imple Lee --- (In reply to Andrew Pinski from comment #1) > I doubt this can change since this is the abi gcc decided on a long time = ago. If we implement the simd class as a wrapper around a vector, the parameter = can still be passed by sse registers, so I think there may be an implementation issue in libstdc++'s implementation of stdx::simd. https://godbolt.org/z/a6s67zzc7=