summaryrefslogtreecommitdiff
path: root/arch/arm/lib/lib1funcs.S
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2016-05-26 18:01:43 +0200
committerTom Rini <trini@konsulko.com>2016-06-02 21:21:46 -0400
commit40d67c75e47e2e76cc310515c55d758151b9fdde (patch)
treec7cef146225fa79736b18dc29556b76ce98d9e65 /arch/arm/lib/lib1funcs.S
parent7b9f9c5d3bae666359143cf5a681f90e998b5a80 (diff)
downloadu-boot-imx-40d67c75e47e2e76cc310515c55d758151b9fdde.zip
u-boot-imx-40d67c75e47e2e76cc310515c55d758151b9fdde.tar.gz
u-boot-imx-40d67c75e47e2e76cc310515c55d758151b9fdde.tar.bz2
arm: lib: Repair Warning: conditional infixes are deprecated in unified syntax
Fix the following warning when building for thumb2 target by tweaking the instruction syntax: Warning: conditional infixes are deprecated in unified syntax Signed-off-by: Marek Vasut <marex@denx.de> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/lib/lib1funcs.S')
-rw-r--r--arch/arm/lib/lib1funcs.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/lib/lib1funcs.S b/arch/arm/lib/lib1funcs.S
index 5871dbe..c343ea9 100644
--- a/arch/arm/lib/lib1funcs.S
+++ b/arch/arm/lib/lib1funcs.S
@@ -84,7 +84,7 @@
subhs \dividend, \dividend, \divisor, lsr #3
orrhs \result, \result, \curbit, lsr #3
cmp \dividend, #0 @ Early termination?
- movnes \curbit, \curbit, lsr #4 @ No, any more bits to do?
+ movsne \curbit, \curbit, lsr #4 @ No, any more bits to do?
movne \divisor, \divisor, lsr #4
bne 1b
@@ -170,7 +170,7 @@
subhs \dividend, \dividend, \divisor, lsr #3
cmp \dividend, #1
mov \divisor, \divisor, lsr #4
- subges \order, \order, #4
+ subsge \order, \order, #4
bge 1b
tst \order, #3