This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for better support of LEA in HI/QI mode arithmetic.
- To: Jan Hubicka <hubicka at atrey dot karlin dot mff dot cuni dot cz>
- Subject: Re: Patch for better support of LEA in HI/QI mode arithmetic.
- From: Jeffrey A Law <law at upchuck dot cygnus dot com>
- Date: Wed, 14 Apr 1999 23:40:41 -0600
- cc: egcs-patches at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
> + ;; The combiner patterns for lea instruction with HI mode operands.
> + ;; We can not use addressing operand here, so we have to code it by hand.
> + ;; It can be hard to cover all cases, so here are patterns just for the
> most common ones.
Question -- why can't you write them using address_operand?
(define_insn ""
[(set (match_operand:HI 0 "register_operand" "=r")
(match_operand:HI 1 "address_operand" "p"))]
""
[ ... ]
IMHO the versions which use ior are not worth the effort.
jeff