/* Reads and returns the current value of MM5. This function is only available on IA-32 and X64. */
UINT64 EFIAPI AsmReadMm5(VOID)
/* Reads and returns the current value of MM5. This function is only available on IA-32 and X64. */
UINT64 EFIAPI AsmReadMm5(VOID)
{
  UINT64  Data;
  __asm__ __volatile__ (
    "movd  %%mm5,  %0    \n\t"
    : "=r"  (Data)
  );
  return Data;
}