qemu/fix-compilation-errors-of-sw64-architecture-on-x86-p.patch
yezengruan e9095b76ae Qemu update to version 6.2.0-55
- support dirty restraint on vCPU
- support SPR AMX in Qemu
- fix compilation errors of sw64

Signed-off-by: yezengruan <yezengruan@huawei.com>
2022-11-04 09:59:34 +08:00

26 lines
754 B
Diff

From 58471cd8dcf8e6a66113ddf9bb4ac45c89bbd57b Mon Sep 17 00:00:00 2001
From: lifeng 71117973 <lif121@chinatelecom.cn>
Date: Wed, 2 Nov 2022 11:19:55 +0800
Subject: [PATCH 1/2] fix compilation errors of sw64 architecture on x86
platform
---
target/sw64/float_helper.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/target/sw64/float_helper.c b/target/sw64/float_helper.c
index ad1c3cce48..c8e0845afc 100644
--- a/target/sw64/float_helper.c
+++ b/target/sw64/float_helper.c
@@ -653,7 +653,6 @@ void helper_ieee_input(CPUSW64State *env, uint64_t val)
{
#ifndef CONFIG_USER_ONLY
uint32_t exp = (uint32_t)(val >> 52) & 0x7ff;
- uint64_t frac = val & 0xfffffffffffffull;
if (exp == 0x7ff) {
/* Infinity or NaN. */
--
2.27.0