I have checked the costs and benefits of inlining memcpy. The memcpy3d functions consist
of about 40 machine instructions taking up 110 bytes.
Athlon docs recommend inlining for less than 25 machine instructions.
$ objdump -d vmlinux | grep memcpy -- | wc
430 3709 28419
so inlining them would cost 412*110 or 45k.
Who is the author/maintainer of the Athlon code? I don't see any reference in the source
or the kernel docs.
Tom
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/