altivec: mov patterns, add m<-r and r<-r

David Edelsohn dje@watson.ibm.com
Wed Feb 13 21:44:00 GMT 2002


2002-02-14  Aldy Hernandez  <aldyh@redhat.com>

	* config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
	alternatives.
	("*movv8hi_internal1"): Same.
	("*movv16qi_internal1"): Same.
	("*movv4sf_internal1"): Same.

	* config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
	not push_reload for altivec modes.

Yes, these patches are fine.

	I suspect you also may need a v <- "0" no-op move to yourself in
each mov* pattern.

Thanks, David



More information about the Gcc-patches mailing list