On Mon, 6 Aug 2001 15:41:59 -0700 , Hong Zhang wrote:

>>Branches should work from 
>> both constants and registers.
>
>Even so, the "branch #num" should have better performance, and
>it is part of any machine language. Since we already have jump 
>instruction, do we really need the "branch %r", which can be
>simulated by "add %r, %pc, #num; jump %r".

In a way, I feel like agreeing. Isn't branch #num the normal case?
Should you waste time on the normal case because you want to be able to
do exceptional stuff too?

And don't calculated jumps kill caching efficiency? (Or is this "old
CPU" wisdom?)

But I do not agree that calculated jumps should be done in such a hard
way.

-- 
        Bart.

Reply via email to