summary refs log tree commit diff stats
path: root/tcg/riscv/tcg-target-has.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-01-10 21:46:38 -0800
committerRichard Henderson <richard.henderson@linaro.org>2025-04-28 13:40:16 -0700
commit613b571c93db4cec7d0023b857c1b857af7a3324 (patch)
tree3a68fb493eb2476a05d1be2b11e8b621231d1f24 /tcg/riscv/tcg-target-has.h
parent7498d882cbe39ae7df4315ea006830e640f0d47b (diff)
downloadfocaccia-qemu-613b571c93db4cec7d0023b857c1b857af7a3324.tar.gz
focaccia-qemu-613b571c93db4cec7d0023b857c1b857af7a3324.zip
tcg: Convert bswap64 to TCGOutOpUnary
Use TCGOutOpUnary instead of TCGOutOpBswap because the
flags are not used with this opcode; they are merely
present for uniformity with the smaller bswaps.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/riscv/tcg-target-has.h')
-rw-r--r--tcg/riscv/tcg-target-has.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tcg/riscv/tcg-target-has.h b/tcg/riscv/tcg-target-has.h
index fbe294474a..88fadc2428 100644
--- a/tcg/riscv/tcg-target-has.h
+++ b/tcg/riscv/tcg-target-has.h
@@ -17,7 +17,6 @@
 
 #define TCG_TARGET_HAS_extract2_i64     0
 #define TCG_TARGET_HAS_extr_i64_i32     1
-#define TCG_TARGET_HAS_bswap64_i64      (cpuinfo & CPUINFO_ZBB)
 #define TCG_TARGET_HAS_add2_i64         1
 #define TCG_TARGET_HAS_sub2_i64         1