qemu/fix-compilation-errors-of-sw64-architecture-on-x86-p.patch

26 lines
754 B
Diff
Raw Normal View History

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