annotate clang/test/Driver/mips-ias-Wa.s @ 266:00f31e85ec16 default tip

Added tag current for changeset 31d058e83c98
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 14 Oct 2023 10:13:55 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s 2>&1 | \
anatofuz
parents:
diff changeset
2 // RUN: FileCheck -check-prefix=TRAP-DEFAULT %s
anatofuz
parents:
diff changeset
3 // TRAP-DEFAULT: -cc1as
anatofuz
parents:
diff changeset
4 // TRAP-DEFAULT-NOT: "-target-feature" "-use-tcc-in-div"
anatofuz
parents:
diff changeset
5
anatofuz
parents:
diff changeset
6 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -Wa,--trap 2>&1 | \
anatofuz
parents:
diff changeset
7 // RUN: FileCheck -check-prefix=TRAP-ON %s
anatofuz
parents:
diff changeset
8 // TRAP-ON: -cc1as
anatofuz
parents:
diff changeset
9 // TRAP-ON: "-target-feature" "+use-tcc-in-div"
anatofuz
parents:
diff changeset
10
anatofuz
parents:
diff changeset
11 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -Wa,--break 2>&1 | \
anatofuz
parents:
diff changeset
12 // RUN: FileCheck -check-prefix=TRAP-OFF %s
anatofuz
parents:
diff changeset
13 // TRAP-OFF: -cc1as
anatofuz
parents:
diff changeset
14 // TRAP-OFF: "-target-feature" "-use-tcc-in-div"
anatofuz
parents:
diff changeset
15
anatofuz
parents:
diff changeset
16 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -Wa,--trap,--break 2>&1 | \
anatofuz
parents:
diff changeset
17 // RUN: FileCheck -check-prefix=TRAP-BOTH-TRAP-FIRST %s
anatofuz
parents:
diff changeset
18 // TRAP-BOTH-TRAP-FIRST: -cc1as
anatofuz
parents:
diff changeset
19 // TRAP-BOTH-TRAP-FIRST: "-target-feature" "+use-tcc-in-div" "-target-feature" "-use-tcc-in-div"
anatofuz
parents:
diff changeset
20
anatofuz
parents:
diff changeset
21 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -Wa,--break,--trap 2>&1 | \
anatofuz
parents:
diff changeset
22 // RUN: FileCheck -check-prefix=TRAP-BOTH-BREAK-FIRST %s
anatofuz
parents:
diff changeset
23 // TRAP-BOTH-BREAK-FIRST: -cc1as
anatofuz
parents:
diff changeset
24 // TRAP-BOTH-BREAK-FIRST: "-target-feature" "-use-tcc-in-div" "-target-feature" "+use-tcc-in-div"
anatofuz
parents:
diff changeset
25
anatofuz
parents:
diff changeset
26 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s 2>&1 | \
anatofuz
parents:
diff changeset
27 // RUN: FileCheck -check-prefix=MSOFT-FLOAT-DEFAULT %s
anatofuz
parents:
diff changeset
28 // MSOFT-FLOAT-DEFAULT: -cc1as
anatofuz
parents:
diff changeset
29 // MSOFT-FLOAT-DEFAULT-NOT: "-target-feature" "-soft-float"
anatofuz
parents:
diff changeset
30
anatofuz
parents:
diff changeset
31 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -Wa,-msoft-float 2>&1 | \
anatofuz
parents:
diff changeset
32 // RUN: FileCheck -check-prefix=MSOFT-FLOAT-ON %s
anatofuz
parents:
diff changeset
33 // MSOFT-FLOAT-ON: -cc1as
anatofuz
parents:
diff changeset
34 // MSOFT-FLOAT-ON: "-target-feature" "+soft-float"
anatofuz
parents:
diff changeset
35
anatofuz
parents:
diff changeset
36 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -Wa,-mhard-float 2>&1 | \
anatofuz
parents:
diff changeset
37 // RUN: FileCheck -check-prefix=MSOFT-FLOAT-OFF %s
anatofuz
parents:
diff changeset
38 // MSOFT-FLOAT-OFF: -cc1as
anatofuz
parents:
diff changeset
39 // MSOFT-FLOAT-OFF: "-target-feature" "-soft-float"
anatofuz
parents:
diff changeset
40
anatofuz
parents:
diff changeset
41 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -Wa,-msoft-float,-mhard-float 2>&1 | \
anatofuz
parents:
diff changeset
42 // RUN: FileCheck -check-prefix=MSOFT-FLOAT-BOTH-MSOFT-FLOAT-FIRST %s
anatofuz
parents:
diff changeset
43 // MSOFT-FLOAT-BOTH-MSOFT-FLOAT-FIRST: -cc1as
anatofuz
parents:
diff changeset
44 // MSOFT-FLOAT-BOTH-MSOFT-FLOAT-FIRST: "-target-feature" "+soft-float" "-target-feature" "-soft-float"
anatofuz
parents:
diff changeset
45
anatofuz
parents:
diff changeset
46 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -Wa,-mhard-float,-msoft-float 2>&1 | \
anatofuz
parents:
diff changeset
47 // RUN: FileCheck -check-prefix=MSOFT-FLOAT-BOTH-MHARD-FLOAT-FIRST %s
anatofuz
parents:
diff changeset
48 // MSOFT-FLOAT-BOTH-MHARD-FLOAT-FIRST: -cc1as
anatofuz
parents:
diff changeset
49 // MSOFT-FLOAT-BOTH-MHARD-FLOAT-FIRST: "-target-feature" "-soft-float" "-target-feature" "+soft-float"
anatofuz
parents:
diff changeset
50
anatofuz
parents:
diff changeset
51 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -Wa,-mips1 2>&1 | \
anatofuz
parents:
diff changeset
52 // RUN: FileCheck -check-prefix=MIPS1 %s
anatofuz
parents:
diff changeset
53 // MIPS1: -cc1as
anatofuz
parents:
diff changeset
54 // MIPS1: "-target-feature" "+mips1"
anatofuz
parents:
diff changeset
55
anatofuz
parents:
diff changeset
56 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -Wa,-mips2 2>&1 | \
anatofuz
parents:
diff changeset
57 // RUN: FileCheck -check-prefix=MIPS2 %s
anatofuz
parents:
diff changeset
58 // MIPS2: -cc1as
anatofuz
parents:
diff changeset
59 // MIPS2: "-target-feature" "+mips2"
anatofuz
parents:
diff changeset
60
anatofuz
parents:
diff changeset
61 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -Wa,-mips3 2>&1 | \
anatofuz
parents:
diff changeset
62 // RUN: FileCheck -check-prefix=MIPS3 %s
anatofuz
parents:
diff changeset
63 // MIPS3: -cc1as
anatofuz
parents:
diff changeset
64 // MIPS3: "-target-feature" "+mips3"
anatofuz
parents:
diff changeset
65
anatofuz
parents:
diff changeset
66 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -Wa,-mips4 2>&1 | \
anatofuz
parents:
diff changeset
67 // RUN: FileCheck -check-prefix=MIPS4 %s
anatofuz
parents:
diff changeset
68 // MIPS4: -cc1as
anatofuz
parents:
diff changeset
69 // MIPS4: "-target-feature" "+mips4"
anatofuz
parents:
diff changeset
70
anatofuz
parents:
diff changeset
71 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -Wa,-mips5 2>&1 | \
anatofuz
parents:
diff changeset
72 // RUN: FileCheck -check-prefix=MIPS5 %s
anatofuz
parents:
diff changeset
73 // MIPS5: -cc1as
anatofuz
parents:
diff changeset
74 // MIPS5: "-target-feature" "+mips5"
anatofuz
parents:
diff changeset
75
anatofuz
parents:
diff changeset
76 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -Wa,-mips32 2>&1 | \
anatofuz
parents:
diff changeset
77 // RUN: FileCheck -check-prefix=MIPS32 %s
anatofuz
parents:
diff changeset
78 // MIPS32: -cc1as
anatofuz
parents:
diff changeset
79 // MIPS32: "-target-feature" "+mips32"
anatofuz
parents:
diff changeset
80
anatofuz
parents:
diff changeset
81 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -Wa,-mips32r2 2>&1 | \
anatofuz
parents:
diff changeset
82 // RUN: FileCheck -check-prefix=MIPS32R2 %s
anatofuz
parents:
diff changeset
83 // MIPS32R2: -cc1as
anatofuz
parents:
diff changeset
84 // MIPS32R2: "-target-feature" "+mips32r2"
anatofuz
parents:
diff changeset
85
anatofuz
parents:
diff changeset
86 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -Wa,-mips32r3 2>&1 | \
anatofuz
parents:
diff changeset
87 // RUN: FileCheck -check-prefix=MIPS32R3 %s
anatofuz
parents:
diff changeset
88 // MIPS32R3: -cc1as
anatofuz
parents:
diff changeset
89 // MIPS32R3: "-target-feature" "+mips32r3"
anatofuz
parents:
diff changeset
90
anatofuz
parents:
diff changeset
91 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -Wa,-mips32r5 2>&1 | \
anatofuz
parents:
diff changeset
92 // RUN: FileCheck -check-prefix=MIPS32R5 %s
anatofuz
parents:
diff changeset
93 // MIPS32R5: -cc1as
anatofuz
parents:
diff changeset
94 // MIPS32R5: "-target-feature" "+mips32r5"
anatofuz
parents:
diff changeset
95
anatofuz
parents:
diff changeset
96 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -Wa,-mips32r6 2>&1 | \
anatofuz
parents:
diff changeset
97 // RUN: FileCheck -check-prefix=MIPS32R6 %s
anatofuz
parents:
diff changeset
98 // MIPS32R6: -cc1as
anatofuz
parents:
diff changeset
99 // MIPS32R6: "-target-feature" "+mips32r6"
anatofuz
parents:
diff changeset
100
anatofuz
parents:
diff changeset
101 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -Wa,-mips64 2>&1 | \
anatofuz
parents:
diff changeset
102 // RUN: FileCheck -check-prefix=MIPS64 %s
anatofuz
parents:
diff changeset
103 // MIPS64: -cc1as
anatofuz
parents:
diff changeset
104 // MIPS64: "-target-feature" "+mips64"
anatofuz
parents:
diff changeset
105
anatofuz
parents:
diff changeset
106 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -Wa,-mips64r2 2>&1 | \
anatofuz
parents:
diff changeset
107 // RUN: FileCheck -check-prefix=MIPS64R2 %s
anatofuz
parents:
diff changeset
108 // MIPS64R2: -cc1as
anatofuz
parents:
diff changeset
109 // MIPS64R2: "-target-feature" "+mips64r2"
anatofuz
parents:
diff changeset
110
anatofuz
parents:
diff changeset
111 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -Wa,-mips64r3 2>&1 | \
anatofuz
parents:
diff changeset
112 // RUN: FileCheck -check-prefix=MIPS64R3 %s
anatofuz
parents:
diff changeset
113 // MIPS64R3: -cc1as
anatofuz
parents:
diff changeset
114 // MIPS64R3: "-target-feature" "+mips64r3"
anatofuz
parents:
diff changeset
115
anatofuz
parents:
diff changeset
116 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -Wa,-mips64r5 2>&1 | \
anatofuz
parents:
diff changeset
117 // RUN: FileCheck -check-prefix=MIPS64R5 %s
anatofuz
parents:
diff changeset
118 // MIPS64R5: -cc1as
anatofuz
parents:
diff changeset
119 // MIPS64R5: "-target-feature" "+mips64r5"
anatofuz
parents:
diff changeset
120
anatofuz
parents:
diff changeset
121 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -Wa,-mips64r6 2>&1 | \
anatofuz
parents:
diff changeset
122 // RUN: FileCheck -check-prefix=MIPS64R6 %s
anatofuz
parents:
diff changeset
123 // MIPS64R6: -cc1as
anatofuz
parents:
diff changeset
124 // MIPS64R6: "-target-feature" "+mips64r6"
anatofuz
parents:
diff changeset
125
anatofuz
parents:
diff changeset
126 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -Wa,-mips64r2,-mips4 2>&1 | \
anatofuz
parents:
diff changeset
127 // RUN: FileCheck -check-prefix=MIPS64R2-MIPS4 %s
anatofuz
parents:
diff changeset
128 // MIPS64R2-MIPS4: -cc1as
anatofuz
parents:
diff changeset
129 // MIPS64R2-MIPS4-NOT: "-target-feature" "+mips64r2"
anatofuz
parents:
diff changeset
130 // MIPS64R2-MIPS4: "-target-feature" "+mips4"
anatofuz
parents:
diff changeset
131 // MIPS64R2-MIPS4-NOT: "-target-feature" "+mips64r2"
anatofuz
parents:
diff changeset
132
anatofuz
parents:
diff changeset
133 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -Wa,-mips64,-mips32,-mips32r2 2>&1 | \
anatofuz
parents:
diff changeset
134 // RUN: FileCheck -check-prefix=MIPS64-MIPS32-MIPS32R2 %s
anatofuz
parents:
diff changeset
135 // MIPS64-MIPS32-MIPS32R2: -cc1as
anatofuz
parents:
diff changeset
136 // MIPS64-MIPS32-MIPS32R2-NOT: "-target-feature" "+mips64"
anatofuz
parents:
diff changeset
137 // MIPS64-MIPS32-MIPS32R2-NOT: "-target-feature" "+mips32"
anatofuz
parents:
diff changeset
138 // MIPS64-MIPS32-MIPS32R2: "-target-feature" "+mips32r2"
anatofuz
parents:
diff changeset
139 // MIPS64-MIPS32-MIPS32R2-NOT: "-target-feature" "+mips64"
anatofuz
parents:
diff changeset
140 // MIPS64-MIPS32-MIPS32R2-NOT: "-target-feature" "+mips32"