Module: xenomai-2.5 Branch: master Commit: eed841259cfffeba82af5d5fb7c9a225a61bba06 URL: http://git.xenomai.org/?p=xenomai-2.5.git;a=commit;h=eed841259cfffeba82af5d5fb7c9a225a61bba06
Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org> Date: Tue May 18 12:40:44 2010 +0200 arm: get the nodiv_llimd code to compile in thumb mode --- include/asm-arm/arith.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/asm-arm/arith.h b/include/asm-arm/arith.h index e86975c..72c0ab7 100644 --- a/include/asm-arm/arith.h +++ b/include/asm-arm/arith.h @@ -103,13 +103,13 @@ rthal_arm_nodiv_llimd(const long long op, __asm__ ("movs %[s], %[oph], lsr #30\n\t" "beq 1f\n\t" "rsbs %[opl], %[opl], #0\n\t" - "rsc %[oph], %[oph], #0\n" + "sbc %[oph], %[oph], %[oph], lsl #1\n" "1:\t" rthal_arm_nodiv_ullimd_str "teq %[s], #0\n\t" "beq 2f\n\t" "rsbs %[rm], %[rm], #0\n\t" - "rsc %[rh], %[rh], #0\n" + "sbc %[rh], %[rh], %[rh], lsl #1\n" "2:\t" : [rl]"=r"(rl), [rm]"=r"(rm), [rh]"=r"(rh), [tl]"=r"(tl), [th]"=r"(th), [s]"=r"(s) _______________________________________________ Xenomai-git mailing list Xenomai-git@gna.org https://mail.gna.org/listinfo/xenomai-git