Message ID | 20240515063158.3960697-1-lili.cui@intel.com |
---|---|
Headers |
Return-Path: <binutils-bounces+patchwork=sourceware.org@sourceware.org> 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 2E69D384AB75 for <patchwork@sourceware.org>; Wed, 15 May 2024 06:32:59 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by sourceware.org (Postfix) with ESMTPS id A85AA384AB75 for <binutils@sourceware.org>; Wed, 15 May 2024 06:32:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A85AA384AB75 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 A85AA384AB75 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=198.175.65.9 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715754725; cv=none; b=xl/ZU+GqeWbB1h5XXs8iG0QSZoydoMUicIEkgR1YidW65MD7EauMy9xTbyLJy2BXPbWh5CtL0vkW9q2Aoj22gT81RY6utRhYT7NxIkbM58QNfAJqMM0LU7+sdQFYeUyFvjV1dwaeiFgDvShCvB/AKwRvL9VJj5PMLjseju7CY9I= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715754725; c=relaxed/simple; bh=BQg61bquORavu8MsYriDV92qKhdxFMxGmmHo5YhMMDA=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=hBm6Nd+wd23DEIDCjdLlgan439f5IG0HX6zf6UgRh7epLKke3tgv0ldUCVYb872nwN4FqK27Fohqh6fiwbHJSiefkVoZ3Xu5V6bOOoRaHYDgL8W1wOWMsb99vboMzJZSap+TH9HCX9rteSrR0rpZtygcYqKYFv8dQ+yxuo1IfWk= 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=1715754721; x=1747290721; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=BQg61bquORavu8MsYriDV92qKhdxFMxGmmHo5YhMMDA=; b=MulGAvQtumhCitofEKT3E5HzUKeq5hGUSw/mfErvmul8YMtVEMNoJ+jH 73S+USFAhrjfkcTAeGGUEhHG8b8kQcYb8jxyieNDpdFdCWSKYzJ9tDO5f LZBArQ89MBMG/zbWcLtMexkrtZjHIOT63lpVIjNph68rJwiyY1OQaIzTV uzDwQJ2gABKnGpRL5vlB/voiMjzTG7byeOhsHRh6jS+zoC0E6pJFXyOYQ RGCR17al2BWniwi+WU3gJgjHh6DdBcrQq435ukzp9045xXFBJEv4gU451 ZRziEiD5T+G2Phq3FkiktOaKOGtdDE3n/zhWC/x7L7R8jjEr0f6+/B2VV A==; X-CSE-ConnectionGUID: Uc+6p4WWR+SEfY3QbtwmnA== X-CSE-MsgGUID: feSVBrHhQRiIpvtuaQWjUQ== X-IronPort-AV: E=McAfee;i="6600,9927,11073"; a="34293627" X-IronPort-AV: E=Sophos;i="6.08,161,1712646000"; d="scan'208";a="34293627" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 May 2024 23:32:00 -0700 X-CSE-ConnectionGUID: uCUuMNmJTmySZF1Lq49EtA== X-CSE-MsgGUID: v6PRX6lGQj+bJn213VoBAw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,161,1712646000"; d="scan'208";a="31521594" Received: from scymds04.sc.intel.com ([10.82.73.238]) by orviesa007.jf.intel.com with ESMTP; 14 May 2024 23:32:00 -0700 Received: from shgcc10.sh.intel.com (unknown [10.239.85.189]) by scymds04.sc.intel.com (Postfix) with ESMTP id 843082003A88; Tue, 14 May 2024 23:31:59 -0700 (PDT) From: "Cui, Lili" <lili.cui@intel.com> To: binutils@sourceware.org Cc: hjl.tools@gmail.com, jbeulich@suse.com Subject: [PATCH 0/2] Support APX zero-upper Date: Wed, 15 May 2024 14:31:56 +0800 Message-Id: <20240515063158.3960697-1-lili.cui@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, 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: binutils@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils mailing list <binutils.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/binutils>, <mailto:binutils-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/binutils/> List-Post: <mailto:binutils@sourceware.org> List-Help: <mailto:binutils-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/binutils>, <mailto:binutils-request@sourceware.org?subject=subscribe> Errors-To: binutils-bounces+patchwork=sourceware.org@sourceware.org |
Series |
Support APX zero-upper
|
|
Message
Cui, Lili
May 15, 2024, 6:31 a.m. UTC
A bug was found when adding operand %ah to an invalid test case, so patch 1/2 was added to fix it. And made the following changes to the old patch. 1. Removed two redundant judgment codes in zu. 2. Added various types of register sizes in invalid test cases (found a bug about AH/BH/CH/DH). 3. Removed IMUL_Fixup and added a macros 'ZU' for imul and setcc in EVEX format. 4. Added VexWIG to EVEX format setzu/set to remove an ugly judgement. 5. Added more test cases for imulzu and setzu. *** BLURB HERE *** Cui, Lili (2): Add check for 8-bit old registers in EVEX format Support APX zero-upper gas/config/tc-i386.c | 17 ++- gas/testsuite/gas/i386/x86-64-apx-inval.l | 3 + gas/testsuite/gas/i386/x86-64-apx-inval.s | 2 + gas/testsuite/gas/i386/x86-64-apx-zu-intel.d | 78 +++++++++++++ gas/testsuite/gas/i386/x86-64-apx-zu-inval.l | 25 +++++ gas/testsuite/gas/i386/x86-64-apx-zu-inval.s | 28 +++++ gas/testsuite/gas/i386/x86-64-apx-zu.d | 78 +++++++++++++ gas/testsuite/gas/i386/x86-64-apx-zu.s | 73 ++++++++++++ gas/testsuite/gas/i386/x86-64.exp | 3 + opcodes/i386-dis-evex-prefix.h | 112 +++++++++++++++++++ opcodes/i386-dis-evex.h | 36 +++--- opcodes/i386-dis.c | 35 ++++++ opcodes/i386-gen.c | 1 + opcodes/i386-opc.h | 4 + opcodes/i386-opc.tbl | 6 + 15 files changed, 481 insertions(+), 20 deletions(-) create mode 100644 gas/testsuite/gas/i386/x86-64-apx-zu-intel.d create mode 100644 gas/testsuite/gas/i386/x86-64-apx-zu-inval.l create mode 100644 gas/testsuite/gas/i386/x86-64-apx-zu-inval.s create mode 100644 gas/testsuite/gas/i386/x86-64-apx-zu.d create mode 100644 gas/testsuite/gas/i386/x86-64-apx-zu.s