qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 9ecac5: target-i386: Fix mulx for identical t


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 9ecac5: target-i386: Fix mulx for identical target regs
Date: Wed, 18 Nov 2015 04:30:03 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 9ecac5dad16722ce2a8c3e88d8eeba5794990031
      
https://github.com/qemu/qemu/commit/9ecac5dad16722ce2a8c3e88d8eeba5794990031
  Author: Richard Henderson <address@hidden>
  Date:   2015-11-17 (Tue, 17 Nov 2015)

  Changed paths:
    M target-i386/translate.c

  Log Message:
  -----------
  target-i386: Fix mulx for identical target regs

The Intel specification clearly indicates that the low part
of the result is written first and the high part of the result
is written second; thus if ModRM:reg and VEX.vvvv are identical,
the final result should be the high part of the result.

At present, TCG may either produce incorrect results or crash
with --enable-checking.

Reported-by: Toni Nedialkov <address@hidden>
Reported-by: Max Reitz <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 33b5e8c03ae7a62d320d3c5c1104fe297d5c300d
      
https://github.com/qemu/qemu/commit/33b5e8c03ae7a62d320d3c5c1104fe297d5c300d
  Author: Eduardo Habkost <address@hidden>
  Date:   2015-11-17 (Tue, 17 Nov 2015)

  Changed paths:
    M include/hw/i386/pc.h
    M target-i386/cpu.c

  Log Message:
  -----------
  target-i386: Disable rdtscp on Opteron_G* CPU models

KVM can't virtualize rdtscp on AMD CPUs yet, so there's no point
in enabling it by default on AMD CPU models, as all we are
getting are confused users because of the "host doesn't support
requested feature" warnings.

Disable rdtscp on Opteron_G* models, but keep compatibility on
pc-*-2.4 and older (just in case there are people are doing funny
stuff using AMD CPU models on Intel hosts).

Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 55db5eeeb7aa3328515817dc4e45728580e517a0
      
https://github.com/qemu/qemu/commit/55db5eeeb7aa3328515817dc4e45728580e517a0
  Author: Peter Maydell <address@hidden>
  Date:   2015-11-17 (Tue, 17 Nov 2015)

  Changed paths:
    M include/hw/i386/pc.h
    M target-i386/cpu.c
    M target-i386/translate.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/ehabkost/tags/x86-pull-request' into 
staging

X86 fixes, 2015-11-17

Two X86 fixes, hopefully in time for -rc1.

# gpg: Signature made Tue 17 Nov 2015 19:06:53 GMT using RSA key ID 984DC5A6
# gpg: Good signature from "Eduardo Habkost <address@hidden>"

* remotes/ehabkost/tags/x86-pull-request:
  target-i386: Disable rdtscp on Opteron_G* CPU models
  target-i386: Fix mulx for identical target regs

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/c27e9014d56f...55db5eeeb7aa

reply via email to

[Prev in Thread] Current Thread [Next in Thread]