From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) by sourceware.org (Postfix) with ESMTPS id E5B813858422 for ; Thu, 29 Jun 2023 20:58:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E5B813858422 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-54fd6aa3b0dso688969a12.2 for ; Thu, 29 Jun 2023 13:58:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688072300; x=1690664300; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Y73nz/1i8sVynQ1yeQ3RtEAk4Km9iJbIes9MFFLzYlg=; b=f+4YI1eGfb0G8VdITUQEu+TbARI+5vmVkp/uRAAmZhIOpBbjCyEtLhtBvZEc9A9IU5 zIQGEr/EEsJSciQSpkZLeeip2G/13XIykqTbq1sYK9zK8T93Wmbd7lIDpxD5LvTVG6eV WX8a9KP3MEiWNsAkyhsgVtM1e+Bzif35+VPqciZl7TNnCqg66yb5H69HRNl61xnj24gq WkLkdICN5uydNnSlMGT0rsuo0mOycJB5yKz6VWHzO1Qpp/f6SOw/8zKFkOYbtZDiiOr7 YoCNxG8ec15ZZ7UMXqQUVA9KOdnpWaNP93LZe4PLO9ErHA3+hUUsRdacXbimRLJChuVb Z4yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688072300; x=1690664300; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Y73nz/1i8sVynQ1yeQ3RtEAk4Km9iJbIes9MFFLzYlg=; b=O0T1XCAJszpLYyq1oa3hH5Nls7425fRYNDbXpFEd0GV/5g8LCG+rJfitXIfE1QLnL4 56OYUcqmnGr8YopOqMhyVhKxQkwOanzSzziBV9ocl26kt4S9H56Cs4oNYfmVtm8W9y4j 6I2T3hEGSl6AeLJxZVr0T/RkoadZO/pLmTFqH8Ue/1e4sSdnJMvubIbtxsnS22XJdW9S Q+Un+mzCI4N+khnK6YqvKmGDzlrc8kx838cuxvjfEE4zYlXz0m/YvRQSAj0IrQytj0NV aAPrOD/r+seddJgqiVlJn01u1TgWipa02pdEboo8t+X8cKfRMel3dMKT+sxiH/wbieLV R9Aw== X-Gm-Message-State: AC+VfDyjlA61o9iDU5FWPukbgh6tqo72nInfZeKGx5WOf9q/1GHDJUp3 4lH9Ev20lzrVBrPquVeUoEY= X-Google-Smtp-Source: ACHHUZ4CRB8avbovJkxBLbqTOaTGjFwaTIbpQkjMbCAFpsDnOhYygLdQiyWj6XCyQcyg2w7gMdqAjg== X-Received: by 2002:a05:6a20:440d:b0:126:92de:ad6d with SMTP id ce13-20020a056a20440d00b0012692dead6dmr645489pzb.32.1688072299388; Thu, 29 Jun 2023 13:58:19 -0700 (PDT) Received: from [172.31.0.109] ([136.36.130.248]) by smtp.gmail.com with ESMTPSA id j11-20020a63ec0b000000b00502f4c62fd3sm9274000pgh.33.2023.06.29.13.58.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Jun 2023 13:58:18 -0700 (PDT) Message-ID: <55c1081c-73bc-dbba-f205-3b5e8f00ac84@gmail.com> Date: Thu, 29 Jun 2023 14:58:17 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v1] RISC-V: Refactor vxrm_mode attr for type attr equal Content-Language: en-US To: pan2.li@intel.com, gcc-patches@gcc.gnu.org Cc: juzhe.zhong@rivai.ai, kito.cheng@sifive.com, yanzhang.wang@intel.com References: <20230629060054.617743-1-pan2.li@intel.com> From: Jeff Law In-Reply-To: <20230629060054.617743-1-pan2.li@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 6/29/23 00:00, pan2.li@intel.com wrote: > From: Pan Li > > This patch would like to refactor the vxrm_mode attr for duplicated > eq_attr condition. The common condition of attr is extraced to one > place instead of many places. > > Signed-off-by: Pan Li > > gcc/ChangeLog: > > * config/riscv/vector.md: Refactor the common condition. OK jeff