From patchwork Tue Jan 9 07:12:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hongyu Wang X-Patchwork-Id: 1884154 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=IGu9Z/Y4; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4T8Mck5F2sz1yP7 for ; Tue, 9 Jan 2024 18:14:30 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B1B993858426 for ; Tue, 9 Jan 2024 07:14:28 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by sourceware.org (Postfix) with ESMTPS id A36A73858C66 for ; Tue, 9 Jan 2024 07:14:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A36A73858C66 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A36A73858C66 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=192.55.52.88 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704784450; cv=none; b=HyWFurJKvwzuVH3D1534Iw3Z58KdGnFi9RC1WzclTH0a+gX8AUTe67kk5MnI06NoRpEXrrIACKxSZklSEtvV4fU5LqPiCUF2JQcmluF6ABU2gk4OM811oeVmwNC73EPjUZLRWW/HRoh5jmvu0FFynMTahrHRKoUHdLnG2+je2tw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704784450; c=relaxed/simple; bh=ZVixN+qVwDwFCIt+itw+Iy2SRXt0h6ZUURNtKBM/J1Q=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=jsZkJ2+00prwq6M+Wut1x1WqpAbXiyg1vkJMSPBfArWIkl59shzGY2KO38n/e1zZD7VXarXPOEgWn3H3lMtrtyN9656l5hFt/2XOh/LiBbQKuGqO9/S3NJnipE8C/86juwRToIpysk5auqw0/R8X9sDhHDDdLrudzGS6IlGp1II= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1704784448; x=1736320448; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ZVixN+qVwDwFCIt+itw+Iy2SRXt0h6ZUURNtKBM/J1Q=; b=IGu9Z/Y4TNTk56+GKm1HdYou2xYb2OELfqS+1CuCTLqpxdIuLI/2Pt2h GY3TKjJq9aWAGZvu+3+pkinHYbXURhO/6JOe3REwNiV6HhEgxEXjediaX W+iObRTQTNjyiyUU9ixGrkQ4H/vEjrSo7q6A+0ujhdLPAay+eklqUhgOE O5jwanDAQrlXAdwjlhfX9zL55gKGmDkSUQ+ocx0+Cg+lTQV6ms8iac/lZ wUlrqmRkjtUUBox4URESX6S6jppqoQWFAml4eJp56MHY6RjNdwGtSxxfJ pig52IXjFJWoj5rFJfhDn2Bsjumr7vh7npvyoSBT7dxa5sS4TuzzIYe5c Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10947"; a="429292798" X-IronPort-AV: E=Sophos;i="6.04,182,1695711600"; d="scan'208";a="429292798" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jan 2024 23:14:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,182,1695711600"; d="scan'208";a="30076955" Received: from shvmail03.sh.intel.com ([10.239.245.20]) by orviesa001.jf.intel.com with ESMTP; 08 Jan 2024 23:14:06 -0800 Received: from shliclel4217.sh.intel.com (shliclel4217.sh.intel.com [10.239.240.127]) by shvmail03.sh.intel.com (Postfix) with ESMTP id 2457310079BD; Tue, 9 Jan 2024 15:14:05 +0800 (CST) From: Hongyu Wang To: gcc-patches@gcc.gnu.org Cc: hongtao.liu@intel.com, gerald@pfeifer.com Subject: [wwwdocs][PATCH] gcc-14/changes: Update APX inline asm behavior for x86_64 Date: Tue, 9 Jan 2024 15:12:04 +0800 Message-Id: <20240109071205.417812-1-hongyu.wang@intel.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-Spam-Status: No, score=-10.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_NUMSUBJECT, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_SOFTFAIL, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Hi, This patch adds missing description for inline asm behavior and related compiler switch for APX. Ok for gcc-wwwdocs? --- htdocs/gcc-14/changes.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html index e3a68998..73a90d30 100644 --- a/htdocs/gcc-14/changes.html +++ b/htdocs/gcc-14/changes.html @@ -342,6 +342,12 @@ a work-in-progress.

NDD, PPX and PUSH2POP2. APX support is available via the -mapxf compiler switch. +
  • For inline asm support with APX, by default the EGPR feature was + disabled to prevent potential illegal instruction with EGPR occurs. + To invoke egpr usage in inline asm, use new compiler option + -mapx-inline-asm-use-gpr32 and user should ensure the instruction + supports EGPR. +
  • New ISA extension support for Intel AVX10.1 was added. AVX10.1 intrinsics are available via the -mavx10.1 or -mavx10.1-256 compiler switch with 256-bit vector size