|
From: | Richard Henderson |
Subject: | Re: [PATCH v4 07/14] target/riscv: Add instructions of the Zbc-extension |
Date: | Mon, 23 Aug 2021 11:29:48 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 8/23/21 11:11 AM, Philipp Tomsich wrote:
+ /* ... then shift the result 1 bit to the right. */ + TCGv dst = tcg_temp_new(); + gen_get_gpr(dst, a->rd); + tcg_gen_shri_tl(dst, dst, 1); + gen_set_gpr(a->rd, dst); + tcg_temp_free(dst);
Missed review changes from v3: static void gen_clmulh(TCGv dst, TCGv src1, TCGv src2) { gen_helper_clmulr(dst, src1, src2); tcg_gen_shri_tl(dst, dst, 1); } r~
[Prev in Thread] | Current Thread | [Next in Thread] |