This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, i386]: Rounding mode switching improvements


On Thu, Jun 02, 2005 at 10:08:27AM +0200, Uros Bizjak wrote:
>   By adding entity that handles emms/femms mode switching, the same
> approach can be used to implement emms/femms insertions to handle
> automatic switching between MMX/x87 state

I'm less sure about this.  Here we pretend mmx and fpu registers are
disjoint, when they aren't.  It seems to me you'd have to do something
to prevent the register allocator from trying to use them simultaneously.

But that's something else than this patch.

This patch is ok.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]