From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by sourceware.org (Postfix) with ESMTPS id 110B73858CDB for ; Fri, 28 Apr 2023 22:10:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 110B73858CDB 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-pf1-x42b.google.com with SMTP id d2e1a72fcca58-64115eef620so15732503b3a.1 for ; Fri, 28 Apr 2023 15:10:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682719854; x=1685311854; 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=Zcpyqebf5cyPZ5i65WXEAF2Yc/Ep8No8ehvEngbs+CQ=; b=UK64jmWyAnOM3yaEDMcERWWtS7pIzNuvA8iTHVPgarxY3A09VKJ8tAERrZ/j36vCQQ kQP+EeCQTiBQUWMJ9uo53EMU6WK8MLu2R30YhVHmv5xBXUtuy+QLP4Wadrw/MAJX1UJU dQue3tdYXLjqw6lvxdROSkd3TNwyDuW9fSE6vCLIH6y8wBtmYErhKxCh3kw6Dfpi5e29 ERFx1eC74guJqM6z0MNSQtuvsgeaAy9PjMrfiV4RwZC+XwVXNnfcj+RRumoOzHGvtYi1 7tToBOcTIUfcLVALeqNLN8dCvmYJi60cFwNrmKigtaqXYofVDT+p8ubqc/nAAIGL6hG3 D52g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682719854; x=1685311854; 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=Zcpyqebf5cyPZ5i65WXEAF2Yc/Ep8No8ehvEngbs+CQ=; b=jsSE3Ajj7p4UkRj/l4KlOo7HmEIYGMG02UOzBHY9Lgp6ug4YmoedzP8wLkxITugK7S OfjD5SLuYTi97jO1NFqayFNmhEs12ukF+VN5ecXIF/S0cMTdBDGhZ5x91aG1nkoCXpl+ JkPTmaESNFgDLIjyMBMWPUBl/RHIXrLV1a+jcU2iU8rw7SD4RHCfQoeWh0yW7AscmxOM tY03ay02o//1HQUNr5c2hkBX2jfXeYsxkhgmx/0gTrgXDEqD0L3qIL2cp5/yMlH3yuqh iQh8Pp06XVHoytKvZUx7TyK6/g4N8yG2BniliVZQgc0EEohmxs6jXq1NbXr/1IDThWGS mCSQ== X-Gm-Message-State: AC+VfDwVlqnYY2X3Cui4/OJFQ/uNIMlwp8Dv5akM6yt+PGRN1S8+l8wj 8mP0vw18KUzzblpqcYSURxM= X-Google-Smtp-Source: ACHHUZ5cMVCrsCIzXldC2qc7x3GAE2O0K2BO6iKVHh7iQPBwUh5zKEw3a3IIsb99dAlkzSBplBZyRQ== X-Received: by 2002:a05:6a00:23d5:b0:63b:8963:d952 with SMTP id g21-20020a056a0023d500b0063b8963d952mr7762225pfc.17.1682719853440; Fri, 28 Apr 2023 15:10:53 -0700 (PDT) Received: from ?IPV6:2601:681:8600:13d0::99f? ([2601:681:8600:13d0::99f]) by smtp.gmail.com with ESMTPSA id n47-20020a056a000d6f00b0063f18ae1d84sm13881655pfv.202.2023.04.28.15.10.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 28 Apr 2023 15:10:52 -0700 (PDT) Message-ID: Date: Fri, 28 Apr 2023 16:10:51 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH v3 3/4] ree: Main functionality to Improve ree pass for rs6000 target Content-Language: en-US To: Ajit Agarwal , gcc-patches Cc: Segher Boessenkool , Peter Bergner , Jakub Jelinek , Richard Biener References: <12889922-0160-a036-7dbf-1d208e353f82@linux.ibm.com> <7834f9e4-6ea3-8131-72ad-be6b37e5432f@gmail.com> <760bf382-856c-e6cd-25ec-9a3086b1a344@linux.ibm.com> From: Jeff Law In-Reply-To: <760bf382-856c-e6cd-25ec-9a3086b1a344@linux.ibm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.3 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 4/20/23 15:03, Ajit Agarwal wrote: > > Currently I support AND with const1_rtx. This is what is equivalent to zero extension instruction in power instruction set. When you specify many other constants and Could you please specify what other constants needs to be supported and how to determine on the Input and output modes. x AND will result in a zero-extended representation for a variety of constants, not just 1. For example For example x AND 3, x AND 7, x AND 15, etc. If (const_int 1) is really that special here, then I've either completely misunderstood the intention of your patch or there's something quite special about the PPC port that I'm not aware of. Jeff