You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by bt...@apache.org on 2020/10/17 08:22:31 UTC

[incubator-nuttx] branch releases/10.0 updated: arch/xtensa/src/esp32/esp32_intdecode.c: Don't clear A2, the mask argument is passed in that register

This is an automated email from the ASF dual-hosted git repository.

btashton pushed a commit to branch releases/10.0
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/releases/10.0 by this push:
     new 26cfee6  arch/xtensa/src/esp32/esp32_intdecode.c: Don't clear A2, the mask argument is passed in that register
26cfee6 is described below

commit 26cfee66f1629a25da31f453938b642f4b075eec
Author: Abdelatif Guettouche <ab...@espressif.com>
AuthorDate: Mon Oct 5 10:02:31 2020 +0100

    arch/xtensa/src/esp32/esp32_intdecode.c: Don't clear A2, the mask
    argument is passed in that register
    
    Signed-off-by: Abdelatif Guettouche <ab...@espressif.com>
---
 arch/xtensa/src/esp32/esp32_intdecode.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/xtensa/src/esp32/esp32_intdecode.c b/arch/xtensa/src/esp32/esp32_intdecode.c
index d346eab..8c78c83 100644
--- a/arch/xtensa/src/esp32/esp32_intdecode.c
+++ b/arch/xtensa/src/esp32/esp32_intdecode.c
@@ -60,7 +60,6 @@ static inline void xtensa_intclear(uint32_t mask)
 {
   __asm__ __volatile__
   (
-    "movi a2, 0\n"
     "wsr %0, INTCLEAR\n"
     : "=r"(mask) : :
   );