The QEMU project is currently moving its bug tracking to another system.
For this we need to know which bugs are still valid and which could be
closed already. Thus we are setting the bug state to "Incomplete" now.
If the bug has already been fixed in the latest upstream version of QEMU,
then
The QEMU project is currently moving its bug tracking to another system.
For this we need to know which bugs are still valid and which could be
closed already. Thus we are setting the bug state to "Incomplete" now.
If the bug has already been fixed in the latest upstream version of QEMU,
then
QEMU ships with the appropriate version of Meson included (see the
"meson" directory), that's why it is not mentioned in the README.
Anyway, does any of your build problems still persist with QEMU v6.0? Or
could we close this ticket now?
** Changed in: qemu
Status: New => Incomplete
--
The last branch recording (LBR) is a performance monitor unit (PMU)
feature on Intel processors that records a running trace of the most
recent branches taken by the processor in the LBR stack. The QEMU
could configure whether it's enabled or not for each guest via CLI.
The LBR feature would be
The new generic DEFINE_PROP_BITMASK_UINT64 could be used to ensure
that a user-provided property value complies with its bitmask rule
and the default value is recommended to be set in instance_init().
Signed-off-by: Like Xu
---
hw/core/qdev-properties.c| 19 +++
This is an automated cleanup. This bug report has been moved to QEMU's
new bug tracker on gitlab.com and thus gets marked as 'expired' now.
Please continue with the discussion here:
https://gitlab.com/qemu-project/qemu/-/issues/213
** Changed in: qemu
Status: Confirmed => Expired
**
This is an automated cleanup. This bug report has been moved to QEMU's
new bug tracker on gitlab.com and thus gets marked as 'expired' now.
Please continue with the discussion here:
https://gitlab.com/qemu-project/qemu/-/issues/214
** Changed in: qemu
Status: Confirmed => Expired
**
This is an automated cleanup. This bug report has been moved to QEMU's
new bug tracker on gitlab.com and thus gets marked as 'expired' now.
Please continue with the discussion here:
https://gitlab.com/qemu-project/qemu/-/issues/215
** Changed in: qemu
Status: Confirmed => Expired
**
This is an automated cleanup. This bug report has been moved to QEMU's
new bug tracker on gitlab.com and thus gets marked as 'expired' now.
Please continue with the discussion here:
https://gitlab.com/qemu-project/qemu/-/issues/217
** Changed in: qemu
Status: Confirmed => Expired
**
This is an automated cleanup. This bug report has been moved to QEMU's
new bug tracker on gitlab.com and thus gets marked as 'expired' now.
Please continue with the discussion here:
https://gitlab.com/qemu-project/qemu/-/issues/216
** Changed in: qemu
Status: Confirmed => Expired
**
** Changed in: qemu
Status: Incomplete => New
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/118
Title:
Multi-queue vhost-user fails to reconnect with qemu version >=4.2
Status in QEMU:
The QEMU project is currently moving its bug tracking to another system.
For this we need to know which bugs are still valid and which could be
closed already. Thus we are setting the bug state to "Incomplete" now.
If the bug has already been fixed in the latest upstream version of QEMU,
then
Thanks, I've reported it on the mailing list, and a patch has now been posted
here:
https://lists.gnu.org/archive/html/qemu-devel/2021-05/msg02106.html
** Changed in: qemu
Status: New => In Progress
** Changed in: qemu
Importance: Undecided => High
--
You received this bug
On 07/05/2021 17.53, Jagannathan Raman wrote:
Fixes an if statement that performs a logical AND of mutually exclusive
tests
Reported-by: Thomas Huth
I just spotted the bug ticket on Launchpad :-) So whoever picks this patch
up, please add this instead:
Buglink:
❦ 3 mai 2021 15:42 -04, Michael S. Tsirkin:
>> >> +/*
>> >> + * We only handle the case were the device is attached to
>> >> + * the PCI root bus. The general case is more complex as
>> >> + * bridges are enumerated later and the table would need
Hi,
Ping...
Thanks.
On Thu, 2021-04-29 at 09:35 +0800, Robert Hoo wrote:
> As it's been marked deprecated since v5.2, now I think it's time
> remove it
> from code.
>
> Signed-off-by: Robert Hoo
> ---
> Changelog:
> v3:
> Update deprecated.rst. (Sorry for my carelessness in last
>
Patchew URL:
https://patchew.org/QEMU/20210508014802.892561-1-richard.hender...@linaro.org/
Hi,
This series seems to have some coding style problems. See output below for
more information:
Type: series
Message-id: 20210508014802.892561-1-richard.hender...@linaro.org
Subject: [PATCH 00/72]
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 82 +
1 file changed, 22 insertions(+), 60 deletions(-)
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index 81ff563dc0..b89ec4b832 100644
--- a/fpu/softfloat.c
+++ b/fpu/softfloat.c
@@
Keep the intermediate results in FloatParts instead of
converting back and forth between float64. Use muladd
instead of separate mul+add.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 53 +
1 file changed, 23 insertions(+), 30
Use an enumeration instead of raw 32/64/80 values.
Signed-off-by: Richard Henderson
---
include/fpu/softfloat-helpers.h | 5 +-
include/fpu/softfloat-types.h | 10 +++-
include/fpu/softfloat.h | 4 +-
fpu/softfloat.c | 32 ++--
linux-user/arm/nwfpe/fpa11.c
Since this is the first such, this includes all of the
packing and unpacking routines as well.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 339 +++-
1 file changed, 136 insertions(+), 203 deletions(-)
diff --git a/fpu/softfloat.c
Rename to parts$N_modrem. This was the last use of a lot
of the legacy infrastructure, so remove it as required.
Signed-off-by: Richard Henderson
---
include/fpu/softfloat-macros.h | 34 +
fpu/softfloat.c| 1339 +++-
fpu/softfloat-parts.c.inc
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 76 +
1 file changed, 14 insertions(+), 62 deletions(-)
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index 3c6751e4d0..4454219f8a 100644
--- a/fpu/softfloat.c
+++ b/fpu/softfloat.c
@@
With floatx80_precision_x, the rounding happens across
the break between words. Notice this case with
frac_lsb = round_mask + 1 -> 0
and check the bits in frac_hi as needed.
In addition, since frac_shift == 0, we won't implicitly clear
round_mask via the right-shift, so explicitly clear
Rename to parts$N_log2. Though this is partly a ruse, since I do not
believe the code will succeed for float128 without work. Which is ok
for now, because we do not need this for more than float32 and float64.
Since berkeley-testfloat-3 doesn't support log2, compare float64_log2
vs the system
We will need to treat the non-normal cases of floatx80 specially,
so split out the normal case that we can reuse.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 8 ++
fpu/softfloat-parts.c.inc | 56 ++-
2 files changed, 39
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 336 ++--
1 file changed, 42 insertions(+), 294 deletions(-)
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index d7c6c37d99..9f28c5c058 100644
--- a/fpu/softfloat.c
+++ b/fpu/softfloat.c
@@
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 116 ++--
1 file changed, 13 insertions(+), 103 deletions(-)
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index faccc8df41..914cf2688c 100644
--- a/fpu/softfloat.c
+++ b/fpu/softfloat.c
@@
Many qemu softfloat will check floatx80_rounding_precision
even when berkeley testfloat will not. So begin with
floatx80_precision_x, so that's the one we use
when !FUNC_EFF_ROUNDINGPRECISION.
Signed-off-by: Richard Henderson
---
tests/fp/fp-test.c | 8
1 file changed, 4
Rename to parts$N_compare. Rename all of the intermediate
functions to ftype_do_compare. Rename the hard-float functions
to ftype_hs_compare. Convert float128 to FloatParts128.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 208 ++
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 50 +++--
1 file changed, 11 insertions(+), 39 deletions(-)
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index 9f28c5c058..81ff563dc0 100644
--- a/fpu/softfloat.c
+++ b/fpu/softfloat.c
@@
This is the last use of commonNaNT and all of the routines
that use it, so remove all of them for Werror.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c| 276 -
fpu/softfloat-specialize.c.inc | 175 -
2 files changed, 67
Rename to parts$N_sqrt.
Reimplement float128_sqrt with FloatParts128.
Reimplement with the inverse sqrt newton-raphson algorithm from musl.
This is significantly faster than even the berkeley sqrt n-r algorithm,
because it does not use division instructions, only multiplication.
Ordinarily,
At the same time, convert to pointers, split out
parts$N_round_to_int_normal, define a macro for
parts_round_to_int using QEMU_GENERIC.
This necessarily meant some rearrangement to the
rount_to_{,u}int_and_pack routines, so go ahead and
convert to parts_round_to_int_normal, which in turn
allows
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index 7050d8f012..faccc8df41 100644
--- a/fpu/softfloat.c
+++ b/fpu/softfloat.c
@@ -5794,10 +5794,12 @@ float128
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 58 +++--
1 file changed, 13 insertions(+), 45 deletions(-)
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index 914cf2688c..82f71896ac 100644
--- a/fpu/softfloat.c
+++ b/fpu/softfloat.c
@@
Rename to parts$N_scalbn.
Reimplement float128_scalbn with FloatParts128.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 103 +-
fpu/softfloat-parts.c.inc | 21
2 files changed, 55 insertions(+), 69 deletions(-)
diff --git
Introduce parts_float_to_float_widen and parts_float_to_float_narrow.
Use them for float128_to_float{32,64} and float{32,64}_to_float128.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 203
1 file changed, 69 insertions(+), 134
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 82 +++--
1 file changed, 11 insertions(+), 71 deletions(-)
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index 352f359bc5..7050d8f012 100644
--- a/fpu/softfloat.c
+++ b/fpu/softfloat.c
@@
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 100 +++-
1 file changed, 13 insertions(+), 87 deletions(-)
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index 4454219f8a..352f359bc5 100644
--- a/fpu/softfloat.c
+++ b/fpu/softfloat.c
@@
Rename to parts$N_sint_to_float.
Reimplement int{32,64}_to_float128 with FloatParts128.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 136 +++---
fpu/softfloat-parts.c.inc | 32 +
2 files changed, 70 insertions(+), 98 deletions(-)
Split out parts_float_to_ahp and parts_float_to_float.
Convert to pointers.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 174
1 file changed, 101 insertions(+), 73 deletions(-)
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index
Remove frac_lsb, frac_lsbm1, roundeven_mask. Compute
these from round_mask in parts$N_uncanon_normal.
With floatx80, round_mask will not be tied to frac_shift.
Everything else is easily computable.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 29
Rename to parts$N_minmax. Combine 3 bool arguments to a bitmask,
return a tri-state value to indicate nan vs unchanged operand.
Introduce ftype_minmax functions as a common optimization point.
Fold bfloat16 expansions into the same macro as the other types.
Signed-off-by: Richard Henderson
---
Rename to parts$N_div.
Implement float128_div with FloatParts128.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 290 +++---
fpu/softfloat-parts.c.inc | 55
2 files changed, 171 insertions(+), 174 deletions(-)
diff --git
We can perform the operation in 6 total adds instead of 8.
Signed-off-by: Richard Henderson
---
include/fpu/softfloat-macros.h | 37 +++---
1 file changed, 12 insertions(+), 25 deletions(-)
diff --git a/include/fpu/softfloat-macros.h b/include/fpu/softfloat-macros.h
Rename to parts$N_uint_to_float.
Reimplement uint64_to_float128 with FloatParts128.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 83 ---
fpu/softfloat-parts.c.inc | 23 +++
2 files changed, 56 insertions(+), 50 deletions(-)
diff
Rename to parts$N_float_to_uint. Reimplement
float128_to_uint{32,64}{_round_to_zero} with FloatParts128.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 357 +-
fpu/softfloat-parts.c.inc | 68 +++-
2 files changed, 147 insertions(+),
Have x86_64 assembly for them, with a fallback.
This avoids shuffling values through %cl in the x86 case.
Signed-off-by: Richard Henderson
---
include/fpu/softfloat-macros.h | 36
fpu/softfloat.c| 102 +
2 files changed, 115
In preparation for implementing multiple sizes. Rename to parts_addsub,
split out parts_add/sub_normal for future reuse with muladd.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 253 ++-
fpu/softfloat-parts-addsub.c.inc | 62
Clean up the formatting and variables; no functional change.
Signed-off-by: Richard Henderson
---
include/fpu/softfloat-macros.h | 22 ++
1 file changed, 6 insertions(+), 16 deletions(-)
diff --git a/include/fpu/softfloat-macros.h b/include/fpu/softfloat-macros.h
index
Via host-utils.h, we use a host widening multiply for
64-bit hosts, and a common subroutine for 32-bit hosts.
Reviewed-by: Alex Bennée
Reviewed-by: David Hildenbrand
Signed-off-by: Richard Henderson
---
include/fpu/softfloat-macros.h | 23 +++
1 file changed, 3
Rename to parts$N_float_to_sint. Reimplement
float128_to_int{32,64}{_round_to_zero} with FloatParts128.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 365 +-
fpu/softfloat-parts.c.inc | 64 +++
2 files changed, 145 insertions(+), 284
Use compiler support for carry arithmetic.
Signed-off-by: Richard Henderson
---
include/fpu/softfloat-macros.h | 95 +-
1 file changed, 25 insertions(+), 70 deletions(-)
diff --git a/include/fpu/softfloat-macros.h b/include/fpu/softfloat-macros.h
index
Rename to parts$N_muladd.
Implement float128_muladd with FloatParts128.
Signed-off-by: Richard Henderson
---
include/fpu/softfloat.h | 2 +
fpu/softfloat.c | 406 ++
tests/fp/fp-bench.c | 8 +-
tests/fp/fp-test.c| 2 +-
At the same time, convert to pointers, rename to parts$N_canonicalize
and define a macro for parts_canonicalize using QEMU_GENERIC.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 117 +-
fpu/softfloat-parts.c.inc | 33 +++
2 files
At the same time, convert to pointers, rename to parts$N_pick_nan
and define a macro for parts_pick_nan using QEMU_GENERIC.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 62 ++-
fpu/softfloat-parts.c.inc | 25
2 files
At the same time, convert to pointers, rename to return_nan$N
and define a macro for return_nan using QEMU_GENERIC.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 45 ++-
fpu/softfloat-parts.c.inc | 37
2
Rename to parts$N_mul.
Reimplement float128_mul with FloatParts128.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 206 ++
fpu/softfloat-parts.c.inc | 51 ++
2 files changed, 128 insertions(+), 129 deletions(-)
diff --git
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 131 +---
1 file changed, 68 insertions(+), 63 deletions(-)
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index e53d4a138f..b0cbd5941c 100644
--- a/fpu/softfloat.c
+++ b/fpu/softfloat.c
@@
Signed-off-by: Richard Henderson
---
fpu/softfloat.c| 17 -
fpu/softfloat-specialize.c.inc | 19 +++
2 files changed, 23 insertions(+), 13 deletions(-)
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index 073b80d502..6d5392aeab 100644
---
This is the minimal change that also introduces float128_params,
float128_unpack_raw, and float128_pack_raw without running into
unused symbol Werrors.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c| 96 +-
fpu/softfloat-specialize.c.inc |
Replace the existing Berkeley implementation with the
FloatParts implementation.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 257 +++-
1 file changed, 36 insertions(+), 221 deletions(-)
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index
At the same time, rename to parts64_silence_nan, split out
parts_silence_nan_frac, and define a macro for parts_silence_nan.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c| 16 +---
fpu/softfloat-specialize.c.inc | 17 +++--
2 files changed, 20
At the same time, rename to pack_raw64.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 21 +
1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index 5a736a46cf..b59b777bca 100644
--- a/fpu/softfloat.c
+++
This behavior is currently hard-coded in parts_silence_nan,
but setting this bit properly will allow this to be cleaned up.
Signed-off-by: Richard Henderson
---
target/mips/fpu_helper.h | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/target/mips/fpu_helper.h
At the same time, convert to pointers, renaming to parts$N_uncanon,
and define a macro for parts_uncanon using QEMU_GENERIC.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 201 +-
fpu/softfloat-parts.c.inc | 148
Signed-off-by: Richard Henderson
---
fpu/softfloat.c| 362 -
fpu/softfloat-specialize.c.inc | 6 +-
2 files changed, 184 insertions(+), 184 deletions(-)
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index 6589f00b23..27b51659c9 100644
---
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 76 +++--
1 file changed, 48 insertions(+), 28 deletions(-)
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index 5ff9368012..5a736a46cf 100644
--- a/fpu/softfloat.c
+++ b/fpu/softfloat.c
@@
At the same time, rename to unpack_raw64.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 29 +++--
1 file changed, 19 insertions(+), 10 deletions(-)
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index c7f95961cf..5ff9368012 100644
--- a/fpu/softfloat.c
+++
Shuffle the fraction to the end, otherwise sort by size.
Add frac_hi and frac_lo members to alias frac.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 13 +++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index
In preparation from moving sf_canonicalize.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 109 +---
1 file changed, 56 insertions(+), 53 deletions(-)
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index 27b51659c9..398a068b58 100644
---
Rather than point the binary point at msb-1, put it at the msb.
Use uadd64_overflow to detect when addition overflows instead
of DECOMPOSED_OVERFLOW_BIT.
This reduces the number of special cases within the code, such
as shifting an int64_t either left or right during conversion.
Signed-off-by:
Do not call parts_silence_nan when default_nan_mode is in
effect. This will avoid an assert in a later patch.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 19 +++
1 file changed, 7 insertions(+), 12 deletions(-)
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index
At the same time, convert to pointers, rename to pick_nan_muladd$N
and define a macro for pick_nan_muladd using QEMU_GENERIC.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 53 ++-
fpu/softfloat-parts.c.inc | 40 +
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index 64edb23793..b694e38522 100644
--- a/fpu/softfloat.c
+++ b/fpu/softfloat.c
@@ -1931,13 +1931,7 @@ static FloatParts
At the same time, rename to parts64_default_nan and define
a macro for parts_default_nan using QEMU_GENERIC.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c| 47 +++---
fpu/softfloat-specialize.c.inc | 4 +--
2 files changed, 34 insertions(+),
Signed-off-by: Richard Henderson
---
include/fpu/softfloat.h| 5 -
fpu/softfloat-specialize.c.inc | 12
2 files changed, 4 insertions(+), 13 deletions(-)
diff --git a/include/fpu/softfloat.h b/include/fpu/softfloat.h
index 78ad5ca738..019c2ec66d 100644
---
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 509 ++--
1 file changed, 320 insertions(+), 189 deletions(-)
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index e02cbafaf9..e53d4a138f 100644
--- a/fpu/softfloat.c
+++ b/fpu/softfloat.c
@@
Require default_nan_mode to be set instead.
Signed-off-by: Richard Henderson
---
fpu/softfloat-specialize.c.inc | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/fpu/softfloat-specialize.c.inc b/fpu/softfloat-specialize.c.inc
index 487b29155c..5988830c16 100644
---
No reason to set values in 'a', when we already
have float_class_inf in 'c', and can flip that sign.
Reviewed-by: Philippe Mathieu-Daudé
Reviewed-by: Alex Bennée
Reviewed-by: David Hildenbrand
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 5 ++---
1 file changed, 2 insertions(+), 3
From: Alex Bennée
Currently this only support softfloat calculations because working out
if the hardware supports 128 bit floats needs configure magic. The 3
op muladd operation is currently unimplemented so commented out for
now.
Signed-off-by: Alex Bennée
Message-Id:
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 44
1 file changed, 24 insertions(+), 20 deletions(-)
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index b59b777bca..e02cbafaf9 100644
--- a/fpu/softfloat.c
+++ b/fpu/softfloat.c
@@ -626,24
Testing more than one class at a time is better done with masks.
This reduces the static branch count.
Reviewed-by: Alex Bennée
Reviewed-by: David Hildenbrand
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 30 +++---
1 file changed, 23 insertions(+), 7
Reorg everything using QEMU_GENERIC and multiple inclusion to
reduce the amount of code duplication between the formats.
The use of QEMU_GENERIC means that we need to use pointers instead
of structures, which means that even the smaller float formats
need rearranging.
I've carried it through to
We have been somewhat inconsistent about when to use
float_raise and when to or in the bit by hand.
Signed-off-by: Richard Henderson
---
fpu/softfloat.c | 87 +
1 file changed, 44 insertions(+), 43 deletions(-)
diff --git a/fpu/softfloat.c
Obvious uses of the new functions.
Signed-off-by: Richard Henderson
---
accel/tcg/tcg-runtime-gvec.c | 36
1 file changed, 16 insertions(+), 20 deletions(-)
diff --git a/accel/tcg/tcg-runtime-gvec.c b/accel/tcg/tcg-runtime-gvec.c
index
These builtins came in clang 3.8, but are not present in gcc through
version 11. Even in clang the optimization is not ideal except for
x86_64, but no worse than the hand-coding that we currently do.
Signed-off-by: Richard Henderson
---
include/qemu/host-utils.h | 50
These builtins came in with gcc 5 and clang 3.8, which are
slightly newer than our supported minimum compiler versions.
Signed-off-by: Richard Henderson
---
include/qemu/host-utils.h | 225 ++
1 file changed, 225 insertions(+)
diff --git
Clang has added some builtins for these operations;
use them if available.
Signed-off-by: Richard Henderson
---
include/qemu/host-utils.h | 16
1 file changed, 16 insertions(+)
diff --git a/include/qemu/host-utils.h b/include/qemu/host-utils.h
index cdca2991d8..f1e52851e0
On 5/7/21 3:48 PM, Nathan Ringo wrote:
-trace_translate_block(tb, tb->pc, tb->tc.ptr);
+trace_translate_block(tb, tb->pc, (int)tb->icount, tb->tc.ptr);
What target are you looking at, because for the variable-length isa's,
instruction count may not really help. Perhaps tb->size
Signed-off-by: Nathan Ringo
---
accel/tcg/trace-events| 2 +-
accel/tcg/translate-all.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/accel/tcg/trace-events b/accel/tcg/trace-events
index 6eefb37f5d..c227e56248 100644
--- a/accel/tcg/trace-events
+++
Updates for QEMU 6.0.0.
On 4/29/21 12:07 PM, Brijesh Singh wrote:
> The SEV FW >= 0.23 added a new command that can be used to query the
> attestation report containing the SHA-256 digest of the guest memory
> and VMSA encrypted with the LAUNCH_UPDATE and sign it with the PEK.
>
> Note, we already have a command
On 5/7/21 8:09 PM, Volker Rümelin wrote:
> Replace reads of the variable s->pending with a call to a new
> function kbd_pending() to ease the review of the next patch.
> There is no functional change.
>
> Signed-off-by: Volker Rümelin
> ---
> hw/input/pckbd.c | 21 ++---
> 1
On 5/7/21 1:44 PM, Marc-André Lureau wrote:
- CharBackend *be;
+ CharBackend tmpbe, *be =
Why introduce tmpbe? to avoid some code churn? I would rather update the code
to use be. or
There's a branch with "be = reuse_chr->be"
r~
Hi
On Fri, May 7, 2021 at 9:22 PM Philippe Mathieu-Daudé
wrote:
> The ALLOCA(3) man-page mentions its "use is discouraged".
>
> Directly reserve the CharBackend on the stack.
>
> Signed-off-by: Philippe Mathieu-Daudé
> ---
> tests/unit/test-char.c | 3 +--
> 1 file changed, 1 insertion(+), 2
This patch series fixes two different PS/2 mouse stream corruptions
and adds a feature that allows some old misbehaving DOS programs to
have a working keyboard. With the last few patches, the PS/2 con-
troller behaves more like a real controller.
v2:
Introduce the function kbd_pending() in a
Limit the keyboard data rate to the serial link speed. Some old
DOS software relies on being able to read an incoming scan-code
more than once. After reading keyboard data from the i8042
controller, the guest software has 1ms to read the same data
again.
Use -global i8042.kbd-throttle=on to
Don't update the OBF flags in the status register and the cor-
responding IRQ lines if KBD_STAT_OBF is set. Otherwise this
may change the PS/2 event type. If the guest ISR was already
scheduled, the changed event type will be rather surprising for
the guest.
This fixes a mouse event stream
1 - 100 of 254 matches
Mail list logo