Message ID | 20190218183657.16296-38-hjl.tools@gmail.com |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-return-496563-incoming=patchwork.ozlabs.org@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-496563-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="XYpMqd4G"; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="uPAbAASK"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 443CYP21xjz9s1l for <incoming@patchwork.ozlabs.org>; Tue, 19 Feb 2019 05:48:09 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; q=dns; s=default; b=AZj F7+8uXvFWPbhS3corESMVl6+fOy3XtsPYOw6gmLqsb70dzAA9VL4yOS2IL1vogxM NIyG63I/50WdSXNlKOqU3amPLng6Ruw9F5kx636JsRTSvqzk7iBeNh/3rUtfz0vI v6dWnwiQCg5z6B5OXeM/Cx/PYgOJrxanynlEawJU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=default; bh=gfq2REH/1 2xLrVdkJbvDcHmHEMo=; b=XYpMqd4GVTyvu58JiHUSz+t74rcO+u5SRCWdplNzD RiZyWUU7Jj77otnkRT7k/uTmGfCn1wQ1VcicE4fV0LKzwyx0Z0dTd01W0B7P6bIe HGOeD7bLr4OHiiKwrQ7AyewiIxUBOYLpXdBBrfBL9ZVs3PvEx+Mf5DxaqEo8Ef13 Gs= Received: (qmail 94656 invoked by alias); 18 Feb 2019 18:44:46 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-patches.gcc.gnu.org> List-Unsubscribe: <mailto:gcc-patches-unsubscribe-incoming=patchwork.ozlabs.org@gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-help@gcc.gnu.org> Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 91962 invoked by uid 89); 18 Feb 2019 18:44:26 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=ym, HContent-Transfer-Encoding:8bit X-HELO: mail-pl1-f170.google.com Received: from mail-pl1-f170.google.com (HELO mail-pl1-f170.google.com) (209.85.214.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 18 Feb 2019 18:44:24 +0000 Received: by mail-pl1-f170.google.com with SMTP id g9so9162989plo.3 for <gcc-patches@gcc.gnu.org>; Mon, 18 Feb 2019 10:44:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VGStokMiO6ckgh65OGGy6XHu94J8/amfgQRi66R3GEg=; b=uPAbAASKuZYMyLUF5H5m1ddMF2g+40yx1X60t9soFB63cNVNe1980FM26j638agq6J vR44aerQJBYAYiSL9qzODezUQDCvE+KwPVpzv0Jg592D0+mN7WxRTtCRLxCqoXRpjgTv pQVUanI/qyKIByWVPkit8+MGWE8W6VZsSEpDMfRxsPPUnONf8MB3v2cLQHR3QglLZWpe Miv5JRsXOKQmxrSsQITIRpq6PtS+o1Rel3DKBNiILDJchYgMgbltY6PW4dfzCV/tiQSZ Cx2UYVTT5MjpHfoTn7G+obC/Ao5fnwNVAf4mZYujBMuQ8kE4q3t7eHZmy27Pgc9LgeN8 QaYQ== Received: from gnu-cfl-2.localdomain (c-73-93-86-59.hsd1.ca.comcast.net. [73.93.86.59]) by smtp.gmail.com with ESMTPSA id m9sm11923386pfi.31.2019.02.18.10.44.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Feb 2019 10:44:19 -0800 (PST) Received: from gnu-cfl-2.hsd1.ca.comcast.net (localhost [IPv6:::1]) by gnu-cfl-2.localdomain (Postfix) with ESMTP id 43511C0364; Mon, 18 Feb 2019 10:36:59 -0800 (PST) From: "H.J. Lu" <hjl.tools@gmail.com> To: gcc-patches@gcc.gnu.org Cc: Uros Bizjak <ubizjak@gmail.com> Subject: [PATCH 37/41] i386: Allow MMXMODE moves with TARGET_MMX_WITH_SSE Date: Mon, 18 Feb 2019 10:36:53 -0800 Message-Id: <20190218183657.16296-38-hjl.tools@gmail.com> In-Reply-To: <20190218183657.16296-1-hjl.tools@gmail.com> References: <20190218183657.16296-1-hjl.tools@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes |
Series |
V9: Emulate MMX intrinsics with SSE
|
expand
|
diff --git a/gcc/config/i386/mmx.md b/gcc/config/i386/mmx.md index c48d42c7d59..b230dee521f 100644 --- a/gcc/config/i386/mmx.md +++ b/gcc/config/i386/mmx.md @@ -70,7 +70,7 @@ (define_expand "mov<mode>" [(set (match_operand:MMXMODE 0 "nonimmediate_operand") (match_operand:MMXMODE 1 "nonimmediate_operand"))] - "TARGET_MMX" + "TARGET_MMX || TARGET_MMX_WITH_SSE" { ix86_expand_vector_move (<MODE>mode, operands); DONE; @@ -81,7 +81,7 @@ "=r ,o ,r,r ,m ,?!y,!y,?!y,m ,r ,?!y,v,v,v,m,r,v,!y,*x") (match_operand:MMXMODE 1 "nonimm_or_0_operand" "rCo,rC,C,rm,rC,C ,!y,m ,?!y,?!y,r ,C,v,m,v,v,r,*x,!y"))] - "TARGET_MMX + "(TARGET_MMX || TARGET_MMX_WITH_SSE) && !(MEM_P (operands[0]) && MEM_P (operands[1]))" { switch (get_attr_type (insn)) @@ -207,7 +207,7 @@ (define_expand "movmisalign<mode>" [(set (match_operand:MMXMODE 0 "nonimmediate_operand") (match_operand:MMXMODE 1 "nonimmediate_operand"))] - "TARGET_MMX" + "TARGET_MMX || TARGET_MMX_WITH_SSE" { ix86_expand_vector_move (<MODE>mode, operands); DONE;