• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[simple_loop]
2driver: simple_loop_main.c
3test: simple_loop.c
4
5[mem_intrin]
6driver: mem_intrin_main.cpp
7test: mem_intrin.cpp
8flags: --sz=-fmem-intrin-opt
9
10[test_arith]
11driver: test_arith_main.cpp
12# Note: Originally test_arith.cpp was used to generate the bulk of the tests.
13# However, the C++ integral promotion rules mean that most of the time i8 and
14# i16 operations are not actually tested; instead, they are extended to i32 and
15# only the i32 operation is tested.  To help fix this, the relevant parts of
16# test_arith.cpp are commented out, and instead a python script auto-generates
17# test_arith_ll.ll which contains the proper functionality.
18#test: test_arith.cpp test_arith_frem.ll test_arith_sqrt.ll test_arith_fabs.ll
19test: test_arith_ll.ll test_arith.cpp test_arith_sqrt.ll test_arith_fabs.ll
20
21[test_bitmanip]
22driver: test_bitmanip_main.cpp
23test: test_bitmanip.cpp test_bitmanip_intrin.ll
24
25[test_calling_conv]
26driver: test_calling_conv_main.cpp
27test: test_calling_conv.cpp
28
29[test_cast]
30driver: test_cast_main.cpp
31test: test_cast.cpp test_cast_to_u1.ll test_cast_vectors.ll
32
33[test_fcmp]
34driver: test_fcmp_main.cpp
35test: test_fcmp.pnacl.ll
36
37[test_global]
38driver: test_global_main.cpp
39test: test_global.cpp
40
41[test_icmp]
42driver: test_icmp_main.cpp
43test: test_icmp.cpp test_icmp_i1vec.ll
44
45[test_select]
46driver: test_select_main.cpp
47test: test_select.ll
48
49[test_stacksave]
50driver: test_stacksave_main.c
51test: test_stacksave.c
52
53[test_strengthreduce]
54driver: test_strengthreduce_main.cpp
55test: test_strengthreduce.cpp
56# Disable clang-side optimizations so that pnacl-sz sees suitable
57# bitcode patterns.
58flags: --clang-opt=0
59
60[test_sync_atomic]
61driver: test_sync_atomic_main.cpp
62test: test_sync_atomic.cpp
63
64[test_vector_ops]
65driver: test_vector_ops_main.cpp
66test: test_vector_ops.cpp test_vector_ops_ll.ll
67