[Scummvm-devel] Feature checks (MMX, SSE, Altivec...)

Eugene Sandulenko sev at interhack.net
Fri Oct 22 12:12:01 CEST 2004


Max Horn writes:
 > or, run the checks once at 
 > startup, and use it to fill in a (global?) structure with bools for 
 > each of these features.
For me this option looks more elegant. If we will have it as a call in
OSystem or common/utils.h then we will end up with those flags
everywhere.

Another nice feature would be to make possible to disable each
cpu-specific code from command line, i.e. something like
  --disable-altivec, --disable-mmx
or
  -disable altivec,mmx,3dnow,all

So even if certain processor feature is present, it could be
intentionally turned off.


Eugene




More information about the Scummvm-devel mailing list