From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by sourceware.org (Postfix) with ESMTPS id AA1CB3858D37 for ; Tue, 14 Mar 2023 14:50:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AA1CB3858D37 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-pj1-x102e.google.com with SMTP id 6-20020a17090a190600b00237c5b6ecd7so20571782pjg.4 for ; Tue, 14 Mar 2023 07:50:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678805456; 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=x14fCWzIelSreR2kwmw39pXjizWL0Fka4ysPwoyBbug=; b=qoMEDDtYP7GEdyz6/R/mVkHwX/XR+2+rTZFqYHDnp0hPzOyaCoeD+oY5fL8cxaBirP sZk+gzZO/fvDhPuk2nD4HzLmcNrV6NF/8tU0zXT3QY6KxPaalIYVpy8F+lQ/GyMsRiMS bmfKKaZqGgNPhg54fsAPND3nZmzXCadnDzDkFZVb+OXg9WlBr+Z0MBFPXp4iZmmOITFX Nh0cdy5Y5/ktaB0yMjIkCSvbMCDcVEfY+DcAVfgYvAbKc5bfYMsQ9dbtxAHunc+4sCR5 vLU7TLclhrkw+3qLKXcyadHCNN2ab9n3AYjAQQkyPOVGvpsk8MtZoJhJ42KnUug4cUI8 cdog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678805456; 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=x14fCWzIelSreR2kwmw39pXjizWL0Fka4ysPwoyBbug=; b=QWaHv1qRLl/Y2vRRWxVMU48WDzz5e3GoEH/twX+UeZ4qMKHGb8I0b5w8jDodoNeTCb rAuMG+IXWBs5znNXwLGGKlXmHXiPGFVOqHiWmc9lOcbRbxDuSy2VFe6FsbTLUU/bAmRU qqHczqQElHZwVFyqFu9r1vpJs/F7e26jLB26J4I59+jWWrSebYHQEJAVnkT7WAaWItHM 2osGAR5R6680wm7Gi1XBAo+hpuuPHJv4fXmNWN3zJZH0W7Mjt1LXl/irR5TH5tHP8OLh bhhlbSa4JOpZVyXXpnWtAHkmWSKEH1dABdrTdzZvXm29Fma8KuTdQTfnzA65ZGwMVPIo xMsw== X-Gm-Message-State: AO0yUKWbFFIj/48qhjzIxNsmy8M0v37MZn6HAh+NQIX5kkAKwpwCWIjW qwkdVp75zp9InMLbVFB2whs= X-Google-Smtp-Source: AK7set/RymYP7uaOh7JxFJcrqZ4USwTiGVTGzSbMN1SeyMctTF8apWpeZfo9VrrbIeAe8Xm7W0LJ9A== X-Received: by 2002:a17:90b:38cc:b0:237:bf05:40b with SMTP id nn12-20020a17090b38cc00b00237bf05040bmr41068542pjb.20.1678805456583; Tue, 14 Mar 2023 07:50:56 -0700 (PDT) Received: from ?IPV6:2601:681:8600:13d0::f0a? ([2601:681:8600:13d0::f0a]) by smtp.gmail.com with ESMTPSA id gl18-20020a17090b121200b0023493354f37sm1846224pjb.26.2023.03.14.07.50.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Mar 2023 07:50:56 -0700 (PDT) Message-ID: <538e4a8e-f5f1-d625-c589-5e679884e864@gmail.com> Date: Tue, 14 Mar 2023 08:50:55 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH] RISC-V: Fix bugs of ternary integer and floating-point ternary intrinsics. Content-Language: en-US To: Kito Cheng , juzhe.zhong@rivai.ai Cc: gcc-patches@gcc.gnu.org, kito-cheng References: <20230314022331.105558-1-juzhe.zhong@rivai.ai> From: Jeff Law In-Reply-To: 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 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 3/13/23 20:37, Kito Cheng via Gcc-patches wrote: > IIRC the canonical form of (plus (op) (mult (op) (op))) is (plus > (mult (op) (op) (op)), so using the first form might not friendly for > the combine pass. You're correct. The other form shouldn't be used at all and should not appear in the MD files. jeff