From patchwork Tue Sep 11 16:54:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 968621 Return-Path: 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-485461-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (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="ZBktSWr3"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="IeZlXb5h"; 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 428rcC5c62z9s3Z for ; Wed, 12 Sep 2018 02:54:35 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:content-type; q= dns; s=default; b=rbOiQQfoUjL0gVMcmgHkxAv55DVcdFOmDfqk7+w2Gmddap /fQT0tbx/oN6AmRHZYipYdvPpPpFz147rxW/rptrhP/lrhFULPM/KSMe39vgSpaT e2B1msnHnA6jxlWR9+Vm9pw2dj42PNgS/q4px/QOI6+2xzZg7K/6C00qcsp6E= 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 :mime-version:from:date:message-id:subject:to:content-type; s= default; bh=Mp4Ac0NxBNjLd81xVSRkXQaHWmA=; b=ZBktSWr3CyxPa6gOSJhY qcBtdVkWq30Sdngzc4rxPHxfg4vK+n8HGKRoDyO8/hpjws9n51FYtfgfNrBeJBsn LjDtTB/4slQC2q/+DgD4+VhVoj5E+4Ppd7nrOjsxpZqEQYWY9ncjBwKe3D5ciFQJ W35JNwrcg0m9mTP/srr3n/Q= Received: (qmail 84093 invoked by alias); 11 Sep 2018 16:54:28 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 84075 invoked by uid 89); 11 Sep 2018 16:54:27 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.3 required=5.0 tests=AWL, 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= X-HELO: mail-io0-f171.google.com Received: from mail-io0-f171.google.com (HELO mail-io0-f171.google.com) (209.85.223.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 11 Sep 2018 16:54:26 +0000 Received: by mail-io0-f171.google.com with SMTP id r196-v6so4161151iod.0 for ; Tue, 11 Sep 2018 09:54:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=mljTrd+/UbbKZegv03/RoSgsm8Opicdsp+QKbEDjTjc=; b=IeZlXb5h20jnlyLZUpgNr0i6S2v/8R2O7PYwR0YMLaDH7KaYmjcqR0ifvLnHI7Yl62 kC4LCTpQ7zeYtXpOIUI57voVoanVq/39xg6Kfa5l9D+oOsskiU3/4ik2wRYvWoQoiph1 x7jgNmkv7MDfR/omtquJBOJLIk5r0R0hAUv25jEfNkj/dvhpIEoSJwcsUUoxpI2kruGg YKgKKu7k1EX8Vug6tWJVocF8yzU1ibFArA4T09ssJ8G5Lhn+uEouFuqyGpqYXx4IuybC USwPDkjXB0oSl8qhXw6XAw8RuUAt6xqAoSgWvKAeSwHRV3OIJC1BPWIIEHZmUe2+VEV9 1/iw== MIME-Version: 1.0 Received: by 2002:a02:56d5:0:0:0:0:0 with HTTP; Tue, 11 Sep 2018 09:54:23 -0700 (PDT) From: Uros Bizjak Date: Tue, 11 Sep 2018 18:54:23 +0200 Message-ID: Subject: [PATCH, i386]: Remove some remaining mpx type attributes To: "gcc-patches@gcc.gnu.org" 2018-09-11 Uros Bizjak * config/i386/i386.md (define_attr "type"): Remove mpxmov, mpxmk, mpxchk, mpxld and mpxst types. (define_attr length_immediate): Remove all processing of mpx types. (define_attr prefix_0f): Ditto. (define_attr memory): Ditto. Patch was bootstrapped and regression tested on x86_64-linux-gnu {,-m32}. Committed to mainline SVN. Uros. diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 4a0a508e2b5..1e7241c87c2 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -453,8 +453,7 @@ ssecvt,ssecvt1,sseicvt,sseins, sseshuf,sseshuf1,ssemuladd,sse4arg, lwp,mskmov,msklog, - mmx,mmxmov,mmxadd,mmxmul,mmxcmp,mmxcvt,mmxshft, - mpxmov,mpxmk,mpxchk,mpxld,mpxst" + mmx,mmxmov,mmxadd,mmxmul,mmxcmp,mmxcvt,mmxshft" (const_string "other")) ;; Main data type used by the insn @@ -483,8 +482,7 @@ ;; The (bounding maximum) length of an instruction immediate. (define_attr "length_immediate" "" (cond [(eq_attr "type" "incdec,setcc,icmov,str,lea,other,multi,idiv,leave, - bitmanip,imulx,msklog,mskmov,mpxmk,mpxmov,mpxchk, - mpxld,mpxst") + bitmanip,imulx,msklog,mskmov") (const_int 0) (eq_attr "unit" "i387,sse,mmx") (const_int 0) @@ -545,8 +543,7 @@ ;; Set when 0f opcode prefix is used. (define_attr "prefix_0f" "" (if_then_else - (ior (eq_attr "type" "imovx,setcc,icmov,bitmanip,msklog,mskmov, - mpxmk,mpxmov,mpxchk,mpxld,mpxst") + (ior (eq_attr "type" "imovx,setcc,icmov,bitmanip,msklog,mskmov") (eq_attr "unit" "sse,mmx")) (const_int 1) (const_int 0))) @@ -695,16 +692,12 @@ (define_attr "memory" "none,load,store,both,unknown" (cond [(eq_attr "type" "other,multi,str,lwp") (const_string "unknown") - (eq_attr "type" "lea,fcmov,fpspc,mpxmk,mpxchk") + (eq_attr "type" "lea,fcmov,fpspc") (const_string "none") (eq_attr "type" "fistp,leave") (const_string "both") (eq_attr "type" "frndint") (const_string "load") - (eq_attr "type" "mpxld") - (const_string "load") - (eq_attr "type" "mpxst") - (const_string "store") (eq_attr "type" "push") (if_then_else (match_operand 1 "memory_operand") (const_string "both") @@ -750,7 +743,7 @@ fmov,fcmp,fsgn, sse,ssemov,ssecmp,ssecomi,ssecvt,ssecvt1,sseicvt, sselog1,sseshuf1,sseadd1,sseiadd1,sseishft1, - mmx,mmxmov,mmxcmp,mmxcvt,mskmov,msklog,mpxmov") + mmx,mmxmov,mmxcmp,mmxcvt,mskmov,msklog") (match_operand 2 "memory_operand")) (const_string "load") (and (eq_attr "type" "icmov,ssemuladd,sse4arg")