For now, could we just include this in rtems-libbsd until newlib gets updated?
Kevin Kirspel Electrical Engineer - Sr. Staff Idexx Roswell 235 Hembree Park Drive Roswell GA 30076 Tel: (770)-510-4444 ext. 81642 Direct: (770)-688-1642 Fax: (770)-510-4445 -----Original Message----- From: Sebastian Huber [mailto:[email protected]] Sent: Tuesday, May 16, 2017 3:47 AM To: Kirspel, Kevin <[email protected]>; [email protected] Subject: Re: [PATCH 07/11] Add bitcount inlinesfor RTEMS. These are found in FREEBSDs types.h Hello Kevin, I know it is considerable more work, but this should move into Newlib. The #ifdef __POPCNT__ #define __bitcount64(x) __builtin_popcountll((__uint64_t)(x)) needs GCC support. This __POPCNT__ is a clang feature. I don't know which version of GCC supports these builtins, but it should use also a __GNUC_PREREQ__(X, Y). -- 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 : [email protected] PGP : Public key available on request. Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. _______________________________________________ devel mailing list [email protected] http://lists.rtems.org/mailman/listinfo/devel
