From 8316646b8580362bf00715a91686721e7981fd59 Mon Sep 17 00:00:00 2001 From: tangyuxin <462747508@qq.com> Date: Thu, 19 Sep 2019 18:27:07 +0800 Subject: [PATCH] =?UTF-8?q?[libcpu][arm]=20=E4=BF=AE=E5=A4=8D=E5=9B=A0?= =?UTF-8?q?=E6=8F=90=E5=89=8D=E8=BF=94=E5=9B=9E,=E5=AF=BC=E8=87=B4sp?= =?UTF-8?q?=E6=8C=87=E9=92=88=E4=B8=8D=E5=AF=B9=E7=A7=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libcpu/arm/cortex-m3/cpuport.c | 1 - libcpu/arm/cortex-m4/cpuport.c | 1 - libcpu/arm/cortex-m7/cpuport.c | 1 - 3 files changed, 3 deletions(-) diff --git a/libcpu/arm/cortex-m3/cpuport.c b/libcpu/arm/cortex-m3/cpuport.c index 0a948c528b..d17d4fdf2e 100644 --- a/libcpu/arm/cortex-m3/cpuport.c +++ b/libcpu/arm/cortex-m3/cpuport.c @@ -395,7 +395,6 @@ int __rt_ffs(int value) "ADDS r0, r0, #0x01 \n" "exit: \n" - "BX lr \n" : "=r"(value) : "r"(value) diff --git a/libcpu/arm/cortex-m4/cpuport.c b/libcpu/arm/cortex-m4/cpuport.c index 71a7fb16f9..f556ba0c26 100644 --- a/libcpu/arm/cortex-m4/cpuport.c +++ b/libcpu/arm/cortex-m4/cpuport.c @@ -479,7 +479,6 @@ int __rt_ffs(int value) "ADDS r0, r0, #0x01 \n" "exit: \n" - "BX lr \n" : "=r"(value) : "r"(value) diff --git a/libcpu/arm/cortex-m7/cpuport.c b/libcpu/arm/cortex-m7/cpuport.c index 85960baede..c22242f140 100644 --- a/libcpu/arm/cortex-m7/cpuport.c +++ b/libcpu/arm/cortex-m7/cpuport.c @@ -479,7 +479,6 @@ int __rt_ffs(int value) "ADDS r0, r0, #0x01 \n" "exit: \n" - "BX lr \n" : "=r"(value) : "r"(value)