just coding style
This commit is contained in:
parent
52c80539ef
commit
ada455c4b9
@ -508,7 +508,7 @@ BX_CPP_INLINE void xmm_zero_pblendb(BxPackedXmmRegister *dst, const BxPackedXmmR
|
||||
|
||||
BX_CPP_INLINE void xmm_pblendw(BxPackedXmmRegister *op1, const BxPackedXmmRegister *op2, unsigned mask)
|
||||
{
|
||||
for (unsigned n=0; n < 8; n++, mask>>=1) {
|
||||
for (unsigned n=0; n < 8; n++, mask >>= 1) {
|
||||
if (mask & 0x1) op1->xmm16u(n) = op2->xmm16u(n);
|
||||
}
|
||||
}
|
||||
@ -524,7 +524,7 @@ BX_CPP_INLINE void xmm_zero_pblendw(BxPackedXmmRegister *dst, const BxPackedXmmR
|
||||
|
||||
BX_CPP_INLINE void xmm_blendps(BxPackedXmmRegister *op1, const BxPackedXmmRegister *op2, unsigned mask)
|
||||
{
|
||||
for (unsigned n=0; n < 4; n++, mask>>=1) {
|
||||
for (unsigned n=0; n < 4; n++, mask >>= 1) {
|
||||
if (mask & 0x1) op1->xmm32u(n) = op2->xmm32u(n);
|
||||
}
|
||||
}
|
||||
@ -540,7 +540,7 @@ BX_CPP_INLINE void xmm_zero_blendps(BxPackedXmmRegister *dst, const BxPackedXmmR
|
||||
|
||||
BX_CPP_INLINE void xmm_blendpd(BxPackedXmmRegister *op1, const BxPackedXmmRegister *op2, unsigned mask)
|
||||
{
|
||||
for (unsigned n=0; n < 2; n++, mask>>=1) {
|
||||
for (unsigned n=0; n < 2; n++, mask >>= 1) {
|
||||
if (mask & 0x1) op1->xmm64u(n) = op2->xmm64u(n);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user