This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] rtl.h: Include insn-config.h


Hi Zack,

> I have an alternate suggestion: simply use the definition
> 
> #define CC0_P(X) ((X) == cc0_rtx)
> 
> always.  If you look at emit-rtl.c (init_emit_once), cc0_rtx is always
> available, even on non-cc0 targets.  On those targets it should still
> be found always to be false.

If people are happy with your suggestion, I am certainly OK with it.
I thought people might want to prevent even tiny slow down that comes
from always defining CC0_P like "#define CC0_P(X) ((X) == cc0_rtx)",
but I guess the difference is too small to see.

Kazu Hirata


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]