qemu-devel
[Top][All Lists]
Advanced

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

Re: [RFC PATCH v2 04/44] target/loongarch: Add CHECK_SXE maccro for chec


From: gaosong
Subject: Re: [RFC PATCH v2 04/44] target/loongarch: Add CHECK_SXE maccro for check LSX enable
Date: Wed, 29 Mar 2023 10:28:44 +0800
User-agent: Mozilla/5.0 (X11; Linux loongarch64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0


在 2023/3/29 上午3:42, Richard Henderson 写道:
On 3/27/23 20:05, Song Gao wrote:
--- a/target/loongarch/cpu.c
+++ b/target/loongarch/cpu.c
@@ -52,6 +52,7 @@ static const char * const excp_names[] = {
      [EXCCODE_FPE] = "Floating Point Exception",
      [EXCCODE_DBP] = "Debug breakpoint",
      [EXCCODE_BCE] = "Bound Check Exception",
+    [EXCCODE_SXD] = "128 bit vector instructions Disable exception",
  };
    const char *loongarch_exception_name(int32_t exception)
@@ -187,6 +188,7 @@ static void loongarch_cpu_do_interrupt(CPUState *cs)
      case EXCCODE_FPD:
      case EXCCODE_FPE:
      case EXCCODE_BCE:
+    case EXCCODE_ASXD:

SXD?

Oh,  Should be SXD.
From what little documentation is present in Volume 1, ASXD appears to be for a 256-bit vector extension?

Yes.

Thanks.
Song Gao




reply via email to

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