Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Side by Side Diff: test/cctest/BUILD.gn

Issue 2713613005: [wasm]implement simd lowering for F32x4 and I32x4 binops (Closed)
Patch Set: use namespace Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2016 The V8 project authors. All rights reserved. 1 # Copyright 2016 The V8 project authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("../../gni/v8.gni") 5 import("../../gni/v8.gni")
6 6
7 v8_executable("cctest") { 7 v8_executable("cctest") {
8 testonly = true 8 testonly = true
9 9
10 sources = [ 10 sources = [
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 sources += [ ### gcmole(arch:arm) ### 205 sources += [ ### gcmole(arch:arm) ###
206 "test-assembler-arm.cc", 206 "test-assembler-arm.cc",
207 "test-code-stubs-arm.cc", 207 "test-code-stubs-arm.cc",
208 "test-code-stubs.cc", 208 "test-code-stubs.cc",
209 "test-code-stubs.h", 209 "test-code-stubs.h",
210 "test-disasm-arm.cc", 210 "test-disasm-arm.cc",
211 "test-macro-assembler-arm.cc", 211 "test-macro-assembler-arm.cc",
212 "test-run-wasm-relocation-arm.cc", 212 "test-run-wasm-relocation-arm.cc",
213 "test-simulator-arm.cc", 213 "test-simulator-arm.cc",
214 "wasm/test-run-wasm-simd.cc", 214 "wasm/test-run-wasm-simd.cc",
215 "wasm/test-wasm-simd-common.cc",
216 "wasm/test-wasm-simd-common.h",
215 ] 217 ]
216 } else if (v8_current_cpu == "arm64") { 218 } else if (v8_current_cpu == "arm64") {
217 sources += [ ### gcmole(arch:arm64) ### 219 sources += [ ### gcmole(arch:arm64) ###
218 "test-assembler-arm64.cc", 220 "test-assembler-arm64.cc",
219 "test-code-stubs-arm64.cc", 221 "test-code-stubs-arm64.cc",
220 "test-code-stubs.cc", 222 "test-code-stubs.cc",
221 "test-code-stubs.h", 223 "test-code-stubs.h",
222 "test-disasm-arm64.cc", 224 "test-disasm-arm64.cc",
223 "test-fuzz-arm64.cc", 225 "test-fuzz-arm64.cc",
224 "test-javascript-arm64.cc", 226 "test-javascript-arm64.cc",
225 "test-js-arm64-variables.cc", 227 "test-js-arm64-variables.cc",
226 "test-run-wasm-relocation-arm64.cc", 228 "test-run-wasm-relocation-arm64.cc",
227 "test-utils-arm64.cc", 229 "test-utils-arm64.cc",
228 "test-utils-arm64.h", 230 "test-utils-arm64.h",
229 "wasm/test-run-wasm-simd-lowering.cc", 231 "wasm/test-run-wasm-simd-lowering.cc",
232 "wasm/test-wasm-simd-common.cc",
233 "wasm/test-wasm-simd-common.h",
230 ] 234 ]
231 } else if (v8_current_cpu == "x86") { 235 } else if (v8_current_cpu == "x86") {
232 sources += [ ### gcmole(arch:ia32) ### 236 sources += [ ### gcmole(arch:ia32) ###
233 "test-assembler-ia32.cc", 237 "test-assembler-ia32.cc",
234 "test-code-stubs-ia32.cc", 238 "test-code-stubs-ia32.cc",
235 "test-code-stubs.cc", 239 "test-code-stubs.cc",
236 "test-code-stubs.h", 240 "test-code-stubs.h",
237 "test-disasm-ia32.cc", 241 "test-disasm-ia32.cc",
238 "test-log-stack-tracer.cc", 242 "test-log-stack-tracer.cc",
239 "test-macro-assembler-ia32.cc", 243 "test-macro-assembler-ia32.cc",
240 "test-run-wasm-relocation-ia32.cc", 244 "test-run-wasm-relocation-ia32.cc",
241 "wasm/test-run-wasm-simd-lowering.cc", 245 "wasm/test-run-wasm-simd-lowering.cc",
246 "wasm/test-wasm-simd-common.cc",
247 "wasm/test-wasm-simd-common.h",
242 ] 248 ]
243 } else if (v8_current_cpu == "mips") { 249 } else if (v8_current_cpu == "mips") {
244 sources += [ ### gcmole(arch:mips) ### 250 sources += [ ### gcmole(arch:mips) ###
245 "test-assembler-mips.cc", 251 "test-assembler-mips.cc",
246 "test-code-stubs-mips.cc", 252 "test-code-stubs-mips.cc",
247 "test-code-stubs.cc", 253 "test-code-stubs.cc",
248 "test-code-stubs.h", 254 "test-code-stubs.h",
249 "test-disasm-mips.cc", 255 "test-disasm-mips.cc",
250 "test-macro-assembler-mips.cc", 256 "test-macro-assembler-mips.cc",
251 "wasm/test-run-wasm-simd-lowering.cc", 257 "wasm/test-run-wasm-simd-lowering.cc",
258 "wasm/test-wasm-simd-common.cc",
259 "wasm/test-wasm-simd-common.h",
252 ] 260 ]
253 } else if (v8_current_cpu == "mipsel") { 261 } else if (v8_current_cpu == "mipsel") {
254 sources += [ ### gcmole(arch:mipsel) ### 262 sources += [ ### gcmole(arch:mipsel) ###
255 "test-assembler-mips.cc", 263 "test-assembler-mips.cc",
256 "test-code-stubs-mips.cc", 264 "test-code-stubs-mips.cc",
257 "test-code-stubs.cc", 265 "test-code-stubs.cc",
258 "test-code-stubs.h", 266 "test-code-stubs.h",
259 "test-disasm-mips.cc", 267 "test-disasm-mips.cc",
260 "test-macro-assembler-mips.cc", 268 "test-macro-assembler-mips.cc",
261 "wasm/test-run-wasm-simd-lowering.cc", 269 "wasm/test-run-wasm-simd-lowering.cc",
270 "wasm/test-wasm-simd-common.cc",
271 "wasm/test-wasm-simd-common.h",
262 ] 272 ]
263 } else if (v8_current_cpu == "mips64") { 273 } else if (v8_current_cpu == "mips64") {
264 sources += [ ### gcmole(arch:mips64) ### 274 sources += [ ### gcmole(arch:mips64) ###
265 "test-assembler-mips64.cc", 275 "test-assembler-mips64.cc",
266 "test-code-stubs-mips64.cc", 276 "test-code-stubs-mips64.cc",
267 "test-code-stubs.cc", 277 "test-code-stubs.cc",
268 "test-code-stubs.h", 278 "test-code-stubs.h",
269 "test-disasm-mips64.cc", 279 "test-disasm-mips64.cc",
270 "test-macro-assembler-mips64.cc", 280 "test-macro-assembler-mips64.cc",
271 "wasm/test-run-wasm-simd-lowering.cc", 281 "wasm/test-run-wasm-simd-lowering.cc",
282 "wasm/test-wasm-simd-common.cc",
283 "wasm/test-wasm-simd-common.h",
272 ] 284 ]
273 } else if (v8_current_cpu == "mips64el") { 285 } else if (v8_current_cpu == "mips64el") {
274 sources += [ ### gcmole(arch:mips64el) ### 286 sources += [ ### gcmole(arch:mips64el) ###
275 "test-assembler-mips64.cc", 287 "test-assembler-mips64.cc",
276 "test-code-stubs-mips64.cc", 288 "test-code-stubs-mips64.cc",
277 "test-code-stubs.cc", 289 "test-code-stubs.cc",
278 "test-code-stubs.h", 290 "test-code-stubs.h",
279 "test-disasm-mips64.cc", 291 "test-disasm-mips64.cc",
280 "test-macro-assembler-mips64.cc", 292 "test-macro-assembler-mips64.cc",
281 "wasm/test-run-wasm-simd-lowering.cc", 293 "wasm/test-run-wasm-simd-lowering.cc",
294 "wasm/test-wasm-simd-common.cc",
295 "wasm/test-wasm-simd-common.h",
282 ] 296 ]
283 } else if (v8_current_cpu == "x64") { 297 } else if (v8_current_cpu == "x64") {
284 sources += [ ### gcmole(arch:x64) ### 298 sources += [ ### gcmole(arch:x64) ###
285 "test-assembler-x64.cc", 299 "test-assembler-x64.cc",
286 "test-code-stubs-x64.cc", 300 "test-code-stubs-x64.cc",
287 "test-code-stubs.cc", 301 "test-code-stubs.cc",
288 "test-code-stubs.h", 302 "test-code-stubs.h",
289 "test-disasm-x64.cc", 303 "test-disasm-x64.cc",
290 "test-log-stack-tracer.cc", 304 "test-log-stack-tracer.cc",
291 "test-macro-assembler-x64.cc", 305 "test-macro-assembler-x64.cc",
292 "test-run-wasm-relocation-x64.cc", 306 "test-run-wasm-relocation-x64.cc",
293 "wasm/test-run-wasm-simd.cc", 307 "wasm/test-run-wasm-simd.cc",
308 "wasm/test-wasm-simd-common.cc",
309 "wasm/test-wasm-simd-common.h",
294 ] 310 ]
295 } else if (v8_current_cpu == "x87") { 311 } else if (v8_current_cpu == "x87") {
296 sources += [ ### gcmole(arch:x87) ### 312 sources += [ ### gcmole(arch:x87) ###
297 "test-assembler-x87.cc", 313 "test-assembler-x87.cc",
298 "test-code-stubs-x87.cc", 314 "test-code-stubs-x87.cc",
299 "test-code-stubs.cc", 315 "test-code-stubs.cc",
300 "test-code-stubs.h", 316 "test-code-stubs.h",
301 "test-disasm-x87.cc", 317 "test-disasm-x87.cc",
302 "test-log-stack-tracer.cc", 318 "test-log-stack-tracer.cc",
303 "test-macro-assembler-x87.cc", 319 "test-macro-assembler-x87.cc",
304 "test-run-wasm-relocation-x87.cc", 320 "test-run-wasm-relocation-x87.cc",
305 "wasm/test-run-wasm-simd-lowering.cc", 321 "wasm/test-run-wasm-simd-lowering.cc",
322 "wasm/test-wasm-simd-common.cc",
323 "wasm/test-wasm-simd-common.h",
306 ] 324 ]
307 } else if (v8_current_cpu == "ppc" || v8_current_cpu == "ppc64") { 325 } else if (v8_current_cpu == "ppc" || v8_current_cpu == "ppc64") {
308 sources += [ ### gcmole(arch:ppc) ### 326 sources += [ ### gcmole(arch:ppc) ###
309 "test-assembler-ppc.cc", 327 "test-assembler-ppc.cc",
310 "test-code-stubs.cc", 328 "test-code-stubs.cc",
311 "test-code-stubs.h", 329 "test-code-stubs.h",
312 "test-disasm-ppc.cc", 330 "test-disasm-ppc.cc",
313 "wasm/test-run-wasm-simd-lowering.cc", 331 "wasm/test-run-wasm-simd-lowering.cc",
332 "wasm/test-wasm-simd-common.cc",
333 "wasm/test-wasm-simd-common.h",
314 ] 334 ]
315 } else if (v8_current_cpu == "s390" || v8_current_cpu == "s390x") { 335 } else if (v8_current_cpu == "s390" || v8_current_cpu == "s390x") {
316 sources += [ ### gcmole(arch:s390) ### 336 sources += [ ### gcmole(arch:s390) ###
317 "test-assembler-s390.cc", 337 "test-assembler-s390.cc",
318 "test-code-stubs.cc", 338 "test-code-stubs.cc",
319 "test-code-stubs.h", 339 "test-code-stubs.h",
320 "test-disasm-s390.cc", 340 "test-disasm-s390.cc",
321 "wasm/test-run-wasm-simd-lowering.cc", 341 "wasm/test-run-wasm-simd-lowering.cc",
342 "wasm/test-wasm-simd-common.cc",
343 "wasm/test-wasm-simd-common.h",
322 ] 344 ]
323 } 345 }
324 346
325 if (is_linux) { 347 if (is_linux) {
326 # TODO(machenbach): Translate 'or OS=="qnx"' from gyp. 348 # TODO(machenbach): Translate 'or OS=="qnx"' from gyp.
327 sources += [ "test-platform-linux.cc" ] 349 sources += [ "test-platform-linux.cc" ]
328 } else if (is_win) { 350 } else if (is_win) {
329 sources += [ "test-platform-win32.cc" ] 351 sources += [ "test-platform-win32.cc" ]
330 } 352 }
331 353
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 ] 463 ]
442 464
443 deps = [ 465 deps = [
444 "../..:v8", 466 "../..:v8",
445 "../..:v8_libbase", 467 "../..:v8_libbase",
446 "../..:v8_libplatform", 468 "../..:v8_libplatform",
447 "//build/config/sanitizers:deps", 469 "//build/config/sanitizers:deps",
448 "//build/win:default_exe_manifest", 470 "//build/win:default_exe_manifest",
449 ] 471 ]
450 } 472 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698