qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/4] TCG: add some instructions
@ 2009-09-18 22:30 Andre Przywara
  2009-09-18 22:30 ` [Qemu-devel] [PATCH 1/4] TCG x86: implement lzcnt emulation Andre Przywara
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Andre Przywara @ 2009-09-18 22:30 UTC (permalink / raw)
  To: qemu-devel

Hi,

this patch series adds some instructions to the x86 TCG emulator.
They are all AMD originated, although RDTSCP is also implemented in
recent Intel CPUs. They are:
Patch 1: lzcnt (count leading zero bits in a word)
Patch 2: lock mov cr0 = mov cr8 (access to TPR in 32-bit mode)
Patch 3: extrq, insertq, movntss, movntsd (SSE4a instructions)
Patch 4: rdtscp (read TSC plus aux MSR)
         This adds a new field to CPUX86State and thus bumps the
         SAVE_VERSION for the CPU.
I am not very experienced in TCG, but I have written tests to check
the functionality of the implementation. Those tests use inline
assembly to trigger the opcodes and check their results with "golden"
precalculated values. The tests showed the same results in linux-user
and on the native hardware.

Please review!

Regards,
Andre.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-10-23 11:47 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-18 22:30 [Qemu-devel] [PATCH 0/4] TCG: add some instructions Andre Przywara
2009-09-18 22:30 ` [Qemu-devel] [PATCH 1/4] TCG x86: implement lzcnt emulation Andre Przywara
2009-10-04 12:02   ` Aurelien Jarno
2009-10-05  8:20     ` [Qemu-devel] [PATCH 1/4 v2] " Andre Przywara
2009-10-05 13:57       ` [Qemu-devel] " Aurelien Jarno
2009-10-23 11:44         ` [Qemu-devel] [PATCH v3] " Andre Przywara
2009-09-18 22:30 ` [Qemu-devel] [PATCH 2/4] TCG x86: add lock mov cr0 = cr8 Andre Przywara
2009-10-04 12:06   ` Aurelien Jarno
2009-09-18 22:30 ` [Qemu-devel] [PATCH 3/4] TCG x86: add SSE4a instruction support Andre Przywara
2009-10-04 12:10   ` Aurelien Jarno
2009-09-18 22:30 ` [Qemu-devel] [PATCH 4/4] TCG x86: add RDTSCP support Andre Przywara
2009-10-04 12:47   ` Aurelien Jarno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).