Front page | perl.perl6.internals |
Postings from August 2001
Re: Draft assembly PDD
Thread Previous
|
Thread Next
From:
Bart Lateur
Date:
August 6, 2001 17:59
Subject:
Re: Draft assembly PDD
Message ID:
g5fumtod5rco6m5gd2tiidlo7gasjbsa07@4ax.com
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.
Thread Previous
|
Thread Next