DescriptionLower bitmanip intrinsics, assuming absence of BMI/SSE4.2 for now.
We'll need the fallbacks in any case. However, once we've
decided on how to specify the CPU features of the user
machine we can use the nicer LZCNT/TZCNT/POPCNT as well.
Adds cmov, bsf, and bsr instructions.
Calls a popcount helper function for machines without SSE4.2.
Not handling bswap yet (which can also take i16 params).
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3882
R=stichnot@chromium.org, wala@chromium.org
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=e4da26f
Patch Set 1 #Patch Set 2 : add crosstest #Patch Set 3 : stuff #
Total comments: 21
Patch Set 4 : review part (a) #Patch Set 5 : use Unary #Patch Set 6 : try to merge the two #
Total comments: 6
Patch Set 7 : format #Patch Set 8 : review #
Messages
Total messages: 9 (0 generated)
|