Software Tuning, Performance Optimization & Platform Monitoring
Discussion regarding monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform updating.

is it safe to shuffle integer values with VSHUFPS

Huaqiang_W_Intel
Employee
734 Views

Given the following instructions:

 

vmovdqu8 ymm0, ymmword ptr [rdi]

vmovdqu8 ymm1, ymmword ptr [rdi+0x20]

vshufps ymm2, ymm1, ymm0, 0x88

 

We loaded integer type data to ymm0 and ymm1 registers with vmovdqu8 instruction, then a float precision shuffling instruction 'vshufps' was used afterwards. 

 

I would like to know if it is safe to use 'vshufps' instruction in this place. Any potential risk here?

 

Thanks

0 Kudos
0 Replies
Reply