|
| From: | Richard Henderson |
| Subject: | Re: [PATCH v6 13/16] target/riscv: implement zicfiss instructions |
| Date: | Thu, 22 Aug 2024 10:57:10 +1000 |
| User-agent: | Mozilla Thunderbird |
On 8/22/24 07:50, Deepak Gupta wrote:
--- a/target/riscv/insn_trans/trans_rva.c.inc +++ b/target/riscv/insn_trans/trans_rva.c.inc @@ -18,6 +18,8 @@ * this program. If not, see <http://www.gnu.org/licenses/>. */+#include "exec/memop.h"+
Why? This will have been done long ago, within the includes of translate.c, the parent of this file.
+static bool trans_ssrdp(DisasContext *ctx, arg_ssrdp *a)
+{
+ if (!ctx->bcfi_enabled || a->rd == 0) {
+ return false;
+ }
+
+ TCGv dest = tcg_temp_new();
dest = dest_gpr(ctx, a->rd); r~
| [Prev in Thread] | Current Thread | [Next in Thread] |