Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 0f2b1e648156555a96ed54170e1b385a60010910
      
https://github.com/Perl/perl5/commit/0f2b1e648156555a96ed54170e1b385a60010910
  Author: TAKAI Kousuke <62541129+t-...@users.noreply.github.com>
  Date:   2025-08-19 (Tue, 19 Aug 2025)

  Changed paths:
    M inline.h
    M pod/perldelta.pod
    M pp.c
    M pp_hot.c
    M t/op/64bitint.t

  Log Message:
  -----------
  pp_{add,subtract,multiply}: use __builtin_{add,sub,mul}_overflow if available

This will hopefully make the code faster and smaller, and
make more cases to be handled as "simple common cases".

Note that this change uses HAS_BUILTIN_{ADD,SUB,MUL}_OVERFLOW macros
which have already been defined in config.h but seem not to have been
used by existing code.

t/op/64bitint.t: Add tests to exercise "simple common cases".
Note that these tests should pass even before this change.

Thanks to @tonycoz for advices to make this patch work better for
LLP64 platforms, especially Win32 x86-64.


  Commit: c27ae6c7f3b9e0a953bbb016337882676dea4b2a
      
https://github.com/Perl/perl5/commit/c27ae6c7f3b9e0a953bbb016337882676dea4b2a
  Author: TAKAI Kousuke <62541129+t-...@users.noreply.github.com>
  Date:   2025-08-19 (Tue, 19 Aug 2025)

  Changed paths:
    M t/op/64bitint.t

  Log Message:
  -----------
  t/op/64bitint.t: Added [GH 23503] tag on the loeading comment of new tests.

Thanks to @jkeenan for pointing this out.


Compare: https://github.com/Perl/perl5/compare/01de43c9d436...c27ae6c7f3b9

To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications

Reply via email to