From 18e29faf9898a4011e042daaa75bc30a7b56ffdd Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 8 Jun 2016 10:10:40 +0200 Subject: score: Delete CPU_USE_GENERIC_BITFIELD_DATA Rename __log2table into _Bitfield_Leading_zeros since it acually returns the count of leading zeros of an 8-bit integer. The value for zero is a bit odd. Provide it unconditionally. --- cpukit/score/cpu/no_cpu/rtems/score/cpu.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'cpukit/score/cpu/no_cpu/rtems/score/cpu.h') diff --git a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h index a56bc173e3..944f04ab0e 100644 --- a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h +++ b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h @@ -1011,16 +1011,6 @@ uint32_t _CPU_ISR_Get_level( void ); */ #define CPU_USE_GENERIC_BITFIELD_CODE TRUE -/** - * This definition is set to TRUE if the port uses the data tables provided - * by the generic bitfield manipulation implementation. - * This can occur when actually using the generic bitfield manipulation - * implementation or when implementing the same algorithm in assembly - * language for improved performance. It is unlikely that a port will use - * the data if it has a bitfield scan instruction. - */ -#define CPU_USE_GENERIC_BITFIELD_DATA TRUE - /** * This routine sets @a _output to the bit number of the first bit * set in @a _value. @a _value is of CPU dependent type -- cgit v1.2.3