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: hoist more loop invariants


> Isn't there a macro for this?
>
> @findex AVOID_CCMODE_COPIES
> @item AVOID_CCMODE_COPIES
> Define this macro if the compiler should avoid copies to/from
> @code{CCmode} registers.  You should only define this macro if support for
> copying to/from @code{CCmode} is incomplete.
> @end table

Sure, but can_copy_p is more general (see gcse.c:compute_can_copy).

-- 
Eric Botcazou


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