Mail Archives: pgcc/1999/08/12/22:47:03
On Sun, 8 Aug 1999, Mark Brown wrote:
> On Fri, Aug 06, 1999 at 02:46:26AM -0300, Peter Cordes wrote:
>
> > 2. MMX instructions are executed by the bzip2-mmx binary, even on non-mmx
> > machines. (I'm guessing that it is supposed to figure out which you have
> > and run the appropriate code, so it is meant to work on non-mmx machines.
> > If not, then this is not a bug.)
>
> It's not supposed to do any detection of the machine. The same thing
> will happen with any of the other options which generate instructions
> that don't run on all targets (eg, Pentium instructions).
>
Ok, so why is there a bzip-mmx and a bzip2-mmxonly? I noticed that the
bzip2-mmxonly is faster than bzip2-mmx when compressing on a PIII and on a
P200 MMX.
BTW, like I said, I didn't compile any of these myself, I just downloaded
them and tested them, in case that was what somebody was hoping would
happen ;)
I was expecting the MMX-only version to run only on MMX-capable CPUs,
but since there was a different binary called bzip2-mmx, I guessed
that bzip2-mmx would pick at runtime what to do. If I guessed wrong, then
that's not really a bug. Does anyone know what compile options were used
for each of these.
There is still the problem about decompressing.
#define X(x,y) x##y
Peter Cordes ; e-mail: X(peter AT cordes DOT phys. , dal.ca)
- Raw text -