Home | History | Annotate | Download | only in Frontend
      1 // Ensure we support the various CPU names.
      2 //
      3 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu nocona -verify %s
      4 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu core2 -verify %s
      5 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu penryn -verify %s
      6 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu nehalem -verify %s
      7 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu westmere -verify %s
      8 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu sandybridge -verify %s
      9 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu ivybridge -verify %s
     10 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu haswell -verify %s
     11 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu broadwell -verify %s
     12 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu bonnell -verify %s
     13 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu silvermont -verify %s
     14 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu k8 -verify %s
     15 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu opteron -verify %s
     16 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu athlon64 -verify %s
     17 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu athlon-fx -verify %s
     18 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu k8-sse3 -verify %s
     19 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu opteron-sse3 -verify %s
     20 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu athlon64-sse3 -verify %s
     21 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu amdfam10 -verify %s
     22 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu barcelona -verify %s
     23 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu bdver1 -verify %s
     24 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu bdver2 -verify %s
     25 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu bdver3 -verify %s
     26 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu bdver4 -verify %s
     27 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu btver1 -verify %s
     28 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-cpu btver2 -verify %s
     29 //
     30 // expected-no-diagnostics
     31