zero extensions for PPro

Richard Henderson rth@cygnus.com
Tue Mar 9 01:23:00 GMT 1999


On Tue, Mar 09, 1999 at 01:52:50AM -0700, Jeffrey A Law wrote:
> ! (define_insn ""
> !   [(set (match_operand:SI 0 "register_operand" "=r")
> ! 	(zero_extend:SI (match_operand:HI 1 "nonimmediate_operand" "rm")))]
> !   "(optimize_size || (int)ix86_cpu == (int)PROCESSOR_PENTIUMPRO)"
> !   "* return AS2 (movz%W0%L0,%1,%0);")

You should be checking TARGET_ZERO_EXTEND_WITH_AND rather than
specifically for ppro.


r~


More information about the Gcc-patches mailing list