From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B493B3861024; Sat, 29 Aug 2020 02:07:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B493B3861024 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1598666869; bh=L2PWeJeWnwzzASlj8KqjHhleFQ9sCkhD5abA5YpWCno=; h=From:To:Subject:Date:In-Reply-To:References:From; b=FLUbjmK2yq6g5bdg/yeHQfufhmDQjTgHT7Z7YGzTf5iOoex/6Sr9CXA19DEYZM90O qxs6jEpFEXwBdIN8cm3LTNTDDtBe+ysYfnPfW84vf8V05XF0v6RLrZY8+0s47800J1 lmz08nKGb6sA7VbhQRzDFDmpeAxf3KUMhF6v/BVU= From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/96200] Implement __builtin_thread_pointer() and __builtin_set_thread_pointer() if TLS is supported Date: Sat, 29 Aug 2020 02:07:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2020 02:07:49 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96200 --- Comment #5 from H.J. Lu --- But CR4.FSGSBASE FSGSBASE-Enable Bit (bit 16 of CR4) =E2=80=94 Enables the instructions RDFS= BASE, RDGSBASE, WRFSBASE, and WRGSBASE. >>From user space, we can't tell if FSGSBASE is enabled.=