From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id hMBbKKdpAmEvOwAAWB0awg (envelope-from ) for ; Thu, 29 Jul 2021 04:41:11 -0400 Received: by simark.ca (Postfix, from userid 112) id 946C41EDFB; Thu, 29 Jul 2021 04:41:11 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from 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 RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id B95811E4A3 for ; Thu, 29 Jul 2021 04:41:09 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 43E99393A429 for ; Thu, 29 Jul 2021 08:41:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 43E99393A429 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1627548069; bh=xORILuz6hDMxNH1lUwWvT/WqmVsjZDHZ8gpODk2z90w=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=XXu3zS62MjgFfHsmBanGih3a5Q9sU9j+MP0su41+8Sdm5omAWCbvwfAqBbvqvKthj HJqs1QKbkKO+YSR/6fobHS+XHeHQwvkbQSWtPVUatse4LpwXo0dd0IzRHtvrtHJOny mQE4r6AQmdRGejXOxbWjMynGXJLMv57UJxQ7+J58= Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by sourceware.org (Postfix) with ESMTPS id 1344439AE843 for ; Thu, 29 Jul 2021 08:39:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1344439AE843 X-IronPort-AV: E=McAfee;i="6200,9189,10059"; a="193111441" X-IronPort-AV: E=Sophos;i="5.84,278,1620716400"; d="scan'208";a="193111441" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jul 2021 01:39:24 -0700 X-IronPort-AV: E=Sophos;i="5.84,278,1620716400"; d="scan'208";a="518109805" Received: from mulvlfelix.iul.intel.com (HELO localhost) ([172.28.48.31]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jul 2021 01:39:24 -0700 To: gdb-patches@sourceware.org Subject: [PATCH 0/2] Add AVX512-FP16 support. Date: Thu, 29 Jul 2021 10:38:31 +0200 Message-Id: <20210729083833.2483704-1-felix.willgerodt@intel.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Felix Willgerodt via Gdb-patches Reply-To: Felix Willgerodt Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" New CPUs will add support for the FP16 data type in AVX512: https://software.intel.com/content/www/us/en/develop/download/intel-avx512-fp16-architecture-specification.html This comes with ABI changes that allow _Float16 and _Float16 _Complex as function arguments and return values. This series adds support for the register view and ABI changes. Regards, Felix Felix Willgerodt (2): Add half support for AVX512 register view. gdb: Enable finish command and inferior calls for _Float16 on amd64 and i386. gdb/amd64-tdep.c | 12 +- gdb/features/i386/32bit-sse.c | 5 + gdb/features/i386/32bit-sse.xml | 2 + gdb/features/i386/64bit-avx512.c | 5 + gdb/features/i386/64bit-avx512.xml | 2 + gdb/features/i386/64bit-sse.c | 5 + gdb/features/i386/64bit-sse.xml | 2 + gdb/i386-tdep.c | 15 +- gdb/testsuite/gdb.arch/x86-avx512fp16-abi.c | 38 ++++ gdb/testsuite/gdb.arch/x86-avx512fp16-abi.exp | 63 +++++++ gdb/testsuite/gdb.arch/x86-avx512fp16.c | 164 ++++++++++++++++++ gdb/testsuite/gdb.arch/x86-avx512fp16.exp | 68 ++++++++ gdb/testsuite/lib/gdb.exp | 51 ++++++ 13 files changed, 425 insertions(+), 7 deletions(-) create mode 100644 gdb/testsuite/gdb.arch/x86-avx512fp16-abi.c create mode 100644 gdb/testsuite/gdb.arch/x86-avx512fp16-abi.exp create mode 100644 gdb/testsuite/gdb.arch/x86-avx512fp16.c create mode 100644 gdb/testsuite/gdb.arch/x86-avx512fp16.exp -- 2.25.4 Intel Deutschland GmbH Registered Address: Am Campeon 10, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928