summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/kmp_os.h
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2015-08-20 19:46:14 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2015-08-20 19:46:14 +0000
commit621743b90eb94fde9263d2c9860139ef8dff3f12 (patch)
tree70b142dd250556502a5d0ce317a53cdb35a3f899 /openmp/runtime/src/kmp_os.h
parent30ec17981ab49e5cf4174eeb0f89f4eda05edfb0 (diff)
downloadbcm5719-llvm-621743b90eb94fde9263d2c9860139ef8dff3f12.tar.gz
bcm5719-llvm-621743b90eb94fde9263d2c9860139ef8dff3f12.zip
Update z_Linux_asm.s to use platform macros
z_Linux_asm.s can use the KMP_OS_* / KMP_MIC macros instead of the predefined compiler macro checks. The macro logic to determine KMP_MIC is moved from kmp_os.h to kmp_platform.h. llvm-svn: 245602
Diffstat (limited to 'openmp/runtime/src/kmp_os.h')
-rw-r--r--openmp/runtime/src/kmp_os.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/openmp/runtime/src/kmp_os.h b/openmp/runtime/src/kmp_os.h
index 6b82bb4c783..77950bc5caa 100644
--- a/openmp/runtime/src/kmp_os.h
+++ b/openmp/runtime/src/kmp_os.h
@@ -281,22 +281,6 @@ extern "C" {
# define KMP_ALIGN(bytes) __declspec( align(bytes) )
#endif
-#if defined(__MIC__) || defined(__MIC2__)
- #define KMP_MIC 1
-// Intel(R) Composer XE (13.0) defines both __MIC__ and __MIC2__ !
-# if __MIC2__ || __KNC__
- #define KMP_MIC1 0
- #define KMP_MIC2 1
-# else
- #define KMP_MIC1 1
- #define KMP_MIC2 0
-# endif
-#else
- #define KMP_MIC 0
- #define KMP_MIC1 0
- #define KMP_MIC2 0
-#endif
-
/* General purpose fence types for memory operations */
enum kmp_mem_fence_type {
kmp_no_fence, /* No memory fence */
OpenPOWER on IntegriCloud