From patchwork Wed Jul 31 04:29:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: liuhongt X-Patchwork-Id: 1966821 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=OWQPK7Pf; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; 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 [8.43.85.97]) (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 4WYfMl0xMgz1yYq for ; Wed, 31 Jul 2024 14:32:31 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 178B53861027 for ; Wed, 31 Jul 2024 04:32: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 [198.175.65.13]) by sourceware.org (Postfix) with ESMTPS id C5F62385EC2A for ; Wed, 31 Jul 2024 04:32:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C5F62385EC2A Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=intel.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C5F62385EC2A Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=198.175.65.13 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1722400327; cv=none; b=iAcRdgdBTNKS0ZpgzDBXNM+Ku40dssTPhkjEdawk8iASDjAGqmKRbZNWJYGeBBH7qlv312xXZ4JNrRi5LgYupCIlizMGnnZwU8nDL1OnbdaW3RNvwEv/dBEjOtcRBx5EQX3uX5wyDSbd6+nhBMPcB1CZwoQEjjMZpnMiqbt14oU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1722400327; c=relaxed/simple; bh=XZClK6+wtkyhrlvdMD0MCyXn8VHkGN3w+qY6rRCLFPY=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=SAdj9caO4wAisZRxP7fnGcTv52X5eOzEP94+gL/xBOG5Q9xOt6Lx9yll2zcZyOQ9cF9PVZi2pjfXz7bl9xCKDZjbYNsQHW+cxHO/IlNvBQTFcSLlzNGHOK/P+tIVUv5ppAEEqS+cjeA1ZdfMcj/cotcOo362aHGcYd2IqBEMBdw= 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=1722400325; x=1753936325; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=XZClK6+wtkyhrlvdMD0MCyXn8VHkGN3w+qY6rRCLFPY=; b=OWQPK7PfNdw4L7hSt7DqL3jn091z9N3FRXXBT3sxGgGwfOJIKkIQmFNK /CC7WkkP17350Kf7r3vmWH75FkYRf0WDKrXdpSTxbilyr6D/kb95wI7Sh JfSdFfkyZ6d/iHxOHTK++2Q2GoAO3UuP13GzRWhKlQcm2HWBcBKisVCZh EDnXTll3KMFaB/I1omlbWzqbqXGzkk1S3OYP2vwA7dNpC8vySKSp0RY0p UMqq8PxQ7Q7wJuOnx2Y3q/XMU3O/arn95efXXoJCCDYMqr0whcLr10ElA w3rEqu9/0OySz3jC2qR8+UpFlbFX8mGJhaRO9wkSXwfSV0wNU+pOJZlFf w==; X-CSE-ConnectionGUID: cGNpd28uRguc60dlYAOKnw== X-CSE-MsgGUID: ENR0fdS9SBqbf8d8Ck6HlA== X-IronPort-AV: E=McAfee;i="6700,10204,11149"; a="31407606" X-IronPort-AV: E=Sophos;i="6.09,250,1716274800"; d="scan'208";a="31407606" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jul 2024 21:29:24 -0700 X-CSE-ConnectionGUID: 5yQZl6VSRiWOX/lSUQGR6w== X-CSE-MsgGUID: uh8LVdxpRGOfznd47oa6Bw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,250,1716274800"; d="scan'208";a="85481943" Received: from shvmail03.sh.intel.com ([10.239.245.20]) by fmviesa001.fm.intel.com with ESMTP; 30 Jul 2024 21:29:22 -0700 Received: from shliclel4217.sh.intel.com (shliclel4217.sh.intel.com [10.239.240.127]) by shvmail03.sh.intel.com (Postfix) with ESMTP id 1123110056F6; Wed, 31 Jul 2024 12:29:22 +0800 (CST) From: liuhongt To: gcc-patches@gcc.gnu.org Cc: crazylht@gmail.com, hjl.tools@gmail.com Subject: [PATCH] [x86] Mention _Float16 and __bf16 changes in GCC14. Date: Wed, 31 Jul 2024 12:29:22 +0800 Message-Id: <20240731042922.4046053-1-hongtao.liu@intel.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_NONE, TXREP 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 Ok for trunk? --- htdocs/gcc-14/changes.html | 7 +++++++ htdocs/gcc-14/porting_to.html | 9 +++++++++ 2 files changed, 16 insertions(+) diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html index ca4cae0f..b023a4b9 100644 --- a/htdocs/gcc-14/changes.html +++ b/htdocs/gcc-14/changes.html @@ -982,6 +982,13 @@ __asm (".global __flmap_lock" "\n\t" AVX512VP2INTERSECT, AVXVNNI, MOVDIR64B, MOVDIRI, and PREFETCHI ISA extensions. +
  • The _Float16 and __bf16 type are supported + independent of SSE2. W/o SSE2, these types are storage-only, compiler will + issue an error when they're used in conversion, unary operation, + binary operation, parameter passing or value return. Please use + __SSE2__ to detect arithmetic support of these types + instead of __FLT16_MAX__(or other similar Macros). +
  • MCore

    diff --git a/htdocs/gcc-14/porting_to.html b/htdocs/gcc-14/porting_to.html index 3de15d02..b4f87149 100644 --- a/htdocs/gcc-14/porting_to.html +++ b/htdocs/gcc-14/porting_to.html @@ -490,6 +490,8 @@ in C23. GCC will probably continue to support old-style function definitions even once C23 is used as the default language dialect. + +

    C++ language issues

    Header dependency changes

    @@ -554,6 +556,13 @@ incorrect instruction set by GCC 14.

    The fix in this case is to remember whether pop_options needs to be performed in a new user-defined macro.

    +

    Type _Float16 and __bf16 are supported independent of SSE2 for IA-32/x86-64

    +

    W/o SSE2, these types are storage-only, compiler will issue an error when + they're used in conversion, unary operation, binary operation, parameter + passing or value return. Please use __SSE2__ to detect + arithmetic support of these types instead of + __FLT16_MAX__(or other similar Macros).

    +