title: Difference between the AVX instructions vxorpd and vpxor
body: <p>According to the <a href="https://software.intel.com/sites/landingpage/IntrinsicsGuide/">Intel Intrinsics Guide</a>,</p>
  
  <ul>
  <li><code>vxorpd ymm, ymm, ymm</code>: Compute the bitwise XOR of packed double-precision (64-bit) floating-point elements in a and b, and store the results in dst.</li>
  <li><code>vpxor ymm, ymm, ymm</code>: Compute the bitwise XOR of 256 bits (representing integer data) in a and b, and store the result in dst.</li>
  </ul>
  
  <p>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 <code>vxorpd</code> for integer data (and vice versa)?</p>