Fax: (770)-510-4445
-Original Message-
From: Sebastian Huber [mailto:sebastian.hu...@embedded-brains.de]
Sent: Tuesday, May 16, 2017 9:28 AM
To: Kirspel, Kevin <kevin-kirs...@idexx.com>; devel@rtems.org
Subject: Re: [PATCH 07/11] Add bitcount inlinesfor RTEMS. These are found in
FR
On 16/05/17 15:18, Kirspel, Kevin wrote:
Sorry. I pulled that header file from memory which these days is losing its
effectiveness. So, should we put the bitcount changes in sys/types.h like
FREEBSD?
If so, I will submit a patch tonew...@sourceware.org. How long does it take to
get the
:06 AM
To: Kirspel, Kevin <kevin-kirs...@idexx.com>; devel@rtems.org
Subject: Re: [PATCH 07/11] Add bitcount inlinesfor RTEMS. These are found in
FREEBSDs types.h
On 16/05/17 14:56, Kirspel, Kevin wrote:
> Should we put this in cdefs.h like FREEBSD?
In FreeBSD the __bitcount*()
On 16/05/17 14:56, Kirspel, Kevin wrote:
Should we put this in cdefs.h like FREEBSD?
In FreeBSD the __bitcount*() functions are defined in .
--
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
...@embedded-brains.de]
Sent: Tuesday, May 16, 2017 8:20 AM
To: Kirspel, Kevin <kevin-kirs...@idexx.com>; devel@rtems.org
Subject: Re: [PATCH 07/11] Add bitcount inlinesfor RTEMS. These are found in
FREEBSDs types.h
On 16/05/17 14:15, Kirspel, Kevin wrote:
> For now, could we just include this
On 16/05/17 14:15, Kirspel, Kevin wrote:
For now, could we just include this in rtems-libbsd until newlib gets updated?
Getting this change into Newlib shouldn't be a problem. You can use
something like this to update the RSB if you have the Newlib Git commit:
Huber [mailto:sebastian.hu...@embedded-brains.de]
Sent: Tuesday, May 16, 2017 3:47 AM
To: Kirspel, Kevin <kevin-kirs...@idexx.com>; devel@rtems.org
Subject: Re: [PATCH 07/11] Add bitcount inlinesfor RTEMS. These are found in
FREEBSDs types.h
Hello Kevin,
I know it is considerable mor
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