Re: mmx register moves through memory

2005-08-31 Thread Vahur Sinijärv
Richard Henderson wrote: I do not see the point why you should discourage the register allocator from using mmx registers, move through memory is clearly inefficent and enlarges resulting code (if the function containing moves is inlined in several places, even more so). First, what you

Re: mmx register moves through memory

2005-08-31 Thread Vahur Sinijärv
I filed a bug #23660: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23660 Regards, Vahur Richard Guenther wrote: On 8/31/05, Vahur Sinijärv <[EMAIL PROTECTED]> wrote> Hi, No, the problem I wrote about is not fixed. I used GCC from CVS head 30.08.2005. I think you found a different

Re: mmx register moves through memory

2005-08-31 Thread Vahur Sinijärv
prevents moves directly from general registers to MMX registers, so this cannot be the case. Regards, Vahur Prakash Punnoor wrote: Hi, Vahur Sinijärv schrieb: I've found that latest GCC versions (past 4.0.0 and up to latest in CVS head) never use 'movd %genreg, %mmxreg&#x

mmx register moves through memory

2005-08-31 Thread Vahur Sinijärv
Hi ! I've found that latest GCC versions (past 4.0.0 and up to latest in CVS head) never use 'movd %genreg, %mmxreg' to load mmx registers and always insists doing it through memory eq. 'mov %genreg, (mem)' 'movd (mem), %mmxreg' Older GCC versions do the same thing directly, without involving