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: additional branch-prediction heuristic


On Thu, 20 Apr 2000 12:47:05 -0700, Zack Weinberg wrote:
  This adds a new predictor which causes -freorder-blocks to transform
    if (condition) abort();

Great! If I understand this correctly, the patch will work in all cases
where a noreturn function is called? This would be a great benefit
for Ada, where range checking emits calls in the form

   if (range_check_fails) then
      raise_exception (constraint_error, file, line);
   end if;

I'll try this out ASAP! :-)

   Geert





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