computing-offload/generic_vdpa/qemu/fix-compilation-errors-of-sw64-architecture-on-x86-p.patch
jiangdongxu 79c4324644 add generic_vdpa basecode
Change-Id: I2d302dda68298877c65c99147f5bf22186a59aac
2024-09-19 17:19:46 +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