]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
Obtained more ILP with VMX by breaking a data dependency
authorAdam Stylinski <kungfujesus06@gmail.com>
Thu, 3 Feb 2022 23:23:45 +0000 (18:23 -0500)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Sun, 6 Feb 2022 15:51:53 +0000 (16:51 +0100)
commitac250aed9c982b60dd7a503bbaa93a9cbf963d75
tree30da8ea2ce905b13666d1a210af419b517ff141e
parentee9ebafe1f0fd418102ab74a7cdfd5a4d70e845f
Obtained more ILP with VMX by breaking a data dependency

By unrolling and finding the equivalent recurrence relation here, we can
do more independent sums, maximizing ILP.  For when the data size fits
into cache, we get a sizable return.  For when we don't, it's minor but
still measurable.

Testing was done on a quad Powermac G5 at 2.5Ghz.
arch/power/adler32_vmx.c