qemu-devel
[Top][All Lists]
Advanced

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

[PULL 1/4] remove unnecessary ifdef TARGET_RISCV64


From: Palmer Dabbelt
Subject: [PULL 1/4] remove unnecessary ifdef TARGET_RISCV64
Date: Thu, 14 Nov 2019 20:41:01 -0800

From: "hiroyuki.obinata" <address@hidden>

Signed-off-by: Hiroyuki Obinata <address@hidden>
Signed-off-by: Palmer Dabbelt <address@hidden>
---
 target/riscv/translate.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/target/riscv/translate.c b/target/riscv/translate.c
index b26533d4fd78..ab6a891dc381 100644
--- a/target/riscv/translate.c
+++ b/target/riscv/translate.c
@@ -64,12 +64,10 @@ static const int tcg_memop_lookup[8] = {
     [0] = MO_SB,
     [1] = MO_TESW,
     [2] = MO_TESL,
+    [3] = MO_TEQ,
     [4] = MO_UB,
     [5] = MO_TEUW,
-#ifdef TARGET_RISCV64
-    [3] = MO_TEQ,
     [6] = MO_TEUL,
-#endif
 };
 #endif
 
-- 
2.21.0




reply via email to

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