> I understand also that unconditional branches are faster than conditional > branches. So, which is faster: > > BNZ LABEL Branch most frequent > or: > BZ *+8 "fall through" most frequent > B LABEL Unconditional
It might seem naïve but I would assume that 1 branch (the first option) is always faster than 2 branches (the second option). The branch prediction in the CPU should figure out with execution path is most likely. Fred! ----------------------------------------------------------------- ATTENTION: The information in this electronic mail message is private and confidential, and only intended for the addressee. Should you receive this message by mistake, you are hereby notified that any disclosure, reproduction, distribution or use of this message is strictly prohibited. Please inform the sender by reply transmission and delete the message without copying or opening it. Messages and attachments are scanned for all viruses known. If this message contains password-protected attachments, the files have NOT been scanned for viruses by the ING mail domain. Always scan attachments before opening them. -----------------------------------------------------------------