Someone wrote:

>> And you can use BCTR to save a few µS.

> Why do you think BCTR would save such a large amount of time? Perhaps
> you're again talking about old machines. Surely BRCT/JCT would be the
> time saver on a current machine if there is one for this case.

Yes, he must have been thinking about an old machine, specifically
the 360/40. It is about 5 microseconds on the 360/30.

Interestingly, BCT is faster than BCTR on the 360/50 and up.

Newer machines with branch prediction will normally predict the
branch as taken, and the time will be independent of which form
is used, except possibly for the first time.

-- glen

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to