[PATCH] D18651: [X86] Introduction of -march=lakemont
Andrey Turetskiy via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 31 09:12:38 PDT 2016
aturetsk added a comment.
I used existing test "test/CodeGen/attr-target-x86.c" to check Lakemont's target features. However the test is actually run with 64-bit triple "x86_64-linux-gnu", so "+mmx,+sse,+sse2" are included in target features. The same thing happens with Pentium and other 32-bit-only CPUs. I wonder if we should have some check so that 32-bit-only CPUs couldn't be used with 64-bit triple. What do you think?
http://reviews.llvm.org/D18651
More information about the cfe-commits
mailing list