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 | 512998e38f7f4cb9c3cd38e74d608a9c964963fc (patch) | |
tree | 58ecc98b1fea780ca6d5c0dd952630fdd792e4c5 /ChangeLog | |
parent | e94a09fddb8198807cfdec5ab2bac5b59ebd2a33 (diff) | |
download | ruby-512998e38f7f4cb9c3cd38e74d608a9c964963fc.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. |