title: 128-bit values - From XMM registers to General Purpose
body: <p>I have a couple of questions related to moving XMM values to general purpose registers. All the questions found on SO focus on the opposite, namely transfering values in gp registers to XMM.</p>
  
  <ol>
  <li><p>How can I move an XMM register value (128-bit) to two 64-bit general purpose registers?</p>
  
  <pre><code>movq RAX XMM1 ; 0th bit to 63th bit
  mov? RCX XMM1 ; 64th bit to 127th bit
  </code></pre></li>
  <li><p>Similarly, how can I move an XMM register value (128-bit) to four 32-bit general purpose registers?</p>
  
  <pre><code>movd EAX XMM1 ; 0th bit to 31th bit
  mov? ECX XMM1 ; 32th bit to 63th bit
  
  mov? EDX XMM1 ; 64th bit to 95th bit
  mov? ESI XMM1 ; 96th bit to 127 bit
  </code></pre></li>
  </ol>