diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-03 13:14:30 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-03 13:14:30 +0000 |
commit | 313e45cd4ffd4b8d37f3b02bb67699f1c5bfdf06 (patch) | |
tree | 855a25048f055dd4070d6472ee2ea1ad3ae5afc4 /object.c | |
parent | aafa14b4e8e0340b5bc1ab6bcbd76f5e5435e15f (diff) | |
download | ruby-313e45cd4ffd4b8d37f3b02bb67699f1c5bfdf06.tar.gz |
* string.c (count_utf8_lead_bytes_with_word): Use __builtin_popcount
only if it can use SSE 4.2 POPCNT whose latency is 3 cycle.
* internal.h (rb_popcount64): use __builtin_popcountll because now
it is in fast path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
0 files changed, 0 insertions, 0 deletions