Changeset 11924 for release


Ignore:
Timestamp:
Apr 9, 2009, 9:53:20 PM (10 years ago)
Author:
rme
Message:

Merge r11839 from trunk (improve error message about missing required
x86 features).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/1.3/source/lisp-kernel/pmcl-kernel.c

    r11697 r11924  
    13971397{
    13981398  natural eax, ebx, ecx, edx;
    1399  
     1399
    14001400  eax = cpuid(0, &ebx, &ecx, &edx);
    14011401
     
    14061406      return true;
    14071407    }
     1408    /* It's very unlikely that SSE2 would be present and other things
     1409       that we want wouldn't.  If they don't have MMX or CMOV either,
     1410       might as well tell them. */
     1411    if ((edx & X86_FEATURE_SSE2) == 0) {
     1412      fprintf(dbgout, "This CPU doesn't support the SSE2 instruction set\n");
     1413    }
     1414    if ((edx & X86_FEATURE_MMX) == 0) {
     1415      fprintf(dbgout, "This CPU doesn't support the MMX instruction set\n");
     1416    }
     1417    if ((edx & X86_FEATURE_CMOV) == 0) {
     1418      fprintf(dbgout, "This CPU doesn't support the CMOV instruction\n");
     1419    }
     1420   
    14081421  }
    14091422  return false;
Note: See TracChangeset for help on using the changeset viewer.