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 /ChangeLog | |
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 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +Tue May 3 22:10:09 2016 NARUSE, Yui <naruse@ruby-lang.org> + + * 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. + Tue May 3 14:19:18 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> * parse.y (new_if_gen): set newline flag to NODE_IF to trace all |