Ignore:
Timestamp:
Jun 2, 2020, 2:38:25 PM (20 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast, new-ast-unique-expr
Children:
16ee228
Parents:
0092853
Message:

Add first draft of SNZI + MASK approach

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/thierry_delisle_PhD/code/utils.hpp

    r0092853 r47a541d  
    106106}
    107107
     108static inline unsigned rand_bit(unsigned rnum, size_t mask) __attribute__((artificial));
    108109static inline unsigned rand_bit(unsigned rnum, size_t mask) {
    109110        unsigned bit = mask ? rnum % __builtin_popcountl(mask) : 0;
Note: See TracChangeset for help on using the changeset viewer.