~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
base/asm-common.h, symm/*.S: New macros for register name decoration.
[catacomb]
/
symm
/
salsa20-arm-neon.S
diff --git
a/symm/salsa20-arm-neon.S
b/symm/salsa20-arm-neon.S
index
9cb4047
..
9d553d3
100644
(file)
--- a/
symm/salsa20-arm-neon.S
+++ b/
symm/salsa20-arm-neon.S
@@
-79,7
+79,7
@@
FUNC(salsa20_core_arm_neon)
// We need a copy for later. Rather than waste time copying them by
// hand, we'll use the three-address nature of the instruction set.
// But this means that the main loop is offset by a bit.
// We need a copy for later. Rather than waste time copying them by
// hand, we'll use the three-address nature of the instruction set.
// But this means that the main loop is offset by a bit.
- vldmia r1, {
d24-d31
}
+ vldmia r1, {
QQ(q12, q15)
}
// Apply a column quarterround to each of the columns simultaneously,
// moving the results to their working registers. Alas, there
// Apply a column quarterround to each of the columns simultaneously,
// moving the results to their working registers. Alas, there
@@
-234,7
+234,7
@@
FUNC(salsa20_core_arm_neon)
vext.32 q3, q9, q9, #1 // 12, 13, 14, 15
// And with that, we're done.
vext.32 q3, q9, q9, #1 // 12, 13, 14, 15
// And with that, we're done.
- vstmia r2, {
d0-d7
}
+ vstmia r2, {
QQ(q0, q3)
}
bx r14
ENDFUNC
bx r14
ENDFUNC