Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1kpbZd-00073g-BL for mharc-qemu-riscv@gnu.org; Wed, 16 Dec 2020 13:30:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35890) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kpbZc-00071l-1F for qemu-riscv@nongnu.org; Wed, 16 Dec 2020 13:30:52 -0500 Received: from mail-oi1-x22d.google.com ([2607:f8b0:4864:20::22d]:43800) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kpbZY-0001ZT-Sp for qemu-riscv@nongnu.org; Wed, 16 Dec 2020 13:30:51 -0500 Received: by mail-oi1-x22d.google.com with SMTP id q25so28598882oij.10 for ; Wed, 16 Dec 2020 10:30:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=edvCumAF1YT2/zB80ax6vbZoo4BbP6LxNmFIFOvMYLQ=; b=A91IzgyrnhTtAioexEykevWKrwTTpnRP4X6vBJY8ZjYC5xc0/QxoGjxkrbrw7rrLuL 3OLAOt3wOz605D6g3ogqouWHJFIXN+8HWz+J97gr1VxVsdXsnZ585lxj0owC+j/OnimO kX82sj47Mo07V7BWuY+3qb/+wLP8vAxIEgd+0/3LLXimAe9Id4kF0491GfnT5Oy/h+oX 8/dv9fpYsUTOt6dchHUcVBJxPXwD2sNeF6d1lvi6AGgY78yMFnBrA6WJp2w5zRe7+D0I klotvlza/WBByVCQ9q72o5BeXAW8coO1+x1izfV+Z86T+/E6LRpsOxuUXMbCMvM49Lrl qujQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=edvCumAF1YT2/zB80ax6vbZoo4BbP6LxNmFIFOvMYLQ=; b=JxpEczxxsA7hDEG7dU0fpxv+vKW7cTgdB289uq5CddxuQDNtlyIHe4KXXo5z8inQlB XkcGBRSj+L/NH1TRVpLbBQV+QS40CkWUl3UMuppcQhz35/NDsYTINq8fvaX9whZaSEn4 Z8aTm/jsshSwP7tPl1x0jchYrNMoiblLAbxGVXVEbJwmJqI2Alcm5fTaURzGiD8xmSh9 6WfnFvIAoHtmoZPCfgLymFav/+kQjlAaujsOjwy240ADiPBU1MAO6kSWj9AtbWLkZxvj amLmoRXMWD46Fdypt6DCaPJrmvZnuz2YGfOzSpRsSSRJtbRfNBsh3UvJYpyx8A/Mly46 0d1A== X-Gm-Message-State: AOAM531oidJou1qphozjuxHkeqNodQyanImlwlihY6grKeN8ipgHYlex HiW/mekwARTnc6Jen1vt8uiX3A== X-Google-Smtp-Source: ABdhPJzgyGh7NtgvKGItysLJjnvElpxCFGI3ijf0oxJkRXav2uAkMOSvEBRgZmOmypT7XR7+s34meQ== X-Received: by 2002:aca:f15:: with SMTP id 21mr2848438oip.109.1608143447733; Wed, 16 Dec 2020 10:30:47 -0800 (PST) Received: from [10.10.121.52] (fixed-187-189-51-144.totalplay.net. [187.189.51.144]) by smtp.gmail.com with ESMTPSA id v92sm606495otb.75.2020.12.16.10.30.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 16 Dec 2020 10:30:47 -0800 (PST) Subject: Re: [RFC v2 14/15] target/riscv: rvb: add/sub with postfix zero-extend To: frank.chang@sifive.com, qemu-devel@nongnu.org, qemu-riscv@nongnu.org Cc: Sagar Karandikar , Bastian Koppelmann , Alistair Francis , Palmer Dabbelt , Kito Cheng References: <20201216020150.3157-1-frank.chang@sifive.com> <20201216020150.3157-15-frank.chang@sifive.com> From: Richard Henderson Message-ID: Date: Wed, 16 Dec 2020 12:30:33 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20201216020150.3157-15-frank.chang@sifive.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2607:f8b0:4864:20::22d; envelope-from=richard.henderson@linaro.org; helo=mail-oi1-x22d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-riscv@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2020 18:30:52 -0000 On 12/15/20 8:01 PM, frank.chang@sifive.com wrote: > From: Kito Cheng > > Signed-off-by: Kito Cheng > Signed-off-by: Frank Chang > --- > target/riscv/insn32-64.decode | 3 +++ > target/riscv/insn_trans/trans_rvb.c.inc | 22 ++++++++++++++++++++++ > target/riscv/translate.c | 6 ++++++ > 3 files changed, 31 insertions(+) Subject should be add/slli as there is no sub. Otherwise, Reviewed-by: Richard Henderson r~