Re: [AD] Bug in MMX linear_clear_to_color8 with asynchronous usage

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> > I think we ought not patch the IRQ stub. The problem has existed with
> > normal FP code from the very beginning, before the MMX code was added,
and
> > I guess that the decision not to save the FPU state was made knowingly
by
> > Shawn
>
> Here's what I propose to add to the docs

"Moreover, the FPU state is not
+preserved across Allegro interrupts so you ought not to use floating point
+or MMX code inside timer interrupt handlers "

To me it is a 'bit' unclear if that retriction is applied to interrupts or
just djgpp interrupts.
In fact, it is applied to djgpp or every system? Since right now I am
clueless :)





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/