Erich Keane | cfd451b | 2018-02-12 16:24:08 +0000 | [diff] [blame] | 1 | // RUN: not %clang_cc1 -triple armv5--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix ARM |
| 2 | // ARM: error: unknown target CPU 'not-a-cpu' |
| 3 | // ARM: note: valid target CPU values are: |
| 4 | // ARM-SAME: arm2 |
| 5 | |
| 6 | // RUN: not %clang_cc1 -triple arm64--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix AARCH64 |
| 7 | // AARCH64: error: unknown target CPU 'not-a-cpu' |
| 8 | // AARCH64: note: valid target CPU values are: |
| 9 | // AARCH64-SAME: cortex-a35, |
| 10 | |
Craig Topper | 4cbceb7 | 2020-08-18 14:52:44 -0700 | [diff] [blame] | 11 | // RUN: not %clang_cc1 -triple arm64--- -tune-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix TUNE_AARCH64 |
| 12 | // TUNE_AARCH64: error: unknown target CPU 'not-a-cpu' |
| 13 | // TUNE_AARCH64: note: valid target CPU values are: |
| 14 | // TUNE_AARCH64-SAME: cortex-a35, |
| 15 | |
Erich Keane | cfd451b | 2018-02-12 16:24:08 +0000 | [diff] [blame] | 16 | // RUN: not %clang_cc1 -triple i386--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix X86 |
| 17 | // X86: error: unknown target CPU 'not-a-cpu' |
| 18 | // X86: note: valid target CPU values are: i386, i486, winchip-c6, winchip2, c3, |
| 19 | // X86-SAME: i586, pentium, pentium-mmx, pentiumpro, i686, pentium2, pentium3, |
| 20 | // X86-SAME: pentium3m, pentium-m, c3-2, yonah, pentium4, pentium4m, prescott, |
Gabor Buella | f594ce7 | 2018-04-16 08:10:10 +0000 | [diff] [blame] | 21 | // X86-SAME: nocona, core2, penryn, bonnell, atom, silvermont, slm, goldmont, goldmont-plus, tremont, |
Erich Keane | cfd451b | 2018-02-12 16:24:08 +0000 | [diff] [blame] | 22 | // X86-SAME: nehalem, corei7, westmere, sandybridge, corei7-avx, ivybridge, |
| 23 | // X86-SAME: core-avx-i, haswell, core-avx2, broadwell, skylake, skylake-avx512, |
Freddy Ye | e02d081 | 2020-08-25 12:27:02 +0800 | [diff] [blame] | 24 | // X86-SAME: skx, cascadelake, cooperlake, cannonlake, icelake-client, icelake-server, tigerlake, sapphirerapids, knl, knm, lakemont, k6, k6-2, k6-3, |
Erich Keane | cfd451b | 2018-02-12 16:24:08 +0000 | [diff] [blame] | 25 | // X86-SAME: athlon, athlon-tbird, athlon-xp, athlon-mp, athlon-4, k8, athlon64, |
| 26 | // X86-SAME: athlon-fx, opteron, k8-sse3, athlon64-sse3, opteron-sse3, amdfam10, |
Ganesh Gopalasubramanian | 4f171d2 | 2019-02-26 17:15:36 +0000 | [diff] [blame] | 27 | // X86-SAME: barcelona, btver1, btver2, bdver1, bdver2, bdver3, bdver4, znver1, znver2, |
Erich Keane | cfd451b | 2018-02-12 16:24:08 +0000 | [diff] [blame] | 28 | // X86-SAME: x86-64, geode |
| 29 | |
| 30 | // RUN: not %clang_cc1 -triple x86_64--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix X86_64 |
| 31 | // X86_64: error: unknown target CPU 'not-a-cpu' |
| 32 | // X86_64: note: valid target CPU values are: nocona, core2, penryn, bonnell, |
Gabor Buella | f594ce7 | 2018-04-16 08:10:10 +0000 | [diff] [blame] | 33 | // X86_64-SAME: atom, silvermont, slm, goldmont, goldmont-plus, tremont, nehalem, corei7, westmere, |
Erich Keane | cfd451b | 2018-02-12 16:24:08 +0000 | [diff] [blame] | 34 | // X86_64-SAME: sandybridge, corei7-avx, ivybridge, core-avx-i, haswell, |
Pengfei Wang | 30bcda8 | 2019-06-07 08:53:37 +0000 | [diff] [blame] | 35 | // X86_64-SAME: core-avx2, broadwell, skylake, skylake-avx512, skx, cascadelake, cooperlake, cannonlake, |
Freddy Ye | e02d081 | 2020-08-25 12:27:02 +0800 | [diff] [blame] | 36 | // X86_64-SAME: icelake-client, icelake-server, tigerlake, sapphirerapids, knl, knm, k8, athlon64, athlon-fx, opteron, k8-sse3, |
Erich Keane | cfd451b | 2018-02-12 16:24:08 +0000 | [diff] [blame] | 37 | // X86_64-SAME: athlon64-sse3, opteron-sse3, amdfam10, barcelona, btver1, |
Ganesh Gopalasubramanian | 4f171d2 | 2019-02-26 17:15:36 +0000 | [diff] [blame] | 38 | // X86_64-SAME: btver2, bdver1, bdver2, bdver3, bdver4, znver1, znver2, x86-64 |
Erich Keane | cfd451b | 2018-02-12 16:24:08 +0000 | [diff] [blame] | 39 | |
Craig Topper | 4cbceb7 | 2020-08-18 14:52:44 -0700 | [diff] [blame] | 40 | // RUN: not %clang_cc1 -triple i386--- -tune-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix TUNE_X86 |
| 41 | // TUNE_X86: error: unknown target CPU 'not-a-cpu' |
| 42 | // TUNE_X86: note: valid target CPU values are: i386, i486, winchip-c6, winchip2, c3, |
| 43 | // TUNE_X86-SAME: i586, pentium, pentium-mmx, pentiumpro, i686, pentium2, pentium3, |
| 44 | // TUNE_X86-SAME: pentium3m, pentium-m, c3-2, yonah, pentium4, pentium4m, prescott, |
| 45 | // TUNE_X86-SAME: nocona, core2, penryn, bonnell, atom, silvermont, slm, goldmont, goldmont-plus, tremont, |
| 46 | // TUNE_X86-SAME: nehalem, corei7, westmere, sandybridge, corei7-avx, ivybridge, |
| 47 | // TUNE_X86-SAME: core-avx-i, haswell, core-avx2, broadwell, skylake, skylake-avx512, |
Freddy Ye | e02d081 | 2020-08-25 12:27:02 +0800 | [diff] [blame] | 48 | // TUNE_X86-SAME: skx, cascadelake, cooperlake, cannonlake, icelake-client, icelake-server, tigerlake, sapphirerapids, knl, knm, lakemont, k6, k6-2, k6-3, |
Craig Topper | 4cbceb7 | 2020-08-18 14:52:44 -0700 | [diff] [blame] | 49 | // TUNE_X86-SAME: athlon, athlon-tbird, athlon-xp, athlon-mp, athlon-4, k8, athlon64, |
| 50 | // TUNE_X86-SAME: athlon-fx, opteron, k8-sse3, athlon64-sse3, opteron-sse3, amdfam10, |
| 51 | // TUNE_X86-SAME: barcelona, btver1, btver2, bdver1, bdver2, bdver3, bdver4, znver1, znver2, |
| 52 | // TUNE_X86-SAME: x86-64, geode |
| 53 | |
| 54 | // RUN: not %clang_cc1 -triple x86_64--- -tune-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix TUNE_X86_64 |
| 55 | // TUNE_X86_64: error: unknown target CPU 'not-a-cpu' |
Craig Topper | cc7bf9b | 2020-08-22 16:05:01 -0700 | [diff] [blame] | 56 | // TUNE_X86_64: note: valid target CPU values are: i386, i486, winchip-c6, winchip2, c3, |
| 57 | // TUNE_X86_64-SAME: i586, pentium, pentium-mmx, pentiumpro, i686, pentium2, pentium3, |
| 58 | // TUNE_X86_64-SAME: pentium3m, pentium-m, c3-2, yonah, pentium4, pentium4m, prescott, |
| 59 | // TUNE_X86_64-SAME: nocona, core2, penryn, bonnell, atom, silvermont, slm, goldmont, goldmont-plus, tremont, |
| 60 | // TUNE_X86_64-SAME: nehalem, corei7, westmere, sandybridge, corei7-avx, ivybridge, |
| 61 | // TUNE_X86_64-SAME: core-avx-i, haswell, core-avx2, broadwell, skylake, skylake-avx512, |
Freddy Ye | e02d081 | 2020-08-25 12:27:02 +0800 | [diff] [blame] | 62 | // TUNE_X86_64-SAME: skx, cascadelake, cooperlake, cannonlake, icelake-client, icelake-server, tigerlake, sapphirerapids, knl, knm, lakemont, k6, k6-2, k6-3, |
Craig Topper | cc7bf9b | 2020-08-22 16:05:01 -0700 | [diff] [blame] | 63 | // TUNE_X86_64-SAME: athlon, athlon-tbird, athlon-xp, athlon-mp, athlon-4, k8, athlon64, |
| 64 | // TUNE_X86_64-SAME: athlon-fx, opteron, k8-sse3, athlon64-sse3, opteron-sse3, amdfam10, |
| 65 | // TUNE_X86_64-SAME: barcelona, btver1, btver2, bdver1, bdver2, bdver3, bdver4, znver1, znver2, |
| 66 | // TUNE_X86_64-SAME: x86-64, geode |
Craig Topper | 4cbceb7 | 2020-08-18 14:52:44 -0700 | [diff] [blame] | 67 | |
Erich Keane | cfd451b | 2018-02-12 16:24:08 +0000 | [diff] [blame] | 68 | // RUN: not %clang_cc1 -triple nvptx--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix NVPTX |
| 69 | // NVPTX: error: unknown target CPU 'not-a-cpu' |
| 70 | // NVPTX: note: valid target CPU values are: sm_20, sm_21, sm_30, sm_32, sm_35, |
| 71 | // NVPTX-SAME: sm_37, sm_50, sm_52, sm_53, sm_60, sm_61, sm_62, sm_70, sm_72 |
| 72 | |
| 73 | // RUN: not %clang_cc1 -triple r600--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix R600 |
| 74 | // R600: error: unknown target CPU 'not-a-cpu' |
Erich Keane | a172654 | 2018-02-12 17:19:57 +0000 | [diff] [blame] | 75 | // R600: note: valid target CPU values are: r600, rv630, rv635, r630, rs780, |
| 76 | // R600-SAME: rs880, rv610, rv620, rv670, rv710, rv730, rv740, rv770, cedar, |
| 77 | // R600-SAME: palm, cypress, hemlock, juniper, redwood, sumo, sumo2, barts, |
Konstantin Zhuravlyov | d6b3453 | 2018-02-27 21:48:05 +0000 | [diff] [blame] | 78 | // R600-SAME: caicos, aruba, cayman, turks |
Erich Keane | cfd451b | 2018-02-12 16:24:08 +0000 | [diff] [blame] | 79 | |
| 80 | |
| 81 | // RUN: not %clang_cc1 -triple amdgcn--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix AMDGCN |
| 82 | // AMDGCN: error: unknown target CPU 'not-a-cpu' |
Erich Keane | a172654 | 2018-02-12 17:19:57 +0000 | [diff] [blame] | 83 | // AMDGCN: note: valid target CPU values are: gfx600, tahiti, gfx601, hainan, |
| 84 | // AMDGCN-SAME: oland, pitcairn, verde, gfx700, kaveri, gfx701, hawaii, gfx702, |
| 85 | // AMDGCN-SAME: gfx703, kabini, mullins, gfx704, bonaire, gfx801, carrizo, |
| 86 | // AMDGCN-SAME: gfx802, iceland, tonga, gfx803, fiji, polaris10, polaris11, |
| 87 | // AMDGCN-SAME: gfx810, stoney, gfx900, gfx902 |
Erich Keane | cfd451b | 2018-02-12 16:24:08 +0000 | [diff] [blame] | 88 | |
| 89 | // RUN: not %clang_cc1 -triple wasm64--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix WEBASM |
| 90 | // WEBASM: error: unknown target CPU 'not-a-cpu' |
| 91 | // WEBASM: note: valid target CPU values are: mvp, bleeding-edge, generic |
| 92 | |
| 93 | // RUN: not %clang_cc1 -triple systemz--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix SYSTEMZ |
| 94 | // SYSTEMZ: error: unknown target CPU 'not-a-cpu' |
| 95 | // SYSTEMZ: note: valid target CPU values are: arch8, z10, arch9, z196, arch10, |
Ulrich Weigand | 48b4083 | 2019-09-20 23:06:03 +0000 | [diff] [blame] | 96 | // SYSTEMZ-SAME: zEC12, arch11, z13, arch12, z14, arch13, z15 |
Erich Keane | cfd451b | 2018-02-12 16:24:08 +0000 | [diff] [blame] | 97 | |
| 98 | // RUN: not %clang_cc1 -triple sparc--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix SPARC |
| 99 | // SPARC: error: unknown target CPU 'not-a-cpu' |
| 100 | // SPARC: note: valid target CPU values are: v8, supersparc, sparclite, f934, |
| 101 | // SPARC-SAME: hypersparc, sparclite86x, sparclet, tsc701, v9, ultrasparc, |
| 102 | // SPARC-SAME: ultrasparc3, niagara, niagara2, niagara3, niagara4, ma2100, |
| 103 | // SPARC-SAME: ma2150, ma2155, ma2450, ma2455, ma2x5x, ma2080, ma2085, ma2480, |
| 104 | // SPARC-SAME: ma2485, ma2x8x, myriad2, myriad2.1, myriad2.2, myriad2.3, leon2, |
| 105 | // SPARC-SAME: at697e, at697f, leon3, ut699, gr712rc, leon4, gr740 |
| 106 | |
| 107 | // RUN: not %clang_cc1 -triple sparcv9--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix SPARCV9 |
| 108 | // SPARCV9: error: unknown target CPU 'not-a-cpu' |
| 109 | // SPARCV9: note: valid target CPU values are: v9, ultrasparc, ultrasparc3, niagara, niagara2, niagara3, niagara4 |
| 110 | |
| 111 | // RUN: not %clang_cc1 -triple powerpc--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix PPC |
| 112 | // PPC: error: unknown target CPU 'not-a-cpu' |
| 113 | // PPC: note: valid target CPU values are: generic, 440, 450, 601, 602, 603, |
| 114 | // PPC-SAME: 603e, 603ev, 604, 604e, 620, 630, g3, 7400, g4, 7450, g4+, 750, |
Jinsong Ji | d28f867 | 2020-07-28 03:02:20 +0000 | [diff] [blame] | 115 | // PPC-SAME: 8548, 970, g5, a2, e500, e500mc, e5500, power3, pwr3, power4, |
Justin Hibbits | bc4bc5a | 2019-10-24 16:22:47 -0500 | [diff] [blame] | 116 | // PPC-SAME: pwr4, power5, pwr5, power5x, pwr5x, power6, pwr6, power6x, pwr6x, |
Lei Huang | 2368bf5 | 2020-05-27 09:50:14 -0500 | [diff] [blame] | 117 | // PPC-SAME: power7, pwr7, power8, pwr8, power9, pwr9, power10, pwr10, powerpc, ppc, powerpc64, |
Stefan Pintilie | 5fcf89f | 2019-11-21 13:28:51 -0600 | [diff] [blame] | 118 | // PPC-SAME: ppc64, powerpc64le, ppc64le, future |
Erich Keane | cfd451b | 2018-02-12 16:24:08 +0000 | [diff] [blame] | 119 | |
Erich Keane | cfd451b | 2018-02-12 16:24:08 +0000 | [diff] [blame] | 120 | // RUN: not %clang_cc1 -triple mips--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix MIPS |
| 121 | // MIPS: error: unknown target CPU 'not-a-cpu' |
| 122 | // MIPS: note: valid target CPU values are: mips1, mips2, mips3, mips4, mips5, |
| 123 | // MIPS-SAME: mips32, mips32r2, mips32r3, mips32r5, mips32r6, mips64, mips64r2, |
Simon Atanasyan | 3552d3e | 2019-11-05 02:21:16 +0300 | [diff] [blame] | 124 | // MIPS-SAME: mips64r3, mips64r5, mips64r6, octeon, octeon+, p5600 |
Erich Keane | cfd451b | 2018-02-12 16:24:08 +0000 | [diff] [blame] | 125 | |
| 126 | // RUN: not %clang_cc1 -triple lanai--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix LANAI |
| 127 | // LANAI: error: unknown target CPU 'not-a-cpu' |
| 128 | // LANAI: note: valid target CPU values are: v11 |
| 129 | |
| 130 | // RUN: not %clang_cc1 -triple hexagon--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix HEXAGON |
| 131 | // HEXAGON: error: unknown target CPU 'not-a-cpu' |
Krzysztof Parzyszek | 57e6706 | 2018-10-19 15:36:45 +0000 | [diff] [blame] | 132 | // HEXAGON: note: valid target CPU values are: hexagonv5, hexagonv55, |
Erich Keane | cfd451b | 2018-02-12 16:24:08 +0000 | [diff] [blame] | 133 | // HEXAGON-SAME: hexagonv60, hexagonv62, hexagonv65 |
| 134 | |
| 135 | // RUN: not %clang_cc1 -triple bpf--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix BPF |
| 136 | // BPF: error: unknown target CPU 'not-a-cpu' |
Jiong Wang | 862e740 | 2019-02-07 22:51:56 +0000 | [diff] [blame] | 137 | // BPF: note: valid target CPU values are: generic, v1, v2, v3, probe |
Erich Keane | cfd451b | 2018-02-12 16:24:08 +0000 | [diff] [blame] | 138 | |
| 139 | // RUN: not %clang_cc1 -triple avr--- -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix AVR |
| 140 | // AVR: error: unknown target CPU 'not-a-cpu' |
| 141 | // AVR: note: valid target CPU values are: avr1, avr2, avr25, avr3, avr31, |
| 142 | // AVR-SAME: avr35, avr4, avr5, avr51, avr6, avrxmega1, avrxmega2, avrxmega3, |
| 143 | // AVR-SAME: avrxmega4, avrxmega5, avrxmega6, avrxmega7, avrtiny, at90s1200, |
| 144 | // AVR-SAME: attiny11, attiny12, attiny15, attiny28, at90s2313, at90s2323, |
| 145 | // AVR-SAME: at90s2333, at90s2343, attiny22, attiny26, at86rf401, at90s4414, |
| 146 | // AVR-SAME: t90s4433, at90s4434, at90s8515, at90c8534, at90s8535, ata5272, |
| 147 | // AVR-SAME: ttiny13, attiny13a, attiny2313, attiny2313a, attiny24, attiny24a, |
| 148 | // AVR-SAME: ttiny4313, attiny44, attiny44a, attiny84, attiny84a, attiny25, |
| 149 | // AVR-SAME: ttiny45, attiny85, attiny261, attiny261a, attiny461, attiny461a, |
| 150 | // AVR-SAME: ttiny861, attiny861a, attiny87, attiny43u, attiny48, attiny88, |
| 151 | // AVR-SAME: ttiny828, at43usb355, at76c711, atmega103, at43usb320, attiny167, |
| 152 | // AVR-SAME: t90usb82, at90usb162, ata5505, atmega8u2, atmega16u2, |
| 153 | // AVR-SAME: atmega32u2, attiny1634, atmega8, ata6289, atmega8a, ata6285, |
| 154 | // AVR-SAME: ata6286, atmega48, atmega48a, atmega48pa, atmega48p, atmega88, |
| 155 | // AVR-SAME: atmega88a, atmega88p, atmega88pa, atmega8515, atmega8535, |
| 156 | // AVR-SAME: atmega8hva, at90pwm1, at90pwm2, at90pwm2b, at90pwm3, at90pwm3b, |
| 157 | // AVR-SAME: at90pwm81, ata5790, ata5795, atmega16, atmega16a, atmega161, |
| 158 | // AVR-SAME: atmega162, atmega163, atmega164a, atmega164p, atmega164pa, |
| 159 | // AVR-SAME: atmega165, atmega165a, atmega165p, atmega165pa, atmega168, |
| 160 | // AVR-SAME: atmega168a, atmega168p, atmega168pa, atmega169, atmega169a, |
| 161 | // AVR-SAME: atmega169p, atmega169pa, atmega32, atmega32a, atmega323, |
| 162 | // AVR-SAME: atmega324a, atmega324p, atmega324pa, atmega325, atmega325a, |
| 163 | // AVR-SAME: atmega325p, atmega325pa, atmega3250, atmega3250a, atmega3250p, |
| 164 | // AVR-SAME: atmega3250pa, atmega328, atmega328p, atmega329, atmega329a, |
| 165 | // AVR-SAME: atmega329p, atmega329pa, atmega3290, atmega3290a, atmega3290p, |
| 166 | // AVR-SAME: atmega3290pa, atmega406, atmega64, atmega64a, atmega640, atmega644, |
| 167 | // AVR-SAME: atmega644a, atmega644p, atmega644pa, atmega645, atmega645a, |
| 168 | // AVR-SAME: tmega645p, atmega649, atmega649a, atmega649p, atmega6450, |
| 169 | // AVR-SAME: tmega6450a, atmega6450p, atmega6490, atmega6490a, atmega6490p, |
| 170 | // AVR-SAME: tmega64rfr2, atmega644rfr2, atmega16hva, atmega16hva2, |
| 171 | // AVR-SAME: tmega16hvb, atmega16hvbrevb, atmega32hvb, atmega32hvbrevb, |
| 172 | // AVR-SAME: tmega64hve, at90can32, at90can64, at90pwm161, at90pwm216, |
| 173 | // AVR-SAME: t90pwm316, atmega32c1, atmega64c1, atmega16m1, atmega32m1, |
| 174 | // AVR-SAME: tmega64m1, atmega16u4, atmega32u4, atmega32u6, at90usb646, |
| 175 | // AVR-SAME: t90usb647, at90scr100, at94k, m3000, atmega128, atmega128a, |
| 176 | // AVR-SAME: tmega1280, atmega1281, atmega1284, atmega1284p, atmega128rfa1, |
| 177 | // AVR-SAME: tmega128rfr2, atmega1284rfr2, at90can128, at90usb1286, |
| 178 | // AVR-SAME: t90usb1287, atmega2560, atmega2561, atmega256rfr2, atmega2564rfr2, |
| 179 | // AVR-SAME: txmega16a4, atxmega16a4u, atxmega16c4, atxmega16d4, atxmega32a4, |
| 180 | // AVR-SAME: txmega32a4u, atxmega32c4, atxmega32d4, atxmega32e5, atxmega16e5, |
| 181 | // AVR-SAME: txmega8e5, atxmega32x1, atxmega64a3, atxmega64a3u, atxmega64a4u, |
| 182 | // AVR-SAME: txmega64b1, atxmega64b3, atxmega64c3, atxmega64d3, atxmega64d4, |
| 183 | // AVR-SAME: txmega64a1, atxmega64a1u, atxmega128a3, atxmega128a3u, |
| 184 | // AVR-SAME: txmega128b1, atxmega128b3, atxmega128c3, atxmega128d3, |
| 185 | // AVR-SAME: txmega128d4, atxmega192a3, atxmega192a3u, atxmega192c3, |
| 186 | // AVR-SAME: txmega192d3, atxmega256a3, atxmega256a3u, atxmega256a3b, |
| 187 | // AVR-SAME: txmega256a3bu, atxmega256c3, atxmega256d3, atxmega384c3, |
| 188 | // AVR-SAME: txmega384d3, atxmega128a1, atxmega128a1u, atxmega128a4u, |
| 189 | // AVR-SAME: ttiny4, attiny5, attiny9, attiny10, attiny20, attiny40, attiny102, |
| 190 | // AVR-SAME: attiny104 |
| 191 | |
Zakk Chen | 294d1ea | 2020-07-16 10:32:01 -0700 | [diff] [blame] | 192 | // RUN: not %clang_cc1 -triple riscv32 -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix RISCV32 |
| 193 | // RISCV32: error: unknown target CPU 'not-a-cpu' |
Evandro Menezes | 5d6d8a2 | 2020-10-02 16:44:32 -0500 | [diff] [blame^] | 194 | // RISCV32: note: valid target CPU values are: generic-rv32, rocket-rv32, sifive-7-rv32, sifive-e31, sifive-e76 |
Zakk Chen | 294d1ea | 2020-07-16 10:32:01 -0700 | [diff] [blame] | 195 | |
| 196 | // RUN: not %clang_cc1 -triple riscv64 -target-cpu not-a-cpu -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix RISCV64 |
| 197 | // RISCV64: error: unknown target CPU 'not-a-cpu' |
Evandro Menezes | 5d6d8a2 | 2020-10-02 16:44:32 -0500 | [diff] [blame^] | 198 | // RISCV64: note: valid target CPU values are: generic-rv64, rocket-rv64, sifive-7-rv64, sifive-u54, sifive-u74 |