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 RFA] mips "Branch Likely" handling behaviour, options.


cgd@broadcom.com writes:
> +/* These variables are set by -mbranch-likely and -mno-branch-likely,
> +   respecitvely.  We only care whether the flags appear or not,
> +   and using a string in this fashion is just a way to avoid using up
> +   two bits in target_flags.  (Two bits would be used since the fact
> +   that one of these was set must be recorded, in addition to the value.)  */
> +const char *mips_branch_likely_string;
> +const char *mips_no_branch_likely_string;
> +

You could use target_flags_explicit (recent addition ;-).  Then
you'd only need one target flag, and there are still a few left.

Richard


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