This is the mail archive of the
mailing list for the GCC project.
Re: mmx register moves through memory
- From: Vahur Sinijärv <vahur dot sinijarv at cydonia dot ee>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 31 Aug 2005 15:06:48 +0300
- Subject: Re: mmx register moves through memory
- References: <email@example.com> <4315959F.firstname.lastname@example.org>
No, the problem I wrote about is not fixed. I used GCC from CVS head
I think you found a different bug, you seem to have many unneccessary
uses of secondary memory between moves from MMX reg to MMX reg. The code
I wrote about (in i386.c) allows direct moves between MMX regs, but
prevents moves directly from general registers to MMX registers, so this
cannot be the case.
Prakash Punnoor wrote:
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' to load mmx registers and always
insists doing it through memory eq.
'mov %genreg, (mem)'
'movd (mem), %mmxreg'
I haven't read entirely through your mail, but I have reported above issue
already and it seems to be fixed in cvs: