This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
pp_divide: use modulo instead of multiplication
On most architectures with hardware integer division (like
x86 or aarch64), division instruction returns both the remainder
and the quotient. It means that performing modulo operation
immediately after division using the same operands is 100% free.
Essentially this commit changes "div" and "mul" into a single "div"
instruction, which results in minor speed up.
[perl #133511]