This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH] ARM: Fix strcmp() for Thumb-1
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: newlib at sourceware dot org
- Date: Mon, 27 May 2013 08:59:31 +0200
- Subject: Re: [PATCH] ARM: Fix strcmp() for Thumb-1
- References: <1369567629-11768-1-git-send-email-sebastian dot huber at embedded-brains dot de> <CAHFci29SAYS38Fw57ZvkWZ0KcUFpJzG5k9Tk-tgC0yMQHDWY1A at mail dot gmail dot com>
On 05/27/2013 04:18 AM, Bin.Cheng wrote:
[...]
Though I have no right to approve the patch, I would like to have below comment.
UAL is generally preferred, thus you may handle armv6-m specially by
keeping UAL for it. For example,
#if (defined(__thumb__) && defined(__ARM_ARCH_6M__))
//...
#endif
Which problem does this additional pre-processor complexity solve? The
generated machine code is the same.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.