aboutsummaryrefslogtreecommitdiff
path: root/test-sc-curve25519.s
diff options
context:
space:
mode:
Diffstat (limited to 'test-sc-curve25519.s')
-rw-r--r--test-sc-curve25519.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/test-sc-curve25519.s b/test-sc-curve25519.s
new file mode 100644
index 0000000..1da4f68
--- /dev/null
+++ b/test-sc-curve25519.s
@@ -0,0 +1,8 @@
+.text
+.globl tsc_read
+
+tsc_read:
+rdtsc
+shl $32,%rdx
+or %rdx,%rax
+ret