From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 0CACC3856DF1 for ; Fri, 22 Sep 2023 16:03:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0CACC3856DF1 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1695398609; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YNkMgN5DlYfWd+cjQGc4jH81NjgRqNYNqqQn9kD9+ek=; b=dv4j6/zWn6FMmSM/JrzH/yalcCrUxxygBGFixayCWNW8AxPm1LHyhpAcYjDbJQu/G6v01Y +4iUfj+/avGAKlKSdkz034P1aY8ojhKPMYuP5JmA7/PLuUDsyY+5aK9/h4h4XTpUUZrlHw DPnvOeJsiDZ4z2jhhhtZWvC/bRS9VDM= Received: from mail-qv1-f72.google.com (mail-qv1-f72.google.com [209.85.219.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-619-g_vowV-8MVeUaZRs10WjFw-1; Fri, 22 Sep 2023 12:03:28 -0400 X-MC-Unique: g_vowV-8MVeUaZRs10WjFw-1 Received: by mail-qv1-f72.google.com with SMTP id 6a1803df08f44-6586292396eso21679766d6.1 for ; Fri, 22 Sep 2023 09:03:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695398606; x=1696003406; 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=YNkMgN5DlYfWd+cjQGc4jH81NjgRqNYNqqQn9kD9+ek=; b=vFuk+QQlPkYThgR31kDeyFPcGopxPnbUF8plgBR36HIX6IYLPx/O+ob/zoug5jGB9n pVEEDAmPEZ7mg7ukXaZfaPNFPZeMxO6jbZB7EwIBv1ecMJO0ef4OlVbspDO+XKfg3OQn Bqfocq0lTwate03/zAEDdoXsZEymnIzztovQh9LHlovEKI0efvthe1IDRxomjCEgH16p lxnpSkFgQSyrlzrvJ+pMox8nodOJnRLpS4SdkqQqG1dgSfoigqmUdN5wGFwgt5AJzLMn ZFxjnZ9aVo7czKRivSz6sXGL9OEWVJ95mbfJCVziCaLgNirAG5XI4H7qfBzL8b5f0XYq tywQ== X-Gm-Message-State: AOJu0YwEcvPVk/MW+P2iSG2VSkdEKdMV34nBX8s23ms8KfoQd0/JPJSb 9w79/Vz1ATH5PMULhdTv9Lqd6gGF6o+EtLb67qmwPc8bONHSXU0aTxDqYtqk4duZmC+tfsWSxs7 ouCzC7ntAzrR+PxbzaenknbRdQKvq X-Received: by 2002:a0c:dc8b:0:b0:658:6f71:1920 with SMTP id n11-20020a0cdc8b000000b006586f711920mr9230374qvk.38.1695398605953; Fri, 22 Sep 2023 09:03:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG9u2Lzc600PjilddRUsVUI2gRQ+csHPoQFNSkDvTJJ6095ZhFg/ZhjVyFpylXnWRUkuN9sRg== X-Received: by 2002:a0c:dc8b:0:b0:658:6f71:1920 with SMTP id n11-20020a0cdc8b000000b006586f711920mr9230350qvk.38.1695398605707; Fri, 22 Sep 2023 09:03:25 -0700 (PDT) Received: from [192.168.1.88] (23-233-12-249.cpe.pppoe.ca. [23.233.12.249]) by smtp.gmail.com with ESMTPSA id dy14-20020ad44e8e000000b0064cb3358338sm868437qvb.110.2023.09.22.09.03.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 22 Sep 2023 09:03:25 -0700 (PDT) Message-ID: <3ba65322-2c67-a0e8-fbcf-6b6057bd1786@redhat.com> Date: Fri, 22 Sep 2023 12:03:24 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH 02/13] [APX EGPR] middle-end: Add index_reg_class with insn argument. To: Hongyu Wang , gcc-patches@gcc.gnu.org Cc: ubizjak@gmail.com, jakub@redhat.com, Kong Lingling , Hongtao Liu References: <20230922105631.2298849-1-hongyu.wang@intel.com> <20230922105631.2298849-3-hongyu.wang@intel.com> From: Vladimir Makarov In-Reply-To: <20230922105631.2298849-3-hongyu.wang@intel.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,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 List-Id: On 9/22/23 06:56, Hongyu Wang wrote: > Like base_reg_class, INDEX_REG_CLASS also does not support backend insn. > Add index_reg_class with insn argument for lra/reload usage. > > gcc/ChangeLog: > > * addresses.h (index_reg_class): New wrapper function like > base_reg_class. > * doc/tm.texi: Document INSN_INDEX_REG_CLASS. > * doc/tm.texi.in: Ditto. > * lra-constraints.cc (index_part_to_reg): Pass index_class. > (process_address_1): Calls index_reg_class with curr_insn and > replace INDEX_REG_CLASS with its return value index_cl. > * reload.cc (find_reloads_address): Likewise. > (find_reloads_address_1): Likewise. > The patch is ok for me to commit it to the trunk.  Thank you. So all changes to the RA have been reviewed.  You just need an approval to the rest patches from an x86-64 maintainer.