Changeset 95643 in vbox
- Timestamp:
- Jul 14, 2022 9:51:34 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllAImplC.cpp
r95578 r95643 8416 8416 IEM_DECL_IMPL_DEF(void, iemAImpl_pshufb_u128_fallback,(PCX86FXSTATE pFpuState, PRTUINT128U puDst, PCRTUINT128U puSrc)) 8417 8417 { 8418 RTUINT128U const uSrc = { *puSrc };8419 RTUINT128U const uDstIn = { *puDst };8418 RTUINT128U const uSrc = *puSrc; 8419 RTUINT128U const uDstIn = *puDst; 8420 8420 ASMCompilerBarrier(); 8421 8421 puDst->au64[0] = 0; … … 8434 8434 PCRTUINT128U puSrc1, PCRTUINT128U puSrc2)) 8435 8435 { 8436 RTUINT128U const uSrc1 = { *puSrc1 }; /* could be same as puDst */8437 RTUINT128U const uSrc2 = { *puSrc2 }; /* could be same as puDst */8436 RTUINT128U const uSrc1 = *puSrc1; /* could be same as puDst */ 8437 RTUINT128U const uSrc2 = *puSrc2; /* could be same as puDst */ 8438 8438 ASMCompilerBarrier(); 8439 8439 puDst->au64[0] = 0; … … 8452 8452 PCRTUINT256U puSrc1, PCRTUINT256U puSrc2)) 8453 8453 { 8454 RTUINT256U const uSrc1 = { *puSrc1 }; /* could be same as puDst */8455 RTUINT256U const uSrc2 = { *puSrc2 }; /* could be same as puDst */8454 RTUINT256U const uSrc1 = *puSrc1; /* could be same as puDst */ 8455 RTUINT256U const uSrc2 = *puSrc2; /* could be same as puDst */ 8456 8456 ASMCompilerBarrier(); 8457 8457 puDst->au64[0] = 0; … … 8608 8608 IEM_DECL_IMPL_DEF(void, iemAImpl_punpckhbw_u128,(PRTUINT128U puDst, PCRTUINT128U puSrc)) 8609 8609 { 8610 RTUINT128U const uSrc2 = { *puSrc };8611 RTUINT128U const uSrc1 = { *puDst };8610 RTUINT128U const uSrc2 = *puSrc; 8611 RTUINT128U const uSrc1 = *puDst; 8612 8612 ASMCompilerBarrier(); 8613 8613 RTUINT128U uDstOut; … … 8635 8635 IEM_DECL_IMPL_DEF(void, iemAImpl_vpunpckhbw_u128_fallback,(PRTUINT128U puDst, PCRTUINT128U puSrc1, PCRTUINT128U puSrc2)) 8636 8636 { 8637 RTUINT128U const uSrc2 = { *puSrc2 };8638 RTUINT128U const uSrc1 = { *puSrc1 };8637 RTUINT128U const uSrc2 = *puSrc2; 8638 RTUINT128U const uSrc1 = *puSrc1; 8639 8639 ASMCompilerBarrier(); 8640 8640 RTUINT128U uDstOut; … … 8661 8661 IEM_DECL_IMPL_DEF(void, iemAImpl_vpunpckhbw_u256_fallback,(PRTUINT256U puDst, PCRTUINT256U puSrc1, PCRTUINT256U puSrc2)) 8662 8662 { 8663 RTUINT256U const uSrc2 = { *puSrc2 };8664 RTUINT256U const uSrc1 = { *puSrc1 };8663 RTUINT256U const uSrc2 = *puSrc2; 8664 RTUINT256U const uSrc1 = *puSrc1; 8665 8665 ASMCompilerBarrier(); 8666 8666 RTUINT256U uDstOut; … … 8723 8723 IEM_DECL_IMPL_DEF(void, iemAImpl_punpckhwd_u128,(PRTUINT128U puDst, PCRTUINT128U puSrc)) 8724 8724 { 8725 RTUINT128U const uSrc2 = { *puSrc };8726 RTUINT128U const uSrc1 = { *puDst };8725 RTUINT128U const uSrc2 = *puSrc; 8726 RTUINT128U const uSrc1 = *puDst; 8727 8727 ASMCompilerBarrier(); 8728 8728 RTUINT128U uDstOut; … … 8742 8742 IEM_DECL_IMPL_DEF(void, iemAImpl_vpunpckhwd_u128_fallback,(PRTUINT128U puDst, PCRTUINT128U puSrc1, PCRTUINT128U puSrc2)) 8743 8743 { 8744 RTUINT128U const uSrc2 = { *puSrc2 };8745 RTUINT128U const uSrc1 = { *puSrc1 };8744 RTUINT128U const uSrc2 = *puSrc2; 8745 RTUINT128U const uSrc1 = *puSrc1; 8746 8746 ASMCompilerBarrier(); 8747 8747 RTUINT128U uDstOut; … … 8760 8760 IEM_DECL_IMPL_DEF(void, iemAImpl_vpunpckhwd_u256_fallback,(PRTUINT256U puDst, PCRTUINT256U puSrc1, PCRTUINT256U puSrc2)) 8761 8761 { 8762 RTUINT256U const uSrc2 = { *puSrc2 };8763 RTUINT256U const uSrc1 = { *puSrc1 };8762 RTUINT256U const uSrc2 = *puSrc2; 8763 RTUINT256U const uSrc1 = *puSrc1; 8764 8764 ASMCompilerBarrier(); 8765 8765 RTUINT256U uDstOut; … … 8804 8804 IEM_DECL_IMPL_DEF(void, iemAImpl_punpckhdq_u128,(PRTUINT128U puDst, PCRTUINT128U puSrc)) 8805 8805 { 8806 RTUINT128U const uSrc2 = { *puSrc };8807 RTUINT128U const uSrc1 = { *puDst };8806 RTUINT128U const uSrc2 = *puSrc; 8807 RTUINT128U const uSrc1 = *puDst; 8808 8808 ASMCompilerBarrier(); 8809 8809 RTUINT128U uDstOut; … … 8819 8819 IEM_DECL_IMPL_DEF(void, iemAImpl_vpunpckhdq_u128_fallback,(PRTUINT128U puDst, PCRTUINT128U puSrc1, PCRTUINT128U puSrc2)) 8820 8820 { 8821 RTUINT128U const uSrc2 = { *puSrc2 };8822 RTUINT128U const uSrc1 = { *puSrc1 };8821 RTUINT128U const uSrc2 = *puSrc2; 8822 RTUINT128U const uSrc1 = *puSrc1; 8823 8823 ASMCompilerBarrier(); 8824 8824 RTUINT128U uDstOut; … … 8833 8833 IEM_DECL_IMPL_DEF(void, iemAImpl_vpunpckhdq_u256_fallback,(PRTUINT256U puDst, PCRTUINT256U puSrc1, PCRTUINT256U puSrc2)) 8834 8834 { 8835 RTUINT256U const uSrc2 = { *puSrc2 };8836 RTUINT256U const uSrc1 = { *puSrc1 };8835 RTUINT256U const uSrc2 = *puSrc2; 8836 RTUINT256U const uSrc1 = *puSrc1; 8837 8837 ASMCompilerBarrier(); 8838 8838 RTUINT256U uDstOut; … … 8856 8856 IEM_DECL_IMPL_DEF(void, iemAImpl_punpckhqdq_u128,(PRTUINT128U puDst, PCRTUINT128U puSrc)) 8857 8857 { 8858 RTUINT128U const uSrc2 = { *puSrc };8859 RTUINT128U const uSrc1 = { *puDst };8858 RTUINT128U const uSrc2 = *puSrc; 8859 RTUINT128U const uSrc1 = *puDst; 8860 8860 ASMCompilerBarrier(); 8861 8861 RTUINT128U uDstOut; … … 8869 8869 IEM_DECL_IMPL_DEF(void, iemAImpl_vpunpckhqdq_u128_fallback,(PRTUINT128U puDst, PCRTUINT128U puSrc1, PCRTUINT128U puSrc2)) 8870 8870 { 8871 RTUINT128U const uSrc2 = { *puSrc2 };8872 RTUINT128U const uSrc1 = { *puSrc1 };8871 RTUINT128U const uSrc2 = *puSrc2; 8872 RTUINT128U const uSrc1 = *puSrc1; 8873 8873 ASMCompilerBarrier(); 8874 8874 RTUINT128U uDstOut; … … 8881 8881 IEM_DECL_IMPL_DEF(void, iemAImpl_vpunpckhqdq_u256_fallback,(PRTUINT256U puDst, PCRTUINT256U puSrc1, PCRTUINT256U puSrc2)) 8882 8882 { 8883 RTUINT256U const uSrc2 = { *puSrc2 };8884 RTUINT256U const uSrc1 = { *puSrc1 };8883 RTUINT256U const uSrc2 = *puSrc2; 8884 RTUINT256U const uSrc1 = *puSrc1; 8885 8885 ASMCompilerBarrier(); 8886 8886 RTUINT256U uDstOut; … … 8919 8919 IEM_DECL_IMPL_DEF(void, iemAImpl_punpcklbw_u128,(PRTUINT128U puDst, PCRTUINT128U puSrc)) 8920 8920 { 8921 RTUINT128U const uSrc2 = { *puSrc };8922 RTUINT128U const uSrc1 = { *puDst };8921 RTUINT128U const uSrc2 = *puSrc; 8922 RTUINT128U const uSrc1 = *puDst; 8923 8923 ASMCompilerBarrier(); 8924 8924 RTUINT128U uDstOut; … … 8946 8946 IEM_DECL_IMPL_DEF(void, iemAImpl_vpunpcklbw_u128_fallback,(PRTUINT128U puDst, PCRTUINT128U puSrc1, PCRTUINT128U puSrc2)) 8947 8947 { 8948 RTUINT128U const uSrc2 = { *puSrc2 };8949 RTUINT128U const uSrc1 = { *puSrc1 };8948 RTUINT128U const uSrc2 = *puSrc2; 8949 RTUINT128U const uSrc1 = *puSrc1; 8950 8950 ASMCompilerBarrier(); 8951 8951 RTUINT128U uDstOut; … … 8972 8972 IEM_DECL_IMPL_DEF(void, iemAImpl_vpunpcklbw_u256_fallback,(PRTUINT256U puDst, PCRTUINT256U puSrc1, PCRTUINT256U puSrc2)) 8973 8973 { 8974 RTUINT256U const uSrc2 = { *puSrc2 };8975 RTUINT256U const uSrc1 = { *puSrc1 };8974 RTUINT256U const uSrc2 = *puSrc2; 8975 RTUINT256U const uSrc1 = *puSrc1; 8976 8976 ASMCompilerBarrier(); 8977 8977 RTUINT256U uDstOut; … … 9034 9034 IEM_DECL_IMPL_DEF(void, iemAImpl_punpcklwd_u128,(PRTUINT128U puDst, PCRTUINT128U puSrc)) 9035 9035 { 9036 RTUINT128U const uSrc2 = { *puSrc };9037 RTUINT128U const uSrc1 = { *puDst };9036 RTUINT128U const uSrc2 = *puSrc; 9037 RTUINT128U const uSrc1 = *puDst; 9038 9038 ASMCompilerBarrier(); 9039 9039 RTUINT128U uDstOut; … … 9053 9053 IEM_DECL_IMPL_DEF(void, iemAImpl_vpunpcklwd_u128_fallback,(PRTUINT128U puDst, PCRTUINT128U puSrc1, PCRTUINT128U puSrc2)) 9054 9054 { 9055 RTUINT128U const uSrc2 = { *puSrc2 };9056 RTUINT128U const uSrc1 = { *puSrc1 };9055 RTUINT128U const uSrc2 = *puSrc2; 9056 RTUINT128U const uSrc1 = *puSrc1; 9057 9057 ASMCompilerBarrier(); 9058 9058 RTUINT128U uDstOut; … … 9071 9071 IEM_DECL_IMPL_DEF(void, iemAImpl_vpunpcklwd_u256_fallback,(PRTUINT256U puDst, PCRTUINT256U puSrc1, PCRTUINT256U puSrc2)) 9072 9072 { 9073 RTUINT256U const uSrc2 = { *puSrc2 };9074 RTUINT256U const uSrc1 = { *puSrc1 };9073 RTUINT256U const uSrc2 = *puSrc2; 9074 RTUINT256U const uSrc1 = *puSrc1; 9075 9075 ASMCompilerBarrier(); 9076 9076 RTUINT256U uDstOut; … … 9115 9115 IEM_DECL_IMPL_DEF(void, iemAImpl_punpckldq_u128,(PRTUINT128U puDst, PCRTUINT128U puSrc)) 9116 9116 { 9117 RTUINT128U const uSrc2 = { *puSrc };9118 RTUINT128U const uSrc1 = { *puDst };9117 RTUINT128U const uSrc2 = *puSrc; 9118 RTUINT128U const uSrc1 = *puDst; 9119 9119 ASMCompilerBarrier(); 9120 9120 RTUINT128U uDstOut; … … 9130 9130 IEM_DECL_IMPL_DEF(void, iemAImpl_vpunpckldq_u128_fallback,(PRTUINT128U puDst, PCRTUINT128U puSrc1, PCRTUINT128U puSrc2)) 9131 9131 { 9132 RTUINT128U const uSrc2 = { *puSrc2 };9133 RTUINT128U const uSrc1 = { *puSrc1 };9132 RTUINT128U const uSrc2 = *puSrc2; 9133 RTUINT128U const uSrc1 = *puSrc1; 9134 9134 ASMCompilerBarrier(); 9135 9135 RTUINT128U uDstOut; … … 9144 9144 IEM_DECL_IMPL_DEF(void, iemAImpl_vpunpckldq_u256_fallback,(PRTUINT256U puDst, PCRTUINT256U puSrc1, PCRTUINT256U puSrc2)) 9145 9145 { 9146 RTUINT256U const uSrc2 = { *puSrc2 };9147 RTUINT256U const uSrc1 = { *puSrc1 };9146 RTUINT256U const uSrc2 = *puSrc2; 9147 RTUINT256U const uSrc1 = *puSrc1; 9148 9148 ASMCompilerBarrier(); 9149 9149 RTUINT256U uDstOut; … … 9167 9167 IEM_DECL_IMPL_DEF(void, iemAImpl_punpcklqdq_u128,(PRTUINT128U puDst, PCRTUINT128U puSrc)) 9168 9168 { 9169 RTUINT128U const uSrc2 = { *puSrc };9170 RTUINT128U const uSrc1 = { *puDst };9169 RTUINT128U const uSrc2 = *puSrc; 9170 RTUINT128U const uSrc1 = *puDst; 9171 9171 ASMCompilerBarrier(); 9172 9172 RTUINT128U uDstOut; … … 9180 9180 IEM_DECL_IMPL_DEF(void, iemAImpl_vpunpcklqdq_u128_fallback,(PRTUINT128U puDst, PCRTUINT128U puSrc1, PCRTUINT128U puSrc2)) 9181 9181 { 9182 RTUINT128U const uSrc2 = { *puSrc2 };9183 RTUINT128U const uSrc1 = { *puSrc1 };9182 RTUINT128U const uSrc2 = *puSrc2; 9183 RTUINT128U const uSrc1 = *puSrc1; 9184 9184 ASMCompilerBarrier(); 9185 9185 RTUINT128U uDstOut; … … 9192 9192 IEM_DECL_IMPL_DEF(void, iemAImpl_vpunpcklqdq_u256_fallback,(PRTUINT256U puDst, PCRTUINT256U puSrc1, PCRTUINT256U puSrc2)) 9193 9193 { 9194 RTUINT256U const uSrc2 = { *puSrc2 };9195 RTUINT256U const uSrc1 = { *puSrc1 };9194 RTUINT256U const uSrc2 = *puSrc2; 9195 RTUINT256U const uSrc1 = *puSrc1; 9196 9196 ASMCompilerBarrier(); 9197 9197 RTUINT256U uDstOut; … … 9235 9235 IEM_DECL_IMPL_DEF(void, iemAImpl_packsswb_u128,(PRTUINT128U puDst, PCRTUINT128U puSrc)) 9236 9236 { 9237 RTUINT128U const uSrc2 = { *puSrc };9238 RTUINT128U const uSrc1 = { *puDst };9237 RTUINT128U const uSrc2 = *puSrc; 9238 RTUINT128U const uSrc1 = *puDst; 9239 9239 ASMCompilerBarrier(); 9240 9240 RTUINT128U uDstOut; … … 9262 9262 IEM_DECL_IMPL_DEF(void, iemAImpl_vpacksswb_u128_fallback,(PRTUINT128U puDst, PCRTUINT128U puSrc1, PCRTUINT128U puSrc2)) 9263 9263 { 9264 RTUINT128U const uSrc2 = { *puSrc2 };9265 RTUINT128U const uSrc1 = { *puSrc1 };9264 RTUINT128U const uSrc2 = *puSrc2; 9265 RTUINT128U const uSrc1 = *puSrc1; 9266 9266 ASMCompilerBarrier(); 9267 9267 RTUINT128U uDstOut; … … 9288 9288 IEM_DECL_IMPL_DEF(void, iemAImpl_vpacksswb_u256_fallback,(PRTUINT256U puDst, PCRTUINT256U puSrc1, PCRTUINT256U puSrc2)) 9289 9289 { 9290 RTUINT256U const uSrc2 = { *puSrc2 };9291 RTUINT256U const uSrc1 = { *puSrc1 };9290 RTUINT256U const uSrc2 = *puSrc2; 9291 RTUINT256U const uSrc1 = *puSrc1; 9292 9292 ASMCompilerBarrier(); 9293 9293 RTUINT256U uDstOut; … … 9359 9359 IEM_DECL_IMPL_DEF(void, iemAImpl_packuswb_u128,(PRTUINT128U puDst, PCRTUINT128U puSrc)) 9360 9360 { 9361 RTUINT128U const uSrc2 = { *puSrc };9362 RTUINT128U const uSrc1 = { *puDst };9361 RTUINT128U const uSrc2 = *puSrc; 9362 RTUINT128U const uSrc1 = *puDst; 9363 9363 ASMCompilerBarrier(); 9364 9364 RTUINT128U uDstOut; … … 9386 9386 IEM_DECL_IMPL_DEF(void, iemAImpl_vpackuswb_u128_fallback,(PRTUINT128U puDst, PCRTUINT128U puSrc1, PCRTUINT128U puSrc2)) 9387 9387 { 9388 RTUINT128U const uSrc2 = { *puSrc2 };9389 RTUINT128U const uSrc1 = { *puSrc1 };9388 RTUINT128U const uSrc2 = *puSrc2; 9389 RTUINT128U const uSrc1 = *puSrc1; 9390 9390 ASMCompilerBarrier(); 9391 9391 RTUINT128U uDstOut; … … 9412 9412 IEM_DECL_IMPL_DEF(void, iemAImpl_vpackuswb_u256_fallback,(PRTUINT256U puDst, PCRTUINT256U puSrc1, PCRTUINT256U puSrc2)) 9413 9413 { 9414 RTUINT256U const uSrc2 = { *puSrc2 };9415 RTUINT256U const uSrc1 = { *puSrc1 };9414 RTUINT256U const uSrc2 = *puSrc2; 9415 RTUINT256U const uSrc1 = *puSrc1; 9416 9416 ASMCompilerBarrier(); 9417 9417 RTUINT256U uDstOut; … … 9479 9479 IEM_DECL_IMPL_DEF(void, iemAImpl_packssdw_u128,(PRTUINT128U puDst, PCRTUINT128U puSrc)) 9480 9480 { 9481 RTUINT128U const uSrc2 = { *puSrc };9482 RTUINT128U const uSrc1 = { *puDst };9481 RTUINT128U const uSrc2 = *puSrc; 9482 RTUINT128U const uSrc1 = *puDst; 9483 9483 ASMCompilerBarrier(); 9484 9484 RTUINT128U uDstOut; … … 9498 9498 IEM_DECL_IMPL_DEF(void, iemAImpl_vpackssdw_u128_fallback,(PRTUINT128U puDst, PCRTUINT128U puSrc1, PCRTUINT128U puSrc2)) 9499 9499 { 9500 RTUINT128U const uSrc2 = { *puSrc2 };9501 RTUINT128U const uSrc1 = { *puSrc1 };9500 RTUINT128U const uSrc2 = *puSrc2; 9501 RTUINT128U const uSrc1 = *puSrc1; 9502 9502 ASMCompilerBarrier(); 9503 9503 RTUINT128U uDstOut; … … 9516 9516 IEM_DECL_IMPL_DEF(void, iemAImpl_vpackssdw_u256_fallback,(PRTUINT256U puDst, PCRTUINT256U puSrc1, PCRTUINT256U puSrc2)) 9517 9517 { 9518 RTUINT256U const uSrc2 = { *puSrc2 };9519 RTUINT256U const uSrc1 = { *puSrc1 };9518 RTUINT256U const uSrc2 = *puSrc2; 9519 RTUINT256U const uSrc1 = *puSrc1; 9520 9520 ASMCompilerBarrier(); 9521 9521 RTUINT256U uDstOut; … … 9552 9552 IEM_DECL_IMPL_DEF(void, iemAImpl_packusdw_u128,(PRTUINT128U puDst, PCRTUINT128U puSrc)) 9553 9553 { 9554 RTUINT128U const uSrc2 = { *puSrc };9555 RTUINT128U const uSrc1 = { *puDst };9554 RTUINT128U const uSrc2 = *puSrc; 9555 RTUINT128U const uSrc1 = *puDst; 9556 9556 ASMCompilerBarrier(); 9557 9557 RTUINT128U uDstOut; … … 9570 9570 IEM_DECL_IMPL_DEF(void, iemAImpl_vpackusdw_u128_fallback,(PRTUINT128U puDst, PCRTUINT128U puSrc1, PCRTUINT128U puSrc2)) 9571 9571 { 9572 RTUINT128U const uSrc2 = { *puSrc2 };9573 RTUINT128U const uSrc1 = { *puSrc1 };9572 RTUINT128U const uSrc2 = *puSrc2; 9573 RTUINT128U const uSrc1 = *puSrc1; 9574 9574 ASMCompilerBarrier(); 9575 9575 RTUINT128U uDstOut; … … 9588 9588 IEM_DECL_IMPL_DEF(void, iemAImpl_vpackusdw_u256_fallback,(PRTUINT256U puDst, PCRTUINT256U puSrc1, PCRTUINT256U puSrc2)) 9589 9589 { 9590 RTUINT256U const uSrc2 = { *puSrc2 };9591 RTUINT256U const uSrc1 = { *puSrc1 };9590 RTUINT256U const uSrc2 = *puSrc2; 9591 RTUINT256U const uSrc1 = *puSrc1; 9592 9592 ASMCompilerBarrier(); 9593 9593 RTUINT256U uDstOut;
Note:
See TracChangeset
for help on using the changeset viewer.