Q: regmove.c:gen_add3_insn

Richard Henderson rth@cygnus.com
Wed Apr 12 13:43:00 GMT 2000


On Wed, Apr 12, 2000 at 11:17:27AM +0200, Thomas Sailer wrote:
> If the target does not support word_mode adds with constants,

How irritating.

> Could if (!tmp) return NULL_RTX; be added to discover_flags_reg
> just after the gen_add3_insn invocation, or would bad things happen
> if this is done?

We need to know if there is a register clobbered by the add. 
Try instead 

  tmp = gen_add3_insn (tmp, tmp, tmp);

but failing that return pc_rtx not NULL_RTX.


r~


More information about the Gcc mailing list