VirtualBox

Changeset 96048 in vbox


Ignore:
Timestamp:
Aug 5, 2022 9:55:40 AM (2 years ago)
Author:
vboxsync
Message:

VMM/IEM: Implement [v]phadd{w,d} instructions, bugref:9898 [build fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllAImplC.cpp

    r96046 r96048  
    1247212472IEM_DECL_IMPL_DEF(void, iemAImpl_vphaddw_u128_fallback,(PRTUINT128U puDst, PCRTUINT128U puSrc1, PCRTUINT128U puSrc2))
    1247312473{
    12474     RTUINT128U uDst = { 0 }; /* Shut up MSVC. */ /* puDst can be the same as one of the source operands. */
     12474    RTUINT128U uDst; /* puDst can be the same as one of the source operands. */
    1247512475
    1247612476    uDst.ai16[0] = puSrc1->ai16[0] + puSrc1->ai16[1];
     
    1249112491IEM_DECL_IMPL_DEF(void, iemAImpl_vphaddw_u256_fallback,(PRTUINT256U puDst, PCRTUINT256U puSrc1, PCRTUINT256U puSrc2))
    1249212492{
    12493     RTUINT256U uDst = { 0 }; /* Shut up MSVC. */ /* puDst can be the same as one of the source operands. */
     12493    RTUINT256U uDst; /* puDst can be the same as one of the source operands. */
    1249412494
    1249512495    uDst.ai16[ 0] = puSrc1->ai16[ 0] + puSrc1->ai16[ 1];
     
    1252012520IEM_DECL_IMPL_DEF(void, iemAImpl_vphaddd_u128_fallback,(PRTUINT128U puDst, PCRTUINT128U puSrc1, PCRTUINT128U puSrc2))
    1252112521{
    12522     RTUINT128U uDst = { 0 }; /* Shut up MSVC. */ /* puDst can be the same as one of the source operands. */
     12522    RTUINT128U uDst; /* puDst can be the same as one of the source operands. */
    1252312523
    1252412524    uDst.ai32[0] = puSrc1->ai32[0] + puSrc1->ai32[1];
     
    1253512535IEM_DECL_IMPL_DEF(void, iemAImpl_vphaddd_u256_fallback,(PRTUINT256U puDst, PCRTUINT256U puSrc1, PCRTUINT256U puSrc2))
    1253612536{
    12537     RTUINT256U uDst = { 0 }; /* Shut up MSVC. */ /* puDst can be the same as one of the source operands. */
     12537    RTUINT256U uDst; /* puDst can be the same as one of the source operands. */
    1253812538
    1253912539    uDst.ai32[0] = puSrc1->ai32[ 0] + puSrc1->ai32[ 1];
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