Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
a4af0c2e
Commit
a4af0c2e
authored
Dec 14, 2016
by
danh-arm
Committed by
GitHub
Dec 14, 2016
Browse files
Merge pull request #780 from douglas-raillard-arm/dr/fix_asm_signed_comparison
Fix integer comparison in memcpy16
parents
86450fe6
ea926532
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/aarch64/misc_helpers.S
View file @
a4af0c2e
...
@@ -123,7 +123,7 @@ func memcpy16
...
@@ -123,7 +123,7 @@ func memcpy16
/*
copy
16
bytes
at
a
time
*/
/*
copy
16
bytes
at
a
time
*/
m_loop16
:
m_loop16
:
cmp
x2
,
#
16
cmp
x2
,
#
16
b.l
t
m_loop1
b.l
o
m_loop1
ldp
x3
,
x4
,
[
x1
],
#
16
ldp
x3
,
x4
,
[
x1
],
#
16
stp
x3
,
x4
,
[
x0
],
#
16
stp
x3
,
x4
,
[
x0
],
#
16
sub
x2
,
x2
,
#
16
sub
x2
,
x2
,
#
16
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment