VirtualBox

Changeset 59528 in vbox for trunk


Ignore:
Timestamp:
Jan 31, 2016 11:54:32 AM (9 years ago)
Author:
vboxsync
Message:

iprt/asm.h: Experimented with alternative serializating instructions (ASMSerializeInstruction), cpuid(0) is very reasonable compared to iret (rdtscp would be preferable).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/mangling.h

    r59524 r59528  
    303303# define ASMRotateRightU32                              RT_MANGLER(ASMRotateRightU32)
    304304# define ASMRotateRightU32_EndProc                      RT_MANGLER(ASMRotateRightU32_EndProc)
    305 # define ASMSerializeInstruction                        RT_MANGLER(ASMSerializeInstruction)
    306 # define ASMSerializeInstruction_EndProc                RT_MANGLER(ASMSerializeInstruction_EndProc)
     305# define ASMSerializeInstructionCpuId                   RT_MANGLER(ASMSerializeInstructionCpuId)
     306# define ASMSerializeInstructionCpuId_EndProc           RT_MANGLER(ASMSerializeInstructionCpuId_EndProc)
     307# define ASMSerializeInstructionIRet                    RT_MANGLER(ASMSerializeInstructionIRet)
     308# define ASMSerializeInstructionIRet_EndProc            RT_MANGLER(ASMSerializeInstructionIRet_EndProc)
     309# define ASMSerializeInstructionRdTscp                  RT_MANGLER(ASMSerializeInstructionRdTscp)
     310# define ASMSerializeInstructionRdTscp_EndProc          RT_MANGLER(ASMSerializeInstructionRdTscp_EndProc)
    307311# define ASMSetCR0                                      RT_MANGLER(ASMSetCR0)
    308312# define ASMSetCR0_EndProc                              RT_MANGLER(ASMSetCR0_EndProc)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette