projects
/
project
/
bcm63xx
/
atf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b5fa6e
)
Fix integer comparison in memcpy16
author
Douglas Raillard
<douglas.raillard@arm.com>
Fri, 2 Dec 2016 13:56:06 +0000
(13:56 +0000)
committer
Douglas Raillard
<douglas.raillard@arm.com>
Wed, 14 Dec 2016 10:44:20 +0000
(10:44 +0000)
Unsigned conditions should be used instead of signed ones when comparing
addresses or sizes in assembly.
Signed-off-by: Douglas Raillard <douglas.raillard@arm.com>
Change-Id: Id3bd9ccaf58c37037761af35ac600907c4bb0580
lib/aarch64/misc_helpers.S
patch
|
blob
|
history
diff --git
a/lib/aarch64/misc_helpers.S
b/lib/aarch64/misc_helpers.S
index e7c246ea2374383320fb459839fdf53553ad697f..574146f6db456179eedf97d6345ca80c7055b89e 100644
(file)
--- a/
lib/aarch64/misc_helpers.S
+++ b/
lib/aarch64/misc_helpers.S
@@
-123,7
+123,7
@@
func memcpy16
/* copy 16 bytes at a time */
m_loop16:
cmp x2, #16
- b.l
t
m_loop1
+ b.l
o
m_loop1
ldp x3, x4, [x1], #16
stp x3, x4, [x0], #16
sub x2, x2, #16