summaryrefslogtreecommitdiff
path: root/libc/string/bfin/strcmp.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/bfin/strcmp.S')
-rw-r--r--libc/string/bfin/strcmp.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/string/bfin/strcmp.S b/libc/string/bfin/strcmp.S
index 6365024ec..823fb16b5 100644
--- a/libc/string/bfin/strcmp.S
+++ b/libc/string/bfin/strcmp.S
@@ -65,6 +65,7 @@ beginloop:
cc |= az; // true if either is zero
if cc jump zero4; // leave if a zero somewhere
endloop:
+ NOP;
cc = r1 == r2;
// loop exits
@@ -103,6 +104,7 @@ beginloop1:
cc &= an;
if !cc jump exitloop1;
endloop1:
+ NOP;
r2 = B[p2++] (Z);
exitloop1: // here means we found a zero or a difference.