Re: [PATCH v6 09/11] RISC-V: Add libgcc helpers for clz

2019-02-20 Thread Daniel Kiper
On Tue, Feb 19, 2019 at 02:26:04PM +0100, Alexander Graf wrote: > On 02/18/2019 08:55 PM, Daniel Kiper wrote: > > On Tue, Feb 12, 2019 at 11:31:06AM +0100, Alexander Graf wrote: > > > Gcc may decide it wants to call helper functions to execute clz. Provide > > Do we know when it happens? Could we a

Re: [PATCH v6 09/11] RISC-V: Add libgcc helpers for clz

2019-02-19 Thread Alexander Graf
On 02/18/2019 08:55 PM, Daniel Kiper wrote: On Tue, Feb 12, 2019 at 11:31:06AM +0100, Alexander Graf wrote: Gcc may decide it wants to call helper functions to execute clz. Provide Do we know when it happens? Could we add that to the commit message? Uh, on bitfield operations? I don't know -

Re: [PATCH v6 09/11] RISC-V: Add libgcc helpers for clz

2019-02-18 Thread Daniel Kiper
On Tue, Feb 12, 2019 at 11:31:06AM +0100, Alexander Graf wrote: > Gcc may decide it wants to call helper functions to execute clz. Provide Do we know when it happens? Could we add that to the commit message? > them in our own copy of libgcc. > > Signed-off-by: Alexander Graf > --- > grub-core/k

[PATCH v6 09/11] RISC-V: Add libgcc helpers for clz

2019-02-12 Thread Alexander Graf
Gcc may decide it wants to call helper functions to execute clz. Provide them in our own copy of libgcc. Signed-off-by: Alexander Graf --- grub-core/kern/compiler-rt.c | 42 ++ include/grub/compiler-rt.h | 7 +++ 2 files changed, 49 insertions(+) d