aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-03 13:14:30 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-03 13:14:30 +0000
commit313e45cd4ffd4b8d37f3b02bb67699f1c5bfdf06 (patch)
tree855a25048f055dd4070d6472ee2ea1ad3ae5afc4 /io.c
parentaafa14b4e8e0340b5bc1ab6bcbd76f5e5435e15f (diff)
downloadruby-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 'io.c')
0 files changed, 0 insertions, 0 deletions