Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nettle
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
5
Merge Requests
5
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Nettle
nettle
Commits
5b6cf250
Commit
5b6cf250
authored
Feb 06, 2013
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: Optmized aligned case of memxor3.
parent
18a78728
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
8 deletions
+32
-8
ChangeLog
ChangeLog
+2
-2
armv7/memxor.asm
armv7/memxor.asm
+30
-6
No files found.
ChangeLog
View file @
5b6cf250
2013-02-06 Niels Möller <nisse@lysator.liu.se>
* armv7/memxor.asm (memxor
): Optimized aligned case, now runs at
0.75 cycles/byte.
* armv7/memxor.asm (memxor
, memxor3): Optimized aligned case, now
runs at
0.75 cycles/byte.
* armv7/README: New file.
* armv7/machine.m4: New (empty) file.
...
...
armv7/memxor.asm
View file @
5b6cf250
...
...
@@ -295,16 +295,40 @@ PROLOGUE(memxor3)
bne
.Lmemxor3_au
;
C
a
,
b
and
ds
t
al
l
have
the
same
al
ignment.
sub
AP
,
#
4
sub
BP
,
#
4
sub
DS
T
,
#
4
tst
N
,
#
4
it
ne
subne
N
,
#
4
bne
.Lmemxor3_aligned_word_loop
.Lmemxor3_aligned_word_loop:
ldr
r4
,
[
AP
,
#
-
4
]
!
ldr
r5
,
[
BP
,
#
-
4
]
!
ldr
r4
,
[
AP
],
#
-
4
ldr
r5
,
[
BP
],
#
-
4
eor
r4
,
r5
str
r4
,
[
DS
T
,
#
-
4
]
!
subs
N
,
#
4
str
r4
,
[
DS
T
],
#
-
4
subs
N
,
#
8
bcc
.Lmemxor3_aligned_word_end
.Lmemxor3_aligned_word_loop:
ldr
r4
,
[
AP
,
#
-
4
]
ldr
r5
,
[
AP
],
#
-
8
ldr
r6
,
[
BP
,
#
-
4
]
ldr
r7
,
[
BP
],
#
-
8
eor
r4
,
r6
eor
r5
,
r7
subs
N
,
#
8
str
r4
,
[
DS
T
,
#
-
4
]
str
r5
,
[
DS
T
],
#
-
8
bcs
.Lmemxor3_aligned_word_loop
adds
N
,
#
4
.Lmemxor3_aligned_word_end:
adds
N
,
#
8
beq
.Lmemxor3_done
add
AP
,
#
4
add
BP
,
#
4
add
DS
T
,
#
4
b
.Lmemxor3_bytes
.Lmemxor3_uu:
...
...
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