Subject: Instruction question: bbXX .vs. insv
To: NetBSD/vax Discussions <port-vax@netbsd.org>
From: Matt Thomas <matt@3am-software.com>
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
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: matt@3am-software.com
3am Software Foundry              www: http://3am-software.com/bio/matt/
Cupertino, CA              disclaimer: I avow all knowledge of this message.