[Scummvm-devel] HQ scalers in i386 assembly

Eugene Sandulenko sev at interhack.net
Thu May 20 08:36:07 CEST 2004


Hi devers,

as you noticed, HQ2x and especially HQ3x scalers are most heavy
computational part of ScummVM. I myself prefer these scalers over most
(well, except plain 2x) but there are two main issues which annoy me:

  o Compilation time
  o run-time CPU impact

Original author also published optimized i386 assembly versions of
these scalers, and recently there were some efforts put to make this
code run in ScummVM. Well, it uses nasm (portable i386 assembler),
compilation is blazingly fast and speedup is at least 5x for HQ2x scaler,
didn't measure it for HQ3x, though.

Now I would like to ask your opinion, is this code worth to go to CVS?
It is be optional, i.e. it compiles old C code on non-Intel
platforms. I still have to modify configure script, so it will be
autodetected which version should be compiled, but before I put
efforts into that I would like to hear your opinion.

Please, reply, even if you don't care.


Eugene




More information about the Scummvm-devel mailing list