Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(753)

Unified Diff: newlib/libc/machine/arm/strcpy.c

Issue 790643008: Condition itet ARM instruction in strcpy.c on thumb2 mode (Closed) Base URL: https://chromium.googlesource.com/native_client/nacl-newlib.git@master
Patch Set: review, add ARM_ARCH_PROFILE Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « newlib/libc/machine/arm/strcmp.S ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: newlib/libc/machine/arm/strcpy.c
diff --git a/newlib/libc/machine/arm/strcpy.c b/newlib/libc/machine/arm/strcpy.c
index 6ab3dbd7e9c5d98571410e3ea0f6d35ea25bdd8d..23f475f5a1e480b22a64f000e4ed5c35812c58d3 100644
--- a/newlib/libc/machine/arm/strcpy.c
+++ b/newlib/libc/machine/arm/strcpy.c
@@ -142,7 +142,9 @@ strcpy (char* dst, const char* src)
"tstne r2, #0xff\n\t"
#else
"tst r2, #0xff\n\t"
+#ifndef __native_client__
"itet ne\n\t"
+#endif
SFI_BREG (ip)
"strneh r2, [ip], #2\n\t"
SFI_BREG (ip)
« no previous file with comments | « newlib/libc/machine/arm/strcmp.S ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698