From patchwork Tue Feb 1 16:57:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 50633 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4703E3857805 for ; Tue, 1 Feb 2022 16:58:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4703E3857805 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1643734685; bh=BPhX4mLdk235/7z/b35N5k48ttNz9Hy5wesoC1Sso68=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=ovMHUHPVELUC2pEuDkz6S/zZ6NQ6hgCMe9hRY2n4CUjGSdSwccOmbVR24cjuTEasD pbU+1hVO6MWqWCaYYZUL9mF1z2bUr3J3LYNhXMK2y2VQWxHCkaYu1PmgRVr2072++1 UvT/hlkye0AVY71sB5osul45QeqDzLDk/4893cMM= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by sourceware.org (Postfix) with ESMTPS id 22A953858C74 for ; Tue, 1 Feb 2022 16:57:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 22A953858C74 Received: by mail-pf1-x434.google.com with SMTP id e6so16400516pfc.7 for ; Tue, 01 Feb 2022 08:57:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BPhX4mLdk235/7z/b35N5k48ttNz9Hy5wesoC1Sso68=; b=4PMx1vHKvvlgfH9qFNcYKlnjfDJ03CWp6HwBOT6XlHyA95qLZjLBLAynx2Of3uOEzC o0pjG4ChOYWAgZ2+yXEBd5ar1QS1BbEpMUtdJEYB07XkjzSSO5rk4ywfbn2HGSaZL1/i OxGHT39n7nGtnwRynSwo0mZcxqrRkgBUI8oCVkZrEuSD39z1drYmDkxVXBcVOveDImzP UHDQREEn15HbEQMOpMNMDIFRJsFa+eBkh4gqQYfu1EHcol+/h2hbK5hybRo2wp+6CbI8 vIcAhNZcALf4wbKe530vOaNG+MWJE82LmHX0tGZ+Fg2VfDsGYV/GHPqTfSFww5zFBy3f XyyA== X-Gm-Message-State: AOAM533urZAiHxB65fCYJepNRcgXi14CxEYUOM4H5/JwqeU8JrZJcUY+ bdxl0bFuVlL2RqrJj5RJHHDtua04h4r0Sg== X-Google-Smtp-Source: ABdhPJyFuwCZpC6N6uBK6MgSXSaWDuFE0A4CjVEkf+ztY1IIjOmXux3mtJZ3bciEozpbnWeb3DoEsg== X-Received: by 2002:a63:8948:: with SMTP id v69mr21715379pgd.550.1643734655067; Tue, 01 Feb 2022 08:57:35 -0800 (PST) Received: from gnu-tgl-3.localdomain ([172.58.38.240]) by smtp.gmail.com with ESMTPSA id e3sm17465651pgc.41.2022.02.01.08.57.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Feb 2022 08:57:34 -0800 (PST) Received: from gnu-tgl-3.. (localhost [IPv6:::1]) by gnu-tgl-3.localdomain (Postfix) with ESMTP id 2EA06C075E; Tue, 1 Feb 2022 08:57:33 -0800 (PST) To: gcc-patches@gcc.gnu.org Subject: [PATCH] gcc-12: Mention -mharden-sls= and -mindirect-branch-cs-prefix Date: Tue, 1 Feb 2022 08:57:33 -0800 Message-Id: <20220201165733.2705733-1-hjl.tools@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-3030.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: "H.J. Lu via Gcc-patches" From: "H.J. Lu" Reply-To: "H.J. Lu" Cc: Richard Biener Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" --- htdocs/gcc-12/changes.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html index 2719b9d5..479bd6c5 100644 --- a/htdocs/gcc-12/changes.html +++ b/htdocs/gcc-12/changes.html @@ -387,6 +387,12 @@ a work-in-progress.

x86 systems with SSE2 enabled. Without {-mavx512fp16}, all operations will be emulated in software and float instructions. +
  • Mitigation against straight line speculation (SLS) for function + return and indirect jump is supported via + -mharden-sls=[none|all|return|indirect-jmp]. +
  • +
  • Add CS prefix to call and jmp to indirect thunk with branch target + in r8-r15 registers via -mindirect-branch-cs-prefix.