[PATCH] Workaround for ffs() on LP64 targets
Sebastian Huber
sebastian.huber@embedded-brains.de
Thu Jul 27 08:40:00 GMT 2017
On 27/07/17 10:29, Kito Cheng wrote:
> it's will make aarch64 gen worse code (compare to __builtin_ffs
> version) since aarch64 have clz, but I don't have better idea too...
Maybe we should add a defined(__riscv__). A count leading zeros
instruction is quite common.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the Newlib
mailing list