We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91bce23 commit eaaab15Copy full SHA for eaaab15
1 file changed
compiler/src/dmd/target.d
@@ -171,7 +171,7 @@ void addPredefinedGlobalIdentifiers(const ref Target tgt)
171
import dmd.cond : VersionCondition;
172
173
alias predef = VersionCondition.addPredefinedGlobalIdent;
174
- if (tgt.cpu >= CPU.sse2)
+ if ((tgt.isX86_64 || tgt.isX86) && tgt.cpu >= CPU.sse2)
175
{
176
predef("D_SIMD");
177
if (tgt.cpu >= CPU.avx)
@@ -1351,7 +1351,7 @@ extern (C++) struct Target
1351
*/
1352
extern (D) bool isXmmSupported() @safe
1353
1354
- return (isX86_64 || isAArch64) || (isX86 && os == Target.OS.OSX);
+ return (isX86_64 /*|| isAArch64*/) || (isX86 && os == Target.OS.OSX);
1355
}
1356
1357
/**
0 commit comments