VirtualBox

Changeset 107103 in vbox


Ignore:
Timestamp:
Nov 22, 2024 7:57:24 AM (8 weeks ago)
Author:
vboxsync
Message:

VMM/IEM: fix IEM vpermps instruction emulation; bugref:9898; jiraref:VBP-1207

File:
1 edited

Legend:

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

    r107047 r107103  
    2087920879IEM_DECL_IMPL_DEF(void, iemAImpl_vpermps_u256_fallback,(PRTUINT256U puDst, PCRTUINT256U puSrc1, PCRTUINT256U puSrc2))
    2088020880{
    20881     puDst->au32[0] = puSrc2->au32[puSrc1->au32[0] & 0x3];
    20882     puDst->au32[1] = puSrc2->au32[puSrc1->au32[1] & 0x3];
    20883     puDst->au32[2] = puSrc2->au32[puSrc1->au32[2] & 0x3];
    20884     puDst->au32[3] = puSrc2->au32[puSrc1->au32[3] & 0x3];
    20885     puDst->au32[4] = puSrc2->au32[puSrc1->au32[4] & 0x3];
    20886     puDst->au32[5] = puSrc2->au32[puSrc1->au32[5] & 0x3];
    20887     puDst->au32[6] = puSrc2->au32[puSrc1->au32[6] & 0x3];
    20888     puDst->au32[7] = puSrc2->au32[puSrc1->au32[7] & 0x3];
    20889 }
     20881    puDst->au32[0] = puSrc2->au32[puSrc1->au32[0] & 0x7];
     20882    puDst->au32[1] = puSrc2->au32[puSrc1->au32[1] & 0x7];
     20883    puDst->au32[2] = puSrc2->au32[puSrc1->au32[2] & 0x7];
     20884    puDst->au32[3] = puSrc2->au32[puSrc1->au32[3] & 0x7];
     20885    puDst->au32[4] = puSrc2->au32[puSrc1->au32[4] & 0x7];
     20886    puDst->au32[5] = puSrc2->au32[puSrc1->au32[5] & 0x7];
     20887    puDst->au32[6] = puSrc2->au32[puSrc1->au32[6] & 0x7];
     20888    puDst->au32[7] = puSrc2->au32[puSrc1->au32[7] & 0x7];
     20889}
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