qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 2/8] target/riscv: add support for Zca and Zcf extensions


From: Richard Henderson
Subject: Re: [PATCH v2 2/8] target/riscv: add support for Zca and Zcf extensions
Date: Mon, 14 Nov 2022 07:40:12 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 11/13/22 12:32, Weiwei Li wrote:
+        } else if ((get_xl_max(ctx) == MXL_RV32) &&
+            !ctx->cfg_ptr->ext_zcf &&
+            (((opcode & 0xe003) == 0x6000) ||
+             ((opcode & 0xe003) == 0x6002) ||
+             ((opcode & 0xe003) == 0xe000) ||
+             ((opcode & 0xe003) == 0xe002))) {
              gen_exception_illegal(ctx);

Why aren't you using the same c_flw solution that you do for Zcd?


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]