mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
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" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Select fastest bitarithm_lsb implementation
|
||||
* @{
|
||||
*/
|
||||
#define BITARITHM_LSB_BUILTIN
|
||||
#define BITARITHM_HAS_CLZ
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @brief Print the last instruction's address
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user