This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: altivec: memory to gpr copies
On Mon, Apr 22, 2002 at 11:00:57AM -0400, David Edelsohn wrote:
> 2002-04-22 Aldy Hernandez <aldyh@redhat.com>
>
> * config/rs6000/rs6000.md ("*movv4si_internal"): Change 'm'
> constraint to 'o' for m=r and r=m alternatives.
> ("*movv8hi_internal1"): Same.
> ("*movv16qi_internal1"): Same.
> ("*movv4sf_internal1"): Same.
>
> This patch is okay with me unless someone thinks it is a completely stupid
> idea.
>
> The other approach, if the pattern must accept all MEMs, is to
> notice non-offsettable RTL and explicitly increment the base register
> during output and restoring the original value of the base register at the
> end.
ok, i'll commit as is. if i find another code snippet that fails,
i'll have to do option 2, but this seems to fix my current problems.
aldy