[PATCH 1/2] ARM64:VDSO: Improve gettimeofday, don't use udiv
Christopher Covington
cov at codeaurora.org
Thu Mar 24 07:36:48 PDT 2016
On 03/13/2016 03:50 PM, Andrew Pinski wrote:
> On many cores, udiv with a large value is slow, expand instead
> the division out to be what GCC would have generated for the
> divide by 1000.
This like checking object code into version control. Why not write in C
and let GCC perform the generation?
Thanks,
Cov
--
Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
More information about the linux-arm-kernel
mailing list