Subject: Re: Instruction question: bbXX .vs. insv
To: None <port-vax@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: port-vax
Date: 07/17/2003 22:35:08
>     bb{sc,cc,cs,cc} <BITNO>,<DST>,label
> label:

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

> Both have the same outcome (sans CC)

Even including CC, according to my copy of the VARM - neither one
touches the condition codes.

> but does the elimination of a branch speed things up?  Anyone what to
> perform a test?

I haven't tested speed (yet - and I couldn't test on anything but a
KA630 anyway), but I do note that the bb[sc][sc] form is one byte
shorter (assuming short literals for the first and third insv
operands).

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B