From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BB3353858D20; Wed, 30 Nov 2022 03:32:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BB3353858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669779171; bh=84WC3pfpQjxm2nFVVYi/kovs2CDH7A/8UumxbcH2AS8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=p13HiDlwzTwJxOjc5bAzDinBO2hniP4eakXTz1eDgabN5s3XnCeBO3hZvT0ResjmC VPvIvf6nSEsdLcOtgLCCG6KzKOCxL9kEKraqSFnpK7P7zr0MBVx8SwwpM3/b+fJW2F iHNQY21XU+/ywQoYEspqtLQiaH4Brgd3fIe8D0u4= From: "piliu at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/105134] tree-vectorize produces error code Date: Wed, 30 Nov 2022 03:32:50 +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: piliu at redhat dot com 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 #10 from piliu at redhat dot com --- (In reply to Andrew Pinski from comment #7) > I am trying to understand this. Is it ok to use the SSE registers inside > purgatory or not? >=20 SSE can speed up the program, and if possible it is suggested to turn on. Any guideline about when it can not be used? > Now that the vectorizer is used turned on at -O2 and above, without > -mno-sse, on x86_64 target, the vector instructions are generated. and si= nce > this is inside a tiny bootloader, I am suspecting you can't use SSE > instructions here. >=20 What is broken by SSE? That can be more persuaded. Thanks, Pingfan=