VirtualBox

Ignore:
Timestamp:
Jul 9, 2022 12:09:50 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
152205
Message:

VMM/IEM: [v]ptest. bugref:9898

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllAImpl.asm

    r95574 r95578  
    40544054; The SSE 4.2 crc32
    40554055;
    4056 ; @param    1       The instruction
    4057 ;
    40584056; @param    A1      Pointer to the 32-bit destination.
    40594057; @param    A2      The source operand, sized according to the suffix.
    40604058;
    4061 
    40624059BEGINPROC_FASTCALL iemAImpl_crc32_u8, 8
    40634060        PROLOGUE_2_ARGS
     
    41024099%endif
    41034100
     4101
     4102;
     4103; PTEST (SSE 4.1)
     4104;
     4105; @param    A0      Pointer to the first source operand (aka readonly destination).
     4106; @param    A1      Pointer to the second source operand.
     4107; @param    A2      Pointer to the EFLAGS register.
     4108;
     4109BEGINPROC_FASTCALL  iemAImpl_ptest_u128, 12
     4110        PROLOGUE_3_ARGS
     4111        IEMIMPL_SSE_PROLOGUE
     4112
     4113        movdqu  xmm0, [A0]
     4114        movdqu  xmm1, [A1]
     4115        ptest   xmm0, xmm1
     4116        IEM_SAVE_FLAGS A2, X86_EFL_STATUS_BITS, 0
     4117
     4118        IEMIMPL_SSE_EPILOGUE
     4119        EPILOGUE_3_ARGS
     4120ENDPROC             iemAImpl_ptest_u128
     4121
     4122BEGINPROC_FASTCALL  iemAImpl_vptest_u256, 12
     4123        PROLOGUE_3_ARGS
     4124        IEMIMPL_SSE_PROLOGUE
     4125
     4126        vmovdqu ymm0, [A0]
     4127        vmovdqu ymm1, [A1]
     4128        vptest  ymm0, ymm1
     4129        IEM_SAVE_FLAGS A2, X86_EFL_STATUS_BITS, 0
     4130
     4131        IEMIMPL_SSE_EPILOGUE
     4132        EPILOGUE_3_ARGS
     4133ENDPROC             iemAImpl_vptest_u256
     4134
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