Re: [lng-odp] [API-NEXT PATCH] linux-gen: align: fix round up power of two

2017-01-19 Thread Savolainen, Petri (Nokia - FI/Espoo)
ce (instead of generating code with clz instruction). -Petri From: Yi He [mailto:yi...@linaro.org] Sent: Thursday, January 19, 2017 10:43 AM To: Savolainen, Petri (Nokia - FI/Espoo) Cc: bill.fischo...@linaro.org; lng-odp@lists.linaro.org Subject: Re: [lng-odp] [API-NEXT PATCH] linux-gen: align: f

Re: [lng-odp] [API-NEXT PATCH] linux-gen: align: fix round up power of two

2017-01-19 Thread Yi He
_builtin_clz(). It seems a false alarm to me. > > -Petri > > > -Original Message- > > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Yi > He > > Sent: Thursday, January 19, 2017 9:22 AM > > To: bill.fischo...@linaro.org; lng-odp@l

Re: [lng-odp] [API-NEXT PATCH] linux-gen: align: fix round up power of two

2017-01-19 Thread Savolainen, Petri (Nokia - FI/Espoo)
uiltin_clz(). It seems a false alarm to me. -Petri > -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Yi He > Sent: Thursday, January 19, 2017 9:22 AM > To: bill.fischo...@linaro.org; lng-odp@lists.linaro.org > Subject: [lng-odp] [

[lng-odp] [API-NEXT PATCH] linux-gen: align: fix round up power of two

2017-01-18 Thread Yi He
Fix Bug https://bugs.linaro.org/show_bug.cgi?id=2828 incorrect sizeof expression (BAD_SIZEOF) of ODP_ROUNDUP_POWER_2(literal constant) usage. Signed-off-by: Yi He --- platform/linux-generic/include/odp_align_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/