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
537f64ba
Commit
537f64ba
authored
Feb 06, 2013
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: Optmized aligned case of memxor.
parent
fc5801a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
4 deletions
+29
-4
ChangeLog
ChangeLog
+3
-0
armv7/memxor.asm
armv7/memxor.asm
+26
-4
No files found.
ChangeLog
View file @
537f64ba
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/README: New file.
* armv7/machine.m4: New (empty) file.
* armv7/memxor.asm: Initial assembly implementation.
...
...
armv7/memxor.asm
View file @
537f64ba
...
...
@@ -131,14 +131,36 @@ PROLOGUE(memxor)
b
.Lmemxor_bytes
.Lmemxor_same:
tst
N
,
#
4
it
ne
subne
N
,
#
4
bne
.Lmemxor_same_loop
ldr
r3
,
[
SRC
],
#
+
4
ldr
r4
,
[
DS
T
]
eor
r3
,
r4
str
r3
,
[
DS
T
],
#
+
4
subs
N
,
#
4
bcs
.Lmemxor_same
adds
N
,
#
4
subs
N
,
#
8
bcc
.Lmemxor_same_end
.Lmemxor_same_loop:
C
6
cycles
per
iteration
,
0.75
cycles
/
byte
ldr
r4
,
[
SRC
,
#
+
4
]
ldr
r3
,
[
SRC
],
#
+
8
ldr
r6
,
[
DS
T
,
#
+
4
]
ldr
r5
,
[
DS
T
]
eor
r4
,
r6
eor
r3
,
r5
subs
N
,
#
8
str
r4
,
[
DS
T
,
#
+
4
]
str
r3
,
[
DS
T
],
#
+
8
bcs
.Lmemxor_same_loop
.Lmemxor_same_end:
adds
N
,
#
8
beq
.Lmemxor_done
b
.Lmemxor_bytes
EPILOGUE
(
memxor
)
...
...
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