From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F0B8638381C8; Fri, 25 Nov 2022 22:53:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F0B8638381C8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669416806; bh=g+KPkNA6hJCzPh/1TkZkglEKF5Mg1eD2t3e2yLF3e5k=; h=From:To:Subject:Date:In-Reply-To:References:From; b=aC4ujg4RxjYCiI3AidNOfl/o/WORV2cwK0SdTS41nNJz6+ln9g+cpIdzOsD4QW0OI 5WZkuXNJjl/cDd/xuTjj0DtXZsXpKqAFaprpCh/6oeXciXWENf3F7V3dn74hvI5w0f X+4GVFwcs6NIjpU5G/9ETQ+KIIXJkleM0QgHWGDM= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/105134] tree-vectorize produces error code Date: Fri, 25 Nov 2022 22:53:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: WAITING 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=3D105134 --- Comment #7 from Andrew Pinski --- I am trying to understand this. Is it ok to use the SSE registers inside purgatory or not? Now that the vectorizer is used turned on at -O2 and above, without -mno-ss= e, on x86_64 target, the vector instructions are generated. and since this is inside a tiny bootloader, I am suspecting you can't use SSE instructions he= re. So the real fix is to use -mno-sse for x86_64 while compiling files under purgatory .=