cpu: mips32r2_common: set BITARITHM_HAS_CLZ
The MIPS ISA implements CLZ: https://ti.tuwien.ac.at/cps/teaching/courses/cavo/files/MIPS32-IS.pdf For `tests/periph_gpio` this shaves off 20 bytes on `6lowpan-clicker`.
This commit is contained in:
parent
c788fe130f
commit
4095eac9f2
@ -32,6 +32,14 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Select fastest bitarithm_lsb implementation
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
#define BITARITHM_LSB_BUILTIN
|
||||||
|
#define BITARITHM_HAS_CLZ
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Print the last instruction's address
|
* @brief Print the last instruction's address
|
||||||
*
|
*
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user