Re: [PATCH 1/2] ARM64:VDSO: Improve gettimeofday, don't use udiv
From: Christopher Covington
Date: Thu Mar 24 2016 - 10:37:06 EST
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?
Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project