mbox series

[v2,00/10] target/i386: add a few simple features

Message ID 20230620151634.21053-1-pbonzini@redhat.com
Headers show
Series target/i386: add a few simple features | expand

Message

Paolo Bonzini June 20, 2023, 3:16 p.m. UTC
TCG is not reporting a few features that are actually already implemented,
or that are easy to implement.  Add them.

Paolo

v1->v2:
- fix WBNOINVD vmexit
- correctly implement 32-bit SYSCALL and SYSENTER
- do not include linux-user/ from target/

Paolo Bonzini (10):
  target/i386: fix INVD vmexit
  target/i386: TCG supports 3DNow! prefetch(w)
  target/i386: TCG supports RDSEED
  target/i386: TCG supports XSAVEERPTR
  target/i386: TCG supports WBNOINVD
  target/i386: Intel only supports SYSCALL in long mode
  target/i386: sysret and sysexit are privileged
  target/i386: implement 32-bit SYSCALL for linux-user
  target/i386: implement 32-bit SYSENTER for linux-user
  target/i386: implement RDPID in TCG

 linux-user/i386/cpu_loop.c          | 54 +++++++++++++++++++++++++++--
 meson.build                         |  1 +
 target/i386/cpu.c                   | 44 ++++++++++++++++++-----
 target/i386/cpu.h                   |  1 +
 target/i386/helper.h                |  6 ++--
 target/i386/tcg/misc_helper.c       | 23 ++++++++----
 target/i386/tcg/seg_helper.c        | 33 ------------------
 target/i386/tcg/sysemu/seg_helper.c | 33 ++++++++++++++++++
 target/i386/tcg/translate.c         | 32 ++++++++++++-----
 target/i386/tcg/user/seg_helper.c   | 18 ++++++++--
 10 files changed, 182 insertions(+), 63 deletions(-)