aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ia64cpuid.S
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/ia64cpuid.S')
-rw-r--r--crypto/ia64cpuid.S9
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/ia64cpuid.S b/crypto/ia64cpuid.S
new file mode 100644
index 0000000000..a800527a58
--- /dev/null
+++ b/crypto/ia64cpuid.S
@@ -0,0 +1,9 @@
+// Works on all IA-64 platforms: Linux, HP-UX, Win64i...
+// On Win64i compile with ias.exe.
+.text
+.global OPENSSL_rdtsc#
+.proc OPENSSL_rdtsc#
+OPENSSL_rdtsc:
+ mov r8=ar.itc
+ br.ret b0
+.endp OPENSSL_rdtsc#