summaryrefslogtreecommitdiffstats
path: root/openmp/offload/src/rdtsc.h
diff options
context:
space:
mode:
Diffstat (limited to 'openmp/offload/src/rdtsc.h')
-rw-r--r--openmp/offload/src/rdtsc.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/openmp/offload/src/rdtsc.h b/openmp/offload/src/rdtsc.h
deleted file mode 100644
index da91d713283..00000000000
--- a/openmp/offload/src/rdtsc.h
+++ /dev/null
@@ -1,17 +0,0 @@
-//===----------------------------------------------------------------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is dual licensed under the MIT and the University of Illinois Open
-// Source Licenses. See LICENSE.txt for details.
-//
-//===----------------------------------------------------------------------===//
-
-#include <stdint.h>
-
-uint64_t _rdtsc()
-{
- uint32_t eax, edx;
- asm volatile ("rdtsc" : "=a" (eax), "=d" (edx));
- return ((uint64_t)edx << 32) | eax;
-}
OpenPOWER on IntegriCloud