arch/xtensa/xtensa_int_handlers.S: Remove unused macro.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
Abdelatif Guettouche 2022-06-10 14:16:14 +02:00 committed by Petro Karashchenko
parent fc22eddc38
commit 48f20af8bc

View File

@ -91,25 +91,6 @@ g_intstacktop:
* Assembly Language Macros
****************************************************************************/
/****************************************************************************
* Macro extract_msb - return the input with only the highest bit set.
*
* Entry Conditions/Side Effects:
* Input : "ain" - Input value, clobbered.
* Output : "aout" - Output value, has only one bit set, MSB of "ain".
*
* The two arguments must be different AR registers.
*
****************************************************************************/
.macro extract_msb aout ain
1:
addi \aout, \ain, -1 /* aout = ain - 1 */
and \ain, \ain, \aout /* ain = ain & aout */
bnez \ain, 1b /* Repeat until ain == 0 */
addi \aout, \aout, 1 /* Return aout + 1 */
.endm
/****************************************************************************
* Macro dispatch_c_isr level mask tmp
*