This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: additional branch-prediction heuristic
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>,"Zack Weinberg" <zack at wolery dot cumb dot org>
- Subject: Re: additional branch-prediction heuristic
- From: "Geert Bosch" <bosch at gnat dot com>
- Date: Fri, 21 Apr 2000 07:36:16 -0400
- Reply-To: "Geert Bosch" <bosch at gnat dot com>
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