diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-21 18:57:30 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-21 18:57:30 +0000 |
commit | 03d0501f514a8f815f434da35ef74226fad0f88f (patch) | |
tree | 58ecc98b1fea780ca6d5c0dd952630fdd792e4c5 /ChangeLog | |
parent | 74d7b281d3b8a7e023bf6b88af36bb6bc9d41e4c (diff) | |
download | ruby-03d0501f514a8f815f434da35ef74226fad0f88f.tar.gz |
* time.c (MUL_OVERFLOW_FIXWV_P): defined for FIXWV.
* time.c (wmul): use MUL_OVERFLOW_FIXWV_P and only switch.
* time.c (wmul): use mul which has Fixnum optimization.
* time.c (rb_time_magnify): If WIDEVALUE_IS_WIDER, wmul() has the same
optimized logic, else mul() has also the similar logic for Fixnum.
* time.c (rb_time_unmagnify): almost ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,16 @@ +Tue Mar 22 03:45:03 2016 NARUSE, Yui <naruse@ruby-lang.org> + + * time.c (MUL_OVERFLOW_FIXWV_P): defined for FIXWV. + + * time.c (wmul): use MUL_OVERFLOW_FIXWV_P and only switch. + + * time.c (wmul): use mul which has Fixnum optimization. + + * time.c (rb_time_magnify): If WIDEVALUE_IS_WIDER, wmul() has the same + optimized logic, else mul() has also the similar logic for Fixnum. + + * time.c (rb_time_unmagnify): almost ditto. + Tue Mar 22 03:10:09 2016 NARUSE, Yui <naruse@ruby-lang.org> * time.c (divmodv): add the case both arguments are Fixnum. |