diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-11-15 00:51:41 -0800 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-11-15 11:49:49 -0800 |
commit | 0f81a44b37eec6e0b21bb95934d9fb529720591b (patch) | |
tree | 88876c63af47ca436950568ef9e0391b4c651418 /src/crypto/zinc/poly1305/poly1305-x86_64.pl | |
parent | poly1305: specialize to wireguard (diff) | |
download | wireguard-monolithic-historical-0f81a44b37eec6e0b21bb95934d9fb529720591b.tar.xz wireguard-monolithic-historical-0f81a44b37eec6e0b21bb95934d9fb529720591b.zip |
perlasm: avoid rep ret
The original hardcodes returns as .byte 0xf3,0xc3, aka "rep ret".
We replace this by "ret". "rep ret" was meant to help with AMD K8
chips, cf. http://repzret.org/p/repzret. It makes no sense to
continue to use this kludge for code that won't even run on ancient
AMD chips.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions