Debian Codegraph @

clang/test/Driver/sparc-ias-Wa.s

raw
1 // RUN: %clang --target=sparc-linux-gnu -### -fintegrated-as -c %s -Wa,-Av8 2>&1 | \
2 // RUN: FileCheck -check-prefix=V8 %s
3 // V8: -cc1as
4 // V8: "-target-feature" "-v8plus"
5
6 // RUN: %clang --target=sparc-linux-gnu -### -fintegrated-as -c %s -Wa,-Av8plus 2>&1 | \
7 // RUN: FileCheck -check-prefix=V8PLUS %s
8 // V8PLUS: -cc1as
9 // V8PLUS: "-target-feature" "+v8plus"
10 // V8PLUS: "-target-feature" "+v9"
11
12 // RUN: %clang --target=sparc-linux-gnu -### -fintegrated-as -c %s -Wa,-Av8plusa 2>&1 | \
13 // RUN: FileCheck -check-prefix=V8PLUSA %s
14 // V8PLUSA: -cc1as
15 // V8PLUSA: "-target-feature" "+v8plus"
16 // V8PLUSA: "-target-feature" "+v9"
17 // V8PLUSA: "-target-feature" "+vis"
18
19 // RUN: %clang --target=sparc-linux-gnu -### -fintegrated-as -c %s -Wa,-Av8plusb 2>&1 | \
20 // RUN: FileCheck -check-prefix=V8PLUSB %s
21 // V8PLUSB: -cc1as
22 // V8PLUSB: "-target-feature" "+v8plus"
23 // V8PLUSB: "-target-feature" "+v9"
24 // V8PLUSB: "-target-feature" "+vis"
25 // V8PLUSB: "-target-feature" "+vis2"
26
27 // RUN: %clang --target=sparc-linux-gnu -### -fintegrated-as -c %s -Wa,-Av8plusd 2>&1 | \
28 // RUN: FileCheck -check-prefix=V8PLUSD %s
29 // V8PLUSD: -cc1as
30 // V8PLUSD: "-target-feature" "+v8plus"
31 // V8PLUSD: "-target-feature" "+v9"
32 // V8PLUSD: "-target-feature" "+vis"
33 // V8PLUSD: "-target-feature" "+vis2"
34 // V8PLUSD: "-target-feature" "+vis3"
35
36 // RUN: %clang --target=sparc-linux-gnu -### -fintegrated-as -c %s -Wa,-Av9 2>&1 | \
37 // RUN: FileCheck -check-prefix=V9 %s
38 // V9: -cc1as
39 // V9: "-target-feature" "+v9"
40
41 // RUN: %clang --target=sparc-linux-gnu -### -fintegrated-as -c %s -Wa,-Av9a 2>&1 | \
42 // RUN: FileCheck -check-prefix=V9A %s
43 // V9A: -cc1as
44 // V9A: "-target-feature" "+v9"
45 // V9A: "-target-feature" "+vis"
46
47 // RUN: %clang --target=sparc-linux-gnu -### -fintegrated-as -c %s -Wa,-Av9b 2>&1 | \
48 // RUN: FileCheck -check-prefix=V9B %s
49 // V9B: -cc1as
50 // V9B: "-target-feature" "+v9"
51 // V9B: "-target-feature" "+vis"
52 // V9B: "-target-feature" "+vis2"
53
54 // RUN: %clang --target=sparc-linux-gnu -### -fintegrated-as -c %s -Wa,-Av9d 2>&1 | \
55 // RUN: FileCheck -check-prefix=V9D %s
56 // V9D: -cc1as
57 // V9D: "-target-feature" "+v9"
58 // V9D: "-target-feature" "+vis"
59 // V9D: "-target-feature" "+vis2"
60 // V9D: "-target-feature" "+vis3"
61
62 // RUN: %clang --target=sparc64-linux-gnu -### -fintegrated-as -c %s 2>&1 | \
63 // RUN: FileCheck -check-prefix=VIS-DEFAULT %s
64 // RUN: %clang --target=sparc64-freebsd -### -fintegrated-as -c %s 2>&1 | \
65 // RUN: FileCheck -check-prefix=VIS-DEFAULT %s
66 // RUN: %clang --target=sparc64-openbsd -### -fintegrated-as -c %s 2>&1 | \
67 // RUN: FileCheck -check-prefix=VIS-DEFAULT %s
68 // VIS-DEFAULT: -cc1as
69 // VIS-DEFAULT: "-target-feature" "+vis"