aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/aes/src/asm64/aes128.asm
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-07-23 23:44:07 +0200
committerEgor Tensin <egor@tensin.name>2026-07-23 23:44:07 +0200
commit8f649e4ae0101000c32cfd1fef608f2422650ca9 (patch)
tree792b464e3b3deb563db7a4662c6b22cd24a82aae /aes/src/asm64/aes128.asm
parentaes: add 64-bit ASM implementation (diff)
downloadaes-tools-8f649e4ae0101000c32cfd1fef608f2422650ca9.tar.gz
aes-tools-8f649e4ae0101000c32cfd1fef608f2422650ca9.zip
aes: add a few notes to ASM files
Diffstat (limited to 'aes/src/asm64/aes128.asm')
-rw-r--r--aes/src/asm64/aes128.asm5
1 files changed, 4 insertions, 1 deletions
diff --git a/aes/src/asm64/aes128.asm b/aes/src/asm64/aes128.asm
index c1349f4..4b18384 100644
--- a/aes/src/asm64/aes128.asm
+++ b/aes/src/asm64/aes128.asm
@@ -3,7 +3,10 @@
; For details, see https://github.com/egor-tensin/aes-tools.
; Distributed under the MIT License.
-; Copied from asm/aes128.asm
+; Copied from asm/aes128.asm, accounting for the calling convention changes.
+; The biggest difference is that __m128 arguments are passed via a pointer, not
+; via XMM registers like in 32-bit __fastcall. The best source is Agner's doc:
+; https://www.agner.org/optimize/calling_conventions.pdf
.code