In OpenPOWER v3.0/1, BF/BT/BA/BB are all 5 bits. The top 3 bits (0:2)
select one of the 8 CRs; the bottom 2 bits (3:4) select one of 4 bits
-*in* that CR. The numbering was determined (after 4 months of
+*in* that CR (EQ/LT/GT/SO). The numbering was determined (after 4 months of
analysis and research) to be as follows:
CR_index = 7-(BA>>2) # top 3 bits but BE
CR_bit = (CR_reg & (1<<bit_index)) != 0
When it comes to applying SV, it is the CR\_reg number to which SV EXTRA2/3
-applies, **not** the CR\_bit portion (bits 3:4):
+applies, **not** the CR\_bit portion (bits 3-4):
if extra3_mode:
spec = EXTRA3
return (spec[1:2] << 5) | BA
Thus, for example, to access a given bit for a CR in SV mode, the v3.0B
-algorithm to determin CR\_reg is modified to as follows:
+algorithm to determine CR\_reg is modified to as follows:
CR_index = 7-(BA>>2) # top 3 bits but BE
if spec[0]: