From: Christian König
> Sent: 15 April 2020 08:57
> Am 15.04.20 um 09:41 schrieb Jani Nikula:
> > On Tue, 14 Apr 2020, Alex Deucher wrote:
> >> On Tue, Apr 14, 2020 at 9:05 AM Bernard Zhao wrote:
> >>> On some processors, the / operate will call the compiler`s div lib,
> >>> which is low efficien
David Airlie ; Kuehling,
Felix ; LKML ; amd-gfx
list ; ker...@vivo.com ; Huang,
Ray ; Russell, Kent ; Deucher,
Alexander ; Sam Ravnborg ; Yuan,
Xiaojie
Subject: Re: [PATCH] Optimized division operation to shift operation
Am 15.04.20 um 09:41 schrieb Jani Nikula:
> On Tue, 14 Apr 2020, Alex
On Wed, Apr 15, 2020 at 9:57 AM Christian König
wrote:
>
> Am 15.04.20 um 09:41 schrieb Jani Nikula:
> > On Tue, 14 Apr 2020, Alex Deucher wrote:
> >> On Tue, Apr 14, 2020 at 9:05 AM Bernard Zhao wrote:
> >>> On some processors, the / operate will call the compiler`s div lib,
> >>> which is low
Am 15.04.20 um 09:41 schrieb Jani Nikula:
On Tue, 14 Apr 2020, Alex Deucher wrote:
On Tue, Apr 14, 2020 at 9:05 AM Bernard Zhao wrote:
On some processors, the / operate will call the compiler`s div lib,
which is low efficient, We can replace the / operation with shift,
so that we can replace
On Tue, 14 Apr 2020, Alex Deucher wrote:
> On Tue, Apr 14, 2020 at 9:05 AM Bernard Zhao wrote:
>>
>> On some processors, the / operate will call the compiler`s div lib,
>> which is low efficient, We can replace the / operation with shift,
>> so that we can replace the call of the division library
On some processors, the / operate will call the compiler`s div lib,
which is low efficient, We can replace the / operation with shift,
so that we can replace the call of the division library with one
shift assembly instruction.
Signed-off-by: Bernard Zhao
---
drivers/gpu/drm/amd/amdgpu/gmc_v6_0.
On Tue, Apr 14, 2020 at 9:05 AM Bernard Zhao wrote:
>
> On some processors, the / operate will call the compiler`s div lib,
> which is low efficient, We can replace the / operation with shift,
> so that we can replace the call of the division library with one
> shift assembly instruction.
>
> Sign