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]

Re: Add -mno-branch-likely for mips



  In message <200101250246.SAA19758@kankakee.wrs.com>you write:
  > Add -mno-branch-likely for mips.
  > 
  > 2001-01-24  Mike Stump  <mrs@wrs.com>
  > 
  > 	* config/mips/mips.h (mips_no_branch_likely): Add.
  > 	(mips_no_branch_likely_string): Add.
  > 	(GENERATE_BRANCHLIKELY): Use mips_no_branch_likely.
  > 	(TARGET_OPTIONS): Add -mno-branch-likely.
  > 	* config/mips/mips.c (mips_no_branch_likely): Add.
  > 	(mips_no_branch_likely_string): Add.
  > 	(override_options): Handle -mno-branch-likely.
So why do you really need this?

I ask because we had a customer ask for something similar recently, but upon
deeper inspection I believe the real bug is that we're not handling options
correctly (specifically we're not clearing the right bits in target_flags
when we see stuff like -mips1, -mips2, etc).

jeff



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