[pkg-d-commits] [ldc] 11/95: Don't pre-define versions D_SIMD and D_AVX
Matthias Klumpp
mak at moszumanska.debian.org
Thu Jul 13 20:53:55 UTC 2017
This is an automated email from the git hooks/post-receive script.
mak pushed a commit to annotated tag v1.3.0-beta1
in repository ldc.
commit 1d4c6fa72c265e915bca26c23760635ae46eb9af
Author: Martin <noone at nowhere.com>
Date: Sun Feb 19 02:37:41 2017 +0100
Don't pre-define versions D_SIMD and D_AVX
LDC doesn't support DMD's core.simd interface.
---
driver/main.cpp | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/driver/main.cpp b/driver/main.cpp
index e2d483b..aea6b27 100644
--- a/driver/main.cpp
+++ b/driver/main.cpp
@@ -775,14 +775,14 @@ void registerPredefinedTargetVersions() {
VersionCondition::addPredefinedGlobalIdent("D_PIC");
}
+ /* LDC doesn't support DMD's core.simd interface.
if (arch == llvm::Triple::x86 || arch == llvm::Triple::x86_64) {
- if (traitsTargetHasFeature("sse2")) {
+ if (traitsTargetHasFeature("sse2"))
VersionCondition::addPredefinedGlobalIdent("D_SIMD");
- }
- if (traitsTargetHasFeature("avx")) {
+ if (traitsTargetHasFeature("avx"))
VersionCondition::addPredefinedGlobalIdent("D_AVX");
- }
}
+ */
// parse the OS out of the target triple
// see http://gcc.gnu.org/install/specific.html for details
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/ldc.git
More information about the pkg-d-commits
mailing list