[Top] [All Lists]

Re: PATCH: Fix ll/sc for mips (take 3)

To: (H . J . Lu)
Subject: Re: PATCH: Fix ll/sc for mips (take 3)
From: Hartvig Ekner <>
Date: Sat, 2 Feb 2002 21:49:29 +0100 (MET)
Cc: (Justin Carlson), (Daniel Jacobowitz), (Maciej W. Rozycki), (Hiroyuki Machida),,,
In-reply-to: <> from "H . J . Lu" at Feb 02, 2002 12:03:54 PM
H . J . Lu writes:
> Does everyone agree with this? If yes, I can make a patch not to use
> branch likely. But on the other hand, "gcc -mips2" will generate code
> using branch likely. If branch likely doesn't buy you anything, 
> shouldn't we change gcc not to generate branch likely instructions?

I would say it's still too early to actively remove them. There are many
processors out there (certainly in the embedded world most of them)
without branch prediction, and for all of those branch-likelys actually
help performance.


<Prev in Thread] Current Thread [Next in Thread>