From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by sourceware.org (Postfix) with ESMTPS id EE6293858D35 for ; Sun, 25 Jun 2023 12:48:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EE6293858D35 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-pl1-x632.google.com with SMTP id d9443c01a7336-1b7fef01fe4so571045ad.0 for ; Sun, 25 Jun 2023 05:48:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687697289; x=1690289289; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=hmjmYKlRqbYdMKfekr7xQ6a1Em2qCgs+rQtiFdKW/9U=; b=GhFXimb+Y0WUel2VHCwNeTZx+wAP0DoEsO2AQ+gq1IRpe6ZV8emOyQTg/XG4XwtP3T VTU5zhMusvxyxsJKI0s0W85RP7Y/K0eM5WLA5mq1qNiQStkgb1Rx9FhCepa7AX99cKC2 IVPADwJn0x47k9xncGIuZXJPWf6DoAcRCOWuXSDj0a3VUzx7WxLUQaYHNrly4/Bp9cdk shqQ6FJJS9Wk35sJRyKFO97W2a+lvzNF0V9mtE3yuE5VuPehtHgE0qqnHM1Wwaw1EFtO QbOnR6R5dsMBia0Em7j2bQhcHZSDotdclOL0aoJMvfH0FCW0xdv5JbN+BGPae/sVESZh jU6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687697289; x=1690289289; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hmjmYKlRqbYdMKfekr7xQ6a1Em2qCgs+rQtiFdKW/9U=; b=TMDSIVxQAiBG70Wb8+lIWUGrvLsF2hFjDwMTUAx11lpPf6t8PUhd5VPwJUuCFErFsB KJvr9Q0CT6PIDySRcP/kHwIemuH6r8txUlaZvyYDjiAchMCEnl0rsXGRQqpLP2TgKQZ3 p45Dnd73kRhcK+JuSBAznRgUF+SowKxBohuViU2V4oOgviXlPI/X68dcPQ2Z+iciBMDq Fbb4Us0s8wjooPa7J5KQ5pPo4jOGIJM8E1350q4e93comu9KHIgX5DTv5RZR5cCfnqW8 0UdIOcmIuqDbh6TjDIM1SCxuf3JMiUWuwvI8gz3ZasefvkrtN0zPd1HhNNeDuxsdGK68 Dl1Q== X-Gm-Message-State: AC+VfDyt67SzLb0lVcdB6ZLf4EM7AD5BzDELuVXs6vZYU3OlVPXDMYXb zIC09QxcdoykKItQQCD+1sg= X-Google-Smtp-Source: ACHHUZ762s2UKH91QC28SlM5yEt3QmISDqeeJivISF6FzlI5X/5Udj71vjuXkJWbs77Tm3Bhk+igkw== X-Received: by 2002:a17:902:da8a:b0:1ac:6d4c:c24b with SMTP id j10-20020a170902da8a00b001ac6d4cc24bmr1518370plx.3.1687697288642; Sun, 25 Jun 2023 05:48:08 -0700 (PDT) Received: from [172.31.0.109] ([136.36.130.248]) by smtp.gmail.com with ESMTPSA id p11-20020a170902bd0b00b001a9b29b6759sm2436697pls.183.2023.06.25.05.48.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 25 Jun 2023 05:48:08 -0700 (PDT) Message-ID: <1234dba2-07f2-d57c-8559-68e6423defcd@gmail.com> Date: Sun, 25 Jun 2023 06:48:06 -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] internal-fn: Fix bug of BIAS argument index To: juzhe.zhong@rivai.ai, gcc-patches@gcc.gnu.org Cc: richard.sandiford@arm.com, rguenther@suse.de References: <20230625033654.1150808-1-juzhe.zhong@rivai.ai> Content-Language: en-US From: Jeff Law In-Reply-To: <20230625033654.1150808-1-juzhe.zhong@rivai.ai> 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/24/23 21:36, juzhe.zhong@rivai.ai wrote: > From: Ju-Zhe Zhong > > When trying to enable LEN_MASK_{LOAD,STORE} in RISC-V port, > I found I made a mistake in case of argument index of BIAS. > > This patch is an obvious fix, > > Ok for trunk ? > > gcc/ChangeLog: > > * internal-fn.cc (expand_partial_store_optab_fn): Fix bug of BIAS argument index. OK jeff