Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/common/lib/libc/arch/arm/string Missing one teq -> cmp
details: https://anonhg.NetBSD.org/src/rev/81c5bd30d945
branches: trunk
changeset: 789464:81c5bd30d945
user: matt <matt%NetBSD.org@localhost>
date: Mon Aug 19 17:41:47 2013 +0000
description:
Missing one teq -> cmp
diffstat:
common/lib/libc/arch/arm/string/strchr_arm.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r e18d8393453a -r 81c5bd30d945 common/lib/libc/arch/arm/string/strchr_arm.S
--- a/common/lib/libc/arch/arm/string/strchr_arm.S Mon Aug 19 17:38:47 2013 +0000
+++ b/common/lib/libc/arch/arm/string/strchr_arm.S Mon Aug 19 17:41:47 2013 +0000
@@ -29,7 +29,7 @@
#include <machine/asm.h>
-RCSID("$NetBSD: strchr_arm.S,v 1.6 2013/08/19 17:38:47 matt Exp $")
+RCSID("$NetBSD: strchr_arm.S,v 1.7 2013/08/19 17:41:47 matt Exp $")
#ifdef __ARMEL__
#define BYTE0 0x000000ff
@@ -92,7 +92,7 @@
* We've encountered a NUL or a match but we don't know which happened
* first.
*/
- teq r2, #0 /* searching for NUL? */
+ cmp r2, #0 /* searching for NUL? */
beq .Lfind_match /* yes, find the match */
mvns r1, r1 /* did we encounter a NUL? */
beq .Lfind_match /* no, find the match */
Home |
Main Index |
Thread Index |
Old Index