Re: [PATCH 2/2] KVM: x86 emulator: add XADD instruction emulation

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

 



On 08/12/2010 09:41 AM, Wei Yongjun wrote:
> +	case 0xc0 ... 0xc1:	/* xadd */
> +		/* Write back the register source. */
> +		write_register_operand(&c->src, c->dst.val, c->dst.bytes);
> +		/* Write back the memory destination with implicit LOCK prefix. */
> +		c->lock_prefix = 1;

It's not a major performance problem, but xadd does _not_ have an
implicit LOCK prefix.

Paolo
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux