From patchwork Tue Aug 31 11:17:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: liuhongt X-Patchwork-Id: 1522540 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=OKty4Gup; dkim-atps=neutral Received: from sourceware.org (ip-8-43-85-97.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 (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GzPqn2G1Zz9sSs for ; Tue, 31 Aug 2021 21:20:20 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 649623858013 for ; Tue, 31 Aug 2021 11:20:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 649623858013 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1630408817; bh=+4xVIFtOrO16MnAAN1pVoZSlRmygY1zL7/tbVPv5GEM=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=OKty4GupgJawNL6IfkEkidotlm23Q2m9R7Sd0LCOeU5aor7E78ePnQP4bf0K9jRaG d2MscMoUgkF9zzm88aXE00/TQvbZUoeFZdOyZqxxpr1QMOzKZ6RRjjYU67a4uWnnLu 6/AhBnUI1R5GM8JAx28GY5jpzva56RTULaQnjVLU= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by sourceware.org (Postfix) with ESMTPS id 37ECE385842A for ; Tue, 31 Aug 2021 11:18:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 37ECE385842A X-IronPort-AV: E=McAfee;i="6200,9189,10092"; a="304027041" X-IronPort-AV: E=Sophos;i="5.84,366,1620716400"; d="scan'208";a="304027041" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Aug 2021 04:17:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,366,1620716400"; d="scan'208";a="509908563" Received: from scymds01.sc.intel.com ([10.148.94.138]) by orsmga001.jf.intel.com with ESMTP; 31 Aug 2021 04:17:51 -0700 Received: from shliclel219.sh.intel.com (shliclel219.sh.intel.com [10.239.236.219]) by scymds01.sc.intel.com with ESMTP id 17VBHnAb029757; Tue, 31 Aug 2021 04:17:50 -0700 To: gcc-patches@gcc.gnu.org Subject: [PATCH 0/2] Get rid of all float-int special cases in validate_subreg. Date: Tue, 31 Aug 2021 19:17:47 +0800 Message-Id: <20210831111749.1530591-1-hongtao.liu@intel.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, KAM_DMARC_NONE, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KAM_SHORT, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no 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: liuhongt via Gcc-patches From: liuhongt Reply-To: liuhongt Cc: richard.sandiford@arm.com Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" Hi: There's 2 patches, the first patch revert my r12-3218 which caused ICE in PR102133, the second one remove all float-int special cases in validate_subreg as suggested in [1]. Bootstrapped and regtested on x86_64-linux-gnu{-m32,}. Ok for trunk? PS: I am building SPEC2017 and eembc to see whether binaries are the same as HEAD~2, i guess they're the same. [1] https://gcc.gnu.org/pipermail/gcc-patches/2021-August/578189.html. liuhongt (2): Revert "Make sure we're playing with integral modes before call extract_integral_bit_field." Get rid of all float-int special cases in validate_subreg. gcc/emit-rtl.c | 40 ------------------- gcc/expmed.c | 103 ++++++++++++------------------------------------- 2 files changed, 25 insertions(+), 118 deletions(-)