gen/genacorn.c
static void extract_sub_parts(void)
{
    // LFSR6
    alloc_low_reg(&s244);
    alloc_low_reg(&s235);
    extract_two_parts(s244, s235, 244, 235);

    // LFSR5
    alloc_low_reg(&s196);
    extract_one_part(s196, 196);

    // LFSR4
    alloc_low_reg(&s160);
    extract_one_part(s160, 160);

    // LFSR3
    alloc_high_reg(&s111);
    extract_one_part(s111, 111);

    // LFSR2
    alloc_low_reg(&s66);
    extract_one_part(s66, 66);

    // LFSR1
    alloc_low_reg(&s23);
    alloc_low_reg(&s12);
    extract_two_parts(s23, s12, 23, 12);
}
// Extract out various sub-parts of the state as 8-bit bytes.
// We do this by extracting two bytes around the one we want
// and then shifting it left or right until it is byte-aligned.
// Sometimes there is overlap and we can extract 3 bytes and shift.
Extract out various sub-parts of the state as 8-bit bytes.
We do this by extracting two bytes around the one we want
and then shifting it left or right until it is byte-aligned.
Sometimes there is overlap and we can extract 3 bytes and shift.
Extract out various sub - parts of the state as 8 - bit bytes . We do this by extracting two bytes around the one we want and then shifting it left or right until it is byte - aligned . Sometimes there is overlap and we can extract 3 bytes and shift .
static void extract_sub_parts(void)
{
    alloc_low_reg(&s244);
    alloc_low_reg(&s235);
    extract_two_parts(s244, s235, 244, 235);
    alloc_low_reg(&s196);
    extract_one_part(s196, 196);
    alloc_low_reg(&s160);
    extract_one_part(s160, 160);
    alloc_high_reg(&s111);
    extract_one_part(s111, 111);
    alloc_low_reg(&s66);
    extract_one_part(s66, 66);
    alloc_low_reg(&s23);
    alloc_low_reg(&s12);
    extract_two_parts(s23, s12, 23, 12);
}
static void extract_sub_parts ( void ) { alloc_low_reg ( & s244 ) ; alloc_low_reg ( & s235 ) ; extract_two_parts ( s244 , s235 , 244 , 235 ) ; alloc_low_reg ( & s196 ) ; extract_one_part ( s196 , 196 ) ; alloc_low_reg ( & s160 ) ; extract_one_part ( s160 , 160 ) ; alloc_high_reg ( & s111 ) ; extract_one_part ( s111 , 111 ) ; alloc_low_reg ( & s66 ) ; extract_one_part ( s66 , 66 ) ; alloc_low_reg ( & s23 ) ; alloc_low_reg ( & s12 ) ; extract_two_parts ( s23 , s12 , 23 , 12 ) ; }
Extract out various sub-parts of the state as 8-bit bytes.
Extract out various sub - parts of the state as 8 - bit bytes .
// LFSR6 // LFSR5 // LFSR4 // LFSR3 // LFSR2 // LFSR1