summary refs log tree commit diff stats
path: root/include/qemu/timer.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2014-10-24 09:44:38 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2015-01-14 10:38:57 +0100
commitbee818872cd9e8c07be529f75da3e48a68bf7a93 (patch)
tree4b922dc78530784a8a38fec27e11970f73060592 /include/qemu/timer.h
parent07958082fdf39284935d38a5b8aec1fe7d020637 (diff)
downloadfocaccia-qemu-bee818872cd9e8c07be529f75da3e48a68bf7a93.tar.gz
focaccia-qemu-bee818872cd9e8c07be529f75da3e48a68bf7a93.zip
target-i386: do not memcpy in and out of xmm_regs
After the next patch, we will move the high parts of AVX and AVX512 registers
in the same array as the SSE registers.  This will make it impossible to
memcpy an array of 128-bit values in and out of xmm_regs in one swoop.
Use a for loop instead.

Similarly, always use XMM_Q in translate.c.  This avoids introducing bugs
such as the one fixed in the previous patch.

Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/qemu/timer.h')
0 files changed, 0 insertions, 0 deletions