aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64/chacha20-amd64-sse2.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86_64/chacha20-amd64-sse2.S')
-rw-r--r--sysdeps/x86_64/chacha20-amd64-sse2.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/x86_64/chacha20-amd64-sse2.S b/sysdeps/x86_64/chacha20-amd64-sse2.S
index 1178f06..351a110 100644
--- a/sysdeps/x86_64/chacha20-amd64-sse2.S
+++ b/sysdeps/x86_64/chacha20-amd64-sse2.S
@@ -44,6 +44,9 @@
Public domain. */
#include <sysdep.h>
+#include <isa-level.h>
+
+#if MINIMUM_X86_ISA_LEVEL <= 2
#ifdef PIC
# define rRIP (%rip)
@@ -304,3 +307,5 @@ L(round2_4):
cfi_def_cfa_register(%rsp);
ret_spec_stop;
END (__chacha20_sse2_blocks4)
+
+#endif /* if MINIMUM_X86_ISA_LEVEL <= 2 */