--- pgp/src/mpilib.h 2018/04/24 16:42:16 1.1.1.6 +++ pgp/src/mpilib.h 2018/04/24 16:43:35 1.1.1.7 @@ -117,13 +117,15 @@ typedef long signedunit; #define power_of_2(b) ((unit) 1 << (b)) /* computes power-of-2 bit masks */ #define bits2bytes(n) (((n)+7) >> 3) /* Some C compilers (like the ADSP2101) will not always collapse constant - expressions at compile time if the expressions contain shift operators. */ + expressions at compile time if the expressions contain shift + operators. */ /* #define uppermostbit power_of_2(UNITSIZE-1) */ /* #define UNITSIZE units2bits(1) */ /* number of bits in a unit */ /* #define bytes2units(n) bits2units((n)<<3) */ /* #define BYTES_PER_UNIT (UNITSIZE >> 3) */ /* LOG_UNITSIZE is the log base 2 of UNITSIZE, ie: 4 for 16-bit units */ -/* #define units2bits(n) ((n) << LOG_UNITSIZE) */ /* fast multiply by UNITSIZE */ +/* #define units2bits(n) ((n) << LOG_UNITSIZE) */ /* fast multiply by + UNITSIZE */ /* #define units2bytes(n) ((n) << (LOG_UNITSIZE-3)) */ /* #define bits2units(n) (((n)+(UNITSIZE-1)) >> LOG_UNITSIZE) */ /* #define bytes2units(n) (((n)+(BYTES_PER_UNIT-1)) >> (LOG_UNITSIZE-3)) */ @@ -196,7 +198,8 @@ typedef unit *unitptr; /* Note that the address calculations require that lsbptr, msbptr, make_lsbptr, make_msbptr, mp_tstbit, mp_setbit, mp_clrbit, - and bitptr all have unitptr arguments, not byte pointer arguments. */ + and bitptr all have unitptr arguments, not byte pointer arguments. +*/ #define bitptr(r,n) &((r)[bit_index(n)]) #define bitmsk(n) power_of_2((n) & (UNITSIZE-1)) /* bitmsk() assumes UNITSIZE is a power of 2 */