vendredi 14 novembre 2014

Difference between the AVX instructions vxorpd and vpxor


Vote count:

0




According to the Intel Intrinsics Guide,



  • vxorpd ymm, ymm, ymm: Compute the bitwise XOR of packed double-precision (64-bit) floating-point elements in a and b, and store the results in dst.

  • vpxor ymm, ymm, ymm: Compute the bitwise XOR of 256 bits (representing integer data) in a and b, and store the result in dst.


What is the difference between the two? It appears to me that both instructions would do a bitwise XOR on all 256 bits of the ymm registers. Is there any performance penalty if I use vxorpd for integer data (and vice versa)?



asked 1 min ago

netvope

1,315






Difference between the AVX instructions vxorpd and vpxor

Aucun commentaire:

Enregistrer un commentaire