Subject: Instruction question: bbXX .vs. insv
To: NetBSD/vax Discussions <>
From: Matt Thomas <>
List: port-vax
Date: 07/17/2003 19:20:27
In a number of places, NetBSD/vax uses the construct of

    bb{sc,cc,cs,cc} <BITNO>,<DST>,label

 to set or clear individual bits.  Now that got me to wondering whether
doing the following is an improvement:

    insv {$1,$0},<BITNO>,$1,<DST>

Both have the same outcome (sans CC) but does the elimination of a branch
speed things up?  Anyone what to perform a test?
Matt Thomas                     email:
3am Software Foundry              www:
Cupertino, CA              disclaimer: I avow all knowledge of this message.