Software Tuning, Performance Optimization & Platform Monitoring
Discussion regarding monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform updating.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

is it safe to shuffle integer values with VSHUFPS

Huaqiang_W_Intel
Employee
1,051 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