Re: Opcodes instead of mnemonics for VMX instructions

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

 



On Mon, Oct 29, 2018 at 05:39:07PM +0000, Okash Khawaja wrote:
> Hi,
> 
> For VMX instructions, we use opcodes instead of mnemonics, such as
> 
> #define ASM_VMX_VMPTRLD_RAX       ".byte 0x0f, 0xc7, 0x30" (from
> arch/x86/include/asm/vmx.h)
> 
> for "vmptrld (%%rax)".
> 
> Is it because when this was written, the compiler couldn't recognise
> the VMX mnemonics? Or are there other reasons?

They weren't available.  This has already been remedied in kvm/next, see
commit 4b1e54786e48 ("KVM/x86: Use assembly instruction mnemonics
instead of .byte streams").



[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