Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1 | # Copyright 2019 Google LLC |
| 2 | # |
| 3 | # This source code is licensed under the BSD-style license found in the |
| 4 | # LICENSE file in the root directory of this source tree. |
| 5 | # |
| 6 | # Description: |
| 7 | # XNNPACK - optimized floating-point neural network operators library |
| 8 | |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 9 | load(":build_defs.bzl", "xnnpack_aggregate_library", "xnnpack_benchmark", "xnnpack_binary", "xnnpack_cc_library", "xnnpack_gcc_std_copts", "xnnpack_min_size_copts", "xnnpack_msvc_std_copts", "xnnpack_optional_armcl_copts", "xnnpack_optional_armcl_deps", "xnnpack_optional_dnnl_copts", "xnnpack_optional_dnnl_deps", "xnnpack_optional_gemmlowp_copts", "xnnpack_optional_gemmlowp_deps", "xnnpack_optional_ruy_copts", "xnnpack_optional_ruy_deps", "xnnpack_optional_tflite_copts", "xnnpack_optional_tflite_deps", "xnnpack_std_cxxopts", "xnnpack_unit_test", "xnnpack_visibility") |
Marat Dukhan | 69c3f2c | 2019-11-06 12:30:01 -0800 | [diff] [blame] | 10 | |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 11 | licenses(["notice"]) |
| 12 | |
| 13 | exports_files(["LICENSE"]) |
| 14 | |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 15 | OPERATOR_BENCHMARK_DEPS = [ |
| 16 | ":XNNPACK", |
| 17 | ":bench_utils", |
| 18 | "@cpuinfo", |
Frank Barchard | 0c84973 | 2020-06-12 13:31:32 -0700 | [diff] [blame] | 19 | "@FP16", |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 20 | "@pthreadpool", |
| 21 | ] |
| 22 | |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 23 | MICROKERNEL_BENCHMARK_DEPS = [ |
| 24 | ":ukernels", |
| 25 | ":bench_utils", |
Frank Barchard | 7e95597 | 2019-10-11 10:34:25 -0700 | [diff] [blame] | 26 | ":enable_assembly", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 27 | "@cpuinfo", |
| 28 | "@FP16", |
| 29 | "@pthreadpool", |
| 30 | ] |
| 31 | |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 32 | ACCURACY_EVAL_DEPS = [ |
| 33 | ":XNNPACK", |
| 34 | ":ukernels", |
| 35 | "@FP16", |
| 36 | "@pthreadpool", |
| 37 | ] |
| 38 | |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 39 | MICROKERNEL_TEST_DEPS = [ |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 40 | ":ukernels_test_mode", |
Frank Barchard | 7e95597 | 2019-10-11 10:34:25 -0700 | [diff] [blame] | 41 | ":enable_assembly", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 42 | "@cpuinfo", |
| 43 | "@FP16", |
| 44 | "@pthreadpool", |
| 45 | ] |
| 46 | |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 47 | OPERATOR_TEST_DEPS = [ |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 48 | ":XNNPACK_test_mode", |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 49 | "@pthreadpool", |
| 50 | "@FP16", |
| 51 | ] |
| 52 | |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 53 | OPERATOR_SRCS = [ |
Marat Dukhan | e826543 | 2020-04-28 18:42:59 -0700 | [diff] [blame] | 54 | "src/operators/argmax-pooling-nhwc.c", |
| 55 | "src/operators/average-pooling-nhwc.c", |
| 56 | "src/operators/binary-elementwise-nd.c", |
Marat Dukhan | e826543 | 2020-04-28 18:42:59 -0700 | [diff] [blame] | 57 | "src/operators/channel-shuffle-nc.c", |
Marat Dukhan | 065b11e | 2020-05-22 09:49:41 -0700 | [diff] [blame] | 58 | "src/operators/constant-pad-nd.c", |
Marat Dukhan | e826543 | 2020-04-28 18:42:59 -0700 | [diff] [blame] | 59 | "src/operators/convolution-nchw.c", |
| 60 | "src/operators/convolution-nhwc.c", |
| 61 | "src/operators/deconvolution-nhwc.c", |
| 62 | "src/operators/fully-connected-nc.c", |
| 63 | "src/operators/global-average-pooling-ncw.c", |
| 64 | "src/operators/global-average-pooling-nwc.c", |
Marat Dukhan | e826543 | 2020-04-28 18:42:59 -0700 | [diff] [blame] | 65 | "src/operators/leaky-relu-nc.c", |
| 66 | "src/operators/max-pooling-nhwc.c", |
| 67 | "src/operators/prelu-nc.c", |
| 68 | "src/operators/resize-bilinear-nhwc.c", |
| 69 | "src/operators/sigmoid-nc.c", |
| 70 | "src/operators/softmax-nc.c", |
Marat Dukhan | c3065f5 | 2020-06-04 13:33:32 -0700 | [diff] [blame] | 71 | "src/operators/unary-elementwise-nc.c", |
Marat Dukhan | e826543 | 2020-04-28 18:42:59 -0700 | [diff] [blame] | 72 | "src/operators/unpooling-nhwc.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 73 | ] |
| 74 | |
Marat Dukhan | 95e8b7a | 2020-06-03 12:46:26 -0700 | [diff] [blame] | 75 | SUBGRAPH_SRCS = [ |
Marat Dukhan | 5fab409 | 2020-06-10 01:28:28 -0700 | [diff] [blame] | 76 | "src/subgraph/abs.c", |
Marat Dukhan | 95e8b7a | 2020-06-03 12:46:26 -0700 | [diff] [blame] | 77 | "src/subgraph/add2.c", |
| 78 | "src/subgraph/argmax-pooling-2d.c", |
| 79 | "src/subgraph/average-pooling-2d.c", |
Marat Dukhan | 5fab409 | 2020-06-10 01:28:28 -0700 | [diff] [blame] | 80 | "src/subgraph/bankers-rounding.c", |
| 81 | "src/subgraph/ceiling.c", |
Marat Dukhan | 95e8b7a | 2020-06-03 12:46:26 -0700 | [diff] [blame] | 82 | "src/subgraph/clamp.c", |
| 83 | "src/subgraph/convolution-2d.c", |
| 84 | "src/subgraph/deconvolution-2d.c", |
| 85 | "src/subgraph/depthwise-convolution-2d.c", |
Marat Dukhan | 9d3a459 | 2020-06-05 16:52:42 -0700 | [diff] [blame] | 86 | "src/subgraph/divide.c", |
Marat Dukhan | 95e8b7a | 2020-06-03 12:46:26 -0700 | [diff] [blame] | 87 | "src/subgraph/fully-connected.c", |
Marat Dukhan | 5fab409 | 2020-06-10 01:28:28 -0700 | [diff] [blame] | 88 | "src/subgraph/floor.c", |
Marat Dukhan | a059b7d | 2020-06-11 11:41:27 -0700 | [diff] [blame] | 89 | "src/subgraph/global-average-pooling-2d.c", |
Marat Dukhan | 95e8b7a | 2020-06-03 12:46:26 -0700 | [diff] [blame] | 90 | "src/subgraph/hardswish.c", |
Marat Dukhan | 5bbebac | 2020-06-10 19:42:15 -0700 | [diff] [blame] | 91 | "src/subgraph/leaky-relu.c", |
Marat Dukhan | 95e8b7a | 2020-06-03 12:46:26 -0700 | [diff] [blame] | 92 | "src/subgraph/max-pooling-2d.c", |
Marat Dukhan | 9d3a459 | 2020-06-05 16:52:42 -0700 | [diff] [blame] | 93 | "src/subgraph/maximum2.c", |
| 94 | "src/subgraph/minimum2.c", |
Marat Dukhan | 95e8b7a | 2020-06-03 12:46:26 -0700 | [diff] [blame] | 95 | "src/subgraph/multiply2.c", |
Marat Dukhan | 5fab409 | 2020-06-10 01:28:28 -0700 | [diff] [blame] | 96 | "src/subgraph/negate.c", |
Marat Dukhan | 95e8b7a | 2020-06-03 12:46:26 -0700 | [diff] [blame] | 97 | "src/subgraph/prelu.c", |
| 98 | "src/subgraph/sigmoid.c", |
| 99 | "src/subgraph/softmax.c", |
| 100 | "src/subgraph/static-constant-pad.c", |
Marat Dukhan | d27202d | 2020-07-09 23:43:40 -0700 | [diff] [blame] | 101 | "src/subgraph/static-reshape.c", |
Marat Dukhan | aff24e2 | 2020-07-23 01:43:58 -0700 | [diff] [blame] | 102 | "src/subgraph/static-resize-bilinear-2d.c", |
Marat Dukhan | 5fab409 | 2020-06-10 01:28:28 -0700 | [diff] [blame] | 103 | "src/subgraph/square.c", |
Marat Dukhan | 51a01c6 | 2020-07-09 03:26:57 -0700 | [diff] [blame] | 104 | "src/subgraph/square-root.c", |
Marat Dukhan | 9d3a459 | 2020-06-05 16:52:42 -0700 | [diff] [blame] | 105 | "src/subgraph/squared-difference.c", |
| 106 | "src/subgraph/subtract.c", |
Marat Dukhan | 95e8b7a | 2020-06-03 12:46:26 -0700 | [diff] [blame] | 107 | "src/subgraph/unpooling-2d.c", |
| 108 | ] |
| 109 | |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 110 | TABLE_SRCS = [ |
| 111 | "src/tables/exp2-k-over-64.c", |
| 112 | "src/tables/exp2-k-over-2048.c", |
| 113 | ] |
| 114 | |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 115 | SCALAR_UKERNELS = [ |
Marat Dukhan | 329da64 | 2019-11-19 21:44:39 -0800 | [diff] [blame] | 116 | "src/f32-argmaxpool/4x-scalar-c1.c", |
Marat Dukhan | 1e782c4 | 2019-11-21 17:02:40 -0800 | [diff] [blame] | 117 | "src/f32-argmaxpool/9p8x-scalar-c1.c", |
Marat Dukhan | 329da64 | 2019-11-19 21:44:39 -0800 | [diff] [blame] | 118 | "src/f32-argmaxpool/9x-scalar-c1.c", |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 119 | "src/f32-avgpool/9p8x-minmax-scalar-c1.c", |
| 120 | "src/f32-avgpool/9x-minmax-scalar-c1.c", |
Marat Dukhan | 5c5fa96 | 2020-03-10 18:38:33 -0700 | [diff] [blame] | 121 | "src/f32-clamp/gen/scalar-x1.c", |
| 122 | "src/f32-clamp/gen/scalar-x2.c", |
| 123 | "src/f32-clamp/gen/scalar-x4.c", |
Marat Dukhan | 441e221 | 2019-12-04 18:30:49 -0800 | [diff] [blame] | 124 | "src/f32-conv-hwc/3x3s2p0p1c3x4-scalar-1x1.c", |
Marat Dukhan | 6b7dfae | 2019-12-04 16:00:52 -0800 | [diff] [blame] | 125 | "src/f32-conv-hwc/3x3s2p1c3x4-scalar-1x1.c", |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 126 | "src/f32-conv-hwc2chw/3x3s2p1c3x4-scalar-1x1.c", |
| 127 | "src/f32-dwconv-chw/3x3p1-scalar.c", |
| 128 | "src/f32-dwconv-chw/3x3s2p1-scalar.c", |
| 129 | "src/f32-dwconv-chw/5x5p2-scalar.c", |
| 130 | "src/f32-dwconv-chw/5x5s2p2-scalar.c", |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 131 | "src/f32-dwconv/gen/up1x4-scalar-acc2.c", |
| 132 | "src/f32-dwconv/gen/up1x4-scalar.c", |
| 133 | "src/f32-dwconv/gen/up1x9-scalar-acc2.c", |
| 134 | "src/f32-dwconv/gen/up1x9-scalar.c", |
| 135 | "src/f32-dwconv/gen/up1x25-scalar-acc2.c", |
| 136 | "src/f32-dwconv/gen/up1x25-scalar.c", |
| 137 | "src/f32-dwconv/gen/up2x4-scalar-acc2.c", |
| 138 | "src/f32-dwconv/gen/up2x4-scalar.c", |
| 139 | "src/f32-dwconv/gen/up2x9-scalar-acc2.c", |
| 140 | "src/f32-dwconv/gen/up2x9-scalar.c", |
| 141 | "src/f32-dwconv/gen/up2x25-scalar-acc2.c", |
| 142 | "src/f32-dwconv/gen/up2x25-scalar.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 143 | "src/f32-dwconv/gen/up1x4-minmax-scalar-acc2.c", |
| 144 | "src/f32-dwconv/gen/up1x4-minmax-scalar.c", |
| 145 | "src/f32-dwconv/gen/up1x9-minmax-scalar-acc2.c", |
| 146 | "src/f32-dwconv/gen/up1x9-minmax-scalar.c", |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 147 | "src/f32-dwconv/gen/up1x25-minmax-scalar-acc2.c", |
| 148 | "src/f32-dwconv/gen/up1x25-minmax-scalar.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 149 | "src/f32-dwconv/gen/up2x4-minmax-scalar-acc2.c", |
| 150 | "src/f32-dwconv/gen/up2x4-minmax-scalar.c", |
| 151 | "src/f32-dwconv/gen/up2x9-minmax-scalar-acc2.c", |
| 152 | "src/f32-dwconv/gen/up2x9-minmax-scalar.c", |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 153 | "src/f32-dwconv/gen/up2x25-minmax-scalar-acc2.c", |
| 154 | "src/f32-dwconv/gen/up2x25-minmax-scalar.c", |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 155 | "src/f32-gavgpool-cw/scalar-x1.c", |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 156 | "src/f32-gavgpool/7p7x-minmax-scalar-c1.c", |
| 157 | "src/f32-gavgpool/7x-minmax-scalar-c1.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 158 | "src/f32-gemm/gen-inc/1x4inc-minmax-scalar.c", |
| 159 | "src/f32-gemm/gen-inc/2x4inc-minmax-scalar.c", |
| 160 | "src/f32-gemm/gen-inc/4x4inc-minmax-scalar.c", |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 161 | "src/f32-gemm/gen/1x4-scalar.c", |
| 162 | "src/f32-gemm/gen/2x4-scalar.c", |
| 163 | "src/f32-gemm/gen/4x2-scalar.c", |
| 164 | "src/f32-gemm/gen/4x4-scalar.c", |
Marat Dukhan | 467f636 | 2020-05-22 23:21:55 -0700 | [diff] [blame] | 165 | "src/f32-gemm/gen/1x4-relu-scalar.c", |
| 166 | "src/f32-gemm/gen/2x4-relu-scalar.c", |
| 167 | "src/f32-gemm/gen/4x2-relu-scalar.c", |
| 168 | "src/f32-gemm/gen/4x4-relu-scalar.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 169 | "src/f32-gemm/gen/1x4-minmax-scalar.c", |
| 170 | "src/f32-gemm/gen/2x4-minmax-scalar.c", |
| 171 | "src/f32-gemm/gen/4x2-minmax-scalar.c", |
| 172 | "src/f32-gemm/gen/4x4-minmax-scalar.c", |
Marat Dukhan | efaac27 | 2020-07-16 16:58:07 -0700 | [diff] [blame] | 173 | "src/f32-hswish/gen/hswish-scalar-x1.c", |
| 174 | "src/f32-hswish/gen/hswish-scalar-x2.c", |
| 175 | "src/f32-hswish/gen/hswish-scalar-x4.c", |
Marat Dukhan | 660fd19 | 2020-03-10 04:55:30 -0700 | [diff] [blame] | 176 | "src/f32-ibilinear/gen/scalar-c1.c", |
| 177 | "src/f32-ibilinear/gen/scalar-c2.c", |
| 178 | "src/f32-ibilinear/gen/scalar-c4.c", |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 179 | "src/f32-igemm/gen/1x4-scalar.c", |
| 180 | "src/f32-igemm/gen/2x4-scalar.c", |
| 181 | "src/f32-igemm/gen/4x2-scalar.c", |
| 182 | "src/f32-igemm/gen/4x4-scalar.c", |
Marat Dukhan | 467f636 | 2020-05-22 23:21:55 -0700 | [diff] [blame] | 183 | "src/f32-igemm/gen/1x4-relu-scalar.c", |
| 184 | "src/f32-igemm/gen/2x4-relu-scalar.c", |
| 185 | "src/f32-igemm/gen/4x2-relu-scalar.c", |
| 186 | "src/f32-igemm/gen/4x4-relu-scalar.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 187 | "src/f32-igemm/gen/1x4-minmax-scalar.c", |
| 188 | "src/f32-igemm/gen/2x4-minmax-scalar.c", |
| 189 | "src/f32-igemm/gen/4x2-minmax-scalar.c", |
| 190 | "src/f32-igemm/gen/4x4-minmax-scalar.c", |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 191 | "src/f32-maxpool/9p8x-minmax-scalar-c1.c", |
| 192 | "src/f32-pavgpool/9p8x-minmax-scalar-c1.c", |
| 193 | "src/f32-pavgpool/9x-minmax-scalar-c1.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 194 | "src/f32-ppmm/gen/2x4-minmax-scalar.c", |
| 195 | "src/f32-ppmm/gen/3x3-minmax-scalar.c", |
| 196 | "src/f32-ppmm/gen/4x2-minmax-scalar.c", |
| 197 | "src/f32-ppmm/gen/4x4-minmax-scalar.c", |
Marat Dukhan | 40a672f | 2019-11-25 03:08:22 -0800 | [diff] [blame] | 198 | "src/f32-prelu/gen/scalar-2x1.c", |
| 199 | "src/f32-prelu/gen/scalar-2x4.c", |
Marat Dukhan | f46f675 | 2020-01-21 11:03:49 -0800 | [diff] [blame] | 200 | "src/f32-raddstoreexpminusmax/gen/scalar-lut64-p2-x1.c", |
| 201 | "src/f32-raddstoreexpminusmax/gen/scalar-lut64-p2-x2.c", |
| 202 | "src/f32-raddstoreexpminusmax/gen/scalar-lut64-p2-x2-acc2.c", |
| 203 | "src/f32-raddstoreexpminusmax/gen/scalar-lut64-p2-x4.c", |
| 204 | "src/f32-raddstoreexpminusmax/gen/scalar-lut64-p2-x4-acc2.c", |
| 205 | "src/f32-raddstoreexpminusmax/gen/scalar-lut64-p2-x4-acc4.c", |
| 206 | "src/f32-raddstoreexpminusmax/gen/scalar-p5-x1.c", |
| 207 | "src/f32-raddstoreexpminusmax/gen/scalar-p5-x2.c", |
| 208 | "src/f32-raddstoreexpminusmax/gen/scalar-p5-x2-acc2.c", |
| 209 | "src/f32-raddstoreexpminusmax/gen/scalar-p5-x4.c", |
| 210 | "src/f32-raddstoreexpminusmax/gen/scalar-p5-x4-acc2.c", |
| 211 | "src/f32-raddstoreexpminusmax/gen/scalar-p5-x4-acc4.c", |
Frank Barchard | fb158e2 | 2020-07-15 16:10:10 -0700 | [diff] [blame] | 212 | "src/f32-relu/gen/scalar-x1.c", |
| 213 | "src/f32-relu/gen/scalar-x2.c", |
| 214 | "src/f32-relu/gen/scalar-x4.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 215 | "src/f32-rmax/scalar.c", |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 216 | "src/f32-sigmoid/gen/scalar-lut2048-p1-div-x1.c", |
| 217 | "src/f32-sigmoid/gen/scalar-lut2048-p1-div-x2.c", |
| 218 | "src/f32-sigmoid/gen/scalar-lut2048-p1-div-x4.c", |
| 219 | "src/f32-sigmoid/gen/scalar-lut64-p2-div-x1.c", |
| 220 | "src/f32-sigmoid/gen/scalar-lut64-p2-div-x2.c", |
| 221 | "src/f32-sigmoid/gen/scalar-lut64-p2-div-x4.c", |
| 222 | "src/f32-sigmoid/gen/scalar-p5-div-x1.c", |
| 223 | "src/f32-sigmoid/gen/scalar-p5-div-x2.c", |
| 224 | "src/f32-sigmoid/gen/scalar-p5-div-x4.c", |
Marat Dukhan | 355ab43 | 2020-04-09 19:01:52 -0700 | [diff] [blame] | 225 | "src/f32-spmm/gen/1x1-minmax-scalar-pipelined.c", |
| 226 | "src/f32-spmm/gen/1x1-minmax-scalar.c", |
| 227 | "src/f32-spmm/gen/2x1-minmax-scalar-pipelined.c", |
| 228 | "src/f32-spmm/gen/2x1-minmax-scalar.c", |
| 229 | "src/f32-spmm/gen/4x1-minmax-scalar-pipelined.c", |
| 230 | "src/f32-spmm/gen/4x1-minmax-scalar.c", |
| 231 | "src/f32-spmm/gen/8x1-minmax-scalar-pipelined.c", |
| 232 | "src/f32-spmm/gen/8x1-minmax-scalar.c", |
| 233 | "src/f32-spmm/gen/8x2-minmax-scalar.c", |
| 234 | "src/f32-spmm/gen/8x4-minmax-scalar.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 235 | "src/f32-vbinary/gen/vadd-minmax-scalar-x1.c", |
| 236 | "src/f32-vbinary/gen/vadd-minmax-scalar-x2.c", |
| 237 | "src/f32-vbinary/gen/vadd-minmax-scalar-x4.c", |
Frank Barchard | 8e229db | 2020-07-06 23:31:35 -0700 | [diff] [blame] | 238 | "src/f32-vbinary/gen/vadd-scalar-x1.c", |
| 239 | "src/f32-vbinary/gen/vadd-scalar-x2.c", |
| 240 | "src/f32-vbinary/gen/vadd-scalar-x4.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 241 | "src/f32-vbinary/gen/vaddc-minmax-scalar-x1.c", |
| 242 | "src/f32-vbinary/gen/vaddc-minmax-scalar-x2.c", |
| 243 | "src/f32-vbinary/gen/vaddc-minmax-scalar-x4.c", |
Frank Barchard | 8e229db | 2020-07-06 23:31:35 -0700 | [diff] [blame] | 244 | "src/f32-vbinary/gen/vaddc-scalar-x1.c", |
| 245 | "src/f32-vbinary/gen/vaddc-scalar-x2.c", |
| 246 | "src/f32-vbinary/gen/vaddc-scalar-x4.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 247 | "src/f32-vbinary/gen/vdiv-minmax-scalar-x1.c", |
| 248 | "src/f32-vbinary/gen/vdiv-minmax-scalar-x2.c", |
| 249 | "src/f32-vbinary/gen/vdiv-minmax-scalar-x4.c", |
Frank Barchard | 8e229db | 2020-07-06 23:31:35 -0700 | [diff] [blame] | 250 | "src/f32-vbinary/gen/vdiv-scalar-x1.c", |
| 251 | "src/f32-vbinary/gen/vdiv-scalar-x2.c", |
| 252 | "src/f32-vbinary/gen/vdiv-scalar-x4.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 253 | "src/f32-vbinary/gen/vdivc-minmax-scalar-x1.c", |
| 254 | "src/f32-vbinary/gen/vdivc-minmax-scalar-x2.c", |
| 255 | "src/f32-vbinary/gen/vdivc-minmax-scalar-x4.c", |
Frank Barchard | 8e229db | 2020-07-06 23:31:35 -0700 | [diff] [blame] | 256 | "src/f32-vbinary/gen/vdivc-scalar-x1.c", |
| 257 | "src/f32-vbinary/gen/vdivc-scalar-x2.c", |
| 258 | "src/f32-vbinary/gen/vdivc-scalar-x4.c", |
Marat Dukhan | 403b7d4 | 2019-12-05 12:49:11 -0800 | [diff] [blame] | 259 | "src/f32-vbinary/gen/vmax-scalar-x1.c", |
| 260 | "src/f32-vbinary/gen/vmax-scalar-x2.c", |
| 261 | "src/f32-vbinary/gen/vmax-scalar-x4.c", |
| 262 | "src/f32-vbinary/gen/vmaxc-scalar-x1.c", |
| 263 | "src/f32-vbinary/gen/vmaxc-scalar-x2.c", |
| 264 | "src/f32-vbinary/gen/vmaxc-scalar-x4.c", |
| 265 | "src/f32-vbinary/gen/vmin-scalar-x1.c", |
| 266 | "src/f32-vbinary/gen/vmin-scalar-x2.c", |
| 267 | "src/f32-vbinary/gen/vmin-scalar-x4.c", |
| 268 | "src/f32-vbinary/gen/vminc-scalar-x1.c", |
| 269 | "src/f32-vbinary/gen/vminc-scalar-x2.c", |
| 270 | "src/f32-vbinary/gen/vminc-scalar-x4.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 271 | "src/f32-vbinary/gen/vmul-minmax-scalar-x1.c", |
| 272 | "src/f32-vbinary/gen/vmul-minmax-scalar-x2.c", |
| 273 | "src/f32-vbinary/gen/vmul-minmax-scalar-x4.c", |
Frank Barchard | 8e229db | 2020-07-06 23:31:35 -0700 | [diff] [blame] | 274 | "src/f32-vbinary/gen/vmul-scalar-x1.c", |
| 275 | "src/f32-vbinary/gen/vmul-scalar-x2.c", |
| 276 | "src/f32-vbinary/gen/vmul-scalar-x4.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 277 | "src/f32-vbinary/gen/vmulc-minmax-scalar-x1.c", |
| 278 | "src/f32-vbinary/gen/vmulc-minmax-scalar-x2.c", |
| 279 | "src/f32-vbinary/gen/vmulc-minmax-scalar-x4.c", |
Frank Barchard | 8e229db | 2020-07-06 23:31:35 -0700 | [diff] [blame] | 280 | "src/f32-vbinary/gen/vmulc-scalar-x1.c", |
| 281 | "src/f32-vbinary/gen/vmulc-scalar-x2.c", |
| 282 | "src/f32-vbinary/gen/vmulc-scalar-x4.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 283 | "src/f32-vbinary/gen/vrdivc-minmax-scalar-x1.c", |
| 284 | "src/f32-vbinary/gen/vrdivc-minmax-scalar-x2.c", |
| 285 | "src/f32-vbinary/gen/vrdivc-minmax-scalar-x4.c", |
Frank Barchard | 8e229db | 2020-07-06 23:31:35 -0700 | [diff] [blame] | 286 | "src/f32-vbinary/gen/vrdivc-scalar-x1.c", |
| 287 | "src/f32-vbinary/gen/vrdivc-scalar-x2.c", |
| 288 | "src/f32-vbinary/gen/vrdivc-scalar-x4.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 289 | "src/f32-vbinary/gen/vrsubc-minmax-scalar-x1.c", |
| 290 | "src/f32-vbinary/gen/vrsubc-minmax-scalar-x2.c", |
| 291 | "src/f32-vbinary/gen/vrsubc-minmax-scalar-x4.c", |
Frank Barchard | 8e229db | 2020-07-06 23:31:35 -0700 | [diff] [blame] | 292 | "src/f32-vbinary/gen/vrsubc-scalar-x1.c", |
| 293 | "src/f32-vbinary/gen/vrsubc-scalar-x2.c", |
| 294 | "src/f32-vbinary/gen/vrsubc-scalar-x4.c", |
Marat Dukhan | 13bafb0 | 2020-06-05 00:43:11 -0700 | [diff] [blame] | 295 | "src/f32-vbinary/gen/vsqrdiff-scalar-x1.c", |
| 296 | "src/f32-vbinary/gen/vsqrdiff-scalar-x2.c", |
| 297 | "src/f32-vbinary/gen/vsqrdiff-scalar-x4.c", |
| 298 | "src/f32-vbinary/gen/vsqrdiffc-scalar-x1.c", |
| 299 | "src/f32-vbinary/gen/vsqrdiffc-scalar-x2.c", |
| 300 | "src/f32-vbinary/gen/vsqrdiffc-scalar-x4.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 301 | "src/f32-vbinary/gen/vsub-minmax-scalar-x1.c", |
| 302 | "src/f32-vbinary/gen/vsub-minmax-scalar-x2.c", |
| 303 | "src/f32-vbinary/gen/vsub-minmax-scalar-x4.c", |
Frank Barchard | 8e229db | 2020-07-06 23:31:35 -0700 | [diff] [blame] | 304 | "src/f32-vbinary/gen/vsub-scalar-x1.c", |
| 305 | "src/f32-vbinary/gen/vsub-scalar-x2.c", |
| 306 | "src/f32-vbinary/gen/vsub-scalar-x4.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 307 | "src/f32-vbinary/gen/vsubc-minmax-scalar-x1.c", |
| 308 | "src/f32-vbinary/gen/vsubc-minmax-scalar-x2.c", |
| 309 | "src/f32-vbinary/gen/vsubc-minmax-scalar-x4.c", |
Frank Barchard | 8e229db | 2020-07-06 23:31:35 -0700 | [diff] [blame] | 310 | "src/f32-vbinary/gen/vsubc-scalar-x1.c", |
| 311 | "src/f32-vbinary/gen/vsubc-scalar-x2.c", |
| 312 | "src/f32-vbinary/gen/vsubc-scalar-x4.c", |
Marat Dukhan | 19dd91d | 2020-07-16 11:12:44 -0700 | [diff] [blame] | 313 | "src/f32-vlrelu/gen/vlrelu-scalar-x1.c", |
| 314 | "src/f32-vlrelu/gen/vlrelu-scalar-x2.c", |
| 315 | "src/f32-vlrelu/gen/vlrelu-scalar-x4.c", |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 316 | "src/f32-vmulcaddc/gen/c1-minmax-scalar-2x.c", |
| 317 | "src/f32-vmulcaddc/gen/c2-minmax-scalar-2x.c", |
| 318 | "src/f32-vmulcaddc/gen/c4-minmax-scalar-2x.c", |
Marat Dukhan | eecf8fd | 2020-06-09 08:59:37 -0700 | [diff] [blame] | 319 | "src/f32-vrnd/gen/vrndne-scalar-libm-x1.c", |
| 320 | "src/f32-vrnd/gen/vrndne-scalar-libm-x2.c", |
| 321 | "src/f32-vrnd/gen/vrndne-scalar-libm-x4.c", |
| 322 | "src/f32-vrnd/gen/vrndz-scalar-libm-x1.c", |
| 323 | "src/f32-vrnd/gen/vrndz-scalar-libm-x2.c", |
| 324 | "src/f32-vrnd/gen/vrndz-scalar-libm-x4.c", |
| 325 | "src/f32-vrnd/gen/vrndu-scalar-libm-x1.c", |
| 326 | "src/f32-vrnd/gen/vrndu-scalar-libm-x2.c", |
| 327 | "src/f32-vrnd/gen/vrndu-scalar-libm-x4.c", |
| 328 | "src/f32-vrnd/gen/vrndd-scalar-libm-x1.c", |
| 329 | "src/f32-vrnd/gen/vrndd-scalar-libm-x2.c", |
| 330 | "src/f32-vrnd/gen/vrndd-scalar-libm-x4.c", |
Marat Dukhan | f4db2f3 | 2020-06-30 10:55:30 -0700 | [diff] [blame] | 331 | "src/f32-vsqrt/gen/scalar-sqrt-x1.c", |
| 332 | "src/f32-vsqrt/gen/scalar-sqrt-x2.c", |
| 333 | "src/f32-vsqrt/gen/scalar-sqrt-x4.c", |
Marat Dukhan | 5020b96 | 2020-06-08 13:30:10 -0700 | [diff] [blame] | 334 | "src/f32-vunary/gen/vabs-scalar-x1.c", |
| 335 | "src/f32-vunary/gen/vabs-scalar-x2.c", |
| 336 | "src/f32-vunary/gen/vabs-scalar-x4.c", |
| 337 | "src/f32-vunary/gen/vneg-scalar-x1.c", |
| 338 | "src/f32-vunary/gen/vneg-scalar-x2.c", |
| 339 | "src/f32-vunary/gen/vneg-scalar-x4.c", |
| 340 | "src/f32-vunary/gen/vsqr-scalar-x1.c", |
| 341 | "src/f32-vunary/gen/vsqr-scalar-x2.c", |
| 342 | "src/f32-vunary/gen/vsqr-scalar-x4.c", |
Marat Dukhan | 5739f70 | 2019-12-22 19:45:09 -0800 | [diff] [blame] | 343 | "src/math/expminus-scalar-lut2048-p1.c", |
| 344 | "src/math/expminus-scalar-lut64-p2.c", |
| 345 | "src/math/expminus-scalar-p5.c", |
Marat Dukhan | 075088a | 2020-05-12 19:42:12 -0700 | [diff] [blame] | 346 | "src/math/roundne-scalar-addsub.c", |
Marat Dukhan | ffbf96a | 2020-05-14 02:59:08 -0700 | [diff] [blame] | 347 | "src/math/roundne-scalar-nearbyint.c", |
| 348 | "src/math/roundne-scalar-rint.c", |
Marat Dukhan | c9852ba | 2020-05-13 17:21:29 -0700 | [diff] [blame] | 349 | "src/math/roundd-scalar-addsub.c", |
| 350 | "src/math/roundd-scalar-cvt.c", |
Marat Dukhan | ffbf96a | 2020-05-14 02:59:08 -0700 | [diff] [blame] | 351 | "src/math/roundd-scalar-floor.c", |
Marat Dukhan | c9852ba | 2020-05-13 17:21:29 -0700 | [diff] [blame] | 352 | "src/math/roundu-scalar-addsub.c", |
Marat Dukhan | ffbf96a | 2020-05-14 02:59:08 -0700 | [diff] [blame] | 353 | "src/math/roundu-scalar-ceil.c", |
Marat Dukhan | c9852ba | 2020-05-13 17:21:29 -0700 | [diff] [blame] | 354 | "src/math/roundu-scalar-cvt.c", |
Marat Dukhan | 2dbb944 | 2020-05-12 20:43:43 -0700 | [diff] [blame] | 355 | "src/math/roundz-scalar-addsub.c", |
| 356 | "src/math/roundz-scalar-cvt.c", |
Marat Dukhan | ffbf96a | 2020-05-14 02:59:08 -0700 | [diff] [blame] | 357 | "src/math/roundz-scalar-trunc.c", |
Marat Dukhan | 5739f70 | 2019-12-22 19:45:09 -0800 | [diff] [blame] | 358 | "src/math/sigmoid-scalar-lut2048-p1-div.c", |
| 359 | "src/math/sigmoid-scalar-lut64-p2-div.c", |
| 360 | "src/math/sigmoid-scalar-p5-div.c", |
Marat Dukhan | 2e23d2b | 2020-07-29 16:01:37 -0700 | [diff] [blame] | 361 | "src/qs8-requantization/fp32-scalar-lrintf.c", |
| 362 | "src/qs8-requantization/fp32-scalar-magic.c", |
| 363 | "src/qs8-requantization/precise-scalar-signed64.c", |
| 364 | "src/qs8-requantization/precise-scalar-unsigned32.c", |
| 365 | "src/qs8-requantization/precise-scalar-unsigned64.c", |
| 366 | "src/qs8-requantization/q31-scalar.c", |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 367 | "src/qu8-avgpool/9p8x-minmax-scalar-c1.c", |
| 368 | "src/qu8-avgpool/9x-minmax-scalar-c1.c", |
| 369 | "src/qu8-dwconv/up1x9-minmax-scalar.c", |
| 370 | "src/qu8-gavgpool/7p7x-minmax-scalar-c1.c", |
| 371 | "src/qu8-gavgpool/7x-minmax-scalar-c1.c", |
| 372 | "src/qu8-gemm/2x2-minmax-scalar.c", |
| 373 | "src/qu8-igemm/2x2-minmax-scalar.c", |
Marat Dukhan | 5b69f8b | 2020-07-24 15:26:48 -0700 | [diff] [blame] | 374 | "src/qu8-requantization/fp32-scalar-lrintf.c", |
| 375 | "src/qu8-requantization/fp32-scalar-magic.c", |
| 376 | "src/qu8-requantization/precise-scalar-signed64.c", |
| 377 | "src/qu8-requantization/precise-scalar-unsigned32.c", |
| 378 | "src/qu8-requantization/precise-scalar-unsigned64.c", |
| 379 | "src/qu8-requantization/q31-scalar.c", |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 380 | "src/qu8-vadd/minmax-scalar.c", |
Marat Dukhan | 5c5fa96 | 2020-03-10 18:38:33 -0700 | [diff] [blame] | 381 | "src/u8-clamp/scalar-x4.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 382 | "src/u8-lut32norm/scalar.c", |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 383 | "src/u8-maxpool/9p8x-minmax-scalar-c1.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 384 | "src/u8-rmax/scalar.c", |
Marat Dukhan | 3bb3bfc | 2020-05-19 17:42:46 -0700 | [diff] [blame] | 385 | "src/x32-fill/scalar-float.c", |
| 386 | "src/x32-fill/scalar-int.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 387 | "src/x32-packx/x2-scalar.c", |
| 388 | "src/x32-packx/x3-scalar.c", |
| 389 | "src/x32-packx/x4-scalar.c", |
Marat Dukhan | 63523d4 | 2020-05-22 17:07:33 -0700 | [diff] [blame] | 390 | "src/x32-pad/scalar-int.c", |
| 391 | "src/x32-pad/scalar-float.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 392 | "src/x32-unpool/scalar.c", |
| 393 | "src/x32-zip/x2-scalar.c", |
| 394 | "src/x32-zip/x3-scalar.c", |
| 395 | "src/x32-zip/x4-scalar.c", |
| 396 | "src/x32-zip/xm-scalar.c", |
| 397 | "src/x8-lut/scalar.c", |
| 398 | "src/x8-zip/x2-scalar.c", |
| 399 | "src/x8-zip/x3-scalar.c", |
| 400 | "src/x8-zip/x4-scalar.c", |
| 401 | "src/x8-zip/xm-scalar.c", |
| 402 | ] |
| 403 | |
Marat Dukhan | 436ebe6 | 2019-12-04 15:10:12 -0800 | [diff] [blame] | 404 | WASM_UKERNELS = [ |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 405 | "src/f32-avgpool/9p8x-minmax-wasm-c1.c", |
| 406 | "src/f32-avgpool/9x-minmax-wasm-c1.c", |
Marat Dukhan | 5c5fa96 | 2020-03-10 18:38:33 -0700 | [diff] [blame] | 407 | "src/f32-clamp/gen/wasm-x1.c", |
| 408 | "src/f32-clamp/gen/wasm-x2.c", |
| 409 | "src/f32-clamp/gen/wasm-x4.c", |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 410 | "src/f32-dwconv/gen/up1x4-wasm-acc2.c", |
| 411 | "src/f32-dwconv/gen/up1x4-wasm.c", |
| 412 | "src/f32-dwconv/gen/up1x9-wasm-acc2.c", |
| 413 | "src/f32-dwconv/gen/up1x9-wasm.c", |
| 414 | "src/f32-dwconv/gen/up1x25-wasm-acc2.c", |
| 415 | "src/f32-dwconv/gen/up1x25-wasm.c", |
| 416 | "src/f32-dwconv/gen/up2x4-wasm-acc2.c", |
| 417 | "src/f32-dwconv/gen/up2x4-wasm.c", |
| 418 | "src/f32-dwconv/gen/up2x9-wasm-acc2.c", |
| 419 | "src/f32-dwconv/gen/up2x9-wasm.c", |
| 420 | "src/f32-dwconv/gen/up2x25-wasm-acc2.c", |
| 421 | "src/f32-dwconv/gen/up2x25-wasm.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 422 | "src/f32-dwconv/gen/up1x4-minmax-wasm-acc2.c", |
| 423 | "src/f32-dwconv/gen/up1x4-minmax-wasm.c", |
| 424 | "src/f32-dwconv/gen/up1x9-minmax-wasm-acc2.c", |
| 425 | "src/f32-dwconv/gen/up1x9-minmax-wasm.c", |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 426 | "src/f32-dwconv/gen/up1x25-minmax-wasm-acc2.c", |
| 427 | "src/f32-dwconv/gen/up1x25-minmax-wasm.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 428 | "src/f32-dwconv/gen/up2x4-minmax-wasm-acc2.c", |
| 429 | "src/f32-dwconv/gen/up2x4-minmax-wasm.c", |
| 430 | "src/f32-dwconv/gen/up2x9-minmax-wasm-acc2.c", |
| 431 | "src/f32-dwconv/gen/up2x9-minmax-wasm.c", |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 432 | "src/f32-dwconv/gen/up2x25-minmax-wasm-acc2.c", |
| 433 | "src/f32-dwconv/gen/up2x25-minmax-wasm.c", |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 434 | "src/f32-gavgpool/7p7x-minmax-wasm-c1.c", |
| 435 | "src/f32-gavgpool/7x-minmax-wasm-c1.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 436 | "src/f32-gemm/gen-inc/1x4inc-minmax-wasm.c", |
| 437 | "src/f32-gemm/gen-inc/2x4inc-minmax-wasm.c", |
| 438 | "src/f32-gemm/gen-inc/4x4inc-minmax-wasm.c", |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 439 | "src/f32-gemm/gen/1x4-wasm.c", |
| 440 | "src/f32-gemm/gen/2x4-wasm.c", |
| 441 | "src/f32-gemm/gen/4x2-wasm.c", |
| 442 | "src/f32-gemm/gen/4x4-wasm.c", |
Marat Dukhan | 467f636 | 2020-05-22 23:21:55 -0700 | [diff] [blame] | 443 | "src/f32-gemm/gen/1x4-relu-wasm.c", |
| 444 | "src/f32-gemm/gen/2x4-relu-wasm.c", |
| 445 | "src/f32-gemm/gen/4x2-relu-wasm.c", |
| 446 | "src/f32-gemm/gen/4x4-relu-wasm.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 447 | "src/f32-gemm/gen/1x4-minmax-wasm.c", |
| 448 | "src/f32-gemm/gen/2x4-minmax-wasm.c", |
| 449 | "src/f32-gemm/gen/4x2-minmax-wasm.c", |
| 450 | "src/f32-gemm/gen/4x4-minmax-wasm.c", |
Marat Dukhan | efaac27 | 2020-07-16 16:58:07 -0700 | [diff] [blame] | 451 | "src/f32-hswish/gen/hswish-wasm-x1.c", |
| 452 | "src/f32-hswish/gen/hswish-wasm-x2.c", |
| 453 | "src/f32-hswish/gen/hswish-wasm-x4.c", |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 454 | "src/f32-igemm/gen/1x4-wasm.c", |
| 455 | "src/f32-igemm/gen/2x4-wasm.c", |
| 456 | "src/f32-igemm/gen/4x2-wasm.c", |
| 457 | "src/f32-igemm/gen/4x4-wasm.c", |
Marat Dukhan | 467f636 | 2020-05-22 23:21:55 -0700 | [diff] [blame] | 458 | "src/f32-igemm/gen/1x4-relu-wasm.c", |
| 459 | "src/f32-igemm/gen/2x4-relu-wasm.c", |
| 460 | "src/f32-igemm/gen/4x2-relu-wasm.c", |
| 461 | "src/f32-igemm/gen/4x4-relu-wasm.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 462 | "src/f32-igemm/gen/1x4-minmax-wasm.c", |
| 463 | "src/f32-igemm/gen/2x4-minmax-wasm.c", |
| 464 | "src/f32-igemm/gen/4x2-minmax-wasm.c", |
| 465 | "src/f32-igemm/gen/4x4-minmax-wasm.c", |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 466 | "src/f32-maxpool/9p8x-minmax-wasm-c1.c", |
| 467 | "src/f32-pavgpool/9p8x-minmax-wasm-c1.c", |
| 468 | "src/f32-pavgpool/9x-minmax-wasm-c1.c", |
Marat Dukhan | 7c1f808 | 2020-06-25 13:26:20 -0700 | [diff] [blame] | 469 | "src/f32-prelu/gen/wasm-2x1.c", |
| 470 | "src/f32-prelu/gen/wasm-2x4.c", |
Frank Barchard | fb158e2 | 2020-07-15 16:10:10 -0700 | [diff] [blame] | 471 | "src/f32-relu/gen/wasm-x1.c", |
| 472 | "src/f32-relu/gen/wasm-x2.c", |
| 473 | "src/f32-relu/gen/wasm-x4.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 474 | "src/f32-vbinary/gen/vadd-minmax-wasm-x1.c", |
| 475 | "src/f32-vbinary/gen/vadd-minmax-wasm-x2.c", |
| 476 | "src/f32-vbinary/gen/vadd-minmax-wasm-x4.c", |
| 477 | "src/f32-vbinary/gen/vaddc-minmax-wasm-x1.c", |
| 478 | "src/f32-vbinary/gen/vaddc-minmax-wasm-x2.c", |
| 479 | "src/f32-vbinary/gen/vaddc-minmax-wasm-x4.c", |
| 480 | "src/f32-vbinary/gen/vdiv-minmax-wasm-x1.c", |
| 481 | "src/f32-vbinary/gen/vdiv-minmax-wasm-x2.c", |
| 482 | "src/f32-vbinary/gen/vdiv-minmax-wasm-x4.c", |
| 483 | "src/f32-vbinary/gen/vdivc-minmax-wasm-x1.c", |
| 484 | "src/f32-vbinary/gen/vdivc-minmax-wasm-x2.c", |
| 485 | "src/f32-vbinary/gen/vdivc-minmax-wasm-x4.c", |
Marat Dukhan | 403b7d4 | 2019-12-05 12:49:11 -0800 | [diff] [blame] | 486 | "src/f32-vbinary/gen/vmax-wasm-x1.c", |
| 487 | "src/f32-vbinary/gen/vmax-wasm-x2.c", |
| 488 | "src/f32-vbinary/gen/vmax-wasm-x4.c", |
| 489 | "src/f32-vbinary/gen/vmaxc-wasm-x1.c", |
| 490 | "src/f32-vbinary/gen/vmaxc-wasm-x2.c", |
| 491 | "src/f32-vbinary/gen/vmaxc-wasm-x4.c", |
| 492 | "src/f32-vbinary/gen/vmin-wasm-x1.c", |
| 493 | "src/f32-vbinary/gen/vmin-wasm-x2.c", |
| 494 | "src/f32-vbinary/gen/vmin-wasm-x4.c", |
| 495 | "src/f32-vbinary/gen/vminc-wasm-x1.c", |
| 496 | "src/f32-vbinary/gen/vminc-wasm-x2.c", |
| 497 | "src/f32-vbinary/gen/vminc-wasm-x4.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 498 | "src/f32-vbinary/gen/vmul-minmax-wasm-x1.c", |
| 499 | "src/f32-vbinary/gen/vmul-minmax-wasm-x2.c", |
| 500 | "src/f32-vbinary/gen/vmul-minmax-wasm-x4.c", |
| 501 | "src/f32-vbinary/gen/vmulc-minmax-wasm-x1.c", |
| 502 | "src/f32-vbinary/gen/vmulc-minmax-wasm-x2.c", |
| 503 | "src/f32-vbinary/gen/vmulc-minmax-wasm-x4.c", |
| 504 | "src/f32-vbinary/gen/vrdivc-minmax-wasm-x1.c", |
| 505 | "src/f32-vbinary/gen/vrdivc-minmax-wasm-x2.c", |
| 506 | "src/f32-vbinary/gen/vrdivc-minmax-wasm-x4.c", |
| 507 | "src/f32-vbinary/gen/vrsubc-minmax-wasm-x1.c", |
| 508 | "src/f32-vbinary/gen/vrsubc-minmax-wasm-x2.c", |
| 509 | "src/f32-vbinary/gen/vrsubc-minmax-wasm-x4.c", |
| 510 | "src/f32-vbinary/gen/vsub-minmax-wasm-x1.c", |
| 511 | "src/f32-vbinary/gen/vsub-minmax-wasm-x2.c", |
| 512 | "src/f32-vbinary/gen/vsub-minmax-wasm-x4.c", |
| 513 | "src/f32-vbinary/gen/vsubc-minmax-wasm-x1.c", |
| 514 | "src/f32-vbinary/gen/vsubc-minmax-wasm-x2.c", |
| 515 | "src/f32-vbinary/gen/vsubc-minmax-wasm-x4.c", |
Marat Dukhan | 19dd91d | 2020-07-16 11:12:44 -0700 | [diff] [blame] | 516 | "src/f32-vlrelu/gen/vlrelu-wasm-x1.c", |
| 517 | "src/f32-vlrelu/gen/vlrelu-wasm-x2.c", |
| 518 | "src/f32-vlrelu/gen/vlrelu-wasm-x4.c", |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 519 | "src/f32-vmulcaddc/gen/c1-minmax-wasm-2x.c", |
| 520 | "src/f32-vmulcaddc/gen/c2-minmax-wasm-2x.c", |
| 521 | "src/f32-vmulcaddc/gen/c4-minmax-wasm-2x.c", |
Marat Dukhan | 436ebe6 | 2019-12-04 15:10:12 -0800 | [diff] [blame] | 522 | ] |
| 523 | |
Marat Dukhan | 290055c | 2020-06-09 12:24:29 -0700 | [diff] [blame] | 524 | WASMSIMD_UKERNELS = [ |
Marat Dukhan | 40f0552 | 2020-07-16 22:33:12 -0700 | [diff] [blame] | 525 | "src/f32-argmaxpool/4x-wasmsimd-c4.c", |
| 526 | "src/f32-argmaxpool/9p8x-wasmsimd-c4.c", |
| 527 | "src/f32-argmaxpool/9x-wasmsimd-c4.c", |
Marat Dukhan | 3b7432d | 2020-07-16 17:46:32 -0700 | [diff] [blame] | 528 | "src/f32-avgpool/9p8x-minmax-wasmsimd-arm-c4.c", |
| 529 | "src/f32-avgpool/9p8x-minmax-wasmsimd-x86-c4.c", |
| 530 | "src/f32-avgpool/9x-minmax-wasmsimd-arm-c4.c", |
| 531 | "src/f32-avgpool/9x-minmax-wasmsimd-x86-c4.c", |
Marat Dukhan | 3fa52c8 | 2020-07-08 12:54:33 -0700 | [diff] [blame] | 532 | "src/f32-clamp/gen/wasmsimd-arm-x4.c", |
| 533 | "src/f32-clamp/gen/wasmsimd-arm-x8.c", |
| 534 | "src/f32-clamp/gen/wasmsimd-x86-x4.c", |
| 535 | "src/f32-clamp/gen/wasmsimd-x86-x8.c", |
Marat Dukhan | b8e7b07 | 2020-06-16 12:34:23 -0700 | [diff] [blame] | 536 | "src/f32-dwconv/gen/up4x25-wasmsimd.c", |
| 537 | "src/f32-dwconv/gen/up4x4-wasmsimd.c", |
| 538 | "src/f32-dwconv/gen/up4x9-wasmsimd.c", |
| 539 | "src/f32-dwconv/gen/up8x25-wasmsimd.c", |
| 540 | "src/f32-dwconv/gen/up8x4-wasmsimd.c", |
| 541 | "src/f32-dwconv/gen/up8x9-wasmsimd.c", |
Marat Dukhan | ac014d7 | 2020-06-16 08:36:47 -0700 | [diff] [blame] | 542 | "src/f32-dwconv/gen/up4x25-minmax-wasmsimd-acc2-arm.c", |
| 543 | "src/f32-dwconv/gen/up4x25-minmax-wasmsimd-arm.c", |
| 544 | "src/f32-dwconv/gen/up4x4-minmax-wasmsimd-acc2-arm.c", |
| 545 | "src/f32-dwconv/gen/up4x4-minmax-wasmsimd-arm.c", |
| 546 | "src/f32-dwconv/gen/up4x9-minmax-wasmsimd-acc2-arm.c", |
| 547 | "src/f32-dwconv/gen/up4x9-minmax-wasmsimd-arm.c", |
| 548 | "src/f32-dwconv/gen/up8x25-minmax-wasmsimd-acc2-arm.c", |
| 549 | "src/f32-dwconv/gen/up8x25-minmax-wasmsimd-arm.c", |
| 550 | "src/f32-dwconv/gen/up8x4-minmax-wasmsimd-acc2-arm.c", |
| 551 | "src/f32-dwconv/gen/up8x4-minmax-wasmsimd-arm.c", |
| 552 | "src/f32-dwconv/gen/up8x9-minmax-wasmsimd-acc2-arm.c", |
| 553 | "src/f32-dwconv/gen/up8x9-minmax-wasmsimd-arm.c", |
| 554 | "src/f32-dwconv/gen/up4x25-minmax-wasmsimd-acc2-x86.c", |
| 555 | "src/f32-dwconv/gen/up4x25-minmax-wasmsimd-x86.c", |
| 556 | "src/f32-dwconv/gen/up4x4-minmax-wasmsimd-acc2-x86.c", |
| 557 | "src/f32-dwconv/gen/up4x4-minmax-wasmsimd-x86.c", |
| 558 | "src/f32-dwconv/gen/up4x9-minmax-wasmsimd-acc2-x86.c", |
| 559 | "src/f32-dwconv/gen/up4x9-minmax-wasmsimd-x86.c", |
| 560 | "src/f32-dwconv/gen/up8x25-minmax-wasmsimd-acc2-x86.c", |
| 561 | "src/f32-dwconv/gen/up8x25-minmax-wasmsimd-x86.c", |
| 562 | "src/f32-dwconv/gen/up8x4-minmax-wasmsimd-acc2-x86.c", |
| 563 | "src/f32-dwconv/gen/up8x4-minmax-wasmsimd-x86.c", |
| 564 | "src/f32-dwconv/gen/up8x9-minmax-wasmsimd-acc2-x86.c", |
| 565 | "src/f32-dwconv/gen/up8x9-minmax-wasmsimd-x86.c", |
Marat Dukhan | 802808c | 2020-06-16 11:01:17 -0700 | [diff] [blame] | 566 | "src/f32-gemm/gen/1x8-wasmsimd-splat.c", |
| 567 | "src/f32-gemm/gen/4x8-wasmsimd-splat.c", |
| 568 | "src/f32-gemm/gen/5x8-wasmsimd-splat.c", |
Marat Dukhan | e39e646 | 2020-07-09 01:33:36 -0700 | [diff] [blame] | 569 | "src/f32-gemm/gen/4x2c4-wasmsimd.c", |
Marat Dukhan | 688f6d8 | 2020-07-14 17:02:11 -0700 | [diff] [blame] | 570 | "src/f32-gemm/gen/1x8-relu-wasmsimd-splat.c", |
| 571 | "src/f32-gemm/gen/4x8-relu-wasmsimd-splat.c", |
| 572 | "src/f32-gemm/gen/5x8-relu-wasmsimd-splat.c", |
| 573 | "src/f32-gemm/gen/4x2c4-relu-wasmsimd.c", |
Marat Dukhan | 1bbf96b | 2020-06-15 23:01:20 -0700 | [diff] [blame] | 574 | "src/f32-gemm/gen/1x8-minmax-wasmsimd-loadsplat-arm.c", |
| 575 | "src/f32-gemm/gen/1x8-minmax-wasmsimd-splat-arm.c", |
| 576 | "src/f32-gemm/gen/1x8s4-minmax-wasmsimd-arm.c", |
| 577 | "src/f32-gemm/gen/3x8-minmax-wasmsimd-loadsplat-arm.c", |
| 578 | "src/f32-gemm/gen/3x8-minmax-wasmsimd-splat-arm.c", |
| 579 | "src/f32-gemm/gen/3x8s4-minmax-wasmsimd-arm.c", |
| 580 | "src/f32-gemm/gen/4x8-minmax-wasmsimd-loadsplat-arm.c", |
| 581 | "src/f32-gemm/gen/4x8-minmax-wasmsimd-splat-arm.c", |
| 582 | "src/f32-gemm/gen/4x8s4-minmax-wasmsimd-arm.c", |
| 583 | "src/f32-gemm/gen/5x8-minmax-wasmsimd-loadsplat-arm.c", |
| 584 | "src/f32-gemm/gen/5x8-minmax-wasmsimd-splat-arm.c", |
| 585 | "src/f32-gemm/gen/5x8s4-minmax-wasmsimd-arm.c", |
| 586 | "src/f32-gemm/gen/6x8-minmax-wasmsimd-loadsplat-arm.c", |
| 587 | "src/f32-gemm/gen/6x8-minmax-wasmsimd-splat-arm.c", |
| 588 | "src/f32-gemm/gen/6x8s4-minmax-wasmsimd-arm.c", |
| 589 | "src/f32-gemm/gen/1x8-minmax-wasmsimd-loadsplat-x86.c", |
| 590 | "src/f32-gemm/gen/1x8-minmax-wasmsimd-splat-x86.c", |
| 591 | "src/f32-gemm/gen/1x8s4-minmax-wasmsimd-x86.c", |
| 592 | "src/f32-gemm/gen/3x8-minmax-wasmsimd-loadsplat-x86.c", |
| 593 | "src/f32-gemm/gen/3x8-minmax-wasmsimd-splat-x86.c", |
| 594 | "src/f32-gemm/gen/3x8s4-minmax-wasmsimd-x86.c", |
| 595 | "src/f32-gemm/gen/4x8-minmax-wasmsimd-loadsplat-x86.c", |
| 596 | "src/f32-gemm/gen/4x8-minmax-wasmsimd-splat-x86.c", |
| 597 | "src/f32-gemm/gen/4x8s4-minmax-wasmsimd-x86.c", |
| 598 | "src/f32-gemm/gen/5x8-minmax-wasmsimd-loadsplat-x86.c", |
| 599 | "src/f32-gemm/gen/5x8-minmax-wasmsimd-splat-x86.c", |
| 600 | "src/f32-gemm/gen/5x8s4-minmax-wasmsimd-x86.c", |
| 601 | "src/f32-gemm/gen/6x8-minmax-wasmsimd-loadsplat-x86.c", |
| 602 | "src/f32-gemm/gen/6x8-minmax-wasmsimd-splat-x86.c", |
| 603 | "src/f32-gemm/gen/6x8s4-minmax-wasmsimd-x86.c", |
Marat Dukhan | e39e646 | 2020-07-09 01:33:36 -0700 | [diff] [blame] | 604 | "src/f32-gemm/gen/4x2c4-minmax-wasmsimd-arm.c", |
| 605 | "src/f32-gemm/gen/4x2c4-minmax-wasmsimd-x86.c", |
Marat Dukhan | 1bbf96b | 2020-06-15 23:01:20 -0700 | [diff] [blame] | 606 | "src/f32-gemm/gen-inc/1x8inc-minmax-wasmsimd-loadsplat-arm.c", |
| 607 | "src/f32-gemm/gen-inc/1x8inc-minmax-wasmsimd-splat-arm.c", |
| 608 | "src/f32-gemm/gen-inc/1x8s4inc-minmax-wasmsimd-arm.c", |
| 609 | "src/f32-gemm/gen-inc/3x8inc-minmax-wasmsimd-loadsplat-arm.c", |
| 610 | "src/f32-gemm/gen-inc/3x8inc-minmax-wasmsimd-splat-arm.c", |
| 611 | "src/f32-gemm/gen-inc/3x8s4inc-minmax-wasmsimd-arm.c", |
| 612 | "src/f32-gemm/gen-inc/4x8inc-minmax-wasmsimd-loadsplat-arm.c", |
| 613 | "src/f32-gemm/gen-inc/4x8inc-minmax-wasmsimd-splat-arm.c", |
| 614 | "src/f32-gemm/gen-inc/4x8s4inc-minmax-wasmsimd-arm.c", |
| 615 | "src/f32-gemm/gen-inc/5x8inc-minmax-wasmsimd-loadsplat-arm.c", |
| 616 | "src/f32-gemm/gen-inc/5x8inc-minmax-wasmsimd-splat-arm.c", |
| 617 | "src/f32-gemm/gen-inc/5x8s4inc-minmax-wasmsimd-arm.c", |
| 618 | "src/f32-gemm/gen-inc/6x8inc-minmax-wasmsimd-loadsplat-arm.c", |
| 619 | "src/f32-gemm/gen-inc/6x8inc-minmax-wasmsimd-splat-arm.c", |
| 620 | "src/f32-gemm/gen-inc/6x8s4inc-minmax-wasmsimd-arm.c", |
| 621 | "src/f32-gemm/gen-inc/1x8inc-minmax-wasmsimd-loadsplat-x86.c", |
| 622 | "src/f32-gemm/gen-inc/1x8inc-minmax-wasmsimd-splat-x86.c", |
| 623 | "src/f32-gemm/gen-inc/1x8s4inc-minmax-wasmsimd-x86.c", |
| 624 | "src/f32-gemm/gen-inc/3x8inc-minmax-wasmsimd-loadsplat-x86.c", |
| 625 | "src/f32-gemm/gen-inc/3x8inc-minmax-wasmsimd-splat-x86.c", |
| 626 | "src/f32-gemm/gen-inc/3x8s4inc-minmax-wasmsimd-x86.c", |
| 627 | "src/f32-gemm/gen-inc/4x8inc-minmax-wasmsimd-loadsplat-x86.c", |
| 628 | "src/f32-gemm/gen-inc/4x8inc-minmax-wasmsimd-splat-x86.c", |
| 629 | "src/f32-gemm/gen-inc/4x8s4inc-minmax-wasmsimd-x86.c", |
| 630 | "src/f32-gemm/gen-inc/5x8inc-minmax-wasmsimd-loadsplat-x86.c", |
| 631 | "src/f32-gemm/gen-inc/5x8inc-minmax-wasmsimd-splat-x86.c", |
| 632 | "src/f32-gemm/gen-inc/5x8s4inc-minmax-wasmsimd-x86.c", |
| 633 | "src/f32-gemm/gen-inc/6x8inc-minmax-wasmsimd-loadsplat-x86.c", |
| 634 | "src/f32-gemm/gen-inc/6x8inc-minmax-wasmsimd-splat-x86.c", |
| 635 | "src/f32-gemm/gen-inc/6x8s4inc-minmax-wasmsimd-x86.c", |
Marat Dukhan | 00d1d6e | 2020-07-09 01:37:27 -0700 | [diff] [blame] | 636 | "src/f32-ibilinear/gen/wasmsimd-c4.c", |
| 637 | "src/f32-ibilinear/gen/wasmsimd-c8.c", |
Marat Dukhan | 802808c | 2020-06-16 11:01:17 -0700 | [diff] [blame] | 638 | "src/f32-igemm/gen/1x8-wasmsimd-splat.c", |
| 639 | "src/f32-igemm/gen/4x8-wasmsimd-splat.c", |
| 640 | "src/f32-igemm/gen/5x8-wasmsimd-splat.c", |
Marat Dukhan | e39e646 | 2020-07-09 01:33:36 -0700 | [diff] [blame] | 641 | "src/f32-igemm/gen/4x2c4-wasmsimd.c", |
Marat Dukhan | 688f6d8 | 2020-07-14 17:02:11 -0700 | [diff] [blame] | 642 | "src/f32-igemm/gen/1x8-relu-wasmsimd-splat.c", |
| 643 | "src/f32-igemm/gen/4x8-relu-wasmsimd-splat.c", |
| 644 | "src/f32-igemm/gen/5x8-relu-wasmsimd-splat.c", |
| 645 | "src/f32-igemm/gen/4x2c4-relu-wasmsimd.c", |
Marat Dukhan | 1bbf96b | 2020-06-15 23:01:20 -0700 | [diff] [blame] | 646 | "src/f32-igemm/gen/1x8-minmax-wasmsimd-loadsplat-arm.c", |
| 647 | "src/f32-igemm/gen/1x8-minmax-wasmsimd-splat-arm.c", |
| 648 | "src/f32-igemm/gen/1x8s4-minmax-wasmsimd-arm.c", |
| 649 | "src/f32-igemm/gen/3x8-minmax-wasmsimd-loadsplat-arm.c", |
| 650 | "src/f32-igemm/gen/3x8-minmax-wasmsimd-splat-arm.c", |
| 651 | "src/f32-igemm/gen/3x8s4-minmax-wasmsimd-arm.c", |
| 652 | "src/f32-igemm/gen/4x8-minmax-wasmsimd-loadsplat-arm.c", |
| 653 | "src/f32-igemm/gen/4x8-minmax-wasmsimd-splat-arm.c", |
| 654 | "src/f32-igemm/gen/4x8s4-minmax-wasmsimd-arm.c", |
| 655 | "src/f32-igemm/gen/5x8-minmax-wasmsimd-loadsplat-arm.c", |
| 656 | "src/f32-igemm/gen/5x8-minmax-wasmsimd-splat-arm.c", |
| 657 | "src/f32-igemm/gen/5x8s4-minmax-wasmsimd-arm.c", |
| 658 | "src/f32-igemm/gen/6x8-minmax-wasmsimd-loadsplat-arm.c", |
| 659 | "src/f32-igemm/gen/6x8-minmax-wasmsimd-splat-arm.c", |
| 660 | "src/f32-igemm/gen/6x8s4-minmax-wasmsimd-arm.c", |
| 661 | "src/f32-igemm/gen/1x8-minmax-wasmsimd-loadsplat-x86.c", |
| 662 | "src/f32-igemm/gen/1x8-minmax-wasmsimd-splat-x86.c", |
| 663 | "src/f32-igemm/gen/1x8s4-minmax-wasmsimd-x86.c", |
| 664 | "src/f32-igemm/gen/3x8-minmax-wasmsimd-loadsplat-x86.c", |
| 665 | "src/f32-igemm/gen/3x8-minmax-wasmsimd-splat-x86.c", |
| 666 | "src/f32-igemm/gen/3x8s4-minmax-wasmsimd-x86.c", |
| 667 | "src/f32-igemm/gen/4x8-minmax-wasmsimd-loadsplat-x86.c", |
| 668 | "src/f32-igemm/gen/4x8-minmax-wasmsimd-splat-x86.c", |
| 669 | "src/f32-igemm/gen/4x8s4-minmax-wasmsimd-x86.c", |
| 670 | "src/f32-igemm/gen/5x8-minmax-wasmsimd-loadsplat-x86.c", |
| 671 | "src/f32-igemm/gen/5x8-minmax-wasmsimd-splat-x86.c", |
| 672 | "src/f32-igemm/gen/5x8s4-minmax-wasmsimd-x86.c", |
| 673 | "src/f32-igemm/gen/6x8-minmax-wasmsimd-loadsplat-x86.c", |
| 674 | "src/f32-igemm/gen/6x8-minmax-wasmsimd-splat-x86.c", |
| 675 | "src/f32-igemm/gen/6x8s4-minmax-wasmsimd-x86.c", |
Marat Dukhan | e39e646 | 2020-07-09 01:33:36 -0700 | [diff] [blame] | 676 | "src/f32-igemm/gen/4x2c4-minmax-wasmsimd-arm.c", |
| 677 | "src/f32-igemm/gen/4x2c4-minmax-wasmsimd-x86.c", |
Marat Dukhan | c601680 | 2020-07-16 18:51:28 -0700 | [diff] [blame] | 678 | "src/f32-gavgpool/7p7x-minmax-wasmsimd-arm-c4.c", |
| 679 | "src/f32-gavgpool/7p7x-minmax-wasmsimd-x86-c4.c", |
| 680 | "src/f32-gavgpool/7x-minmax-wasmsimd-arm-c4.c", |
| 681 | "src/f32-gavgpool/7x-minmax-wasmsimd-x86-c4.c", |
Marat Dukhan | 1849351 | 2020-07-24 14:13:48 -0700 | [diff] [blame] | 682 | "src/f32-gavgpool-cw/wasmsimd-arm-x4.c", |
| 683 | "src/f32-gavgpool-cw/wasmsimd-x86-x4.c", |
Marat Dukhan | efaac27 | 2020-07-16 16:58:07 -0700 | [diff] [blame] | 684 | "src/f32-hswish/gen/hswish-wasmsimd-x4.c", |
| 685 | "src/f32-hswish/gen/hswish-wasmsimd-x8.c", |
| 686 | "src/f32-hswish/gen/hswish-wasmsimd-x16.c", |
Marat Dukhan | f6e2480 | 2020-07-08 22:20:40 -0700 | [diff] [blame] | 687 | "src/f32-maxpool/9p8x-minmax-wasmsimd-arm-c4.c", |
| 688 | "src/f32-maxpool/9p8x-minmax-wasmsimd-x86-c4.c", |
Marat Dukhan | 1483c53 | 2020-07-16 18:08:19 -0700 | [diff] [blame] | 689 | "src/f32-pavgpool/9p8x-minmax-wasmsimd-arm-c4.c", |
| 690 | "src/f32-pavgpool/9p8x-minmax-wasmsimd-x86-c4.c", |
| 691 | "src/f32-pavgpool/9x-minmax-wasmsimd-arm-c4.c", |
| 692 | "src/f32-pavgpool/9x-minmax-wasmsimd-x86-c4.c", |
Marat Dukhan | 0d0d882 | 2020-07-23 23:37:56 -0700 | [diff] [blame] | 693 | "src/f32-ppmm/gen/4x8-minmax-wasmsimd-splat-arm.c", |
| 694 | "src/f32-ppmm/gen/4x8-minmax-wasmsimd-splat-x86.c", |
Frank Barchard | a531698 | 2020-07-23 13:19:28 -0700 | [diff] [blame] | 695 | "src/f32-prelu/gen/wasmsimd-bitselect-1x4.c", |
| 696 | "src/f32-prelu/gen/wasmsimd-bitselect-1x8.c", |
| 697 | "src/f32-prelu/gen/wasmsimd-bitselect-1x16.c", |
Marat Dukhan | 195f8eb | 2020-06-25 12:50:57 -0700 | [diff] [blame] | 698 | "src/f32-prelu/gen/wasmsimd-bitselect-2x4.c", |
| 699 | "src/f32-prelu/gen/wasmsimd-bitselect-2x8.c", |
Frank Barchard | a531698 | 2020-07-23 13:19:28 -0700 | [diff] [blame] | 700 | "src/f32-prelu/gen/wasmsimd-bitselect-2x16.c", |
| 701 | "src/f32-prelu/gen/wasmsimd-bitselect-4x4.c", |
| 702 | "src/f32-prelu/gen/wasmsimd-bitselect-4x8.c", |
| 703 | "src/f32-prelu/gen/wasmsimd-bitselect-4x16.c", |
| 704 | "src/f32-prelu/gen/wasmsimd-minmax-1x4.c", |
| 705 | "src/f32-prelu/gen/wasmsimd-minmax-1x8.c", |
| 706 | "src/f32-prelu/gen/wasmsimd-minmax-1x16.c", |
Marat Dukhan | 195f8eb | 2020-06-25 12:50:57 -0700 | [diff] [blame] | 707 | "src/f32-prelu/gen/wasmsimd-minmax-2x4.c", |
| 708 | "src/f32-prelu/gen/wasmsimd-minmax-2x8.c", |
Frank Barchard | a531698 | 2020-07-23 13:19:28 -0700 | [diff] [blame] | 709 | "src/f32-prelu/gen/wasmsimd-minmax-2x16.c", |
| 710 | "src/f32-prelu/gen/wasmsimd-minmax-4x4.c", |
| 711 | "src/f32-prelu/gen/wasmsimd-minmax-4x8.c", |
| 712 | "src/f32-prelu/gen/wasmsimd-minmax-4x16.c", |
Marat Dukhan | 52238f0 | 2020-07-16 15:30:28 -0700 | [diff] [blame] | 713 | "src/f32-raddstoreexpminusmax/gen/wasmsimd-p5-x4.c", |
| 714 | "src/f32-raddstoreexpminusmax/gen/wasmsimd-p5-x8.c", |
| 715 | "src/f32-raddstoreexpminusmax/gen/wasmsimd-p5-x8-acc2.c", |
| 716 | "src/f32-raddstoreexpminusmax/gen/wasmsimd-p5-x12.c", |
| 717 | "src/f32-raddstoreexpminusmax/gen/wasmsimd-p5-x12-acc2.c", |
| 718 | "src/f32-raddstoreexpminusmax/gen/wasmsimd-p5-x12-acc3.c", |
| 719 | "src/f32-raddstoreexpminusmax/gen/wasmsimd-p5-x16.c", |
| 720 | "src/f32-raddstoreexpminusmax/gen/wasmsimd-p5-x16-acc2.c", |
| 721 | "src/f32-raddstoreexpminusmax/gen/wasmsimd-p5-x16-acc4.c", |
| 722 | "src/f32-raddstoreexpminusmax/gen/wasmsimd-p5-x20.c", |
| 723 | "src/f32-raddstoreexpminusmax/gen/wasmsimd-p5-x20-acc2.c", |
| 724 | "src/f32-raddstoreexpminusmax/gen/wasmsimd-p5-x20-acc5.c", |
Frank Barchard | fb158e2 | 2020-07-15 16:10:10 -0700 | [diff] [blame] | 725 | "src/f32-relu/gen/wasmsimd-x4.c", |
| 726 | "src/f32-relu/gen/wasmsimd-x8.c", |
Marat Dukhan | 8c41796 | 2020-07-08 12:27:50 -0700 | [diff] [blame] | 727 | "src/f32-rmax/wasmsimd-arm.c", |
| 728 | "src/f32-rmax/wasmsimd-x86.c", |
Marat Dukhan | b3635ed | 2020-07-16 12:36:28 -0700 | [diff] [blame] | 729 | "src/f32-sigmoid/gen/wasmsimd-p5-div-x4.c", |
| 730 | "src/f32-sigmoid/gen/wasmsimd-p5-div-x8.c", |
| 731 | "src/f32-sigmoid/gen/wasmsimd-p5-div-x12.c", |
| 732 | "src/f32-sigmoid/gen/wasmsimd-p5-div-x16.c", |
| 733 | "src/f32-sigmoid/gen/wasmsimd-p5-div-x20.c", |
| 734 | "src/f32-sigmoid/gen/wasmsimd-p5-div-x24.c", |
Marat Dukhan | d187a5b | 2020-07-20 01:07:17 -0700 | [diff] [blame] | 735 | "src/f32-sigmoid/gen/wasmsimd-lut64-p2-div-x4.c", |
| 736 | "src/f32-sigmoid/gen/wasmsimd-lut64-p2-div-x8.c", |
| 737 | "src/f32-sigmoid/gen/wasmsimd-lut64-p2-div-x12.c", |
| 738 | "src/f32-sigmoid/gen/wasmsimd-lut64-p2-div-x16.c", |
| 739 | "src/f32-sigmoid/gen/wasmsimd-lut64-p2-div-x20.c", |
| 740 | "src/f32-sigmoid/gen/wasmsimd-lut64-p2-div-x24.c", |
Marat Dukhan | 93d1ba1 | 2020-06-26 12:33:35 -0700 | [diff] [blame] | 741 | "src/f32-vbinary/gen/vadd-minmax-wasmsimd-arm-x4.c", |
| 742 | "src/f32-vbinary/gen/vadd-minmax-wasmsimd-arm-x8.c", |
| 743 | "src/f32-vbinary/gen/vadd-minmax-wasmsimd-x86-x4.c", |
| 744 | "src/f32-vbinary/gen/vadd-minmax-wasmsimd-x86-x8.c", |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 745 | "src/f32-vbinary/gen/vadd-wasmsimd-x4.c", |
| 746 | "src/f32-vbinary/gen/vadd-wasmsimd-x8.c", |
Marat Dukhan | 0e97d6f | 2020-06-26 19:35:09 -0700 | [diff] [blame] | 747 | "src/f32-vbinary/gen/vaddc-minmax-wasmsimd-arm-x4.c", |
| 748 | "src/f32-vbinary/gen/vaddc-minmax-wasmsimd-arm-x8.c", |
| 749 | "src/f32-vbinary/gen/vaddc-minmax-wasmsimd-x86-x4.c", |
| 750 | "src/f32-vbinary/gen/vaddc-minmax-wasmsimd-x86-x8.c", |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 751 | "src/f32-vbinary/gen/vaddc-wasmsimd-x4.c", |
| 752 | "src/f32-vbinary/gen/vaddc-wasmsimd-x8.c", |
Marat Dukhan | 93d1ba1 | 2020-06-26 12:33:35 -0700 | [diff] [blame] | 753 | "src/f32-vbinary/gen/vdiv-minmax-wasmsimd-arm-x4.c", |
| 754 | "src/f32-vbinary/gen/vdiv-minmax-wasmsimd-arm-x8.c", |
| 755 | "src/f32-vbinary/gen/vdiv-minmax-wasmsimd-x86-x4.c", |
| 756 | "src/f32-vbinary/gen/vdiv-minmax-wasmsimd-x86-x8.c", |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 757 | "src/f32-vbinary/gen/vdiv-wasmsimd-x4.c", |
| 758 | "src/f32-vbinary/gen/vdiv-wasmsimd-x8.c", |
Marat Dukhan | 0e97d6f | 2020-06-26 19:35:09 -0700 | [diff] [blame] | 759 | "src/f32-vbinary/gen/vdivc-minmax-wasmsimd-arm-x4.c", |
| 760 | "src/f32-vbinary/gen/vdivc-minmax-wasmsimd-arm-x8.c", |
| 761 | "src/f32-vbinary/gen/vdivc-minmax-wasmsimd-x86-x4.c", |
| 762 | "src/f32-vbinary/gen/vdivc-minmax-wasmsimd-x86-x8.c", |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 763 | "src/f32-vbinary/gen/vdivc-wasmsimd-x4.c", |
| 764 | "src/f32-vbinary/gen/vdivc-wasmsimd-x8.c", |
Marat Dukhan | 93d1ba1 | 2020-06-26 12:33:35 -0700 | [diff] [blame] | 765 | "src/f32-vbinary/gen/vmax-wasmsimd-arm-x4.c", |
| 766 | "src/f32-vbinary/gen/vmax-wasmsimd-arm-x8.c", |
| 767 | "src/f32-vbinary/gen/vmax-wasmsimd-x86-x4.c", |
| 768 | "src/f32-vbinary/gen/vmax-wasmsimd-x86-x8.c", |
Marat Dukhan | 0e97d6f | 2020-06-26 19:35:09 -0700 | [diff] [blame] | 769 | "src/f32-vbinary/gen/vmaxc-wasmsimd-arm-x4.c", |
| 770 | "src/f32-vbinary/gen/vmaxc-wasmsimd-arm-x8.c", |
| 771 | "src/f32-vbinary/gen/vmaxc-wasmsimd-x86-x4.c", |
| 772 | "src/f32-vbinary/gen/vmaxc-wasmsimd-x86-x8.c", |
Marat Dukhan | 93d1ba1 | 2020-06-26 12:33:35 -0700 | [diff] [blame] | 773 | "src/f32-vbinary/gen/vmin-wasmsimd-arm-x4.c", |
| 774 | "src/f32-vbinary/gen/vmin-wasmsimd-arm-x8.c", |
| 775 | "src/f32-vbinary/gen/vmin-wasmsimd-x86-x4.c", |
| 776 | "src/f32-vbinary/gen/vmin-wasmsimd-x86-x8.c", |
Marat Dukhan | 0e97d6f | 2020-06-26 19:35:09 -0700 | [diff] [blame] | 777 | "src/f32-vbinary/gen/vminc-wasmsimd-arm-x4.c", |
| 778 | "src/f32-vbinary/gen/vminc-wasmsimd-arm-x8.c", |
| 779 | "src/f32-vbinary/gen/vminc-wasmsimd-x86-x4.c", |
| 780 | "src/f32-vbinary/gen/vminc-wasmsimd-x86-x8.c", |
Marat Dukhan | 93d1ba1 | 2020-06-26 12:33:35 -0700 | [diff] [blame] | 781 | "src/f32-vbinary/gen/vmul-minmax-wasmsimd-arm-x4.c", |
| 782 | "src/f32-vbinary/gen/vmul-minmax-wasmsimd-arm-x8.c", |
| 783 | "src/f32-vbinary/gen/vmul-minmax-wasmsimd-x86-x4.c", |
| 784 | "src/f32-vbinary/gen/vmul-minmax-wasmsimd-x86-x8.c", |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 785 | "src/f32-vbinary/gen/vmul-wasmsimd-x4.c", |
| 786 | "src/f32-vbinary/gen/vmul-wasmsimd-x8.c", |
Marat Dukhan | 0e97d6f | 2020-06-26 19:35:09 -0700 | [diff] [blame] | 787 | "src/f32-vbinary/gen/vmulc-minmax-wasmsimd-arm-x4.c", |
| 788 | "src/f32-vbinary/gen/vmulc-minmax-wasmsimd-arm-x8.c", |
| 789 | "src/f32-vbinary/gen/vmulc-minmax-wasmsimd-x86-x4.c", |
| 790 | "src/f32-vbinary/gen/vmulc-minmax-wasmsimd-x86-x8.c", |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 791 | "src/f32-vbinary/gen/vmulc-wasmsimd-x4.c", |
| 792 | "src/f32-vbinary/gen/vmulc-wasmsimd-x8.c", |
Marat Dukhan | 0e97d6f | 2020-06-26 19:35:09 -0700 | [diff] [blame] | 793 | "src/f32-vbinary/gen/vrdivc-minmax-wasmsimd-arm-x4.c", |
| 794 | "src/f32-vbinary/gen/vrdivc-minmax-wasmsimd-arm-x8.c", |
| 795 | "src/f32-vbinary/gen/vrdivc-minmax-wasmsimd-x86-x4.c", |
| 796 | "src/f32-vbinary/gen/vrdivc-minmax-wasmsimd-x86-x8.c", |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 797 | "src/f32-vbinary/gen/vrdivc-wasmsimd-x4.c", |
| 798 | "src/f32-vbinary/gen/vrdivc-wasmsimd-x8.c", |
Marat Dukhan | 0e97d6f | 2020-06-26 19:35:09 -0700 | [diff] [blame] | 799 | "src/f32-vbinary/gen/vrsubc-minmax-wasmsimd-arm-x4.c", |
| 800 | "src/f32-vbinary/gen/vrsubc-minmax-wasmsimd-arm-x8.c", |
| 801 | "src/f32-vbinary/gen/vrsubc-minmax-wasmsimd-x86-x4.c", |
| 802 | "src/f32-vbinary/gen/vrsubc-minmax-wasmsimd-x86-x8.c", |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 803 | "src/f32-vbinary/gen/vrsubc-wasmsimd-x4.c", |
| 804 | "src/f32-vbinary/gen/vrsubc-wasmsimd-x8.c", |
Marat Dukhan | 93d1ba1 | 2020-06-26 12:33:35 -0700 | [diff] [blame] | 805 | "src/f32-vbinary/gen/vsqrdiff-wasmsimd-x4.c", |
| 806 | "src/f32-vbinary/gen/vsqrdiff-wasmsimd-x8.c", |
Marat Dukhan | 0e97d6f | 2020-06-26 19:35:09 -0700 | [diff] [blame] | 807 | "src/f32-vbinary/gen/vsqrdiffc-wasmsimd-x4.c", |
| 808 | "src/f32-vbinary/gen/vsqrdiffc-wasmsimd-x8.c", |
Marat Dukhan | 93d1ba1 | 2020-06-26 12:33:35 -0700 | [diff] [blame] | 809 | "src/f32-vbinary/gen/vsub-minmax-wasmsimd-arm-x4.c", |
| 810 | "src/f32-vbinary/gen/vsub-minmax-wasmsimd-arm-x8.c", |
| 811 | "src/f32-vbinary/gen/vsub-minmax-wasmsimd-x86-x4.c", |
| 812 | "src/f32-vbinary/gen/vsub-minmax-wasmsimd-x86-x8.c", |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 813 | "src/f32-vbinary/gen/vsub-wasmsimd-x4.c", |
| 814 | "src/f32-vbinary/gen/vsub-wasmsimd-x8.c", |
Marat Dukhan | 0e97d6f | 2020-06-26 19:35:09 -0700 | [diff] [blame] | 815 | "src/f32-vbinary/gen/vsubc-minmax-wasmsimd-arm-x4.c", |
| 816 | "src/f32-vbinary/gen/vsubc-minmax-wasmsimd-arm-x8.c", |
| 817 | "src/f32-vbinary/gen/vsubc-minmax-wasmsimd-x86-x4.c", |
| 818 | "src/f32-vbinary/gen/vsubc-minmax-wasmsimd-x86-x8.c", |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 819 | "src/f32-vbinary/gen/vsubc-wasmsimd-x4.c", |
| 820 | "src/f32-vbinary/gen/vsubc-wasmsimd-x8.c", |
Marat Dukhan | 19dd91d | 2020-07-16 11:12:44 -0700 | [diff] [blame] | 821 | "src/f32-vlrelu/gen/vlrelu-wasmsimd-bitselect-x4.c", |
| 822 | "src/f32-vlrelu/gen/vlrelu-wasmsimd-bitselect-x8.c", |
| 823 | "src/f32-vlrelu/gen/vlrelu-wasmsimd-minmax-x4.c", |
| 824 | "src/f32-vlrelu/gen/vlrelu-wasmsimd-minmax-x8.c", |
Marat Dukhan | d816f62 | 2020-07-15 10:14:39 -0700 | [diff] [blame] | 825 | "src/f32-vmulcaddc/gen/c4-minmax-wasmsimd-arm-2x.c", |
| 826 | "src/f32-vmulcaddc/gen/c8-minmax-wasmsimd-arm-2x.c", |
| 827 | "src/f32-vmulcaddc/gen/c4-minmax-wasmsimd-x86-2x.c", |
| 828 | "src/f32-vmulcaddc/gen/c8-minmax-wasmsimd-x86-2x.c", |
Marat Dukhan | b82b2cd | 2020-07-16 02:23:42 -0700 | [diff] [blame] | 829 | "src/f32-vrnd/gen/vrndne-wasmsimd-addsub-x4.c", |
| 830 | "src/f32-vrnd/gen/vrndne-wasmsimd-addsub-x8.c", |
| 831 | "src/f32-vrnd/gen/vrndz-wasmsimd-addsub-x4.c", |
| 832 | "src/f32-vrnd/gen/vrndz-wasmsimd-addsub-x8.c", |
| 833 | "src/f32-vrnd/gen/vrndz-wasmsimd-cvt-x4.c", |
| 834 | "src/f32-vrnd/gen/vrndz-wasmsimd-cvt-x8.c", |
| 835 | "src/f32-vrnd/gen/vrndu-wasmsimd-addsub-x4.c", |
| 836 | "src/f32-vrnd/gen/vrndu-wasmsimd-addsub-x8.c", |
| 837 | "src/f32-vrnd/gen/vrndu-wasmsimd-cvt-x4.c", |
| 838 | "src/f32-vrnd/gen/vrndu-wasmsimd-cvt-x8.c", |
| 839 | "src/f32-vrnd/gen/vrndd-wasmsimd-addsub-x4.c", |
| 840 | "src/f32-vrnd/gen/vrndd-wasmsimd-addsub-x8.c", |
| 841 | "src/f32-vrnd/gen/vrndd-wasmsimd-cvt-x4.c", |
| 842 | "src/f32-vrnd/gen/vrndd-wasmsimd-cvt-x8.c", |
Marat Dukhan | f4db2f3 | 2020-06-30 10:55:30 -0700 | [diff] [blame] | 843 | "src/f32-vsqrt/gen/wasmsimd-sqrt-x4.c", |
| 844 | "src/f32-vsqrt/gen/wasmsimd-sqrt-x8.c", |
Marat Dukhan | 37c8351 | 2020-06-29 13:25:53 -0700 | [diff] [blame] | 845 | "src/f32-vunary/gen/vabs-wasmsimd-x4.c", |
| 846 | "src/f32-vunary/gen/vabs-wasmsimd-x8.c", |
| 847 | "src/f32-vunary/gen/vneg-wasmsimd-x4.c", |
| 848 | "src/f32-vunary/gen/vneg-wasmsimd-x8.c", |
| 849 | "src/f32-vunary/gen/vsqr-wasmsimd-x4.c", |
| 850 | "src/f32-vunary/gen/vsqr-wasmsimd-x8.c", |
Marat Dukhan | cc8f34c | 2020-08-05 16:36:38 -0700 | [diff] [blame] | 851 | "src/qs8-dwconv/gen/up8x9-minmax-wasmsimd-mul16.c", |
| 852 | "src/qs8-dwconv/gen/up16x9-minmax-wasmsimd-mul16.c", |
| 853 | "src/qs8-dwconv/gen/up24x9-minmax-wasmsimd-mul16.c", |
Marat Dukhan | 27203da | 2020-08-05 15:19:03 -0700 | [diff] [blame] | 854 | "src/qs8-gemm/gen/1x4c8-minmax-wasmsimd-ld64.c", |
| 855 | "src/qs8-gemm/gen/2x4c8-minmax-wasmsimd-ld64.c", |
| 856 | "src/qs8-gemm/gen/3x4c8-minmax-wasmsimd-ld64.c", |
| 857 | "src/qs8-gemm/gen/1x4c8-minmax-wasmsimd-ld128.c", |
| 858 | "src/qs8-gemm/gen/2x4c8-minmax-wasmsimd-ld128.c", |
| 859 | "src/qs8-gemm/gen/3x4c8-minmax-wasmsimd-ld128.c", |
| 860 | "src/qs8-gemm/gen/1x4c8-xw-minmax-wasmsimd.c", |
| 861 | "src/qs8-gemm/gen/2x4c8-xw-minmax-wasmsimd.c", |
| 862 | "src/qs8-gemm/gen/3x4c8-xw-minmax-wasmsimd.c", |
| 863 | "src/qs8-igemm/gen/1x4c8-minmax-wasmsimd-ld64.c", |
| 864 | "src/qs8-igemm/gen/2x4c8-minmax-wasmsimd-ld64.c", |
| 865 | "src/qs8-igemm/gen/3x4c8-minmax-wasmsimd-ld64.c", |
| 866 | "src/qs8-igemm/gen/1x4c8-minmax-wasmsimd-ld128.c", |
| 867 | "src/qs8-igemm/gen/2x4c8-minmax-wasmsimd-ld128.c", |
| 868 | "src/qs8-igemm/gen/3x4c8-minmax-wasmsimd-ld128.c", |
Marat Dukhan | 2e23d2b | 2020-07-29 16:01:37 -0700 | [diff] [blame] | 869 | "src/qs8-requantization/fp32-wasmsimd.c", |
Marat Dukhan | 138560c | 2020-08-03 18:57:34 -0700 | [diff] [blame] | 870 | "src/qs8-requantization/q31-wasmsimd.c", |
Marat Dukhan | 5b69f8b | 2020-07-24 15:26:48 -0700 | [diff] [blame] | 871 | "src/qu8-requantization/fp32-wasmsimd.c", |
Marat Dukhan | 22de5e7 | 2020-08-03 21:53:18 -0700 | [diff] [blame] | 872 | "src/qu8-requantization/q31-wasmsimd.c", |
Marat Dukhan | 8ee3701 | 2020-07-16 13:17:13 -0700 | [diff] [blame] | 873 | "src/x32-fill/wasmsimd.c", |
Marat Dukhan | 66d99e9 | 2020-07-16 12:56:21 -0700 | [diff] [blame] | 874 | "src/x32-packx/x4-wasmsimd.c", |
Marat Dukhan | 9306ae0 | 2020-07-16 15:51:13 -0700 | [diff] [blame] | 875 | "src/x32-pad/wasmsimd.c", |
Marat Dukhan | 9d4bfa2 | 2020-07-16 19:07:04 -0700 | [diff] [blame] | 876 | "src/x32-unpool/wasmsimd.c", |
Marat Dukhan | e3b7876 | 2020-07-16 20:02:58 -0700 | [diff] [blame] | 877 | "src/x32-zip/x2-wasmsimd.c", |
| 878 | "src/x32-zip/x3-wasmsimd.c", |
| 879 | "src/x32-zip/x4-wasmsimd.c", |
| 880 | "src/x32-zip/xm-wasmsimd.c", |
Marat Dukhan | d3f3d87 | 2020-06-24 13:08:25 -0700 | [diff] [blame] | 881 | "src/math/roundne-wasmsimd-addsub.c", |
| 882 | "src/math/roundd-wasmsimd-addsub.c", |
Marat Dukhan | 88da62c | 2020-07-15 17:56:09 -0700 | [diff] [blame] | 883 | "src/math/roundd-wasmsimd-cvt.c", |
Marat Dukhan | d3f3d87 | 2020-06-24 13:08:25 -0700 | [diff] [blame] | 884 | "src/math/roundu-wasmsimd-addsub.c", |
Marat Dukhan | 88da62c | 2020-07-15 17:56:09 -0700 | [diff] [blame] | 885 | "src/math/roundu-wasmsimd-cvt.c", |
Marat Dukhan | d3f3d87 | 2020-06-24 13:08:25 -0700 | [diff] [blame] | 886 | "src/math/roundz-wasmsimd-addsub.c", |
Marat Dukhan | 88da62c | 2020-07-15 17:56:09 -0700 | [diff] [blame] | 887 | "src/math/roundz-wasmsimd-cvt.c", |
Marat Dukhan | 773da43 | 2020-07-17 18:55:36 -0700 | [diff] [blame] | 888 | "src/math/sigmoid-wasmsimd-rr2-lut64-p2-div.c", |
| 889 | "src/math/sigmoid-wasmsimd-rr2-p5-div.c", |
Marat Dukhan | 290055c | 2020-06-09 12:24:29 -0700 | [diff] [blame] | 890 | ] |
| 891 | |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 892 | PSIMD_FASTMATH_UKERNELS = [ |
Erich Elsen | 0a1970e | 2020-06-10 09:24:59 -0700 | [diff] [blame] | 893 | "src/f32-conv-hwc2chw/3x3s2p1c3x4-psimd-2x2.c", |
Erich Elsen | e6214af | 2020-06-10 22:17:22 -0700 | [diff] [blame] | 894 | "src/f32-dwconv-chw/3x3p1-psimd.c", |
Erich Elsen | fd7a6e3 | 2020-06-11 12:04:44 -0700 | [diff] [blame] | 895 | "src/f32-dwconv-chw/3x3s2p1-psimd.c", |
Erich Elsen | 2892889 | 2020-06-12 08:08:19 -0700 | [diff] [blame] | 896 | "src/f32-dwconv-chw/5x5p2-psimd.c", |
Erich Elsen | 7465a89 | 2020-06-13 14:02:04 -0700 | [diff] [blame] | 897 | "src/f32-dwconv-chw/5x5s2p2-psimd.c", |
Erich Elsen | 6e80fdc | 2020-06-09 15:35:37 -0700 | [diff] [blame] | 898 | "src/f32-spmm/gen/4x1-minmax-psimd.c", |
| 899 | "src/f32-spmm/gen/8x1-minmax-psimd.c", |
| 900 | "src/f32-spmm/gen/16x1-minmax-psimd.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 901 | ] |
| 902 | |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 903 | PSIMD_ACCMATH_UKERNELS = [ |
Marat Dukhan | 2e23d2b | 2020-07-29 16:01:37 -0700 | [diff] [blame] | 904 | "src/qs8-requantization/precise-psimd.c", |
| 905 | "src/qs8-requantization/fp32-psimd.c", |
Marat Dukhan | 5b69f8b | 2020-07-24 15:26:48 -0700 | [diff] [blame] | 906 | "src/qu8-requantization/precise-psimd.c", |
| 907 | "src/qu8-requantization/fp32-psimd.c", |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 908 | ] |
| 909 | |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 910 | # ISA-specific micro-kernels |
| 911 | NEON_UKERNELS = [ |
Marat Dukhan | ef25c6d | 2020-07-24 00:59:40 -0700 | [diff] [blame] | 912 | "src/f32-argmaxpool/4x-neon-c4.c", |
| 913 | "src/f32-argmaxpool/9p8x-neon-c4.c", |
| 914 | "src/f32-argmaxpool/9x-neon-c4.c", |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 915 | "src/f32-avgpool/9p8x-minmax-neon-c4.c", |
| 916 | "src/f32-avgpool/9x-minmax-neon-c4.c", |
Marat Dukhan | 5c5fa96 | 2020-03-10 18:38:33 -0700 | [diff] [blame] | 917 | "src/f32-clamp/gen/neon-x4.c", |
| 918 | "src/f32-clamp/gen/neon-x8.c", |
Marat Dukhan | 56b10cd | 2020-05-18 09:35:49 -0700 | [diff] [blame] | 919 | "src/f32-conv-hwc/gen/3x3s2p0p1c3x4-neon-2x1.c", |
| 920 | "src/f32-conv-hwc/gen/3x3s2p0p1c3x8-neon-2x1.c", |
Marat Dukhan | ce7a3f8 | 2020-05-17 21:46:44 -0700 | [diff] [blame] | 921 | "src/f32-conv-hwc/gen/3x3s2p0p1c3x4-neon-2x2.c", |
| 922 | "src/f32-conv-hwc/gen/3x3s2p0p1c3x8-neon-2x2.c", |
Marat Dukhan | 56b10cd | 2020-05-18 09:35:49 -0700 | [diff] [blame] | 923 | "src/f32-conv-hwc/gen/3x3s2p1c3x4-neon-2x1.c", |
| 924 | "src/f32-conv-hwc/gen/3x3s2p1c3x8-neon-2x1.c", |
Marat Dukhan | ce7a3f8 | 2020-05-17 21:46:44 -0700 | [diff] [blame] | 925 | "src/f32-conv-hwc/gen/3x3s2p1c3x4-neon-2x2.c", |
| 926 | "src/f32-conv-hwc/gen/3x3s2p1c3x8-neon-2x2.c", |
Marat Dukhan | f5425ea | 2020-04-24 01:46:00 -0700 | [diff] [blame] | 927 | "src/f32-dwconv/gen/up4x4-minmax-neon.c", |
| 928 | "src/f32-dwconv/gen/up4x4-minmax-neon-acc2.c", |
| 929 | "src/f32-dwconv/gen/up8x4-minmax-neon.c", |
| 930 | "src/f32-dwconv/gen/up8x4-minmax-neon-acc2.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 931 | "src/f32-dwconv/gen/up4x9-minmax-neon.c", |
| 932 | "src/f32-dwconv/gen/up4x9-minmax-neon-acc2.c", |
| 933 | "src/f32-dwconv/gen/up8x9-minmax-neon.c", |
| 934 | "src/f32-dwconv/gen/up8x9-minmax-neon-acc2.c", |
Marat Dukhan | f5425ea | 2020-04-24 01:46:00 -0700 | [diff] [blame] | 935 | "src/f32-dwconv/gen/up4x25-minmax-neon.c", |
| 936 | "src/f32-dwconv/gen/up4x25-minmax-neon-acc2.c", |
| 937 | "src/f32-dwconv/gen/up8x25-minmax-neon.c", |
| 938 | "src/f32-dwconv/gen/up8x25-minmax-neon-acc2.c", |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 939 | "src/f32-gavgpool-cw/neon-x4.c", |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 940 | "src/f32-gavgpool/7p7x-minmax-neon-c4.c", |
| 941 | "src/f32-gavgpool/7x-minmax-neon-c4.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 942 | "src/f32-gemm/gen/1x8-minmax-neon-lane-ld64.c", |
| 943 | "src/f32-gemm/gen/4x2-minmax-neon-lane-ld64.c", |
| 944 | "src/f32-gemm/gen/4x8-minmax-neon-lane-ld128.c", |
| 945 | "src/f32-gemm/gen/4x8-minmax-neon-lane-ld64.c", |
| 946 | "src/f32-gemm/gen/5x8-minmax-neon-lane-ld64.c", |
| 947 | "src/f32-gemm/gen/6x8-minmax-neon-lane-ld64.c", |
| 948 | "src/f32-gemm/gen/6x8-minmax-neon-lane-ld128.c", |
| 949 | "src/f32-gemm/gen/1x8-minmax-neon-dup-ld64.c", |
| 950 | "src/f32-gemm/gen/4x8-minmax-neon-dup-ld128.c", |
| 951 | "src/f32-gemm/gen/4x8-minmax-neon-dup-ld64.c", |
| 952 | "src/f32-gemm/gen/6x8-minmax-neon-dup-ld64.c", |
| 953 | "src/f32-gemm/gen/6x8-minmax-neon-dup-ld128.c", |
| 954 | "src/f32-gemm/gen/1x8s4-minmax-neon.c", |
| 955 | "src/f32-gemm/gen/4x8s4-minmax-neon.c", |
| 956 | "src/f32-gemm/gen/6x8s4-minmax-neon.c", |
| 957 | "src/f32-gemm/gen/8x8s4-minmax-neon.c", |
| 958 | "src/f32-gemm/gen-inc/1x8inc-minmax-neon-lane-ld64.c", |
| 959 | "src/f32-gemm/gen-inc/4x8inc-minmax-neon-lane-ld128.c", |
| 960 | "src/f32-gemm/gen-inc/4x8inc-minmax-neon-lane-ld64.c", |
| 961 | "src/f32-gemm/gen-inc/5x8inc-minmax-neon-lane-ld64.c", |
| 962 | "src/f32-gemm/gen-inc/6x8inc-minmax-neon-lane-ld64.c", |
| 963 | "src/f32-gemm/gen-inc/6x8inc-minmax-neon-lane-ld128.c", |
| 964 | "src/f32-gemm/gen-inc/1x8inc-minmax-neon-dup-ld64.c", |
| 965 | "src/f32-gemm/gen-inc/4x8inc-minmax-neon-dup-ld128.c", |
| 966 | "src/f32-gemm/gen-inc/4x8inc-minmax-neon-dup-ld64.c", |
| 967 | "src/f32-gemm/gen-inc/6x8inc-minmax-neon-dup-ld64.c", |
| 968 | "src/f32-gemm/gen-inc/6x8inc-minmax-neon-dup-ld128.c", |
| 969 | "src/f32-gemm/gen-inc/1x8s4inc-minmax-neon.c", |
| 970 | "src/f32-gemm/gen-inc/4x8s4inc-minmax-neon.c", |
| 971 | "src/f32-gemm/gen-inc/6x8s4inc-minmax-neon.c", |
| 972 | "src/f32-gemm/gen-inc/8x8s4inc-minmax-neon.c", |
Marat Dukhan | efaac27 | 2020-07-16 16:58:07 -0700 | [diff] [blame] | 973 | "src/f32-hswish/gen/hswish-neon-x4.c", |
| 974 | "src/f32-hswish/gen/hswish-neon-x8.c", |
| 975 | "src/f32-hswish/gen/hswish-neon-x16.c", |
Marat Dukhan | 660fd19 | 2020-03-10 04:55:30 -0700 | [diff] [blame] | 976 | "src/f32-ibilinear/gen/neon-c4.c", |
| 977 | "src/f32-ibilinear/gen/neon-c8.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 978 | "src/f32-igemm/gen/1x8-minmax-neon-lane-ld64.c", |
| 979 | "src/f32-igemm/gen/4x2-minmax-neon-lane-ld64.c", |
| 980 | "src/f32-igemm/gen/4x4-minmax-neon-lane-ld64.c", |
| 981 | "src/f32-igemm/gen/4x8-minmax-neon-lane-ld128.c", |
| 982 | "src/f32-igemm/gen/4x8-minmax-neon-lane-ld64.c", |
| 983 | "src/f32-igemm/gen/6x8-minmax-neon-lane-ld64.c", |
| 984 | "src/f32-igemm/gen/6x8-minmax-neon-lane-ld128.c", |
| 985 | "src/f32-igemm/gen/1x8-minmax-neon-dup-ld64.c", |
| 986 | "src/f32-igemm/gen/4x8-minmax-neon-dup-ld128.c", |
| 987 | "src/f32-igemm/gen/4x8-minmax-neon-dup-ld64.c", |
| 988 | "src/f32-igemm/gen/6x8-minmax-neon-dup-ld64.c", |
| 989 | "src/f32-igemm/gen/6x8-minmax-neon-dup-ld128.c", |
| 990 | "src/f32-igemm/gen/1x8s4-minmax-neon.c", |
| 991 | "src/f32-igemm/gen/4x8s4-minmax-neon.c", |
| 992 | "src/f32-igemm/gen/6x8s4-minmax-neon.c", |
| 993 | "src/f32-igemm/gen/8x8s4-minmax-neon.c", |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 994 | "src/f32-maxpool/9p8x-minmax-neon-c4.c", |
| 995 | "src/f32-pavgpool/9p8x-minmax-neon-c4.c", |
| 996 | "src/f32-pavgpool/9x-minmax-neon-c4.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 997 | "src/f32-ppmm/gen/4x8-minmax-neon.c", |
| 998 | "src/f32-ppmm/gen/8x8-minmax-neon.c", |
Frank Barchard | a531698 | 2020-07-23 13:19:28 -0700 | [diff] [blame] | 999 | "src/f32-prelu/gen/neon-1x4.c", |
| 1000 | "src/f32-prelu/gen/neon-1x8.c", |
| 1001 | "src/f32-prelu/gen/neon-1x16.c", |
Marat Dukhan | 40a672f | 2019-11-25 03:08:22 -0800 | [diff] [blame] | 1002 | "src/f32-prelu/gen/neon-2x4.c", |
| 1003 | "src/f32-prelu/gen/neon-2x8.c", |
Frank Barchard | a531698 | 2020-07-23 13:19:28 -0700 | [diff] [blame] | 1004 | "src/f32-prelu/gen/neon-2x16.c", |
| 1005 | "src/f32-prelu/gen/neon-4x4.c", |
| 1006 | "src/f32-prelu/gen/neon-4x8.c", |
| 1007 | "src/f32-prelu/gen/neon-4x16.c", |
Marat Dukhan | 8137e4c | 2020-01-25 12:56:58 -0800 | [diff] [blame] | 1008 | "src/f32-raddstoreexpminusmax/gen/neon-p5-x4.c", |
| 1009 | "src/f32-raddstoreexpminusmax/gen/neon-p5-x8.c", |
| 1010 | "src/f32-raddstoreexpminusmax/gen/neon-p5-x8-acc2.c", |
| 1011 | "src/f32-raddstoreexpminusmax/gen/neon-p5-x12.c", |
| 1012 | "src/f32-raddstoreexpminusmax/gen/neon-p5-x12-acc2.c", |
| 1013 | "src/f32-raddstoreexpminusmax/gen/neon-p5-x12-acc3.c", |
| 1014 | "src/f32-raddstoreexpminusmax/gen/neon-p5-x16.c", |
| 1015 | "src/f32-raddstoreexpminusmax/gen/neon-p5-x16-acc2.c", |
| 1016 | "src/f32-raddstoreexpminusmax/gen/neon-p5-x16-acc4.c", |
| 1017 | "src/f32-raddstoreexpminusmax/gen/neon-p5-x20.c", |
| 1018 | "src/f32-raddstoreexpminusmax/gen/neon-p5-x20-acc2.c", |
| 1019 | "src/f32-raddstoreexpminusmax/gen/neon-p5-x20-acc5.c", |
| 1020 | "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x4.c", |
| 1021 | "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x8.c", |
| 1022 | "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x8-acc2.c", |
| 1023 | "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x12.c", |
| 1024 | "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x12-acc2.c", |
| 1025 | "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x12-acc3.c", |
| 1026 | "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x16.c", |
| 1027 | "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x16-acc2.c", |
| 1028 | "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x16-acc4.c", |
| 1029 | "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x20.c", |
| 1030 | "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x20-acc2.c", |
| 1031 | "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x20-acc5.c", |
Frank Barchard | fb158e2 | 2020-07-15 16:10:10 -0700 | [diff] [blame] | 1032 | "src/f32-relu/gen/neon-x4.c", |
| 1033 | "src/f32-relu/gen/neon-x8.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1034 | "src/f32-rmax/neon.c", |
Marat Dukhan | 40a672f | 2019-11-25 03:08:22 -0800 | [diff] [blame] | 1035 | "src/f32-sigmoid/gen/neon-frac-p9-p10-nr1recps-x16.c", |
Marat Dukhan | 4a24a58 | 2020-01-06 13:30:00 -0800 | [diff] [blame] | 1036 | "src/f32-sigmoid/gen/neon-rr2-p5-nr2recps-x4.c", |
| 1037 | "src/f32-sigmoid/gen/neon-rr2-p5-nr2recps-x8.c", |
| 1038 | "src/f32-sigmoid/gen/neon-rr2-p5-nr2recps-x12.c", |
| 1039 | "src/f32-sigmoid/gen/neon-rr2-p5-nr2recps-x16.c", |
| 1040 | "src/f32-sigmoid/gen/neon-rr2-p5-nr2recps-x20.c", |
| 1041 | "src/f32-sigmoid/gen/neon-rr2-p5-nr2recps-x24.c", |
| 1042 | "src/f32-sigmoid/gen/neon-rr2-lut64-p2-nr2recps-x4.c", |
| 1043 | "src/f32-sigmoid/gen/neon-rr2-lut64-p2-nr2recps-x8.c", |
| 1044 | "src/f32-sigmoid/gen/neon-rr2-lut64-p2-nr2recps-x12.c", |
| 1045 | "src/f32-sigmoid/gen/neon-rr2-lut64-p2-nr2recps-x16.c", |
| 1046 | "src/f32-sigmoid/gen/neon-rr2-lut64-p2-nr2recps-x20.c", |
| 1047 | "src/f32-sigmoid/gen/neon-rr2-lut64-p2-nr2recps-x24.c", |
| 1048 | "src/f32-sigmoid/gen/neon-rr2-lut2048-p1-nr2recps-x4.c", |
| 1049 | "src/f32-sigmoid/gen/neon-rr2-lut2048-p1-nr2recps-x8.c", |
| 1050 | "src/f32-sigmoid/gen/neon-rr2-lut2048-p1-nr2recps-x12.c", |
| 1051 | "src/f32-sigmoid/gen/neon-rr2-lut2048-p1-nr2recps-x16.c", |
| 1052 | "src/f32-sigmoid/gen/neon-rr2-lut2048-p1-nr2recps-x20.c", |
| 1053 | "src/f32-sigmoid/gen/neon-rr2-lut2048-p1-nr2recps-x24.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 1054 | "src/f32-vbinary/gen/vadd-minmax-neon-x4.c", |
| 1055 | "src/f32-vbinary/gen/vadd-minmax-neon-x8.c", |
| 1056 | "src/f32-vbinary/gen/vaddc-minmax-neon-x4.c", |
| 1057 | "src/f32-vbinary/gen/vaddc-minmax-neon-x8.c", |
Marat Dukhan | 403b7d4 | 2019-12-05 12:49:11 -0800 | [diff] [blame] | 1058 | "src/f32-vbinary/gen/vmax-neon-x4.c", |
| 1059 | "src/f32-vbinary/gen/vmax-neon-x8.c", |
| 1060 | "src/f32-vbinary/gen/vmaxc-neon-x4.c", |
| 1061 | "src/f32-vbinary/gen/vmaxc-neon-x8.c", |
| 1062 | "src/f32-vbinary/gen/vmin-neon-x4.c", |
| 1063 | "src/f32-vbinary/gen/vmin-neon-x8.c", |
| 1064 | "src/f32-vbinary/gen/vminc-neon-x4.c", |
| 1065 | "src/f32-vbinary/gen/vminc-neon-x8.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 1066 | "src/f32-vbinary/gen/vmul-minmax-neon-x4.c", |
| 1067 | "src/f32-vbinary/gen/vmul-minmax-neon-x8.c", |
| 1068 | "src/f32-vbinary/gen/vmulc-minmax-neon-x4.c", |
| 1069 | "src/f32-vbinary/gen/vmulc-minmax-neon-x8.c", |
| 1070 | "src/f32-vbinary/gen/vrsubc-minmax-neon-x4.c", |
| 1071 | "src/f32-vbinary/gen/vrsubc-minmax-neon-x8.c", |
Marat Dukhan | 13bafb0 | 2020-06-05 00:43:11 -0700 | [diff] [blame] | 1072 | "src/f32-vbinary/gen/vsqrdiff-neon-x4.c", |
| 1073 | "src/f32-vbinary/gen/vsqrdiff-neon-x8.c", |
| 1074 | "src/f32-vbinary/gen/vsqrdiffc-neon-x4.c", |
| 1075 | "src/f32-vbinary/gen/vsqrdiffc-neon-x8.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 1076 | "src/f32-vbinary/gen/vsub-minmax-neon-x4.c", |
| 1077 | "src/f32-vbinary/gen/vsub-minmax-neon-x8.c", |
| 1078 | "src/f32-vbinary/gen/vsubc-minmax-neon-x4.c", |
| 1079 | "src/f32-vbinary/gen/vsubc-minmax-neon-x8.c", |
Marat Dukhan | 19dd91d | 2020-07-16 11:12:44 -0700 | [diff] [blame] | 1080 | "src/f32-vlrelu/gen/vlrelu-neon-x4.c", |
| 1081 | "src/f32-vlrelu/gen/vlrelu-neon-x8.c", |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 1082 | "src/f32-vmulcaddc/gen/c4-minmax-neon-2x.c", |
| 1083 | "src/f32-vmulcaddc/gen/c8-minmax-neon-2x.c", |
Marat Dukhan | eecf8fd | 2020-06-09 08:59:37 -0700 | [diff] [blame] | 1084 | "src/f32-vrnd/gen/vrndne-neon-x4.c", |
| 1085 | "src/f32-vrnd/gen/vrndne-neon-x8.c", |
| 1086 | "src/f32-vrnd/gen/vrndz-neon-x4.c", |
| 1087 | "src/f32-vrnd/gen/vrndz-neon-x8.c", |
| 1088 | "src/f32-vrnd/gen/vrndu-neon-x4.c", |
| 1089 | "src/f32-vrnd/gen/vrndu-neon-x8.c", |
| 1090 | "src/f32-vrnd/gen/vrndd-neon-x4.c", |
| 1091 | "src/f32-vrnd/gen/vrndd-neon-x8.c", |
Marat Dukhan | 5020b96 | 2020-06-08 13:30:10 -0700 | [diff] [blame] | 1092 | "src/f32-vunary/gen/vabs-neon-x4.c", |
| 1093 | "src/f32-vunary/gen/vabs-neon-x8.c", |
| 1094 | "src/f32-vunary/gen/vneg-neon-x4.c", |
| 1095 | "src/f32-vunary/gen/vneg-neon-x8.c", |
| 1096 | "src/f32-vunary/gen/vsqr-neon-x4.c", |
| 1097 | "src/f32-vunary/gen/vsqr-neon-x8.c", |
Marat Dukhan | 40bbafe | 2020-08-04 02:04:22 -0700 | [diff] [blame] | 1098 | "src/qs8-gemm/gen/1x8-minmax-neon-mlal-lane.c", |
| 1099 | "src/qs8-gemm/gen/4x8-minmax-neon-mlal-lane.c", |
| 1100 | "src/qs8-gemm/gen/1x16-minmax-neon-mlal-lane.c", |
| 1101 | "src/qs8-gemm/gen/2x16-minmax-neon-mlal-lane.c", |
| 1102 | "src/qs8-igemm/gen/1x8-minmax-neon-mlal-lane.c", |
| 1103 | "src/qs8-igemm/gen/4x8-minmax-neon-mlal-lane.c", |
| 1104 | "src/qs8-igemm/gen/1x16-minmax-neon-mlal-lane.c", |
| 1105 | "src/qs8-igemm/gen/2x16-minmax-neon-mlal-lane.c", |
Marat Dukhan | 2e23d2b | 2020-07-29 16:01:37 -0700 | [diff] [blame] | 1106 | "src/qs8-requantization/precise-neon.c", |
| 1107 | "src/qs8-requantization/fp32-neon.c", |
| 1108 | "src/qs8-requantization/q31-neon.c", |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 1109 | "src/qu8-avgpool/9p8x-minmax-neon-c8.c", |
| 1110 | "src/qu8-avgpool/9x-minmax-neon-c8.c", |
| 1111 | "src/qu8-dwconv/up8x9-minmax-neon.c", |
| 1112 | "src/qu8-gavgpool/7p7x-minmax-neon-c8.c", |
| 1113 | "src/qu8-gavgpool/7x-minmax-neon-c8.c", |
| 1114 | "src/qu8-gemm/4x8-minmax-neon.c", |
| 1115 | "src/qu8-gemm/8x8-minmax-neon.c", |
| 1116 | "src/qu8-igemm/4x8-minmax-neon.c", |
| 1117 | "src/qu8-igemm/8x8-minmax-neon.c", |
Marat Dukhan | 5b69f8b | 2020-07-24 15:26:48 -0700 | [diff] [blame] | 1118 | "src/qu8-requantization/precise-neon.c", |
| 1119 | "src/qu8-requantization/fp32-neon.c", |
| 1120 | "src/qu8-requantization/q31-neon.c", |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 1121 | "src/qu8-vadd/minmax-neon.c", |
Marat Dukhan | 5c5fa96 | 2020-03-10 18:38:33 -0700 | [diff] [blame] | 1122 | "src/u8-clamp/neon-x64.c", |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 1123 | "src/u8-maxpool/9p8x-minmax-neon-c16.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1124 | "src/u8-rmax/neon.c", |
Marat Dukhan | 3bb3bfc | 2020-05-19 17:42:46 -0700 | [diff] [blame] | 1125 | "src/x32-fill/neon.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1126 | "src/x32-packx/x4-neon-st4.c", |
Marat Dukhan | 63523d4 | 2020-05-22 17:07:33 -0700 | [diff] [blame] | 1127 | "src/x32-pad/neon.c", |
Marat Dukhan | 57dccd8 | 2020-04-14 00:53:10 -0700 | [diff] [blame] | 1128 | "src/x32-unpool/neon.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1129 | "src/x32-zip/x2-neon.c", |
| 1130 | "src/x32-zip/x3-neon.c", |
| 1131 | "src/x32-zip/x4-neon.c", |
| 1132 | "src/x32-zip/xm-neon.c", |
| 1133 | "src/x8-zip/x2-neon.c", |
| 1134 | "src/x8-zip/x3-neon.c", |
| 1135 | "src/x8-zip/x4-neon.c", |
| 1136 | "src/x8-zip/xm-neon.c", |
Marat Dukhan | 075088a | 2020-05-12 19:42:12 -0700 | [diff] [blame] | 1137 | "src/math/roundne-neon-addsub.c", |
Marat Dukhan | c9852ba | 2020-05-13 17:21:29 -0700 | [diff] [blame] | 1138 | "src/math/roundd-neon-addsub.c", |
| 1139 | "src/math/roundd-neon-cvt.c", |
| 1140 | "src/math/roundu-neon-addsub.c", |
| 1141 | "src/math/roundu-neon-cvt.c", |
Marat Dukhan | 2dbb944 | 2020-05-12 20:43:43 -0700 | [diff] [blame] | 1142 | "src/math/roundz-neon-addsub.c", |
| 1143 | "src/math/roundz-neon-cvt.c", |
Marat Dukhan | 68b3b45 | 2020-01-02 10:11:15 -0800 | [diff] [blame] | 1144 | "src/math/sigmoid-neon-frac-p9-p10-nr1recps.c", |
Marat Dukhan | 77221d3 | 2020-01-06 10:04:39 -0800 | [diff] [blame] | 1145 | "src/math/sigmoid-neon-rr1-lut2048-p1-nr2recps.c", |
| 1146 | "src/math/sigmoid-neon-rr1-lut64-p2-nr2recps.c", |
| 1147 | "src/math/sigmoid-neon-rr1-p5-nr2recps.c", |
| 1148 | "src/math/sigmoid-neon-rr2-lut2048-p1-nr2recps.c", |
| 1149 | "src/math/sigmoid-neon-rr2-lut64-p2-nr2recps.c", |
| 1150 | "src/math/sigmoid-neon-rr2-p5-nr2recps.c", |
Marat Dukhan | 8400076 | 2020-06-29 18:38:43 -0700 | [diff] [blame] | 1151 | "src/math/sqrt-neon-nr1rsqrts.c", |
| 1152 | "src/math/sqrt-neon-nr2rsqrts.c", |
| 1153 | "src/math/sqrt-neon-nr3rsqrts.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1154 | ] |
| 1155 | |
| 1156 | NEONFMA_UKERNELS = [ |
Marat Dukhan | 660fd19 | 2020-03-10 04:55:30 -0700 | [diff] [blame] | 1157 | "src/f32-ibilinear/gen/neonfma-c4.c", |
| 1158 | "src/f32-ibilinear/gen/neonfma-c8.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1159 | "src/f32-igemm/gen/1x8-minmax-neonfma-dup-ld64.c", |
| 1160 | "src/f32-igemm/gen/4x8-minmax-neonfma-dup-ld128.c", |
| 1161 | "src/f32-igemm/gen/4x8-minmax-neonfma-dup-ld64.c", |
| 1162 | "src/f32-igemm/gen/6x8-minmax-neonfma-dup-ld64.c", |
| 1163 | "src/f32-igemm/gen/6x8-minmax-neonfma-dup-ld128.c", |
| 1164 | "src/f32-igemm/gen/1x8s4-minmax-neonfma.c", |
| 1165 | "src/f32-igemm/gen/4x8s4-minmax-neonfma.c", |
| 1166 | "src/f32-igemm/gen/6x8s4-minmax-neonfma.c", |
| 1167 | "src/f32-igemm/gen/8x8s4-minmax-neonfma.c", |
Marat Dukhan | f5425ea | 2020-04-24 01:46:00 -0700 | [diff] [blame] | 1168 | "src/f32-dwconv/gen/up4x4-minmax-neonfma.c", |
| 1169 | "src/f32-dwconv/gen/up4x4-minmax-neonfma-acc2.c", |
| 1170 | "src/f32-dwconv/gen/up8x4-minmax-neonfma.c", |
| 1171 | "src/f32-dwconv/gen/up8x4-minmax-neonfma-acc2.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1172 | "src/f32-dwconv/gen/up4x9-minmax-neonfma.c", |
| 1173 | "src/f32-dwconv/gen/up4x9-minmax-neonfma-acc2.c", |
| 1174 | "src/f32-dwconv/gen/up8x9-minmax-neonfma.c", |
| 1175 | "src/f32-dwconv/gen/up8x9-minmax-neonfma-acc2.c", |
Marat Dukhan | f5425ea | 2020-04-24 01:46:00 -0700 | [diff] [blame] | 1176 | "src/f32-dwconv/gen/up4x25-minmax-neonfma.c", |
| 1177 | "src/f32-dwconv/gen/up4x25-minmax-neonfma-acc2.c", |
| 1178 | "src/f32-dwconv/gen/up8x25-minmax-neonfma.c", |
| 1179 | "src/f32-dwconv/gen/up8x25-minmax-neonfma-acc2.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1180 | "src/f32-gemm/gen/1x8-minmax-neonfma-dup-ld64.c", |
| 1181 | "src/f32-gemm/gen/4x8-minmax-neonfma-dup-ld128.c", |
| 1182 | "src/f32-gemm/gen/4x8-minmax-neonfma-dup-ld64.c", |
| 1183 | "src/f32-gemm/gen/6x8-minmax-neonfma-dup-ld64.c", |
| 1184 | "src/f32-gemm/gen/6x8-minmax-neonfma-dup-ld128.c", |
| 1185 | "src/f32-gemm/gen/1x8s4-minmax-neonfma.c", |
| 1186 | "src/f32-gemm/gen/4x8s4-minmax-neonfma.c", |
| 1187 | "src/f32-gemm/gen/6x8s4-minmax-neonfma.c", |
| 1188 | "src/f32-gemm/gen/8x8s4-minmax-neonfma.c", |
| 1189 | "src/f32-gemm/gen-inc/1x8inc-minmax-neonfma-dup-ld64.c", |
| 1190 | "src/f32-gemm/gen-inc/4x8inc-minmax-neonfma-dup-ld128.c", |
| 1191 | "src/f32-gemm/gen-inc/4x8inc-minmax-neonfma-dup-ld64.c", |
| 1192 | "src/f32-gemm/gen-inc/6x8inc-minmax-neonfma-dup-ld64.c", |
| 1193 | "src/f32-gemm/gen-inc/6x8inc-minmax-neonfma-dup-ld128.c", |
| 1194 | "src/f32-gemm/gen-inc/1x8s4inc-minmax-neonfma.c", |
| 1195 | "src/f32-gemm/gen-inc/4x8s4inc-minmax-neonfma.c", |
| 1196 | "src/f32-gemm/gen-inc/6x8s4inc-minmax-neonfma.c", |
| 1197 | "src/f32-gemm/gen-inc/8x8s4inc-minmax-neonfma.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1198 | "src/f32-ppmm/gen/4x8-minmax-neonfma.c", |
| 1199 | "src/f32-ppmm/gen/8x8-minmax-neonfma.c", |
Marat Dukhan | 8137e4c | 2020-01-25 12:56:58 -0800 | [diff] [blame] | 1200 | "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x4.c", |
| 1201 | "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x8.c", |
| 1202 | "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x8-acc2.c", |
| 1203 | "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x12.c", |
| 1204 | "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x12-acc2.c", |
| 1205 | "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x12-acc3.c", |
| 1206 | "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x16.c", |
| 1207 | "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x16-acc2.c", |
| 1208 | "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x16-acc4.c", |
| 1209 | "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x20.c", |
| 1210 | "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x20-acc2.c", |
| 1211 | "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x20-acc5.c", |
| 1212 | "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x4.c", |
| 1213 | "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x8.c", |
| 1214 | "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x8-acc2.c", |
| 1215 | "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x12.c", |
| 1216 | "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x12-acc2.c", |
| 1217 | "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x12-acc3.c", |
| 1218 | "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x16.c", |
| 1219 | "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x16-acc2.c", |
| 1220 | "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x16-acc4.c", |
| 1221 | "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x20.c", |
| 1222 | "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x20-acc2.c", |
| 1223 | "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x20-acc5.c", |
Marat Dukhan | 4a24a58 | 2020-01-06 13:30:00 -0800 | [diff] [blame] | 1224 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2fma-x4.c", |
| 1225 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2fma-x8.c", |
| 1226 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2fma-x12.c", |
| 1227 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2fma-x16.c", |
| 1228 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2fma-x20.c", |
| 1229 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2fma-x24.c", |
| 1230 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr1recps1fma-x4.c", |
| 1231 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr1recps1fma-x8.c", |
| 1232 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr1recps1fma-x12.c", |
| 1233 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr1recps1fma-x16.c", |
| 1234 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr1recps1fma-x20.c", |
| 1235 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr1recps1fma-x24.c", |
| 1236 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2recps-x4.c", |
| 1237 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2recps-x8.c", |
| 1238 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2recps-x12.c", |
| 1239 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2recps-x16.c", |
| 1240 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2recps-x20.c", |
| 1241 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2recps-x24.c", |
| 1242 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2fma-x4.c", |
| 1243 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2fma-x8.c", |
| 1244 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2fma-x12.c", |
| 1245 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2fma-x16.c", |
| 1246 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2fma-x20.c", |
| 1247 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2fma-x24.c", |
| 1248 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr1recps1fma-x4.c", |
| 1249 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr1recps1fma-x8.c", |
| 1250 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr1recps1fma-x12.c", |
| 1251 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr1recps1fma-x16.c", |
| 1252 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr1recps1fma-x20.c", |
| 1253 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr1recps1fma-x24.c", |
| 1254 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2recps-x4.c", |
| 1255 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2recps-x8.c", |
| 1256 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2recps-x12.c", |
| 1257 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2recps-x16.c", |
| 1258 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2recps-x20.c", |
| 1259 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2recps-x24.c", |
| 1260 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2fma-x4.c", |
| 1261 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2fma-x8.c", |
| 1262 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2fma-x12.c", |
| 1263 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2fma-x16.c", |
| 1264 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2fma-x20.c", |
| 1265 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2fma-x24.c", |
| 1266 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr1recps1fma-x4.c", |
| 1267 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr1recps1fma-x8.c", |
| 1268 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr1recps1fma-x12.c", |
| 1269 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr1recps1fma-x16.c", |
| 1270 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr1recps1fma-x20.c", |
| 1271 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr1recps1fma-x24.c", |
| 1272 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2recps-x4.c", |
| 1273 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2recps-x8.c", |
| 1274 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2recps-x12.c", |
| 1275 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2recps-x16.c", |
| 1276 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2recps-x20.c", |
| 1277 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2recps-x24.c", |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 1278 | "src/f32-vmulcaddc/gen/c4-minmax-neonfma-2x.c", |
| 1279 | "src/f32-vmulcaddc/gen/c8-minmax-neonfma-2x.c", |
Marat Dukhan | f4db2f3 | 2020-06-30 10:55:30 -0700 | [diff] [blame] | 1280 | "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x4.c", |
| 1281 | "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x8.c", |
| 1282 | "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x12.c", |
| 1283 | "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x16.c", |
| 1284 | "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x20.c", |
| 1285 | "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x24.c", |
| 1286 | "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x28.c", |
| 1287 | "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x32.c", |
| 1288 | "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x36.c", |
| 1289 | "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x40.c", |
| 1290 | "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x4.c", |
| 1291 | "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x8.c", |
| 1292 | "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x12.c", |
| 1293 | "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x16.c", |
| 1294 | "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x20.c", |
| 1295 | "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x24.c", |
| 1296 | "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x28.c", |
| 1297 | "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x32.c", |
| 1298 | "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x36.c", |
| 1299 | "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x40.c", |
Marat Dukhan | 797a8fe | 2019-11-14 20:21:57 -0800 | [diff] [blame] | 1300 | "src/math/exp-neonfma-lut64-p2.c", |
| 1301 | "src/math/exp-neonfma-p5.c", |
Marat Dukhan | 189ae80 | 2019-11-26 11:28:44 -0800 | [diff] [blame] | 1302 | "src/math/expminus-neonfma-lut2048-p1.c", |
| 1303 | "src/math/expminus-neonfma-lut64-p2.c", |
Marat Dukhan | 346a9e5 | 2019-11-15 09:06:30 -0800 | [diff] [blame] | 1304 | "src/math/expminus-neonfma-p5.c", |
Marat Dukhan | 77221d3 | 2020-01-06 10:04:39 -0800 | [diff] [blame] | 1305 | "src/math/sigmoid-neonfma-rr1-lut2048-p1-nr1recps1fma.c", |
| 1306 | "src/math/sigmoid-neonfma-rr1-lut2048-p1-nr2fma.c", |
| 1307 | "src/math/sigmoid-neonfma-rr1-lut2048-p1-nr2recps.c", |
| 1308 | "src/math/sigmoid-neonfma-rr1-lut64-p2-nr1recps1fma.c", |
| 1309 | "src/math/sigmoid-neonfma-rr1-lut64-p2-nr2fma.c", |
| 1310 | "src/math/sigmoid-neonfma-rr1-lut64-p2-nr2recps.c", |
| 1311 | "src/math/sigmoid-neonfma-rr1-p5-nr1recps1fma.c", |
| 1312 | "src/math/sigmoid-neonfma-rr1-p5-nr2fma.c", |
| 1313 | "src/math/sigmoid-neonfma-rr1-p5-nr2recps.c", |
| 1314 | "src/math/sigmoid-neonfma-rr2-lut2048-p1-nr1recps1fma.c", |
| 1315 | "src/math/sigmoid-neonfma-rr2-lut2048-p1-nr2fma.c", |
| 1316 | "src/math/sigmoid-neonfma-rr2-lut2048-p1-nr2recps.c", |
| 1317 | "src/math/sigmoid-neonfma-rr2-lut64-p2-nr1recps1fma.c", |
| 1318 | "src/math/sigmoid-neonfma-rr2-lut64-p2-nr2fma.c", |
| 1319 | "src/math/sigmoid-neonfma-rr2-lut64-p2-nr2recps.c", |
| 1320 | "src/math/sigmoid-neonfma-rr2-p5-nr1recps1fma.c", |
| 1321 | "src/math/sigmoid-neonfma-rr2-p5-nr2fma.c", |
| 1322 | "src/math/sigmoid-neonfma-rr2-p5-nr2recps.c", |
Marat Dukhan | 8400076 | 2020-06-29 18:38:43 -0700 | [diff] [blame] | 1323 | "src/math/sqrt-neonfma-nr1fma.c", |
| 1324 | "src/math/sqrt-neonfma-nr2fma.c", |
| 1325 | "src/math/sqrt-neonfma-nr3fma.c", |
| 1326 | "src/math/sqrt-neonfma-nr2fma1adj.c", |
| 1327 | "src/math/sqrt-neonfma-nr1rsqrts1fma1adj.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1328 | ] |
| 1329 | |
| 1330 | AARCH64_NEONFMA_UKERNELS = [ |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 1331 | "src/f32-vbinary/gen/vdiv-minmax-neon-x4.c", |
| 1332 | "src/f32-vbinary/gen/vdiv-minmax-neon-x8.c", |
| 1333 | "src/f32-vbinary/gen/vdivc-minmax-neon-x4.c", |
| 1334 | "src/f32-vbinary/gen/vdivc-minmax-neon-x8.c", |
| 1335 | "src/f32-vbinary/gen/vrdivc-minmax-neon-x4.c", |
| 1336 | "src/f32-vbinary/gen/vrdivc-minmax-neon-x8.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1337 | "src/f32-gemm/gen/1x8-minmax-neonfma-lane-ld64.c", |
| 1338 | "src/f32-gemm/gen/4x2-minmax-neonfma-lane-ld64.c", |
| 1339 | "src/f32-gemm/gen/4x8-minmax-neonfma-lane-ld128.c", |
| 1340 | "src/f32-gemm/gen/4x8-minmax-neonfma-lane-ld64.c", |
| 1341 | "src/f32-gemm/gen/5x8-minmax-neonfma-lane-ld64.c", |
| 1342 | "src/f32-gemm/gen/6x8-minmax-neonfma-lane-ld64.c", |
| 1343 | "src/f32-gemm/gen/6x8-minmax-neonfma-lane-ld128.c", |
| 1344 | "src/f32-gemm/gen-inc/1x8inc-minmax-neonfma-lane-ld64.c", |
| 1345 | "src/f32-gemm/gen-inc/4x8inc-minmax-neonfma-lane-ld128.c", |
| 1346 | "src/f32-gemm/gen-inc/4x8inc-minmax-neonfma-lane-ld64.c", |
| 1347 | "src/f32-gemm/gen-inc/5x8inc-minmax-neonfma-lane-ld64.c", |
| 1348 | "src/f32-gemm/gen-inc/6x8inc-minmax-neonfma-lane-ld64.c", |
| 1349 | "src/f32-gemm/gen-inc/6x8inc-minmax-neonfma-lane-ld128.c", |
| 1350 | "src/f32-igemm/gen/1x8-minmax-neonfma-lane-ld64.c", |
| 1351 | "src/f32-igemm/gen/4x2-minmax-neonfma-lane-ld64.c", |
| 1352 | "src/f32-igemm/gen/4x4-minmax-neonfma-lane-ld64.c", |
| 1353 | "src/f32-igemm/gen/4x8-minmax-neonfma-lane-ld128.c", |
| 1354 | "src/f32-igemm/gen/4x8-minmax-neonfma-lane-ld64.c", |
| 1355 | "src/f32-igemm/gen/6x8-minmax-neonfma-lane-ld64.c", |
| 1356 | "src/f32-igemm/gen/6x8-minmax-neonfma-lane-ld128.c", |
Marat Dukhan | 56b10cd | 2020-05-18 09:35:49 -0700 | [diff] [blame] | 1357 | "src/f32-conv-hwc/gen/3x3s2p0p1c3x4-neonfma-2x1.c", |
| 1358 | "src/f32-conv-hwc/gen/3x3s2p0p1c3x8-neonfma-2x1.c", |
Marat Dukhan | ce7a3f8 | 2020-05-17 21:46:44 -0700 | [diff] [blame] | 1359 | "src/f32-conv-hwc/gen/3x3s2p0p1c3x4-neonfma-2x2.c", |
| 1360 | "src/f32-conv-hwc/gen/3x3s2p0p1c3x8-neonfma-2x2.c", |
Marat Dukhan | 56b10cd | 2020-05-18 09:35:49 -0700 | [diff] [blame] | 1361 | "src/f32-conv-hwc/gen/3x3s2p1c3x4-neonfma-2x1.c", |
| 1362 | "src/f32-conv-hwc/gen/3x3s2p1c3x8-neonfma-2x1.c", |
Marat Dukhan | ce7a3f8 | 2020-05-17 21:46:44 -0700 | [diff] [blame] | 1363 | "src/f32-conv-hwc/gen/3x3s2p1c3x4-neonfma-2x2.c", |
| 1364 | "src/f32-conv-hwc/gen/3x3s2p1c3x8-neonfma-2x2.c", |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 1365 | "src/f32-conv-hwc2chw/3x3s2p1c3x4-neonfma-2x2.c", |
| 1366 | "src/f32-dwconv-chw/3x3p1-neonfma.c", |
| 1367 | "src/f32-dwconv-chw/5x5p2-neonfma.c", |
| 1368 | "src/f32-dwconv-chw/3x3s2p1-neonfma.c", |
| 1369 | "src/f32-dwconv-chw/5x5s2p2-neonfma.c", |
Marat Dukhan | 4a24a58 | 2020-01-06 13:30:00 -0800 | [diff] [blame] | 1370 | "src/f32-sigmoid/gen/neonfma-rr1-p5-div-x4.c", |
| 1371 | "src/f32-sigmoid/gen/neonfma-rr1-p5-div-x8.c", |
| 1372 | "src/f32-sigmoid/gen/neonfma-rr1-p5-div-x12.c", |
| 1373 | "src/f32-sigmoid/gen/neonfma-rr1-p5-div-x16.c", |
| 1374 | "src/f32-sigmoid/gen/neonfma-rr1-p5-div-x20.c", |
| 1375 | "src/f32-sigmoid/gen/neonfma-rr1-p5-div-x24.c", |
| 1376 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-div-x4.c", |
| 1377 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-div-x8.c", |
| 1378 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-div-x12.c", |
| 1379 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-div-x16.c", |
| 1380 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-div-x20.c", |
| 1381 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-div-x24.c", |
| 1382 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-div-x4.c", |
| 1383 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-div-x8.c", |
| 1384 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-div-x12.c", |
| 1385 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-div-x16.c", |
| 1386 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-div-x20.c", |
| 1387 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-div-x24.c", |
Marat Dukhan | 355ab43 | 2020-04-09 19:01:52 -0700 | [diff] [blame] | 1388 | "src/f32-spmm/gen/12x1-minmax-neonfma.c", |
| 1389 | "src/f32-spmm/gen/12x2-minmax-neonfma.c", |
| 1390 | "src/f32-spmm/gen/12x4-minmax-neonfma.c", |
| 1391 | "src/f32-spmm/gen/16x1-minmax-neonfma-pipelined.c", |
| 1392 | "src/f32-spmm/gen/16x1-minmax-neonfma-unroll2.c", |
| 1393 | "src/f32-spmm/gen/16x1-minmax-neonfma.c", |
| 1394 | "src/f32-spmm/gen/16x2-minmax-neonfma.c", |
| 1395 | "src/f32-spmm/gen/16x4-minmax-neonfma.c", |
| 1396 | "src/f32-spmm/gen/4x1-minmax-neonfma-pipelined.c", |
| 1397 | "src/f32-spmm/gen/4x1-minmax-neonfma-unroll2.c", |
| 1398 | "src/f32-spmm/gen/4x1-minmax-neonfma.c", |
| 1399 | "src/f32-spmm/gen/4x2-minmax-neonfma.c", |
| 1400 | "src/f32-spmm/gen/4x4-minmax-neonfma.c", |
| 1401 | "src/f32-spmm/gen/8x1-minmax-neonfma-pipelined.c", |
| 1402 | "src/f32-spmm/gen/8x1-minmax-neonfma-unroll2.c", |
| 1403 | "src/f32-spmm/gen/8x1-minmax-neonfma.c", |
| 1404 | "src/f32-spmm/gen/8x2-minmax-neonfma.c", |
| 1405 | "src/f32-spmm/gen/8x4-minmax-neonfma.c", |
Marat Dukhan | f4db2f3 | 2020-06-30 10:55:30 -0700 | [diff] [blame] | 1406 | "src/f32-vsqrt/gen/neon-sqrt-x4.c", |
| 1407 | "src/f32-vsqrt/gen/neon-sqrt-x8.c", |
Marat Dukhan | 77221d3 | 2020-01-06 10:04:39 -0800 | [diff] [blame] | 1408 | "src/math/sigmoid-neonfma-rr1-lut2048-p1-div.c", |
| 1409 | "src/math/sigmoid-neonfma-rr1-lut64-p2-div.c", |
| 1410 | "src/math/sigmoid-neonfma-rr1-p5-div.c", |
| 1411 | "src/math/sigmoid-neonfma-rr2-lut2048-p1-div.c", |
| 1412 | "src/math/sigmoid-neonfma-rr2-lut64-p2-div.c", |
| 1413 | "src/math/sigmoid-neonfma-rr2-p5-div.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1414 | ] |
| 1415 | |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 1416 | NEONV8_UKERNELS = [ |
Marat Dukhan | eecf8fd | 2020-06-09 08:59:37 -0700 | [diff] [blame] | 1417 | "src/f32-vrnd/gen/vrndne-neonv8-x4.c", |
| 1418 | "src/f32-vrnd/gen/vrndne-neonv8-x8.c", |
| 1419 | "src/f32-vrnd/gen/vrndz-neonv8-x4.c", |
| 1420 | "src/f32-vrnd/gen/vrndz-neonv8-x8.c", |
| 1421 | "src/f32-vrnd/gen/vrndu-neonv8-x4.c", |
| 1422 | "src/f32-vrnd/gen/vrndu-neonv8-x8.c", |
| 1423 | "src/f32-vrnd/gen/vrndd-neonv8-x4.c", |
| 1424 | "src/f32-vrnd/gen/vrndd-neonv8-x8.c", |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 1425 | "src/math/roundne-neonv8.c", |
Marat Dukhan | c9852ba | 2020-05-13 17:21:29 -0700 | [diff] [blame] | 1426 | "src/math/roundd-neonv8.c", |
| 1427 | "src/math/roundu-neonv8.c", |
Marat Dukhan | 2dbb944 | 2020-05-12 20:43:43 -0700 | [diff] [blame] | 1428 | "src/math/roundz-neonv8.c", |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 1429 | ] |
| 1430 | |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1431 | AARCH64_NEONFP16ARITH_UKERNELS = [ |
Frank Barchard | b196659 | 2020-05-12 13:47:06 -0700 | [diff] [blame] | 1432 | "src/f16-clamp/gen/neonfp16arith-x16.c", |
| 1433 | "src/f16-clamp/gen/neonfp16arith-x8.c", |
Frank Barchard | 5a599a6 | 2020-06-04 20:12:44 -0700 | [diff] [blame] | 1434 | "src/f16-dwconv/gen/up16x25-minmax-neonfp16arith-acc2.c", |
| 1435 | "src/f16-dwconv/gen/up16x25-minmax-neonfp16arith.c", |
| 1436 | "src/f16-dwconv/gen/up16x4-minmax-neonfp16arith-acc2.c", |
| 1437 | "src/f16-dwconv/gen/up16x4-minmax-neonfp16arith.c", |
| 1438 | "src/f16-dwconv/gen/up16x9-minmax-neonfp16arith-acc2.c", |
| 1439 | "src/f16-dwconv/gen/up16x9-minmax-neonfp16arith.c", |
| 1440 | "src/f16-dwconv/gen/up8x25-minmax-neonfp16arith-acc2.c", |
| 1441 | "src/f16-dwconv/gen/up8x25-minmax-neonfp16arith.c", |
| 1442 | "src/f16-dwconv/gen/up8x4-minmax-neonfp16arith-acc2.c", |
| 1443 | "src/f16-dwconv/gen/up8x4-minmax-neonfp16arith.c", |
| 1444 | "src/f16-dwconv/gen/up8x9-minmax-neonfp16arith-acc2.c", |
| 1445 | "src/f16-dwconv/gen/up8x9-minmax-neonfp16arith.c", |
Frank Barchard | 0bb49a7 | 2020-06-04 11:35:11 -0700 | [diff] [blame] | 1446 | "src/f16-gavgpool/7p7x-minmax-neonfp16arith-c8.c", |
| 1447 | "src/f16-gavgpool/7x-minmax-neonfp16arith-c8.c", |
Marat Dukhan | efaac27 | 2020-07-16 16:58:07 -0700 | [diff] [blame] | 1448 | "src/f16-hswish/gen/hswish-neonfp16arith-x16.c", |
| 1449 | "src/f16-hswish/gen/hswish-neonfp16arith-x8.c", |
Frank Barchard | b196659 | 2020-05-12 13:47:06 -0700 | [diff] [blame] | 1450 | "src/f16-prelu/gen/neonfp16arith-2x8.c", |
Frank Barchard | a531698 | 2020-07-23 13:19:28 -0700 | [diff] [blame] | 1451 | "src/f16-prelu/gen/neonfp16arith-2x16.c", |
Frank Barchard | fb158e2 | 2020-07-15 16:10:10 -0700 | [diff] [blame] | 1452 | "src/f16-relu/gen/neonfp16arith-x16.c", |
| 1453 | "src/f16-relu/gen/neonfp16arith-x8.c", |
Frank Barchard | d793f6c | 2020-05-08 13:37:43 -0700 | [diff] [blame] | 1454 | "src/f16-vbinary/gen/vaddc-minmax-neonfp16arith-x16.c", |
| 1455 | "src/f16-vbinary/gen/vaddc-minmax-neonfp16arith-x8.c", |
| 1456 | "src/f16-vbinary/gen/vadd-minmax-neonfp16arith-x16.c", |
| 1457 | "src/f16-vbinary/gen/vadd-minmax-neonfp16arith-x8.c", |
| 1458 | "src/f16-vbinary/gen/vdivc-minmax-neonfp16arith-x16.c", |
| 1459 | "src/f16-vbinary/gen/vdivc-minmax-neonfp16arith-x8.c", |
| 1460 | "src/f16-vbinary/gen/vdiv-minmax-neonfp16arith-x16.c", |
| 1461 | "src/f16-vbinary/gen/vdiv-minmax-neonfp16arith-x8.c", |
| 1462 | "src/f16-vbinary/gen/vmaxc-neonfp16arith-x16.c", |
| 1463 | "src/f16-vbinary/gen/vmaxc-neonfp16arith-x8.c", |
| 1464 | "src/f16-vbinary/gen/vmax-neonfp16arith-x16.c", |
| 1465 | "src/f16-vbinary/gen/vmax-neonfp16arith-x8.c", |
| 1466 | "src/f16-vbinary/gen/vminc-neonfp16arith-x16.c", |
| 1467 | "src/f16-vbinary/gen/vminc-neonfp16arith-x8.c", |
| 1468 | "src/f16-vbinary/gen/vmin-neonfp16arith-x16.c", |
| 1469 | "src/f16-vbinary/gen/vmin-neonfp16arith-x8.c", |
| 1470 | "src/f16-vbinary/gen/vmulc-minmax-neonfp16arith-x16.c", |
| 1471 | "src/f16-vbinary/gen/vmulc-minmax-neonfp16arith-x8.c", |
| 1472 | "src/f16-vbinary/gen/vmul-minmax-neonfp16arith-x16.c", |
| 1473 | "src/f16-vbinary/gen/vmul-minmax-neonfp16arith-x8.c", |
| 1474 | "src/f16-vbinary/gen/vrdivc-minmax-neonfp16arith-x16.c", |
| 1475 | "src/f16-vbinary/gen/vrdivc-minmax-neonfp16arith-x8.c", |
| 1476 | "src/f16-vbinary/gen/vrsubc-minmax-neonfp16arith-x16.c", |
| 1477 | "src/f16-vbinary/gen/vrsubc-minmax-neonfp16arith-x8.c", |
| 1478 | "src/f16-vbinary/gen/vsubc-minmax-neonfp16arith-x16.c", |
| 1479 | "src/f16-vbinary/gen/vsubc-minmax-neonfp16arith-x8.c", |
| 1480 | "src/f16-vbinary/gen/vsub-minmax-neonfp16arith-x16.c", |
| 1481 | "src/f16-vbinary/gen/vsub-minmax-neonfp16arith-x8.c", |
Frank Barchard | 2a1049c | 2020-06-03 02:31:27 -0700 | [diff] [blame] | 1482 | "src/f16-vmulcaddc/gen/c16-minmax-neonfp16arith-2x.c", |
| 1483 | "src/f16-vmulcaddc/gen/c8-minmax-neonfp16arith-2x.c", |
Frank Barchard | 83ea939 | 2020-04-20 20:15:14 -0700 | [diff] [blame] | 1484 | "src/f16-gemm/gen/1x8-minmax-neonfp16arith-ld64.c", |
| 1485 | "src/f16-gemm/gen/4x8-minmax-neonfp16arith-ld64.c", |
| 1486 | "src/f16-gemm/gen/6x8-minmax-neonfp16arith-ld64.c", |
| 1487 | "src/f16-gemm/gen/8x8-minmax-neonfp16arith-ld64.c", |
| 1488 | "src/f16-gemm/gen-inc/1x8inc-minmax-neonfp16arith-ld64.c", |
| 1489 | "src/f16-gemm/gen-inc/4x8inc-minmax-neonfp16arith-ld64.c", |
| 1490 | "src/f16-gemm/gen-inc/6x8inc-minmax-neonfp16arith-ld64.c", |
| 1491 | "src/f16-gemm/gen-inc/8x8inc-minmax-neonfp16arith-ld64.c", |
Frank Barchard | b0e4fae | 2020-05-04 15:27:51 -0700 | [diff] [blame] | 1492 | "src/f16-igemm/gen/1x8-minmax-neonfp16arith-ld64.c", |
| 1493 | "src/f16-igemm/gen/4x8-minmax-neonfp16arith-ld64.c", |
| 1494 | "src/f16-igemm/gen/6x8-minmax-neonfp16arith-ld64.c", |
| 1495 | "src/f16-igemm/gen/8x8-minmax-neonfp16arith-ld64.c", |
Frank Barchard | 3f9f99f | 2020-05-06 01:12:04 -0700 | [diff] [blame] | 1496 | "src/f16-gemm/gen/1x16-minmax-neonfp16arith-ld64.c", |
| 1497 | "src/f16-gemm/gen/4x16-minmax-neonfp16arith-ld64.c", |
| 1498 | "src/f16-gemm/gen/6x16-minmax-neonfp16arith-ld64.c", |
| 1499 | "src/f16-gemm/gen/8x16-minmax-neonfp16arith-ld64.c", |
| 1500 | "src/f16-gemm/gen-inc/1x16inc-minmax-neonfp16arith-ld64.c", |
| 1501 | "src/f16-gemm/gen-inc/4x16inc-minmax-neonfp16arith-ld64.c", |
| 1502 | "src/f16-gemm/gen-inc/6x16inc-minmax-neonfp16arith-ld64.c", |
| 1503 | "src/f16-gemm/gen-inc/8x16inc-minmax-neonfp16arith-ld64.c", |
| 1504 | "src/f16-igemm/gen/1x16-minmax-neonfp16arith-ld64.c", |
| 1505 | "src/f16-igemm/gen/4x16-minmax-neonfp16arith-ld64.c", |
| 1506 | "src/f16-igemm/gen/6x16-minmax-neonfp16arith-ld64.c", |
| 1507 | "src/f16-igemm/gen/8x16-minmax-neonfp16arith-ld64.c", |
Marat Dukhan | 355ab43 | 2020-04-09 19:01:52 -0700 | [diff] [blame] | 1508 | "src/f16-spmm/gen/8x1-minmax-neonfp16arith.c", |
| 1509 | "src/f16-spmm/gen/8x1-minmax-neonfp16arith-unroll2.c", |
| 1510 | "src/f16-spmm/gen/16x1-minmax-neonfp16arith.c", |
| 1511 | "src/f16-spmm/gen/16x1-minmax-neonfp16arith-unroll2.c", |
| 1512 | "src/f16-spmm/gen/24x1-minmax-neonfp16arith.c", |
| 1513 | "src/f16-spmm/gen/24x1-minmax-neonfp16arith-unroll2.c", |
| 1514 | "src/f16-spmm/gen/32x1-minmax-neonfp16arith.c", |
| 1515 | "src/f16-spmm/gen/32x1-minmax-neonfp16arith-unroll2.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1516 | ] |
| 1517 | |
| 1518 | SSE_UKERNELS = [ |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 1519 | "src/f32-avgpool/9p8x-minmax-sse-c4.c", |
| 1520 | "src/f32-avgpool/9x-minmax-sse-c4.c", |
Marat Dukhan | 5c5fa96 | 2020-03-10 18:38:33 -0700 | [diff] [blame] | 1521 | "src/f32-clamp/gen/sse-x4.c", |
| 1522 | "src/f32-clamp/gen/sse-x8.c", |
Erich Elsen | b123340 | 2020-06-08 15:53:15 -0700 | [diff] [blame] | 1523 | "src/f32-conv-hwc2chw/3x3s2p1c3x4-sse-1x1.c", |
| 1524 | "src/f32-conv-hwc2chw/3x3s2p1c3x4-sse-2x2.c", |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 1525 | "src/f32-dwconv-chw/3x3p1-sse.c", |
| 1526 | "src/f32-dwconv-chw/3x3s2p1-sse.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1527 | "src/f32-dwconv/gen/up4x25-minmax-sse-acc2.c", |
| 1528 | "src/f32-dwconv/gen/up4x25-minmax-sse.c", |
| 1529 | "src/f32-dwconv/gen/up4x4-minmax-sse-acc2.c", |
| 1530 | "src/f32-dwconv/gen/up4x4-minmax-sse.c", |
| 1531 | "src/f32-dwconv/gen/up4x9-minmax-sse-acc2.c", |
| 1532 | "src/f32-dwconv/gen/up4x9-minmax-sse.c", |
| 1533 | "src/f32-dwconv/gen/up8x25-minmax-sse-acc2.c", |
| 1534 | "src/f32-dwconv/gen/up8x25-minmax-sse.c", |
| 1535 | "src/f32-dwconv/gen/up8x4-minmax-sse-acc2.c", |
| 1536 | "src/f32-dwconv/gen/up8x4-minmax-sse.c", |
| 1537 | "src/f32-dwconv/gen/up8x9-minmax-sse-acc2.c", |
| 1538 | "src/f32-dwconv/gen/up8x9-minmax-sse.c", |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 1539 | "src/f32-gavgpool-cw/sse-x4.c", |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 1540 | "src/f32-gavgpool/7p7x-minmax-sse-c4.c", |
| 1541 | "src/f32-gavgpool/7x-minmax-sse-c4.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1542 | "src/f32-gemm/gen/1x8-minmax-sse-dup.c", |
| 1543 | "src/f32-gemm/gen/1x8-minmax-sse-load1.c", |
| 1544 | "src/f32-gemm/gen/1x8s4-minmax-sse.c", |
| 1545 | "src/f32-gemm/gen/4x2c4-minmax-sse.c", |
| 1546 | "src/f32-gemm/gen/4x8-minmax-sse-dup.c", |
| 1547 | "src/f32-gemm/gen/4x8-minmax-sse-load1.c", |
| 1548 | "src/f32-gemm/gen/4x8s4-minmax-sse.c", |
| 1549 | "src/f32-gemm/gen-inc/1x8inc-minmax-sse-dup.c", |
| 1550 | "src/f32-gemm/gen-inc/1x8inc-minmax-sse-load1.c", |
| 1551 | "src/f32-gemm/gen-inc/1x8s4inc-minmax-sse.c", |
| 1552 | "src/f32-gemm/gen-inc/4x8inc-minmax-sse-dup.c", |
| 1553 | "src/f32-gemm/gen-inc/4x8inc-minmax-sse-load1.c", |
| 1554 | "src/f32-gemm/gen-inc/4x8s4inc-minmax-sse.c", |
Marat Dukhan | efaac27 | 2020-07-16 16:58:07 -0700 | [diff] [blame] | 1555 | "src/f32-hswish/gen/hswish-sse-x4.c", |
| 1556 | "src/f32-hswish/gen/hswish-sse-x8.c", |
Marat Dukhan | 660fd19 | 2020-03-10 04:55:30 -0700 | [diff] [blame] | 1557 | "src/f32-ibilinear/gen/sse-c4.c", |
| 1558 | "src/f32-ibilinear/gen/sse-c8.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1559 | "src/f32-igemm/gen/1x8-minmax-sse-dup.c", |
| 1560 | "src/f32-igemm/gen/1x8-minmax-sse-load1.c", |
| 1561 | "src/f32-igemm/gen/1x8s4-minmax-sse.c", |
| 1562 | "src/f32-igemm/gen/4x2c4-minmax-sse.c", |
| 1563 | "src/f32-igemm/gen/4x8-minmax-sse-dup.c", |
| 1564 | "src/f32-igemm/gen/4x8-minmax-sse-load1.c", |
| 1565 | "src/f32-igemm/gen/4x8s4-minmax-sse.c", |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 1566 | "src/f32-maxpool/9p8x-minmax-sse-c4.c", |
| 1567 | "src/f32-pavgpool/9p8x-minmax-sse-c4.c", |
| 1568 | "src/f32-pavgpool/9x-minmax-sse-c4.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1569 | "src/f32-ppmm/gen/4x8-minmax-sse.c", |
Marat Dukhan | 39b5e94 | 2020-06-24 15:03:48 -0700 | [diff] [blame] | 1570 | "src/f32-prelu/gen/sse-2x4.c", |
| 1571 | "src/f32-prelu/gen/sse-2x8.c", |
Frank Barchard | fb158e2 | 2020-07-15 16:10:10 -0700 | [diff] [blame] | 1572 | "src/f32-relu/gen/sse-x4.c", |
| 1573 | "src/f32-relu/gen/sse-x8.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1574 | "src/f32-rmax/sse.c", |
Marat Dukhan | 355ab43 | 2020-04-09 19:01:52 -0700 | [diff] [blame] | 1575 | "src/f32-spmm/gen/4x1-minmax-sse.c", |
| 1576 | "src/f32-spmm/gen/8x1-minmax-sse.c", |
Erich Elsen | 6e80fdc | 2020-06-09 15:35:37 -0700 | [diff] [blame] | 1577 | "src/f32-spmm/gen/16x1-minmax-sse.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 1578 | "src/f32-vbinary/gen/vadd-minmax-sse-x4.c", |
| 1579 | "src/f32-vbinary/gen/vadd-minmax-sse-x8.c", |
| 1580 | "src/f32-vbinary/gen/vaddc-minmax-sse-x4.c", |
| 1581 | "src/f32-vbinary/gen/vaddc-minmax-sse-x8.c", |
| 1582 | "src/f32-vbinary/gen/vdiv-minmax-sse-x4.c", |
| 1583 | "src/f32-vbinary/gen/vdiv-minmax-sse-x8.c", |
| 1584 | "src/f32-vbinary/gen/vdivc-minmax-sse-x4.c", |
| 1585 | "src/f32-vbinary/gen/vdivc-minmax-sse-x8.c", |
Marat Dukhan | 403b7d4 | 2019-12-05 12:49:11 -0800 | [diff] [blame] | 1586 | "src/f32-vbinary/gen/vmax-sse-x4.c", |
| 1587 | "src/f32-vbinary/gen/vmax-sse-x8.c", |
| 1588 | "src/f32-vbinary/gen/vmaxc-sse-x4.c", |
| 1589 | "src/f32-vbinary/gen/vmaxc-sse-x8.c", |
| 1590 | "src/f32-vbinary/gen/vmin-sse-x4.c", |
| 1591 | "src/f32-vbinary/gen/vmin-sse-x8.c", |
| 1592 | "src/f32-vbinary/gen/vminc-sse-x4.c", |
| 1593 | "src/f32-vbinary/gen/vminc-sse-x8.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 1594 | "src/f32-vbinary/gen/vmul-minmax-sse-x4.c", |
| 1595 | "src/f32-vbinary/gen/vmul-minmax-sse-x8.c", |
| 1596 | "src/f32-vbinary/gen/vmulc-minmax-sse-x4.c", |
| 1597 | "src/f32-vbinary/gen/vmulc-minmax-sse-x8.c", |
| 1598 | "src/f32-vbinary/gen/vrdivc-minmax-sse-x4.c", |
| 1599 | "src/f32-vbinary/gen/vrdivc-minmax-sse-x8.c", |
| 1600 | "src/f32-vbinary/gen/vrsubc-minmax-sse-x4.c", |
| 1601 | "src/f32-vbinary/gen/vrsubc-minmax-sse-x8.c", |
Marat Dukhan | 13bafb0 | 2020-06-05 00:43:11 -0700 | [diff] [blame] | 1602 | "src/f32-vbinary/gen/vsqrdiff-sse-x4.c", |
| 1603 | "src/f32-vbinary/gen/vsqrdiff-sse-x8.c", |
| 1604 | "src/f32-vbinary/gen/vsqrdiffc-sse-x4.c", |
| 1605 | "src/f32-vbinary/gen/vsqrdiffc-sse-x8.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 1606 | "src/f32-vbinary/gen/vsub-minmax-sse-x4.c", |
| 1607 | "src/f32-vbinary/gen/vsub-minmax-sse-x8.c", |
| 1608 | "src/f32-vbinary/gen/vsubc-minmax-sse-x4.c", |
| 1609 | "src/f32-vbinary/gen/vsubc-minmax-sse-x8.c", |
Marat Dukhan | 19dd91d | 2020-07-16 11:12:44 -0700 | [diff] [blame] | 1610 | "src/f32-vlrelu/gen/vlrelu-sse-x4.c", |
| 1611 | "src/f32-vlrelu/gen/vlrelu-sse-x8.c", |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 1612 | "src/f32-vmulcaddc/gen/c4-minmax-sse-2x.c", |
| 1613 | "src/f32-vmulcaddc/gen/c8-minmax-sse-2x.c", |
Marat Dukhan | f4db2f3 | 2020-06-30 10:55:30 -0700 | [diff] [blame] | 1614 | "src/f32-vsqrt/gen/sse-sqrt-x4.c", |
| 1615 | "src/f32-vsqrt/gen/sse-sqrt-x8.c", |
Marat Dukhan | 5020b96 | 2020-06-08 13:30:10 -0700 | [diff] [blame] | 1616 | "src/f32-vunary/gen/vabs-sse-x4.c", |
| 1617 | "src/f32-vunary/gen/vabs-sse-x8.c", |
| 1618 | "src/f32-vunary/gen/vneg-sse-x4.c", |
| 1619 | "src/f32-vunary/gen/vneg-sse-x8.c", |
| 1620 | "src/f32-vunary/gen/vsqr-sse-x4.c", |
| 1621 | "src/f32-vunary/gen/vsqr-sse-x8.c", |
Marat Dukhan | 3bb3bfc | 2020-05-19 17:42:46 -0700 | [diff] [blame] | 1622 | "src/x32-fill/sse.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1623 | "src/x32-packx/x4-sse.c", |
Marat Dukhan | 63523d4 | 2020-05-22 17:07:33 -0700 | [diff] [blame] | 1624 | "src/x32-pad/sse.c", |
Marat Dukhan | 075088a | 2020-05-12 19:42:12 -0700 | [diff] [blame] | 1625 | "src/math/roundne-sse-addsub.c", |
Marat Dukhan | c9852ba | 2020-05-13 17:21:29 -0700 | [diff] [blame] | 1626 | "src/math/roundd-sse-addsub.c", |
| 1627 | "src/math/roundu-sse-addsub.c", |
Marat Dukhan | 2dbb944 | 2020-05-12 20:43:43 -0700 | [diff] [blame] | 1628 | "src/math/roundz-sse-addsub.c", |
Marat Dukhan | 8400076 | 2020-06-29 18:38:43 -0700 | [diff] [blame] | 1629 | "src/math/sqrt-sse-hh1mac.c", |
| 1630 | "src/math/sqrt-sse-nr1mac.c", |
| 1631 | "src/math/sqrt-sse-nr2mac.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1632 | ] |
| 1633 | |
| 1634 | SSE2_UKERNELS = [ |
Marat Dukhan | 329da64 | 2019-11-19 21:44:39 -0800 | [diff] [blame] | 1635 | "src/f32-argmaxpool/9p8x-sse2-c4.c", |
| 1636 | "src/f32-argmaxpool/4x-sse2-c4.c", |
| 1637 | "src/f32-argmaxpool/9x-sse2-c4.c", |
Marat Dukhan | 40a672f | 2019-11-25 03:08:22 -0800 | [diff] [blame] | 1638 | "src/f32-prelu/gen/sse2-2x4.c", |
| 1639 | "src/f32-prelu/gen/sse2-2x8.c", |
Marat Dukhan | b39689d | 2020-01-24 13:32:20 -0800 | [diff] [blame] | 1640 | "src/f32-raddstoreexpminusmax/gen/sse2-p5-x4.c", |
| 1641 | "src/f32-raddstoreexpminusmax/gen/sse2-p5-x8.c", |
| 1642 | "src/f32-raddstoreexpminusmax/gen/sse2-p5-x8-acc2.c", |
| 1643 | "src/f32-raddstoreexpminusmax/gen/sse2-p5-x12.c", |
| 1644 | "src/f32-raddstoreexpminusmax/gen/sse2-p5-x12-acc2.c", |
| 1645 | "src/f32-raddstoreexpminusmax/gen/sse2-p5-x12-acc3.c", |
| 1646 | "src/f32-raddstoreexpminusmax/gen/sse2-p5-x16.c", |
| 1647 | "src/f32-raddstoreexpminusmax/gen/sse2-p5-x16-acc2.c", |
| 1648 | "src/f32-raddstoreexpminusmax/gen/sse2-p5-x16-acc4.c", |
| 1649 | "src/f32-raddstoreexpminusmax/gen/sse2-p5-x20.c", |
| 1650 | "src/f32-raddstoreexpminusmax/gen/sse2-p5-x20-acc2.c", |
| 1651 | "src/f32-raddstoreexpminusmax/gen/sse2-p5-x20-acc5.c", |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 1652 | "src/f32-sigmoid/gen/sse2-p5-div-x4.c", |
Marat Dukhan | 40a672f | 2019-11-25 03:08:22 -0800 | [diff] [blame] | 1653 | "src/f32-sigmoid/gen/sse2-p5-div-x8.c", |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 1654 | "src/f32-sigmoid/gen/sse2-p5-div-x12.c", |
Marat Dukhan | 40a672f | 2019-11-25 03:08:22 -0800 | [diff] [blame] | 1655 | "src/f32-sigmoid/gen/sse2-p5-div-x16.c", |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 1656 | "src/f32-sigmoid/gen/sse2-p5-div-x20.c", |
| 1657 | "src/f32-sigmoid/gen/sse2-p5-div-x24.c", |
Marat Dukhan | 19dd91d | 2020-07-16 11:12:44 -0700 | [diff] [blame] | 1658 | "src/f32-vlrelu/gen/vlrelu-sse2-x4.c", |
| 1659 | "src/f32-vlrelu/gen/vlrelu-sse2-x8.c", |
Marat Dukhan | eecf8fd | 2020-06-09 08:59:37 -0700 | [diff] [blame] | 1660 | "src/f32-vrnd/gen/vrndne-sse2-x4.c", |
| 1661 | "src/f32-vrnd/gen/vrndne-sse2-x8.c", |
| 1662 | "src/f32-vrnd/gen/vrndz-sse2-x4.c", |
| 1663 | "src/f32-vrnd/gen/vrndz-sse2-x8.c", |
| 1664 | "src/f32-vrnd/gen/vrndu-sse2-x4.c", |
| 1665 | "src/f32-vrnd/gen/vrndu-sse2-x8.c", |
| 1666 | "src/f32-vrnd/gen/vrndd-sse2-x4.c", |
| 1667 | "src/f32-vrnd/gen/vrndd-sse2-x8.c", |
Marat Dukhan | f62bbdc | 2020-08-04 13:59:04 -0700 | [diff] [blame] | 1668 | "src/qs8-dwconv/gen/up8x9-minmax-sse2-mul16.c", |
| 1669 | "src/qs8-dwconv/gen/up16x9-minmax-sse2-mul16.c", |
| 1670 | "src/qs8-dwconv/gen/up24x9-minmax-sse2-mul16.c", |
Marat Dukhan | 4ed53f4 | 2020-08-06 01:12:55 -0700 | [diff] [blame^] | 1671 | "src/qs8-gavgpool/gen/7x-minmax-sse2-c8-acc2.c", |
| 1672 | "src/qs8-gavgpool/gen/7x-minmax-sse2-c16-acc2.c", |
| 1673 | "src/qs8-gavgpool/gen/7x-minmax-sse2-c24-acc2.c", |
Marat Dukhan | 14d3ce8 | 2020-07-31 16:19:15 -0700 | [diff] [blame] | 1674 | "src/qs8-gemm/gen/1x4c2-minmax-sse2-ld64.c", |
| 1675 | "src/qs8-gemm/gen/4x4c2-minmax-sse2-ld64.c", |
Marat Dukhan | dee732b | 2020-07-31 17:32:04 -0700 | [diff] [blame] | 1676 | "src/qs8-gemm/gen/1x4c2-minmax-sse2-ld128.c", |
| 1677 | "src/qs8-gemm/gen/4x4c2-minmax-sse2-ld128.c", |
Marat Dukhan | 683fab3 | 2020-08-03 19:42:52 -0700 | [diff] [blame] | 1678 | "src/qs8-gemm/gen/1x4c2-xw-minmax-sse2.c", |
| 1679 | "src/qs8-gemm/gen/4x4c2-xw-minmax-sse2.c", |
Marat Dukhan | 14d3ce8 | 2020-07-31 16:19:15 -0700 | [diff] [blame] | 1680 | "src/qs8-gemm/gen/1x4c8-minmax-sse2-ld64.c", |
| 1681 | "src/qs8-gemm/gen/2x4c8-minmax-sse2-ld64.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1682 | "src/qs8-gemm/gen/3x4c8-minmax-sse2-ld64.c", |
Marat Dukhan | dee732b | 2020-07-31 17:32:04 -0700 | [diff] [blame] | 1683 | "src/qs8-gemm/gen/1x4c8-minmax-sse2-ld128.c", |
| 1684 | "src/qs8-gemm/gen/2x4c8-minmax-sse2-ld128.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1685 | "src/qs8-gemm/gen/3x4c8-minmax-sse2-ld128.c", |
Marat Dukhan | 683fab3 | 2020-08-03 19:42:52 -0700 | [diff] [blame] | 1686 | "src/qs8-gemm/gen/1x4c8-xw-minmax-sse2.c", |
| 1687 | "src/qs8-gemm/gen/2x4c8-xw-minmax-sse2.c", |
| 1688 | "src/qs8-gemm/gen/3x4c8-xw-minmax-sse2.c", |
Marat Dukhan | 14d3ce8 | 2020-07-31 16:19:15 -0700 | [diff] [blame] | 1689 | "src/qs8-igemm/gen/1x4c2-minmax-sse2-ld64.c", |
| 1690 | "src/qs8-igemm/gen/4x4c2-minmax-sse2-ld64.c", |
Marat Dukhan | dee732b | 2020-07-31 17:32:04 -0700 | [diff] [blame] | 1691 | "src/qs8-igemm/gen/1x4c2-minmax-sse2-ld128.c", |
| 1692 | "src/qs8-igemm/gen/4x4c2-minmax-sse2-ld128.c", |
Marat Dukhan | 07bd252 | 2020-07-31 19:12:39 -0700 | [diff] [blame] | 1693 | "src/qs8-igemm/gen/1x4c8-minmax-sse2-ld64.c", |
| 1694 | "src/qs8-igemm/gen/2x4c8-minmax-sse2-ld64.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1695 | "src/qs8-igemm/gen/3x4c8-minmax-sse2-ld64.c", |
Marat Dukhan | 07bd252 | 2020-07-31 19:12:39 -0700 | [diff] [blame] | 1696 | "src/qs8-igemm/gen/1x4c8-minmax-sse2-ld128.c", |
| 1697 | "src/qs8-igemm/gen/2x4c8-minmax-sse2-ld128.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1698 | "src/qs8-igemm/gen/3x4c8-minmax-sse2-ld128.c", |
Marat Dukhan | f62bbdc | 2020-08-04 13:59:04 -0700 | [diff] [blame] | 1699 | "src/qs8-requantization/precise-sse2.c", |
| 1700 | "src/qs8-requantization/fp32-sse2.c", |
| 1701 | "src/qs8-requantization/q31-sse2.c", |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 1702 | "src/qu8-avgpool/9p8x-minmax-sse2-c8.c", |
| 1703 | "src/qu8-avgpool/9x-minmax-sse2-c8.c", |
| 1704 | "src/qu8-igemm/4x4c2-minmax-sse2.c", |
| 1705 | "src/qu8-dwconv/up8x9-minmax-sse2.c", |
| 1706 | "src/qu8-gavgpool/7p7x-minmax-sse2-c8.c", |
| 1707 | "src/qu8-gavgpool/7x-minmax-sse2-c8.c", |
| 1708 | "src/qu8-gemm/2x4c8-minmax-sse2.c", |
| 1709 | "src/qu8-gemm/4x4c2-minmax-sse2.c", |
Marat Dukhan | 5b69f8b | 2020-07-24 15:26:48 -0700 | [diff] [blame] | 1710 | "src/qu8-requantization/precise-sse2.c", |
| 1711 | "src/qu8-requantization/fp32-sse2.c", |
| 1712 | "src/qu8-requantization/q31-sse2.c", |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 1713 | "src/qu8-vadd/minmax-sse2.c", |
Marat Dukhan | 5c5fa96 | 2020-03-10 18:38:33 -0700 | [diff] [blame] | 1714 | "src/u8-clamp/sse2-x64.c", |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 1715 | "src/u8-maxpool/9p8x-minmax-sse2-c16.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1716 | "src/u8-rmax/sse2.c", |
Marat Dukhan | 57dccd8 | 2020-04-14 00:53:10 -0700 | [diff] [blame] | 1717 | "src/x32-unpool/sse2.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1718 | "src/x32-zip/x2-sse2.c", |
| 1719 | "src/x32-zip/x3-sse2.c", |
| 1720 | "src/x32-zip/x4-sse2.c", |
| 1721 | "src/x32-zip/xm-sse2.c", |
| 1722 | "src/x8-zip/x2-sse2.c", |
| 1723 | "src/x8-zip/x3-sse2.c", |
| 1724 | "src/x8-zip/x4-sse2.c", |
| 1725 | "src/x8-zip/xm-sse2.c", |
Marat Dukhan | ffd6840 | 2019-11-15 15:19:11 -0800 | [diff] [blame] | 1726 | "src/math/exp-sse2-p5.c", |
| 1727 | "src/math/expminus-sse2-p5.c", |
Marat Dukhan | 075088a | 2020-05-12 19:42:12 -0700 | [diff] [blame] | 1728 | "src/math/roundne-sse2-cvt.c", |
Marat Dukhan | c9852ba | 2020-05-13 17:21:29 -0700 | [diff] [blame] | 1729 | "src/math/roundd-sse2-cvt.c", |
| 1730 | "src/math/roundu-sse2-cvt.c", |
Marat Dukhan | 2dbb944 | 2020-05-12 20:43:43 -0700 | [diff] [blame] | 1731 | "src/math/roundz-sse2-cvt.c", |
Marat Dukhan | 80bafd2 | 2019-11-18 10:16:01 -0800 | [diff] [blame] | 1732 | "src/math/sigmoid-sse2-p5-div.c", |
Marat Dukhan | fe7acb6 | 2020-03-09 19:30:05 -0700 | [diff] [blame] | 1733 | ] |
| 1734 | |
| 1735 | SSSE3_UKERNELS = [ |
Marat Dukhan | f62bbdc | 2020-08-04 13:59:04 -0700 | [diff] [blame] | 1736 | "src/qs8-dwconv/gen/up8x9-minmax-ssse3-mul16.c", |
| 1737 | "src/qs8-dwconv/gen/up16x9-minmax-ssse3-mul16.c", |
| 1738 | "src/qs8-dwconv/gen/up24x9-minmax-ssse3-mul16.c", |
Marat Dukhan | 4ed53f4 | 2020-08-06 01:12:55 -0700 | [diff] [blame^] | 1739 | "src/qs8-gavgpool/gen/7x-minmax-ssse3-c8-acc2.c", |
| 1740 | "src/qs8-gavgpool/gen/7x-minmax-ssse3-c16-acc2.c", |
| 1741 | "src/qs8-gavgpool/gen/7x-minmax-ssse3-c24-acc2.c", |
Marat Dukhan | 14d3ce8 | 2020-07-31 16:19:15 -0700 | [diff] [blame] | 1742 | "src/qs8-gemm/gen/1x4c2-minmax-ssse3-ld64.c", |
| 1743 | "src/qs8-gemm/gen/4x4c2-minmax-ssse3-ld64.c", |
Marat Dukhan | dee732b | 2020-07-31 17:32:04 -0700 | [diff] [blame] | 1744 | "src/qs8-gemm/gen/1x4c2-minmax-ssse3-ld128.c", |
| 1745 | "src/qs8-gemm/gen/4x4c2-minmax-ssse3-ld128.c", |
Marat Dukhan | 683fab3 | 2020-08-03 19:42:52 -0700 | [diff] [blame] | 1746 | "src/qs8-gemm/gen/1x4c2-xw-minmax-ssse3.c", |
| 1747 | "src/qs8-gemm/gen/4x4c2-xw-minmax-ssse3.c", |
Marat Dukhan | 14d3ce8 | 2020-07-31 16:19:15 -0700 | [diff] [blame] | 1748 | "src/qs8-gemm/gen/1x4c8-minmax-ssse3-ld64.c", |
| 1749 | "src/qs8-gemm/gen/2x4c8-minmax-ssse3-ld64.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1750 | "src/qs8-gemm/gen/3x4c8-minmax-ssse3-ld64.c", |
Marat Dukhan | dee732b | 2020-07-31 17:32:04 -0700 | [diff] [blame] | 1751 | "src/qs8-gemm/gen/1x4c8-minmax-ssse3-ld128.c", |
| 1752 | "src/qs8-gemm/gen/2x4c8-minmax-ssse3-ld128.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1753 | "src/qs8-gemm/gen/3x4c8-minmax-ssse3-ld128.c", |
Marat Dukhan | 683fab3 | 2020-08-03 19:42:52 -0700 | [diff] [blame] | 1754 | "src/qs8-gemm/gen/1x4c8-xw-minmax-ssse3.c", |
| 1755 | "src/qs8-gemm/gen/2x4c8-xw-minmax-ssse3.c", |
| 1756 | "src/qs8-gemm/gen/3x4c8-xw-minmax-ssse3.c", |
Marat Dukhan | 14d3ce8 | 2020-07-31 16:19:15 -0700 | [diff] [blame] | 1757 | "src/qs8-igemm/gen/1x4c2-minmax-ssse3-ld64.c", |
| 1758 | "src/qs8-igemm/gen/4x4c2-minmax-ssse3-ld64.c", |
Marat Dukhan | dee732b | 2020-07-31 17:32:04 -0700 | [diff] [blame] | 1759 | "src/qs8-igemm/gen/1x4c2-minmax-ssse3-ld128.c", |
| 1760 | "src/qs8-igemm/gen/4x4c2-minmax-ssse3-ld128.c", |
Marat Dukhan | 07bd252 | 2020-07-31 19:12:39 -0700 | [diff] [blame] | 1761 | "src/qs8-igemm/gen/1x4c8-minmax-ssse3-ld64.c", |
| 1762 | "src/qs8-igemm/gen/2x4c8-minmax-ssse3-ld64.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1763 | "src/qs8-igemm/gen/3x4c8-minmax-ssse3-ld64.c", |
Marat Dukhan | 07bd252 | 2020-07-31 19:12:39 -0700 | [diff] [blame] | 1764 | "src/qs8-igemm/gen/1x4c8-minmax-ssse3-ld128.c", |
| 1765 | "src/qs8-igemm/gen/2x4c8-minmax-ssse3-ld128.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1766 | "src/qs8-igemm/gen/3x4c8-minmax-ssse3-ld128.c", |
Marat Dukhan | 2e23d2b | 2020-07-29 16:01:37 -0700 | [diff] [blame] | 1767 | "src/qs8-requantization/precise-ssse3.c", |
| 1768 | "src/qs8-requantization/q31-ssse3.c", |
Marat Dukhan | 5b69f8b | 2020-07-24 15:26:48 -0700 | [diff] [blame] | 1769 | "src/qu8-requantization/precise-ssse3.c", |
| 1770 | "src/qu8-requantization/q31-ssse3.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1771 | ] |
| 1772 | |
Marat Dukhan | 69c3f2c | 2019-11-06 12:30:01 -0800 | [diff] [blame] | 1773 | SSE41_UKERNELS = [ |
Marat Dukhan | 40a672f | 2019-11-25 03:08:22 -0800 | [diff] [blame] | 1774 | "src/f32-prelu/gen/sse41-2x4.c", |
| 1775 | "src/f32-prelu/gen/sse41-2x8.c", |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 1776 | "src/f32-sigmoid/gen/sse41-p5-div-x4.c", |
Marat Dukhan | 40a672f | 2019-11-25 03:08:22 -0800 | [diff] [blame] | 1777 | "src/f32-sigmoid/gen/sse41-p5-div-x8.c", |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 1778 | "src/f32-sigmoid/gen/sse41-p5-div-x12.c", |
Marat Dukhan | 40a672f | 2019-11-25 03:08:22 -0800 | [diff] [blame] | 1779 | "src/f32-sigmoid/gen/sse41-p5-div-x16.c", |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 1780 | "src/f32-sigmoid/gen/sse41-p5-div-x20.c", |
| 1781 | "src/f32-sigmoid/gen/sse41-p5-div-x24.c", |
Marat Dukhan | 19dd91d | 2020-07-16 11:12:44 -0700 | [diff] [blame] | 1782 | "src/f32-vlrelu/gen/vlrelu-sse41-x4.c", |
| 1783 | "src/f32-vlrelu/gen/vlrelu-sse41-x8.c", |
Marat Dukhan | eecf8fd | 2020-06-09 08:59:37 -0700 | [diff] [blame] | 1784 | "src/f32-vrnd/gen/vrndne-sse41-x4.c", |
| 1785 | "src/f32-vrnd/gen/vrndne-sse41-x8.c", |
| 1786 | "src/f32-vrnd/gen/vrndz-sse41-x4.c", |
| 1787 | "src/f32-vrnd/gen/vrndz-sse41-x8.c", |
| 1788 | "src/f32-vrnd/gen/vrndu-sse41-x4.c", |
| 1789 | "src/f32-vrnd/gen/vrndu-sse41-x8.c", |
| 1790 | "src/f32-vrnd/gen/vrndd-sse41-x4.c", |
| 1791 | "src/f32-vrnd/gen/vrndd-sse41-x8.c", |
Marat Dukhan | f62bbdc | 2020-08-04 13:59:04 -0700 | [diff] [blame] | 1792 | "src/qs8-dwconv/gen/up8x9-minmax-sse41-mul16.c", |
| 1793 | "src/qs8-dwconv/gen/up16x9-minmax-sse41-mul16.c", |
| 1794 | "src/qs8-dwconv/gen/up24x9-minmax-sse41-mul16.c", |
Marat Dukhan | 4ed53f4 | 2020-08-06 01:12:55 -0700 | [diff] [blame^] | 1795 | "src/qs8-gavgpool/gen/7x-minmax-sse41-c8-acc2.c", |
| 1796 | "src/qs8-gavgpool/gen/7x-minmax-sse41-c16-acc2.c", |
| 1797 | "src/qs8-gavgpool/gen/7x-minmax-sse41-c24-acc2.c", |
Marat Dukhan | 14d3ce8 | 2020-07-31 16:19:15 -0700 | [diff] [blame] | 1798 | "src/qs8-gemm/gen/1x4c2-minmax-sse41-ld64.c", |
| 1799 | "src/qs8-gemm/gen/4x4c2-minmax-sse41-ld64.c", |
Marat Dukhan | dee732b | 2020-07-31 17:32:04 -0700 | [diff] [blame] | 1800 | "src/qs8-gemm/gen/1x4c2-minmax-sse41-ld128.c", |
| 1801 | "src/qs8-gemm/gen/4x4c2-minmax-sse41-ld128.c", |
Marat Dukhan | 683fab3 | 2020-08-03 19:42:52 -0700 | [diff] [blame] | 1802 | "src/qs8-gemm/gen/1x4c2-xw-minmax-sse41.c", |
| 1803 | "src/qs8-gemm/gen/4x4c2-xw-minmax-sse41.c", |
Marat Dukhan | 14d3ce8 | 2020-07-31 16:19:15 -0700 | [diff] [blame] | 1804 | "src/qs8-gemm/gen/1x4c8-minmax-sse41-ld64.c", |
| 1805 | "src/qs8-gemm/gen/2x4c8-minmax-sse41-ld64.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1806 | "src/qs8-gemm/gen/3x4c8-minmax-sse41-ld64.c", |
Marat Dukhan | dee732b | 2020-07-31 17:32:04 -0700 | [diff] [blame] | 1807 | "src/qs8-gemm/gen/1x4c8-minmax-sse41-ld128.c", |
| 1808 | "src/qs8-gemm/gen/2x4c8-minmax-sse41-ld128.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1809 | "src/qs8-gemm/gen/3x4c8-minmax-sse41-ld128.c", |
Marat Dukhan | 683fab3 | 2020-08-03 19:42:52 -0700 | [diff] [blame] | 1810 | "src/qs8-gemm/gen/1x4c8-xw-minmax-sse41.c", |
| 1811 | "src/qs8-gemm/gen/2x4c8-xw-minmax-sse41.c", |
| 1812 | "src/qs8-gemm/gen/3x4c8-xw-minmax-sse41.c", |
Marat Dukhan | 14d3ce8 | 2020-07-31 16:19:15 -0700 | [diff] [blame] | 1813 | "src/qs8-igemm/gen/1x4c2-minmax-sse41-ld64.c", |
| 1814 | "src/qs8-igemm/gen/4x4c2-minmax-sse41-ld64.c", |
Marat Dukhan | dee732b | 2020-07-31 17:32:04 -0700 | [diff] [blame] | 1815 | "src/qs8-igemm/gen/1x4c2-minmax-sse41-ld128.c", |
| 1816 | "src/qs8-igemm/gen/4x4c2-minmax-sse41-ld128.c", |
Marat Dukhan | 07bd252 | 2020-07-31 19:12:39 -0700 | [diff] [blame] | 1817 | "src/qs8-igemm/gen/1x4c8-minmax-sse41-ld64.c", |
| 1818 | "src/qs8-igemm/gen/2x4c8-minmax-sse41-ld64.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1819 | "src/qs8-igemm/gen/3x4c8-minmax-sse41-ld64.c", |
Marat Dukhan | 07bd252 | 2020-07-31 19:12:39 -0700 | [diff] [blame] | 1820 | "src/qs8-igemm/gen/1x4c8-minmax-sse41-ld128.c", |
| 1821 | "src/qs8-igemm/gen/2x4c8-minmax-sse41-ld128.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1822 | "src/qs8-igemm/gen/3x4c8-minmax-sse41-ld128.c", |
Marat Dukhan | 2e23d2b | 2020-07-29 16:01:37 -0700 | [diff] [blame] | 1823 | "src/qs8-requantization/fp32-sse4.c", |
| 1824 | "src/qs8-requantization/precise-sse4.c", |
| 1825 | "src/qs8-requantization/q31-sse4.c", |
Marat Dukhan | 5b69f8b | 2020-07-24 15:26:48 -0700 | [diff] [blame] | 1826 | "src/qu8-requantization/precise-sse4.c", |
| 1827 | "src/qu8-requantization/q31-sse4.c", |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 1828 | "src/math/roundne-sse41.c", |
Marat Dukhan | c9852ba | 2020-05-13 17:21:29 -0700 | [diff] [blame] | 1829 | "src/math/roundd-sse41.c", |
| 1830 | "src/math/roundu-sse41.c", |
Marat Dukhan | 2dbb944 | 2020-05-12 20:43:43 -0700 | [diff] [blame] | 1831 | "src/math/roundz-sse41.c", |
Marat Dukhan | 69c3f2c | 2019-11-06 12:30:01 -0800 | [diff] [blame] | 1832 | ] |
| 1833 | |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1834 | AVX_UKERNELS = [ |
Marat Dukhan | 5c5fa96 | 2020-03-10 18:38:33 -0700 | [diff] [blame] | 1835 | "src/f32-clamp/gen/avx-x8.c", |
| 1836 | "src/f32-clamp/gen/avx-x16.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1837 | "src/f32-dwconv/gen/up16x4-minmax-avx-acc2.c", |
| 1838 | "src/f32-dwconv/gen/up16x4-minmax-avx.c", |
| 1839 | "src/f32-dwconv/gen/up8x4-minmax-avx-acc2.c", |
| 1840 | "src/f32-dwconv/gen/up8x4-minmax-avx.c", |
| 1841 | "src/f32-dwconv/gen/up16x9-minmax-avx-acc2.c", |
| 1842 | "src/f32-dwconv/gen/up16x9-minmax-avx.c", |
| 1843 | "src/f32-dwconv/gen/up8x9-minmax-avx-acc2.c", |
| 1844 | "src/f32-dwconv/gen/up8x9-minmax-avx.c", |
| 1845 | "src/f32-dwconv/gen/up16x25-minmax-avx-acc2.c", |
| 1846 | "src/f32-dwconv/gen/up16x25-minmax-avx.c", |
| 1847 | "src/f32-dwconv/gen/up8x25-minmax-avx-acc2.c", |
| 1848 | "src/f32-dwconv/gen/up8x25-minmax-avx.c", |
| 1849 | "src/f32-gemm/gen/1x8-minmax-avx-broadcast.c", |
| 1850 | "src/f32-gemm/gen/4x8-minmax-avx-broadcast.c", |
| 1851 | "src/f32-gemm/gen/5x8-minmax-avx-broadcast.c", |
| 1852 | "src/f32-gemm/gen/6x8-minmax-avx-broadcast.c", |
| 1853 | "src/f32-gemm/gen/7x8-minmax-avx-broadcast.c", |
| 1854 | "src/f32-gemm/gen/1x16-minmax-avx-broadcast.c", |
| 1855 | "src/f32-gemm/gen/3x16-minmax-avx-broadcast.c", |
| 1856 | "src/f32-gemm/gen/4x16-minmax-avx-broadcast.c", |
| 1857 | "src/f32-gemm/gen/5x16-minmax-avx-broadcast.c", |
| 1858 | "src/f32-gemm/gen-inc/1x8inc-minmax-avx-broadcast.c", |
| 1859 | "src/f32-gemm/gen-inc/4x8inc-minmax-avx-broadcast.c", |
| 1860 | "src/f32-gemm/gen-inc/5x8inc-minmax-avx-broadcast.c", |
| 1861 | "src/f32-gemm/gen-inc/6x8inc-minmax-avx-broadcast.c", |
| 1862 | "src/f32-gemm/gen-inc/7x8inc-minmax-avx-broadcast.c", |
| 1863 | "src/f32-gemm/gen-inc/1x16inc-minmax-avx-broadcast.c", |
| 1864 | "src/f32-gemm/gen-inc/3x16inc-minmax-avx-broadcast.c", |
| 1865 | "src/f32-gemm/gen-inc/4x16inc-minmax-avx-broadcast.c", |
| 1866 | "src/f32-gemm/gen-inc/5x16inc-minmax-avx-broadcast.c", |
Marat Dukhan | efaac27 | 2020-07-16 16:58:07 -0700 | [diff] [blame] | 1867 | "src/f32-hswish/gen/hswish-avx-x8.c", |
| 1868 | "src/f32-hswish/gen/hswish-avx-x16.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1869 | "src/f32-igemm/gen/1x8-minmax-avx-broadcast.c", |
| 1870 | "src/f32-igemm/gen/4x8-minmax-avx-broadcast.c", |
| 1871 | "src/f32-igemm/gen/5x8-minmax-avx-broadcast.c", |
| 1872 | "src/f32-igemm/gen/6x8-minmax-avx-broadcast.c", |
| 1873 | "src/f32-igemm/gen/7x8-minmax-avx-broadcast.c", |
| 1874 | "src/f32-igemm/gen/1x16-minmax-avx-broadcast.c", |
| 1875 | "src/f32-igemm/gen/3x16-minmax-avx-broadcast.c", |
| 1876 | "src/f32-igemm/gen/4x16-minmax-avx-broadcast.c", |
| 1877 | "src/f32-igemm/gen/5x16-minmax-avx-broadcast.c", |
Marat Dukhan | 90eca0a | 2020-03-11 00:52:23 -0700 | [diff] [blame] | 1878 | "src/f32-prelu/gen/avx-2x8.c", |
| 1879 | "src/f32-prelu/gen/avx-2x16.c", |
Frank Barchard | fb158e2 | 2020-07-15 16:10:10 -0700 | [diff] [blame] | 1880 | "src/f32-relu/gen/avx-x16.c", |
| 1881 | "src/f32-relu/gen/avx-x8.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1882 | "src/f32-rmax/avx.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 1883 | "src/f32-vbinary/gen/vadd-minmax-avx-x8.c", |
| 1884 | "src/f32-vbinary/gen/vadd-minmax-avx-x16.c", |
| 1885 | "src/f32-vbinary/gen/vaddc-minmax-avx-x8.c", |
| 1886 | "src/f32-vbinary/gen/vaddc-minmax-avx-x16.c", |
| 1887 | "src/f32-vbinary/gen/vdiv-minmax-avx-x8.c", |
| 1888 | "src/f32-vbinary/gen/vdiv-minmax-avx-x16.c", |
| 1889 | "src/f32-vbinary/gen/vdivc-minmax-avx-x8.c", |
| 1890 | "src/f32-vbinary/gen/vdivc-minmax-avx-x16.c", |
Marat Dukhan | 9a88efe | 2019-12-10 15:54:24 -0800 | [diff] [blame] | 1891 | "src/f32-vbinary/gen/vmax-avx-x8.c", |
| 1892 | "src/f32-vbinary/gen/vmax-avx-x16.c", |
| 1893 | "src/f32-vbinary/gen/vmaxc-avx-x8.c", |
| 1894 | "src/f32-vbinary/gen/vmaxc-avx-x16.c", |
| 1895 | "src/f32-vbinary/gen/vmin-avx-x8.c", |
| 1896 | "src/f32-vbinary/gen/vmin-avx-x16.c", |
| 1897 | "src/f32-vbinary/gen/vminc-avx-x8.c", |
| 1898 | "src/f32-vbinary/gen/vminc-avx-x16.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 1899 | "src/f32-vbinary/gen/vmul-minmax-avx-x8.c", |
| 1900 | "src/f32-vbinary/gen/vmul-minmax-avx-x16.c", |
| 1901 | "src/f32-vbinary/gen/vmulc-minmax-avx-x8.c", |
| 1902 | "src/f32-vbinary/gen/vmulc-minmax-avx-x16.c", |
| 1903 | "src/f32-vbinary/gen/vrdivc-minmax-avx-x8.c", |
| 1904 | "src/f32-vbinary/gen/vrdivc-minmax-avx-x16.c", |
| 1905 | "src/f32-vbinary/gen/vrsubc-minmax-avx-x8.c", |
| 1906 | "src/f32-vbinary/gen/vrsubc-minmax-avx-x16.c", |
Marat Dukhan | 13bafb0 | 2020-06-05 00:43:11 -0700 | [diff] [blame] | 1907 | "src/f32-vbinary/gen/vsqrdiff-avx-x8.c", |
| 1908 | "src/f32-vbinary/gen/vsqrdiff-avx-x16.c", |
| 1909 | "src/f32-vbinary/gen/vsqrdiffc-avx-x8.c", |
| 1910 | "src/f32-vbinary/gen/vsqrdiffc-avx-x16.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 1911 | "src/f32-vbinary/gen/vsub-minmax-avx-x8.c", |
| 1912 | "src/f32-vbinary/gen/vsub-minmax-avx-x16.c", |
| 1913 | "src/f32-vbinary/gen/vsubc-minmax-avx-x8.c", |
| 1914 | "src/f32-vbinary/gen/vsubc-minmax-avx-x16.c", |
Marat Dukhan | 19dd91d | 2020-07-16 11:12:44 -0700 | [diff] [blame] | 1915 | "src/f32-vlrelu/gen/vlrelu-avx-x8.c", |
| 1916 | "src/f32-vlrelu/gen/vlrelu-avx-x16.c", |
Marat Dukhan | 05ac8e3 | 2019-10-21 15:39:33 -0700 | [diff] [blame] | 1917 | "src/f32-vscale/avx-unroll32.c", |
Marat Dukhan | eecf8fd | 2020-06-09 08:59:37 -0700 | [diff] [blame] | 1918 | "src/f32-vrnd/gen/vrndne-avx-x8.c", |
| 1919 | "src/f32-vrnd/gen/vrndne-avx-x16.c", |
| 1920 | "src/f32-vrnd/gen/vrndz-avx-x8.c", |
| 1921 | "src/f32-vrnd/gen/vrndz-avx-x16.c", |
| 1922 | "src/f32-vrnd/gen/vrndu-avx-x8.c", |
| 1923 | "src/f32-vrnd/gen/vrndu-avx-x16.c", |
| 1924 | "src/f32-vrnd/gen/vrndd-avx-x8.c", |
| 1925 | "src/f32-vrnd/gen/vrndd-avx-x16.c", |
Marat Dukhan | f4db2f3 | 2020-06-30 10:55:30 -0700 | [diff] [blame] | 1926 | "src/f32-vsqrt/gen/avx-sqrt-x8.c", |
| 1927 | "src/f32-vsqrt/gen/avx-sqrt-x16.c", |
Marat Dukhan | 5020b96 | 2020-06-08 13:30:10 -0700 | [diff] [blame] | 1928 | "src/f32-vunary/gen/vabs-avx-x8.c", |
| 1929 | "src/f32-vunary/gen/vabs-avx-x16.c", |
| 1930 | "src/f32-vunary/gen/vneg-avx-x8.c", |
| 1931 | "src/f32-vunary/gen/vneg-avx-x16.c", |
| 1932 | "src/f32-vunary/gen/vsqr-avx-x8.c", |
| 1933 | "src/f32-vunary/gen/vsqr-avx-x16.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1934 | ] |
| 1935 | |
Marat Dukhan | 1566fee | 2020-08-02 21:55:41 -0700 | [diff] [blame] | 1936 | XOP_UKERNELS = [ |
Marat Dukhan | f62bbdc | 2020-08-04 13:59:04 -0700 | [diff] [blame] | 1937 | "src/qs8-dwconv/gen/up8x9-minmax-xop-mul16.c", |
| 1938 | "src/qs8-dwconv/gen/up16x9-minmax-xop-mul16.c", |
| 1939 | "src/qs8-dwconv/gen/up24x9-minmax-xop-mul16.c", |
Marat Dukhan | 1566fee | 2020-08-02 21:55:41 -0700 | [diff] [blame] | 1940 | "src/qs8-gemm/gen/1x4c2-minmax-xop-ld64.c", |
| 1941 | "src/qs8-gemm/gen/4x4c2-minmax-xop-ld64.c", |
| 1942 | "src/qs8-gemm/gen/1x4c2-minmax-xop-ld128.c", |
| 1943 | "src/qs8-gemm/gen/4x4c2-minmax-xop-ld128.c", |
Marat Dukhan | 683fab3 | 2020-08-03 19:42:52 -0700 | [diff] [blame] | 1944 | "src/qs8-gemm/gen/1x4c2-xw-minmax-xop.c", |
| 1945 | "src/qs8-gemm/gen/4x4c2-xw-minmax-xop.c", |
Marat Dukhan | 1566fee | 2020-08-02 21:55:41 -0700 | [diff] [blame] | 1946 | "src/qs8-gemm/gen/1x4c8-minmax-xop-ld64.c", |
| 1947 | "src/qs8-gemm/gen/2x4c8-minmax-xop-ld64.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1948 | "src/qs8-gemm/gen/3x4c8-minmax-xop-ld64.c", |
Marat Dukhan | 1566fee | 2020-08-02 21:55:41 -0700 | [diff] [blame] | 1949 | "src/qs8-gemm/gen/1x4c8-minmax-xop-ld128.c", |
| 1950 | "src/qs8-gemm/gen/2x4c8-minmax-xop-ld128.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1951 | "src/qs8-gemm/gen/3x4c8-minmax-xop-ld128.c", |
Marat Dukhan | 683fab3 | 2020-08-03 19:42:52 -0700 | [diff] [blame] | 1952 | "src/qs8-gemm/gen/1x4c8-xw-minmax-xop.c", |
| 1953 | "src/qs8-gemm/gen/2x4c8-xw-minmax-xop.c", |
| 1954 | "src/qs8-gemm/gen/3x4c8-xw-minmax-xop.c", |
Marat Dukhan | 1566fee | 2020-08-02 21:55:41 -0700 | [diff] [blame] | 1955 | "src/qs8-igemm/gen/1x4c2-minmax-xop-ld64.c", |
| 1956 | "src/qs8-igemm/gen/4x4c2-minmax-xop-ld64.c", |
| 1957 | "src/qs8-igemm/gen/1x4c2-minmax-xop-ld128.c", |
| 1958 | "src/qs8-igemm/gen/4x4c2-minmax-xop-ld128.c", |
| 1959 | "src/qs8-igemm/gen/1x4c8-minmax-xop-ld64.c", |
| 1960 | "src/qs8-igemm/gen/2x4c8-minmax-xop-ld64.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1961 | "src/qs8-igemm/gen/3x4c8-minmax-xop-ld64.c", |
Marat Dukhan | 1566fee | 2020-08-02 21:55:41 -0700 | [diff] [blame] | 1962 | "src/qs8-igemm/gen/1x4c8-minmax-xop-ld128.c", |
| 1963 | "src/qs8-igemm/gen/2x4c8-minmax-xop-ld128.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1964 | "src/qs8-igemm/gen/3x4c8-minmax-xop-ld128.c", |
Marat Dukhan | 1566fee | 2020-08-02 21:55:41 -0700 | [diff] [blame] | 1965 | ] |
| 1966 | |
Marat Dukhan | fda12b8 | 2019-11-21 12:27:59 -0800 | [diff] [blame] | 1967 | FMA3_UKERNELS = [ |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1968 | "src/f32-dwconv/gen/up16x4-minmax-fma3-acc2.c", |
| 1969 | "src/f32-dwconv/gen/up16x4-minmax-fma3.c", |
| 1970 | "src/f32-dwconv/gen/up8x4-minmax-fma3-acc2.c", |
| 1971 | "src/f32-dwconv/gen/up8x4-minmax-fma3.c", |
| 1972 | "src/f32-dwconv/gen/up16x9-minmax-fma3-acc2.c", |
| 1973 | "src/f32-dwconv/gen/up16x9-minmax-fma3.c", |
| 1974 | "src/f32-dwconv/gen/up8x9-minmax-fma3-acc2.c", |
| 1975 | "src/f32-dwconv/gen/up8x9-minmax-fma3.c", |
| 1976 | "src/f32-dwconv/gen/up16x25-minmax-fma3-acc2.c", |
| 1977 | "src/f32-dwconv/gen/up16x25-minmax-fma3.c", |
| 1978 | "src/f32-dwconv/gen/up8x25-minmax-fma3-acc2.c", |
| 1979 | "src/f32-dwconv/gen/up8x25-minmax-fma3.c", |
| 1980 | "src/f32-gemm/gen/1x8-minmax-fma3-broadcast.c", |
| 1981 | "src/f32-gemm/gen/4x8-minmax-fma3-broadcast.c", |
| 1982 | "src/f32-gemm/gen/5x8-minmax-fma3-broadcast.c", |
| 1983 | "src/f32-gemm/gen/6x8-minmax-fma3-broadcast.c", |
| 1984 | "src/f32-gemm/gen/7x8-minmax-fma3-broadcast.c", |
| 1985 | "src/f32-gemm/gen/8x8-minmax-fma3-broadcast.c", |
| 1986 | "src/f32-gemm/gen/1x16-minmax-fma3-broadcast.c", |
| 1987 | "src/f32-gemm/gen/3x16-minmax-fma3-broadcast.c", |
| 1988 | "src/f32-gemm/gen/4x16-minmax-fma3-broadcast.c", |
| 1989 | "src/f32-gemm/gen/5x16-minmax-fma3-broadcast.c", |
| 1990 | "src/f32-gemm/gen/1x16s4-minmax-fma3-broadcast.c", |
| 1991 | "src/f32-gemm/gen/3x16s4-minmax-fma3-broadcast.c", |
| 1992 | "src/f32-gemm/gen/4x16s4-minmax-fma3-broadcast.c", |
| 1993 | "src/f32-gemm/gen/5x16s4-minmax-fma3-broadcast.c", |
| 1994 | "src/f32-gemm/gen-inc/1x8inc-minmax-fma3-broadcast.c", |
| 1995 | "src/f32-gemm/gen-inc/4x8inc-minmax-fma3-broadcast.c", |
| 1996 | "src/f32-gemm/gen-inc/5x8inc-minmax-fma3-broadcast.c", |
| 1997 | "src/f32-gemm/gen-inc/6x8inc-minmax-fma3-broadcast.c", |
| 1998 | "src/f32-gemm/gen-inc/7x8inc-minmax-fma3-broadcast.c", |
| 1999 | "src/f32-gemm/gen-inc/8x8inc-minmax-fma3-broadcast.c", |
| 2000 | "src/f32-gemm/gen-inc/1x16inc-minmax-fma3-broadcast.c", |
| 2001 | "src/f32-gemm/gen-inc/3x16inc-minmax-fma3-broadcast.c", |
| 2002 | "src/f32-gemm/gen-inc/4x16inc-minmax-fma3-broadcast.c", |
| 2003 | "src/f32-gemm/gen-inc/5x16inc-minmax-fma3-broadcast.c", |
| 2004 | "src/f32-gemm/gen-inc/1x16s4inc-minmax-fma3-broadcast.c", |
| 2005 | "src/f32-gemm/gen-inc/3x16s4inc-minmax-fma3-broadcast.c", |
| 2006 | "src/f32-gemm/gen-inc/4x16s4inc-minmax-fma3-broadcast.c", |
| 2007 | "src/f32-gemm/gen-inc/5x16s4inc-minmax-fma3-broadcast.c", |
Marat Dukhan | efaac27 | 2020-07-16 16:58:07 -0700 | [diff] [blame] | 2008 | "src/f32-hswish/gen/hswish-fma3-x8.c", |
| 2009 | "src/f32-hswish/gen/hswish-fma3-x16.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2010 | "src/f32-igemm/gen/1x8-minmax-fma3-broadcast.c", |
| 2011 | "src/f32-igemm/gen/4x8-minmax-fma3-broadcast.c", |
| 2012 | "src/f32-igemm/gen/5x8-minmax-fma3-broadcast.c", |
| 2013 | "src/f32-igemm/gen/6x8-minmax-fma3-broadcast.c", |
| 2014 | "src/f32-igemm/gen/7x8-minmax-fma3-broadcast.c", |
| 2015 | "src/f32-igemm/gen/8x8-minmax-fma3-broadcast.c", |
| 2016 | "src/f32-igemm/gen/1x16-minmax-fma3-broadcast.c", |
| 2017 | "src/f32-igemm/gen/3x16-minmax-fma3-broadcast.c", |
| 2018 | "src/f32-igemm/gen/4x16-minmax-fma3-broadcast.c", |
| 2019 | "src/f32-igemm/gen/5x16-minmax-fma3-broadcast.c", |
| 2020 | "src/f32-igemm/gen/1x16s4-minmax-fma3-broadcast.c", |
| 2021 | "src/f32-igemm/gen/3x16s4-minmax-fma3-broadcast.c", |
| 2022 | "src/f32-igemm/gen/4x16s4-minmax-fma3-broadcast.c", |
| 2023 | "src/f32-igemm/gen/5x16s4-minmax-fma3-broadcast.c", |
Marat Dukhan | f4db2f3 | 2020-06-30 10:55:30 -0700 | [diff] [blame] | 2024 | "src/f32-vsqrt/gen/fma3-nr1fma1adj-x8.c", |
| 2025 | "src/f32-vsqrt/gen/fma3-nr1fma1adj-x16.c", |
| 2026 | "src/f32-vsqrt/gen/fma3-nr1fma1adj-x24.c", |
| 2027 | "src/f32-vsqrt/gen/fma3-nr1fma1adj-x32.c", |
| 2028 | "src/f32-vsqrt/gen/fma3-nr1fma1adj-x40.c", |
| 2029 | "src/f32-vsqrt/gen/fma3-nr1fma1adj-x48.c", |
| 2030 | "src/f32-vsqrt/gen/fma3-nr1fma1adj-x56.c", |
| 2031 | "src/f32-vsqrt/gen/fma3-nr1fma1adj-x64.c", |
Marat Dukhan | 8400076 | 2020-06-29 18:38:43 -0700 | [diff] [blame] | 2032 | "src/math/sqrt-fma3-nr1fma.c", |
| 2033 | "src/math/sqrt-fma3-nr2fma.c", |
| 2034 | "src/math/sqrt-fma3-nr1fma1adj.c", |
Marat Dukhan | fda12b8 | 2019-11-21 12:27:59 -0800 | [diff] [blame] | 2035 | ] |
| 2036 | |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 2037 | AVX2_UKERNELS = [ |
Marat Dukhan | 4c4eb00 | 2019-12-08 21:27:49 -0800 | [diff] [blame] | 2038 | "src/f32-raddexpminusmax/gen/avx2-p5-x64.c", |
| 2039 | "src/f32-raddexpminusmax/gen/avx2-p5-x64-acc2.c", |
| 2040 | "src/f32-raddexpminusmax/gen/avx2-p5-x64-acc4.c", |
| 2041 | "src/f32-raddexpminusmax/gen/avx2-p5-x72.c", |
| 2042 | "src/f32-raddexpminusmax/gen/avx2-p5-x72-acc3.c", |
| 2043 | "src/f32-raddexpminusmax/gen/avx2-p5-x80.c", |
| 2044 | "src/f32-raddexpminusmax/gen/avx2-p5-x80-acc2.c", |
| 2045 | "src/f32-raddexpminusmax/gen/avx2-p5-x80-acc5.c", |
| 2046 | "src/f32-raddexpminusmax/gen/avx2-p5-x96.c", |
| 2047 | "src/f32-raddexpminusmax/gen/avx2-p5-x96-acc2.c", |
| 2048 | "src/f32-raddexpminusmax/gen/avx2-p5-x96-acc3.c", |
| 2049 | "src/f32-raddexpminusmax/gen/avx2-p5-x96-acc6.c", |
| 2050 | "src/f32-raddextexp/gen/avx2-p5-x64.c", |
| 2051 | "src/f32-raddextexp/gen/avx2-p5-x64-acc2.c", |
| 2052 | "src/f32-raddextexp/gen/avx2-p5-x64-acc4.c", |
| 2053 | "src/f32-raddextexp/gen/avx2-p5-x72.c", |
| 2054 | "src/f32-raddextexp/gen/avx2-p5-x72-acc3.c", |
| 2055 | "src/f32-raddextexp/gen/avx2-p5-x80.c", |
| 2056 | "src/f32-raddextexp/gen/avx2-p5-x80-acc2.c", |
| 2057 | "src/f32-raddextexp/gen/avx2-p5-x80-acc5.c", |
| 2058 | "src/f32-raddextexp/gen/avx2-p5-x96.c", |
| 2059 | "src/f32-raddextexp/gen/avx2-p5-x96-acc2.c", |
| 2060 | "src/f32-raddextexp/gen/avx2-p5-x96-acc3.c", |
| 2061 | "src/f32-raddextexp/gen/avx2-p5-x96-acc6.c", |
| 2062 | "src/f32-raddstoreexpminusmax/gen/avx2-p5-x64.c", |
| 2063 | "src/f32-raddstoreexpminusmax/gen/avx2-p5-x64-acc2.c", |
| 2064 | "src/f32-raddstoreexpminusmax/gen/avx2-p5-x64-acc4.c", |
| 2065 | "src/f32-raddstoreexpminusmax/gen/avx2-p5-x72.c", |
| 2066 | "src/f32-raddstoreexpminusmax/gen/avx2-p5-x72-acc3.c", |
| 2067 | "src/f32-raddstoreexpminusmax/gen/avx2-p5-x80.c", |
| 2068 | "src/f32-raddstoreexpminusmax/gen/avx2-p5-x80-acc2.c", |
| 2069 | "src/f32-raddstoreexpminusmax/gen/avx2-p5-x80-acc5.c", |
| 2070 | "src/f32-raddstoreexpminusmax/gen/avx2-p5-x96.c", |
| 2071 | "src/f32-raddstoreexpminusmax/gen/avx2-p5-x96-acc2.c", |
| 2072 | "src/f32-raddstoreexpminusmax/gen/avx2-p5-x96-acc3.c", |
| 2073 | "src/f32-raddstoreexpminusmax/gen/avx2-p5-x96-acc6.c", |
Marat Dukhan | fa0a432 | 2020-01-06 16:14:29 -0800 | [diff] [blame] | 2074 | "src/f32-sigmoid/gen/avx2-rr1-p5-div-x8.c", |
| 2075 | "src/f32-sigmoid/gen/avx2-rr1-p5-div-x16.c", |
| 2076 | "src/f32-sigmoid/gen/avx2-rr1-p5-div-x24.c", |
| 2077 | "src/f32-sigmoid/gen/avx2-rr1-p5-div-x32.c", |
| 2078 | "src/f32-sigmoid/gen/avx2-rr1-p5-div-x40.c", |
| 2079 | "src/f32-sigmoid/gen/avx2-rr1-p5-div-x48.c", |
| 2080 | "src/f32-sigmoid/gen/avx2-rr1-p5-div-x56.c", |
| 2081 | "src/f32-sigmoid/gen/avx2-rr1-p5-div-x64.c", |
| 2082 | "src/f32-sigmoid/gen/avx2-rr1-p5-div-x72.c", |
| 2083 | "src/f32-sigmoid/gen/avx2-rr1-p5-div-x80.c", |
| 2084 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x8.c", |
| 2085 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x16.c", |
| 2086 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x24.c", |
| 2087 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x32.c", |
| 2088 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x40.c", |
| 2089 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x48.c", |
| 2090 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x56.c", |
| 2091 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x64.c", |
| 2092 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x72.c", |
| 2093 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x80.c", |
| 2094 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x8.c", |
| 2095 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x16.c", |
| 2096 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x24.c", |
| 2097 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x32.c", |
| 2098 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x40.c", |
| 2099 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x48.c", |
| 2100 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x56.c", |
| 2101 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x64.c", |
| 2102 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x72.c", |
| 2103 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x80.c", |
Marat Dukhan | 4c4eb00 | 2019-12-08 21:27:49 -0800 | [diff] [blame] | 2104 | "src/f32-vscaleexpminusmax/gen/avx2-p5-x8.c", |
| 2105 | "src/f32-vscaleexpminusmax/gen/avx2-p5-x16.c", |
| 2106 | "src/f32-vscaleexpminusmax/gen/avx2-p5-x24.c", |
| 2107 | "src/f32-vscaleexpminusmax/gen/avx2-p5-x32.c", |
| 2108 | "src/f32-vscaleexpminusmax/gen/avx2-p5-x40.c", |
| 2109 | "src/f32-vscaleexpminusmax/gen/avx2-p5-x48.c", |
| 2110 | "src/f32-vscaleexpminusmax/gen/avx2-p5-x56.c", |
| 2111 | "src/f32-vscaleexpminusmax/gen/avx2-p5-x64.c", |
| 2112 | "src/f32-vscaleexpminusmax/gen/avx2-p5-x72.c", |
| 2113 | "src/f32-vscaleexpminusmax/gen/avx2-p5-x80.c", |
| 2114 | "src/f32-vscaleexpminusmax/gen/avx2-p5-x88.c", |
| 2115 | "src/f32-vscaleexpminusmax/gen/avx2-p5-x96.c", |
| 2116 | "src/f32-vscaleextexp/gen/avx2-p5-x8.c", |
| 2117 | "src/f32-vscaleextexp/gen/avx2-p5-x16.c", |
| 2118 | "src/f32-vscaleextexp/gen/avx2-p5-x24.c", |
| 2119 | "src/f32-vscaleextexp/gen/avx2-p5-x32.c", |
| 2120 | "src/f32-vscaleextexp/gen/avx2-p5-x40.c", |
| 2121 | "src/f32-vscaleextexp/gen/avx2-p5-x48.c", |
| 2122 | "src/f32-vscaleextexp/gen/avx2-p5-x56.c", |
| 2123 | "src/f32-vscaleextexp/gen/avx2-p5-x64.c", |
| 2124 | "src/f32-vscaleextexp/gen/avx2-p5-x72.c", |
| 2125 | "src/f32-vscaleextexp/gen/avx2-p5-x80.c", |
| 2126 | "src/f32-vscaleextexp/gen/avx2-p5-x88.c", |
| 2127 | "src/f32-vscaleextexp/gen/avx2-p5-x96.c", |
Marat Dukhan | d65a152 | 2020-08-04 19:28:18 -0700 | [diff] [blame] | 2128 | "src/qs8-dwconv/gen/up8x9-minmax-avx2-mul32.c", |
| 2129 | "src/qs8-dwconv/gen/up16x9-minmax-avx2-mul32.c", |
| 2130 | "src/qs8-dwconv/gen/up24x9-minmax-avx2-mul32.c", |
| 2131 | "src/qs8-dwconv/gen/up32x9-minmax-avx2-mul32.c", |
Marat Dukhan | 1280952 | 2020-08-02 22:23:51 -0700 | [diff] [blame] | 2132 | "src/qs8-gemm/gen/1x8c8-minmax-avx2.c", |
| 2133 | "src/qs8-gemm/gen/2x8c8-minmax-avx2.c", |
| 2134 | "src/qs8-gemm/gen/3x8c8-minmax-avx2.c", |
Marat Dukhan | 683fab3 | 2020-08-03 19:42:52 -0700 | [diff] [blame] | 2135 | "src/qs8-gemm/gen/1x8c8-xw-minmax-avx2.c", |
| 2136 | "src/qs8-gemm/gen/2x8c8-xw-minmax-avx2.c", |
| 2137 | "src/qs8-gemm/gen/3x8c8-xw-minmax-avx2.c", |
Marat Dukhan | 1280952 | 2020-08-02 22:23:51 -0700 | [diff] [blame] | 2138 | "src/qs8-igemm/gen/1x8c8-minmax-avx2.c", |
| 2139 | "src/qs8-igemm/gen/2x8c8-minmax-avx2.c", |
| 2140 | "src/qs8-igemm/gen/3x8c8-minmax-avx2.c", |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 2141 | "src/math/exp-avx2-p5.c", |
| 2142 | "src/math/exp-avx2-perm-p3.c", |
| 2143 | "src/math/exp-avx2-perm-p4.c", |
Marat Dukhan | 515c977 | 2019-10-17 18:07:57 -0700 | [diff] [blame] | 2144 | "src/math/expminus-avx2-p5.c", |
Marat Dukhan | 98ba441 | 2019-10-23 02:14:28 -0700 | [diff] [blame] | 2145 | "src/math/extexp-avx2-p5.c", |
Marat Dukhan | 7241600 | 2020-01-05 21:53:19 -0800 | [diff] [blame] | 2146 | "src/math/sigmoid-avx2-rr2-p5-div.c", |
| 2147 | "src/math/sigmoid-avx2-rr1-p5-div.c", |
| 2148 | "src/math/sigmoid-avx2-rr2-p5-nr2fma.c", |
| 2149 | "src/math/sigmoid-avx2-rr1-p5-nr2fma.c", |
| 2150 | "src/math/sigmoid-avx2-rr2-p5-nr1fma.c", |
| 2151 | "src/math/sigmoid-avx2-rr1-p5-nr1fma.c", |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 2152 | ] |
| 2153 | |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2154 | AVX512F_UKERNELS = [ |
Marat Dukhan | 5c5fa96 | 2020-03-10 18:38:33 -0700 | [diff] [blame] | 2155 | "src/f32-clamp/gen/avx512f-x16.c", |
| 2156 | "src/f32-clamp/gen/avx512f-x32.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2157 | "src/f32-dwconv/gen/up32x4-minmax-avx512f-acc2.c", |
| 2158 | "src/f32-dwconv/gen/up32x4-minmax-avx512f.c", |
| 2159 | "src/f32-dwconv/gen/up16x4-minmax-avx512f-acc2.c", |
| 2160 | "src/f32-dwconv/gen/up16x4-minmax-avx512f.c", |
| 2161 | "src/f32-dwconv/gen/up32x9-minmax-avx512f-acc2.c", |
| 2162 | "src/f32-dwconv/gen/up32x9-minmax-avx512f.c", |
| 2163 | "src/f32-dwconv/gen/up16x9-minmax-avx512f-acc2.c", |
| 2164 | "src/f32-dwconv/gen/up16x9-minmax-avx512f.c", |
| 2165 | "src/f32-dwconv/gen/up32x25-minmax-avx512f-acc2.c", |
| 2166 | "src/f32-dwconv/gen/up32x25-minmax-avx512f.c", |
| 2167 | "src/f32-dwconv/gen/up16x25-minmax-avx512f-acc2.c", |
| 2168 | "src/f32-dwconv/gen/up16x25-minmax-avx512f.c", |
| 2169 | "src/f32-gemm/gen/1x16-minmax-avx512f-broadcast.c", |
| 2170 | "src/f32-gemm/gen/4x16-minmax-avx512f-broadcast.c", |
| 2171 | "src/f32-gemm/gen/5x16-minmax-avx512f-broadcast.c", |
| 2172 | "src/f32-gemm/gen/6x16-minmax-avx512f-broadcast.c", |
| 2173 | "src/f32-gemm/gen/7x16-minmax-avx512f-broadcast.c", |
| 2174 | "src/f32-gemm/gen/8x16-minmax-avx512f-broadcast.c", |
| 2175 | "src/f32-gemm/gen-inc/1x16inc-minmax-avx512f-broadcast.c", |
| 2176 | "src/f32-gemm/gen-inc/4x16inc-minmax-avx512f-broadcast.c", |
| 2177 | "src/f32-gemm/gen-inc/5x16inc-minmax-avx512f-broadcast.c", |
| 2178 | "src/f32-gemm/gen-inc/6x16inc-minmax-avx512f-broadcast.c", |
| 2179 | "src/f32-gemm/gen-inc/7x16inc-minmax-avx512f-broadcast.c", |
| 2180 | "src/f32-gemm/gen-inc/8x16inc-minmax-avx512f-broadcast.c", |
Marat Dukhan | efaac27 | 2020-07-16 16:58:07 -0700 | [diff] [blame] | 2181 | "src/f32-hswish/gen/hswish-avx512f-x16.c", |
| 2182 | "src/f32-hswish/gen/hswish-avx512f-x32.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2183 | "src/f32-igemm/gen/1x16-minmax-avx512f-broadcast.c", |
| 2184 | "src/f32-igemm/gen/4x16-minmax-avx512f-broadcast.c", |
| 2185 | "src/f32-igemm/gen/5x16-minmax-avx512f-broadcast.c", |
| 2186 | "src/f32-igemm/gen/6x16-minmax-avx512f-broadcast.c", |
| 2187 | "src/f32-igemm/gen/7x16-minmax-avx512f-broadcast.c", |
| 2188 | "src/f32-igemm/gen/8x16-minmax-avx512f-broadcast.c", |
Marat Dukhan | 90eca0a | 2020-03-11 00:52:23 -0700 | [diff] [blame] | 2189 | "src/f32-prelu/gen/avx512f-2x16.c", |
| 2190 | "src/f32-prelu/gen/avx512f-2x32.c", |
Marat Dukhan | 4c4eb00 | 2019-12-08 21:27:49 -0800 | [diff] [blame] | 2191 | "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x128.c", |
| 2192 | "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x128-acc2.c", |
| 2193 | "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x128-acc4.c", |
| 2194 | "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x144.c", |
| 2195 | "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x144-acc3.c", |
| 2196 | "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x160.c", |
| 2197 | "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x160-acc2.c", |
| 2198 | "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x160-acc5.c", |
| 2199 | "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x192.c", |
| 2200 | "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x192-acc2.c", |
| 2201 | "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x192-acc3.c", |
| 2202 | "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x192-acc6.c", |
| 2203 | "src/f32-raddextexp/gen/avx512f-p5-scalef-x128.c", |
| 2204 | "src/f32-raddextexp/gen/avx512f-p5-scalef-x128-acc2.c", |
| 2205 | "src/f32-raddextexp/gen/avx512f-p5-scalef-x128-acc4.c", |
| 2206 | "src/f32-raddextexp/gen/avx512f-p5-scalef-x144.c", |
| 2207 | "src/f32-raddextexp/gen/avx512f-p5-scalef-x144-acc3.c", |
| 2208 | "src/f32-raddextexp/gen/avx512f-p5-scalef-x160.c", |
| 2209 | "src/f32-raddextexp/gen/avx512f-p5-scalef-x160-acc2.c", |
| 2210 | "src/f32-raddextexp/gen/avx512f-p5-scalef-x160-acc5.c", |
| 2211 | "src/f32-raddextexp/gen/avx512f-p5-scalef-x192.c", |
| 2212 | "src/f32-raddextexp/gen/avx512f-p5-scalef-x192-acc2.c", |
| 2213 | "src/f32-raddextexp/gen/avx512f-p5-scalef-x192-acc3.c", |
| 2214 | "src/f32-raddextexp/gen/avx512f-p5-scalef-x192-acc6.c", |
| 2215 | "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x128.c", |
| 2216 | "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x128-acc2.c", |
| 2217 | "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x128-acc4.c", |
| 2218 | "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x144.c", |
| 2219 | "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x144-acc3.c", |
| 2220 | "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x160.c", |
| 2221 | "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x160-acc2.c", |
| 2222 | "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x160-acc5.c", |
| 2223 | "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x192.c", |
| 2224 | "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x192-acc2.c", |
| 2225 | "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x192-acc3.c", |
| 2226 | "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x192-acc6.c", |
Frank Barchard | fb158e2 | 2020-07-15 16:10:10 -0700 | [diff] [blame] | 2227 | "src/f32-relu/gen/avx512f-x16.c", |
| 2228 | "src/f32-relu/gen/avx512f-x32.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2229 | "src/f32-rmax/avx512f.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 2230 | "src/f32-vbinary/gen/vadd-minmax-avx512f-x16.c", |
| 2231 | "src/f32-vbinary/gen/vadd-minmax-avx512f-x32.c", |
| 2232 | "src/f32-vbinary/gen/vaddc-minmax-avx512f-x16.c", |
| 2233 | "src/f32-vbinary/gen/vaddc-minmax-avx512f-x32.c", |
| 2234 | "src/f32-vbinary/gen/vdiv-minmax-avx512f-x16.c", |
| 2235 | "src/f32-vbinary/gen/vdiv-minmax-avx512f-x32.c", |
| 2236 | "src/f32-vbinary/gen/vdivc-minmax-avx512f-x16.c", |
| 2237 | "src/f32-vbinary/gen/vdivc-minmax-avx512f-x32.c", |
Marat Dukhan | 9a88efe | 2019-12-10 15:54:24 -0800 | [diff] [blame] | 2238 | "src/f32-vbinary/gen/vmax-avx512f-x16.c", |
| 2239 | "src/f32-vbinary/gen/vmax-avx512f-x32.c", |
| 2240 | "src/f32-vbinary/gen/vmaxc-avx512f-x16.c", |
| 2241 | "src/f32-vbinary/gen/vmaxc-avx512f-x32.c", |
| 2242 | "src/f32-vbinary/gen/vmin-avx512f-x16.c", |
| 2243 | "src/f32-vbinary/gen/vmin-avx512f-x32.c", |
| 2244 | "src/f32-vbinary/gen/vminc-avx512f-x16.c", |
| 2245 | "src/f32-vbinary/gen/vminc-avx512f-x32.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 2246 | "src/f32-vbinary/gen/vmul-minmax-avx512f-x16.c", |
| 2247 | "src/f32-vbinary/gen/vmul-minmax-avx512f-x32.c", |
| 2248 | "src/f32-vbinary/gen/vmulc-minmax-avx512f-x16.c", |
| 2249 | "src/f32-vbinary/gen/vmulc-minmax-avx512f-x32.c", |
| 2250 | "src/f32-vbinary/gen/vrdivc-minmax-avx512f-x16.c", |
| 2251 | "src/f32-vbinary/gen/vrdivc-minmax-avx512f-x32.c", |
| 2252 | "src/f32-vbinary/gen/vrsubc-minmax-avx512f-x16.c", |
| 2253 | "src/f32-vbinary/gen/vrsubc-minmax-avx512f-x32.c", |
Marat Dukhan | 13bafb0 | 2020-06-05 00:43:11 -0700 | [diff] [blame] | 2254 | "src/f32-vbinary/gen/vsqrdiff-avx512f-x16.c", |
| 2255 | "src/f32-vbinary/gen/vsqrdiff-avx512f-x32.c", |
| 2256 | "src/f32-vbinary/gen/vsqrdiffc-avx512f-x16.c", |
| 2257 | "src/f32-vbinary/gen/vsqrdiffc-avx512f-x32.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 2258 | "src/f32-vbinary/gen/vsub-minmax-avx512f-x16.c", |
| 2259 | "src/f32-vbinary/gen/vsub-minmax-avx512f-x32.c", |
| 2260 | "src/f32-vbinary/gen/vsubc-minmax-avx512f-x16.c", |
| 2261 | "src/f32-vbinary/gen/vsubc-minmax-avx512f-x32.c", |
Marat Dukhan | 19dd91d | 2020-07-16 11:12:44 -0700 | [diff] [blame] | 2262 | "src/f32-vlrelu/gen/vlrelu-avx512f-x16.c", |
| 2263 | "src/f32-vlrelu/gen/vlrelu-avx512f-x32.c", |
Marat Dukhan | 05ac8e3 | 2019-10-21 15:39:33 -0700 | [diff] [blame] | 2264 | "src/f32-vscale/avx512f-unroll64.c", |
Marat Dukhan | 4c4eb00 | 2019-12-08 21:27:49 -0800 | [diff] [blame] | 2265 | "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x16.c", |
| 2266 | "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x32.c", |
| 2267 | "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x48.c", |
| 2268 | "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x64.c", |
| 2269 | "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x80.c", |
| 2270 | "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x96.c", |
| 2271 | "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x112.c", |
| 2272 | "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x128.c", |
| 2273 | "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x144.c", |
| 2274 | "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x160.c", |
| 2275 | "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x176.c", |
| 2276 | "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x192.c", |
| 2277 | "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x16.c", |
| 2278 | "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x32.c", |
| 2279 | "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x48.c", |
| 2280 | "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x64.c", |
| 2281 | "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x80.c", |
| 2282 | "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x96.c", |
| 2283 | "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x112.c", |
| 2284 | "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x128.c", |
| 2285 | "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x144.c", |
| 2286 | "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x160.c", |
| 2287 | "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x176.c", |
| 2288 | "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x192.c", |
Marat Dukhan | eecf8fd | 2020-06-09 08:59:37 -0700 | [diff] [blame] | 2289 | "src/f32-vrnd/gen/vrndne-avx512f-x16.c", |
| 2290 | "src/f32-vrnd/gen/vrndne-avx512f-x32.c", |
| 2291 | "src/f32-vrnd/gen/vrndz-avx512f-x16.c", |
| 2292 | "src/f32-vrnd/gen/vrndz-avx512f-x32.c", |
| 2293 | "src/f32-vrnd/gen/vrndu-avx512f-x16.c", |
| 2294 | "src/f32-vrnd/gen/vrndu-avx512f-x32.c", |
| 2295 | "src/f32-vrnd/gen/vrndd-avx512f-x16.c", |
| 2296 | "src/f32-vrnd/gen/vrndd-avx512f-x32.c", |
Marat Dukhan | f4db2f3 | 2020-06-30 10:55:30 -0700 | [diff] [blame] | 2297 | "src/f32-vsqrt/gen/avx512f-nr1fma1adj-x16.c", |
| 2298 | "src/f32-vsqrt/gen/avx512f-nr1fma1adj-x32.c", |
| 2299 | "src/f32-vsqrt/gen/avx512f-nr1fma1adj-x48.c", |
| 2300 | "src/f32-vsqrt/gen/avx512f-nr1fma1adj-x64.c", |
| 2301 | "src/f32-vsqrt/gen/avx512f-nr1fma1adj-x80.c", |
| 2302 | "src/f32-vsqrt/gen/avx512f-nr1fma1adj-x96.c", |
| 2303 | "src/f32-vsqrt/gen/avx512f-nr1fma1adj-x112.c", |
| 2304 | "src/f32-vsqrt/gen/avx512f-nr1fma1adj-x128.c", |
Marat Dukhan | 5020b96 | 2020-06-08 13:30:10 -0700 | [diff] [blame] | 2305 | "src/f32-vunary/gen/vabs-avx512f-x16.c", |
| 2306 | "src/f32-vunary/gen/vabs-avx512f-x32.c", |
| 2307 | "src/f32-vunary/gen/vneg-avx512f-x16.c", |
| 2308 | "src/f32-vunary/gen/vneg-avx512f-x32.c", |
| 2309 | "src/f32-vunary/gen/vsqr-avx512f-x16.c", |
| 2310 | "src/f32-vunary/gen/vsqr-avx512f-x32.c", |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 2311 | "src/math/exp-avx512f-p5-scalef.c", |
| 2312 | "src/math/exp-avx512f-p5.c", |
| 2313 | "src/math/exp-avx512f-perm-p3.c", |
Marat Dukhan | feb4923 | 2019-10-28 11:03:31 -0700 | [diff] [blame] | 2314 | "src/math/exp-avx512f-perm2-p2.c", |
Marat Dukhan | 98ba441 | 2019-10-23 02:14:28 -0700 | [diff] [blame] | 2315 | "src/math/extexp-avx512f-p5.c", |
Marat Dukhan | 8400076 | 2020-06-29 18:38:43 -0700 | [diff] [blame] | 2316 | "src/math/sqrt-avx512f-nr1fma.c", |
| 2317 | "src/math/sqrt-avx512f-nr2fma.c", |
| 2318 | "src/math/sqrt-avx512f-nr1fma1adj.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2319 | ] |
| 2320 | |
| 2321 | AARCH32_ASM_UKERNELS = [ |
Marat Dukhan | 32f9381 | 2020-05-17 20:31:21 -0700 | [diff] [blame] | 2322 | "src/f32-gemm/4x4-aarch32-vfp-ld64.S", |
Marat Dukhan | 3b98f6b | 2020-05-17 10:09:22 -0700 | [diff] [blame] | 2323 | "src/f32-gemm/4x4-minmax-aarch32-vfp-ld64.S", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2324 | "src/f32-gemm/4x8-minmax-aarch32-neon-cortex-a53.S", |
| 2325 | "src/f32-gemm/4x8-minmax-aarch32-neon-cortex-a55.S", |
Frank Barchard | 490febe | 2020-07-16 18:42:17 -0700 | [diff] [blame] | 2326 | "src/f32-gemm/gen/4x8-minmax-aarch32-neon-cortex-a7.S", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2327 | "src/f32-gemm/gen/4x8-minmax-aarch32-neon-cortex-a75.S", |
Frank Barchard | 569561d | 2020-06-17 13:11:12 -0700 | [diff] [blame] | 2328 | "src/f32-gemm/gen/4x8-minmax-aarch32-neon-ld64.S", |
Frank Barchard | 490febe | 2020-07-16 18:42:17 -0700 | [diff] [blame] | 2329 | "src/f32-gemm/gen/4x8-minmax-aarch32-neon-pld-cortex-a75.S", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2330 | "src/f32-igemm/4x8-minmax-aarch32-neon-cortex-a53.S", |
| 2331 | "src/f32-igemm/4x8-minmax-aarch32-neon-cortex-a55.S", |
Frank Barchard | 490febe | 2020-07-16 18:42:17 -0700 | [diff] [blame] | 2332 | "src/f32-igemm/gen/4x8-minmax-aarch32-neon-cortex-a7.S", |
| 2333 | "src/f32-igemm/gen/4x8-minmax-aarch32-neon-cortex-a75.S", |
| 2334 | "src/f32-igemm/gen/4x8-minmax-aarch32-neon-ld64.S", |
| 2335 | "src/f32-igemm/gen/4x8-minmax-aarch32-neon-pld-cortex-a75.S", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2336 | ] |
| 2337 | |
| 2338 | AARCH64_ASM_UKERNELS = [ |
Frank Barchard | 36b76b6 | 2020-04-10 12:39:17 -0700 | [diff] [blame] | 2339 | "src/f16-gemm/gen/1x16-minmax-aarch64-neonfp16arith-ld32.S", |
Frank Barchard | 683f559 | 2020-04-10 00:48:26 -0700 | [diff] [blame] | 2340 | "src/f16-gemm/gen/4x16-minmax-aarch64-neonfp16arith-ld32.S", |
| 2341 | "src/f16-gemm/gen/6x16-minmax-aarch64-neonfp16arith-ld32.S", |
Frank Barchard | 36b76b6 | 2020-04-10 12:39:17 -0700 | [diff] [blame] | 2342 | "src/f16-gemm/gen-inc/1x16inc-minmax-aarch64-neonfp16arith-ld32.S", |
Frank Barchard | 683f559 | 2020-04-10 00:48:26 -0700 | [diff] [blame] | 2343 | "src/f16-gemm/gen-inc/4x16inc-minmax-aarch64-neonfp16arith-ld32.S", |
| 2344 | "src/f16-gemm/gen-inc/6x16inc-minmax-aarch64-neonfp16arith-ld32.S", |
Frank Barchard | bddfbcd | 2020-04-15 12:32:41 -0700 | [diff] [blame] | 2345 | "src/f16-gemm/gen/1x8-minmax-aarch64-neonfp16arith-ld64.S", |
| 2346 | "src/f16-gemm/gen/4x8-minmax-aarch64-neonfp16arith-ld64.S", |
| 2347 | "src/f16-gemm/gen/6x8-minmax-aarch64-neonfp16arith-ld64.S", |
Frank Barchard | 3b8e566 | 2020-04-20 12:12:53 -0700 | [diff] [blame] | 2348 | "src/f16-gemm/gen/8x8-minmax-aarch64-neonfp16arith-ld64.S", |
Frank Barchard | bddfbcd | 2020-04-15 12:32:41 -0700 | [diff] [blame] | 2349 | "src/f16-gemm/gen-inc/1x8inc-minmax-aarch64-neonfp16arith-ld64.S", |
| 2350 | "src/f16-gemm/gen-inc/4x8inc-minmax-aarch64-neonfp16arith-ld64.S", |
| 2351 | "src/f16-gemm/gen-inc/6x8inc-minmax-aarch64-neonfp16arith-ld64.S", |
Frank Barchard | 3b8e566 | 2020-04-20 12:12:53 -0700 | [diff] [blame] | 2352 | "src/f16-gemm/gen-inc/8x8inc-minmax-aarch64-neonfp16arith-ld64.S", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2353 | "src/f32-dwconv/up4x9-minmax-aarch64-neonfma-cortex-a55.S", |
| 2354 | "src/f32-dwconv/up4x9-minmax-aarch64-neonfma.S", |
Frank Barchard | 3cb54f9 | 2020-04-10 10:46:08 -0700 | [diff] [blame] | 2355 | "src/f32-gemm/gen/1x8-minmax-aarch64-neonfma-ld64.S", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2356 | "src/f32-gemm/gen/1x12-minmax-aarch64-neonfma-cortex-a53.S", |
| 2357 | "src/f32-gemm/gen/1x8-minmax-aarch64-neonfma-cortex-a53.S", |
| 2358 | "src/f32-gemm/gen/1x8-minmax-aarch64-neonfma-cortex-a57.S", |
| 2359 | "src/f32-gemm/gen/1x8-minmax-aarch64-neonfma-cortex-a75.S", |
| 2360 | "src/f32-gemm/gen/4x12-minmax-aarch64-neonfma-cortex-a53.S", |
| 2361 | "src/f32-gemm/gen/4x8-minmax-aarch64-neonfma-cortex-a53.S", |
| 2362 | "src/f32-gemm/gen/4x8-minmax-aarch64-neonfma-cortex-a55.S", |
| 2363 | "src/f32-gemm/gen/4x8-minmax-aarch64-neonfma-cortex-a57.S", |
| 2364 | "src/f32-gemm/gen/4x8-minmax-aarch64-neonfma-cortex-a75.S", |
| 2365 | "src/f32-gemm/gen/4x8-minmax-aarch64-neonfma-ld128.S", |
| 2366 | "src/f32-gemm/gen/4x8-minmax-aarch64-neonfma-ld64.S", |
| 2367 | "src/f32-gemm/gen/5x8-minmax-aarch64-neonfma-cortex-a57.S", |
| 2368 | "src/f32-gemm/gen/5x8-minmax-aarch64-neonfma-cortex-a75.S", |
| 2369 | "src/f32-gemm/gen/6x8-minmax-aarch64-neonfma-cortex-a53.S", |
| 2370 | "src/f32-gemm/gen/6x8-minmax-aarch64-neonfma-cortex-a55.S", |
| 2371 | "src/f32-gemm/gen/6x8-minmax-aarch64-neonfma-cortex-a73.S", |
| 2372 | "src/f32-gemm/gen/6x8-minmax-aarch64-neonfma-cortex-a57.S", |
| 2373 | "src/f32-gemm/gen/6x8-minmax-aarch64-neonfma-cortex-a75.S", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2374 | "src/f32-gemm/gen/6x8-minmax-aarch64-neonfma-ld128.S", |
| 2375 | "src/f32-gemm/gen/6x8-minmax-aarch64-neonfma-ld64.S", |
Frank Barchard | 3cb54f9 | 2020-04-10 10:46:08 -0700 | [diff] [blame] | 2376 | "src/f32-gemm/gen-inc/1x8inc-minmax-aarch64-neonfma-ld64.S", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2377 | "src/f32-gemm/gen-inc/1x12inc-minmax-aarch64-neonfma-cortex-a53.S", |
| 2378 | "src/f32-gemm/gen-inc/1x8inc-minmax-aarch64-neonfma-cortex-a53.S", |
| 2379 | "src/f32-gemm/gen-inc/1x8inc-minmax-aarch64-neonfma-cortex-a57.S", |
| 2380 | "src/f32-gemm/gen-inc/1x8inc-minmax-aarch64-neonfma-cortex-a75.S", |
| 2381 | "src/f32-gemm/gen-inc/4x12inc-minmax-aarch64-neonfma-cortex-a53.S", |
| 2382 | "src/f32-gemm/gen-inc/4x8inc-minmax-aarch64-neonfma-cortex-a53.S", |
| 2383 | "src/f32-gemm/gen-inc/4x8inc-minmax-aarch64-neonfma-cortex-a55.S", |
| 2384 | "src/f32-gemm/gen-inc/4x8inc-minmax-aarch64-neonfma-cortex-a57.S", |
| 2385 | "src/f32-gemm/gen-inc/4x8inc-minmax-aarch64-neonfma-cortex-a75.S", |
| 2386 | "src/f32-gemm/gen-inc/4x8inc-minmax-aarch64-neonfma-ld128.S", |
| 2387 | "src/f32-gemm/gen-inc/4x8inc-minmax-aarch64-neonfma-ld64.S", |
| 2388 | "src/f32-gemm/gen-inc/5x8inc-minmax-aarch64-neonfma-cortex-a57.S", |
| 2389 | "src/f32-gemm/gen-inc/5x8inc-minmax-aarch64-neonfma-cortex-a75.S", |
| 2390 | "src/f32-gemm/gen-inc/6x8inc-minmax-aarch64-neonfma-cortex-a53.S", |
| 2391 | "src/f32-gemm/gen-inc/6x8inc-minmax-aarch64-neonfma-cortex-a55.S", |
| 2392 | "src/f32-gemm/gen-inc/6x8inc-minmax-aarch64-neonfma-cortex-a73.S", |
| 2393 | "src/f32-gemm/gen-inc/6x8inc-minmax-aarch64-neonfma-cortex-a57.S", |
| 2394 | "src/f32-gemm/gen-inc/6x8inc-minmax-aarch64-neonfma-cortex-a75.S", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2395 | "src/f32-gemm/gen-inc/6x8inc-minmax-aarch64-neonfma-ld128.S", |
| 2396 | "src/f32-gemm/gen-inc/6x8inc-minmax-aarch64-neonfma-ld64.S", |
| 2397 | "src/f32-igemm/1x12-minmax-aarch64-neonfma-cortex-a53.S", |
| 2398 | "src/f32-igemm/1x8-minmax-aarch64-neonfma-cortex-a53.S", |
| 2399 | "src/f32-igemm/gen/1x8-minmax-aarch64-neonfma-cortex-a57.S", |
| 2400 | "src/f32-igemm/gen/1x8-minmax-aarch64-neonfma-cortex-a75.S", |
| 2401 | "src/f32-igemm/4x12-minmax-aarch64-neonfma-cortex-a53.S", |
| 2402 | "src/f32-igemm/4x8-minmax-aarch64-neonfma-cortex-a53.S", |
| 2403 | "src/f32-igemm/4x8-minmax-aarch64-neonfma-cortex-a55.S", |
| 2404 | "src/f32-igemm/gen/4x8-minmax-aarch64-neonfma-cortex-a57.S", |
| 2405 | "src/f32-igemm/gen/4x8-minmax-aarch64-neonfma-cortex-a75.S", |
| 2406 | "src/f32-igemm/gen/5x8-minmax-aarch64-neonfma-cortex-a57.S", |
| 2407 | "src/f32-igemm/gen/5x8-minmax-aarch64-neonfma-cortex-a75.S", |
| 2408 | "src/f32-igemm/6x8-minmax-aarch64-neonfma-cortex-a53.S", |
| 2409 | "src/f32-igemm/6x8-minmax-aarch64-neonfma-cortex-a55.S", |
| 2410 | "src/f32-igemm/6x8-minmax-aarch64-neonfma-cortex-a73.S", |
| 2411 | "src/f32-igemm/gen/6x8-minmax-aarch64-neonfma-cortex-a57.S", |
| 2412 | "src/f32-igemm/gen/6x8-minmax-aarch64-neonfma-cortex-a75.S", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2413 | ] |
| 2414 | |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 2415 | INTERNAL_MICROKERNEL_HDRS = [ |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2416 | "src/xnnpack/argmaxpool.h", |
| 2417 | "src/xnnpack/avgpool.h", |
| 2418 | "src/xnnpack/clamp.h", |
| 2419 | "src/xnnpack/common.h", |
| 2420 | "src/xnnpack/conv.h", |
| 2421 | "src/xnnpack/dwconv.h", |
| 2422 | "src/xnnpack/gavgpool.h", |
| 2423 | "src/xnnpack/gemm.h", |
Marat Dukhan | 3bb3bfc | 2020-05-19 17:42:46 -0700 | [diff] [blame] | 2424 | "src/xnnpack/fill.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2425 | "src/xnnpack/hswish.h", |
Marat Dukhan | 660fd19 | 2020-03-10 04:55:30 -0700 | [diff] [blame] | 2426 | "src/xnnpack/ibilinear.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2427 | "src/xnnpack/igemm.h", |
Marat Dukhan | cfb3134 | 2019-12-05 10:42:57 -0800 | [diff] [blame] | 2428 | "src/xnnpack/intrinsics-polyfill.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2429 | "src/xnnpack/lut.h", |
| 2430 | "src/xnnpack/math.h", |
| 2431 | "src/xnnpack/maxpool.h", |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2432 | "src/xnnpack/memory.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2433 | "src/xnnpack/packx.h", |
| 2434 | "src/xnnpack/pad.h", |
| 2435 | "src/xnnpack/params.h", |
| 2436 | "src/xnnpack/pavgpool.h", |
| 2437 | "src/xnnpack/ppmm.h", |
| 2438 | "src/xnnpack/prelu.h", |
Marat Dukhan | 9757953 | 2019-10-18 16:40:39 -0700 | [diff] [blame] | 2439 | "src/xnnpack/raddexpminusmax.h", |
Marat Dukhan | 6f8d4d3 | 2019-10-25 17:07:09 -0700 | [diff] [blame] | 2440 | "src/xnnpack/raddextexp.h", |
Marat Dukhan | 9757953 | 2019-10-18 16:40:39 -0700 | [diff] [blame] | 2441 | "src/xnnpack/raddstoreexpminusmax.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2442 | "src/xnnpack/rmax.h", |
| 2443 | "src/xnnpack/scalar-utils.h", |
| 2444 | "src/xnnpack/spmm.h", |
| 2445 | "src/xnnpack/unpool.h", |
| 2446 | "src/xnnpack/vadd.h", |
Marat Dukhan | 1e782c4 | 2019-11-21 17:02:40 -0800 | [diff] [blame] | 2447 | "src/xnnpack/vbinary.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2448 | "src/xnnpack/vmulcaddc.h", |
Marat Dukhan | 05ac8e3 | 2019-10-21 15:39:33 -0700 | [diff] [blame] | 2449 | "src/xnnpack/vscale.h", |
Marat Dukhan | 9757953 | 2019-10-18 16:40:39 -0700 | [diff] [blame] | 2450 | "src/xnnpack/vscaleexpminusmax.h", |
Marat Dukhan | 6f8d4d3 | 2019-10-25 17:07:09 -0700 | [diff] [blame] | 2451 | "src/xnnpack/vscaleextexp.h", |
Marat Dukhan | 1e782c4 | 2019-11-21 17:02:40 -0800 | [diff] [blame] | 2452 | "src/xnnpack/vunary.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2453 | "src/xnnpack/zip.h", |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 2454 | ] |
| 2455 | |
| 2456 | INTERNAL_HDRS = INTERNAL_MICROKERNEL_HDRS + [ |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2457 | "include/xnnpack.h", |
| 2458 | "src/xnnpack/allocator.h", |
| 2459 | "src/xnnpack/compute.h", |
| 2460 | "src/xnnpack/im2col.h", |
| 2461 | "src/xnnpack/indirection.h", |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 2462 | "src/xnnpack/math-stubs.h", |
Chao Mei | 6ddfc60 | 2020-05-13 22:29:36 -0700 | [diff] [blame] | 2463 | "src/xnnpack/memory-planner.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2464 | "src/xnnpack/operator.h", |
| 2465 | "src/xnnpack/pack.h", |
Marat Dukhan | eeaa7bd | 2019-10-25 17:31:25 -0700 | [diff] [blame] | 2466 | "src/xnnpack/params-init.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2467 | "src/xnnpack/requantization-stubs.h", |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 2468 | "src/xnnpack/requantization.h", |
Marat Dukhan | 1d75a54 | 2020-02-03 12:23:01 -0800 | [diff] [blame] | 2469 | "src/xnnpack/subgraph.h", |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 2470 | ] |
| 2471 | |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 2472 | ACCURACY_EVAL_HDRS = INTERNAL_MICROKERNEL_HDRS + [ |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 2473 | "src/xnnpack/math-stubs.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2474 | ] |
| 2475 | |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 2476 | MICROKERNEL_BENCHMARK_HDRS = INTERNAL_MICROKERNEL_HDRS + [ |
Marat Dukhan | eeaa7bd | 2019-10-25 17:31:25 -0700 | [diff] [blame] | 2477 | "src/xnnpack/params-init.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2478 | "include/xnnpack.h", |
| 2479 | ] |
| 2480 | |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 2481 | MICROKERNEL_TEST_HDRS = INTERNAL_MICROKERNEL_HDRS + [ |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2482 | "src/xnnpack/isa-checks.h", |
Marat Dukhan | eeaa7bd | 2019-10-25 17:31:25 -0700 | [diff] [blame] | 2483 | "src/xnnpack/params-init.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2484 | "src/xnnpack/requantization.h", |
| 2485 | "include/xnnpack.h", |
| 2486 | ] |
| 2487 | |
| 2488 | OPERATOR_TEST_PARAMS_HDRS = [ |
| 2489 | "src/xnnpack/params.h", |
| 2490 | "src/xnnpack/common.h", |
| 2491 | ] |
| 2492 | |
| 2493 | WEIGHTS_PACK_HDRS = [ |
| 2494 | "src/xnnpack/pack.h", |
| 2495 | "src/xnnpack/operator.h", |
| 2496 | "src/xnnpack/compute.h", |
| 2497 | ] |
| 2498 | |
Marat Dukhan | c8e00eb | 2019-10-04 14:55:26 -0700 | [diff] [blame] | 2499 | LOGGING_COPTS = select({ |
| 2500 | # No logging in optimized mode |
| 2501 | ":optimized_build": ["-DXNN_LOG_LEVEL=0"], |
| 2502 | # Full logging in debug mode |
| 2503 | ":debug_build": ["-DXNN_LOG_LEVEL=5"], |
| 2504 | # Error-only logging in default (fastbuild) mode |
| 2505 | "//conditions:default": ["-DXNN_LOG_LEVEL=2"], |
| 2506 | }) |
| 2507 | |
Marat Dukhan | 3b59de2 | 2020-06-03 20:15:19 -0700 | [diff] [blame] | 2508 | LOGGING_SRCS = select({ |
| 2509 | # No logging in optimized mode |
| 2510 | ":optimized_build": [], |
| 2511 | "//conditions:default": [ |
| 2512 | "src/operator-strings.c", |
| 2513 | "src/subgraph-strings.c", |
| 2514 | ], |
| 2515 | }) |
| 2516 | |
Marat Dukhan | c8e00eb | 2019-10-04 14:55:26 -0700 | [diff] [blame] | 2517 | LOGGING_HDRS = [ |
| 2518 | "src/xnnpack/log.h", |
| 2519 | ] |
| 2520 | |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2521 | xnnpack_cc_library( |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 2522 | name = "tables", |
| 2523 | srcs = TABLE_SRCS, |
| 2524 | hdrs = INTERNAL_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 2525 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2526 | msvc_copts = xnnpack_msvc_std_copts(), |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 2527 | ) |
| 2528 | |
| 2529 | xnnpack_cc_library( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2530 | name = "scalar_ukernels", |
| 2531 | srcs = SCALAR_UKERNELS, |
| 2532 | hdrs = INTERNAL_HDRS, |
| 2533 | aarch32_copts = ["-marm"], |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 2534 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2535 | msvc_copts = xnnpack_msvc_std_copts(), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2536 | deps = [ |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 2537 | ":tables", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2538 | "@FP16", |
| 2539 | "@FXdiv", |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2540 | "@pthreadpool", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2541 | ], |
| 2542 | ) |
| 2543 | |
| 2544 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2545 | name = "scalar_ukernels_test_mode", |
| 2546 | srcs = SCALAR_UKERNELS, |
| 2547 | hdrs = INTERNAL_HDRS, |
| 2548 | aarch32_copts = ["-marm"], |
| 2549 | copts = [ |
| 2550 | "-UNDEBUG", |
| 2551 | "-DXNN_TEST_MODE=1", |
| 2552 | ], |
| 2553 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2554 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2555 | deps = [ |
| 2556 | ":tables", |
| 2557 | "@FP16", |
| 2558 | "@FXdiv", |
| 2559 | "@pthreadpool", |
| 2560 | ], |
| 2561 | ) |
| 2562 | |
| 2563 | xnnpack_cc_library( |
Marat Dukhan | 436ebe6 | 2019-12-04 15:10:12 -0800 | [diff] [blame] | 2564 | name = "wasm_ukernels", |
| 2565 | hdrs = INTERNAL_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 2566 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2567 | msvc_copts = xnnpack_msvc_std_copts(), |
Marat Dukhan | 436ebe6 | 2019-12-04 15:10:12 -0800 | [diff] [blame] | 2568 | wasm_srcs = WASM_UKERNELS, |
Marat Dukhan | 1c6e389 | 2020-06-25 23:56:10 -0700 | [diff] [blame] | 2569 | wasmsimd_srcs = WASM_UKERNELS + WASMSIMD_UKERNELS, |
Marat Dukhan | 436ebe6 | 2019-12-04 15:10:12 -0800 | [diff] [blame] | 2570 | deps = [ |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 2571 | ":tables", |
Marat Dukhan | 436ebe6 | 2019-12-04 15:10:12 -0800 | [diff] [blame] | 2572 | "@FP16", |
| 2573 | "@FXdiv", |
| 2574 | "@pthreadpool", |
| 2575 | ], |
| 2576 | ) |
| 2577 | |
| 2578 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2579 | name = "wasm_ukernels_test_mode", |
| 2580 | hdrs = INTERNAL_HDRS, |
| 2581 | copts = [ |
| 2582 | "-UNDEBUG", |
| 2583 | "-DXNN_TEST_MODE=1", |
| 2584 | ], |
| 2585 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2586 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2587 | wasm_srcs = WASM_UKERNELS, |
Marat Dukhan | 0e97d6f | 2020-06-26 19:35:09 -0700 | [diff] [blame] | 2588 | wasmsimd_srcs = WASM_UKERNELS + WASMSIMD_UKERNELS, |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2589 | deps = [ |
| 2590 | ":tables", |
| 2591 | "@FP16", |
| 2592 | "@FXdiv", |
| 2593 | "@pthreadpool", |
| 2594 | ], |
| 2595 | ) |
| 2596 | |
| 2597 | xnnpack_cc_library( |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 2598 | name = "psimd_fastmath_ukernels", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2599 | hdrs = INTERNAL_HDRS, |
| 2600 | aarch32_copts = [ |
| 2601 | "-marm", |
| 2602 | "-mfpu=neon", |
| 2603 | ], |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 2604 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2605 | gcc_x86_copts = ["-msse2"], |
| 2606 | msvc_copts = xnnpack_msvc_std_copts(), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2607 | optimized_copts = [ |
| 2608 | "-O3", |
| 2609 | "-ffast-math", |
| 2610 | ], |
Marat Dukhan | 500b889 | 2020-04-15 17:09:50 -0700 | [diff] [blame] | 2611 | psimd_srcs = PSIMD_FASTMATH_UKERNELS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2612 | deps = [ |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 2613 | ":tables", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2614 | "@FP16", |
| 2615 | "@psimd", |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2616 | "@pthreadpool", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2617 | ], |
| 2618 | ) |
| 2619 | |
| 2620 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2621 | name = "psimd_fastmath_ukernels_test_mode", |
| 2622 | hdrs = INTERNAL_HDRS, |
| 2623 | aarch32_copts = [ |
| 2624 | "-marm", |
| 2625 | "-mfpu=neon", |
| 2626 | ], |
| 2627 | copts = [ |
| 2628 | "-UNDEBUG", |
| 2629 | "-DXNN_TEST_MODE=1", |
| 2630 | ], |
| 2631 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2632 | gcc_x86_copts = ["-msse2"], |
| 2633 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2634 | optimized_copts = [ |
| 2635 | "-O3", |
| 2636 | "-ffast-math", |
| 2637 | ], |
| 2638 | psimd_srcs = PSIMD_FASTMATH_UKERNELS, |
| 2639 | deps = [ |
| 2640 | ":tables", |
| 2641 | "@FP16", |
| 2642 | "@psimd", |
| 2643 | "@pthreadpool", |
| 2644 | ], |
| 2645 | ) |
| 2646 | |
| 2647 | xnnpack_cc_library( |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 2648 | name = "psimd_accmath_ukernels", |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 2649 | hdrs = INTERNAL_HDRS, |
| 2650 | aarch32_copts = [ |
| 2651 | "-marm", |
| 2652 | "-mfpu=neon", |
| 2653 | ], |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 2654 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2655 | gcc_x86_copts = ["-msse2"], |
| 2656 | msvc_copts = xnnpack_msvc_std_copts(), |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 2657 | optimized_copts = [ |
| 2658 | "-O3", |
| 2659 | ], |
Marat Dukhan | 500b889 | 2020-04-15 17:09:50 -0700 | [diff] [blame] | 2660 | psimd_srcs = PSIMD_ACCMATH_UKERNELS, |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 2661 | deps = [ |
| 2662 | ":tables", |
| 2663 | "@FP16", |
| 2664 | "@psimd", |
| 2665 | "@pthreadpool", |
| 2666 | ], |
| 2667 | ) |
| 2668 | |
| 2669 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2670 | name = "psimd_accmath_ukernels_test_mode", |
| 2671 | hdrs = INTERNAL_HDRS, |
| 2672 | aarch32_copts = [ |
| 2673 | "-marm", |
| 2674 | "-mfpu=neon", |
| 2675 | ], |
| 2676 | copts = [ |
| 2677 | "-UNDEBUG", |
| 2678 | "-DXNN_TEST_MODE=1", |
| 2679 | ], |
| 2680 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2681 | gcc_x86_copts = ["-msse2"], |
| 2682 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2683 | optimized_copts = [ |
| 2684 | "-O3", |
| 2685 | ], |
| 2686 | psimd_srcs = PSIMD_ACCMATH_UKERNELS, |
| 2687 | deps = [ |
| 2688 | ":tables", |
| 2689 | "@FP16", |
| 2690 | "@psimd", |
| 2691 | "@pthreadpool", |
| 2692 | ], |
| 2693 | ) |
| 2694 | |
| 2695 | xnnpack_cc_library( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2696 | name = "neon_ukernels", |
| 2697 | hdrs = INTERNAL_HDRS, |
| 2698 | aarch32_copts = [ |
| 2699 | "-marm", |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 2700 | "-march=armv7-a", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2701 | "-mfpu=neon", |
| 2702 | ], |
| 2703 | aarch32_srcs = NEON_UKERNELS, |
| 2704 | aarch64_srcs = NEON_UKERNELS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 2705 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2706 | msvc_copts = xnnpack_msvc_std_copts(), |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2707 | deps = [ |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 2708 | ":tables", |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2709 | "@FP16", |
| 2710 | "@pthreadpool", |
| 2711 | ], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2712 | ) |
| 2713 | |
| 2714 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2715 | name = "neon_ukernels_test_mode", |
| 2716 | hdrs = INTERNAL_HDRS, |
| 2717 | aarch32_copts = [ |
| 2718 | "-marm", |
| 2719 | "-march=armv7-a", |
| 2720 | "-mfpu=neon", |
| 2721 | ], |
| 2722 | aarch32_srcs = NEON_UKERNELS, |
| 2723 | aarch64_srcs = NEON_UKERNELS, |
| 2724 | copts = [ |
| 2725 | "-UNDEBUG", |
| 2726 | "-DXNN_TEST_MODE=1", |
| 2727 | ], |
| 2728 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2729 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2730 | deps = [ |
| 2731 | ":tables", |
| 2732 | "@FP16", |
| 2733 | "@pthreadpool", |
| 2734 | ], |
| 2735 | ) |
| 2736 | |
| 2737 | xnnpack_cc_library( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2738 | name = "neonfma_ukernels", |
| 2739 | hdrs = INTERNAL_HDRS, |
| 2740 | aarch32_copts = [ |
| 2741 | "-marm", |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 2742 | "-march=armv7-a", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2743 | "-mfpu=neon-vfpv4", |
| 2744 | ], |
| 2745 | aarch32_srcs = NEONFMA_UKERNELS, |
| 2746 | aarch64_srcs = NEONFMA_UKERNELS + AARCH64_NEONFMA_UKERNELS, |
Marat Dukhan | bc69ed6 | 2020-06-09 21:34:56 -0700 | [diff] [blame] | 2747 | apple_aarch32_copts = [ |
| 2748 | "-mcpu=swift", |
| 2749 | "-mtune=generic", |
| 2750 | ], |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 2751 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2752 | msvc_copts = xnnpack_msvc_std_copts(), |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2753 | deps = [ |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 2754 | ":tables", |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2755 | "@FP16", |
| 2756 | "@pthreadpool", |
| 2757 | ], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2758 | ) |
| 2759 | |
| 2760 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2761 | name = "neonfma_ukernels_test_mode", |
| 2762 | hdrs = INTERNAL_HDRS, |
| 2763 | aarch32_copts = [ |
| 2764 | "-marm", |
| 2765 | "-march=armv7-a", |
| 2766 | "-mfpu=neon-vfpv4", |
| 2767 | ], |
| 2768 | aarch32_srcs = NEONFMA_UKERNELS, |
| 2769 | aarch64_srcs = NEONFMA_UKERNELS + AARCH64_NEONFMA_UKERNELS, |
Marat Dukhan | bc69ed6 | 2020-06-09 21:34:56 -0700 | [diff] [blame] | 2770 | apple_aarch32_copts = [ |
| 2771 | "-mcpu=swift", |
| 2772 | "-mtune=generic", |
| 2773 | ], |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2774 | copts = [ |
| 2775 | "-UNDEBUG", |
| 2776 | "-DXNN_TEST_MODE=1", |
| 2777 | ], |
| 2778 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2779 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2780 | deps = [ |
| 2781 | ":tables", |
| 2782 | "@FP16", |
| 2783 | "@pthreadpool", |
| 2784 | ], |
| 2785 | ) |
| 2786 | |
| 2787 | xnnpack_cc_library( |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 2788 | name = "neonv8_ukernels", |
| 2789 | hdrs = INTERNAL_HDRS, |
| 2790 | aarch32_copts = [ |
| 2791 | "-marm", |
| 2792 | "-march=armv8-a", |
| 2793 | "-mfpu=neon-fp-armv8", |
| 2794 | ], |
| 2795 | aarch32_srcs = NEONV8_UKERNELS, |
| 2796 | aarch64_srcs = NEONV8_UKERNELS, |
Marat Dukhan | bc69ed6 | 2020-06-09 21:34:56 -0700 | [diff] [blame] | 2797 | apple_aarch32_copts = [ |
| 2798 | "-mcpu=cyclone", |
| 2799 | "-mtune=generic", |
| 2800 | ], |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 2801 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2802 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2803 | deps = [ |
| 2804 | ":tables", |
| 2805 | "@FP16", |
| 2806 | "@pthreadpool", |
| 2807 | ], |
| 2808 | ) |
| 2809 | |
| 2810 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2811 | name = "neonv8_ukernels_test_mode", |
| 2812 | hdrs = INTERNAL_HDRS, |
| 2813 | aarch32_copts = [ |
| 2814 | "-marm", |
| 2815 | "-march=armv8-a", |
| 2816 | "-mfpu=neon-fp-armv8", |
| 2817 | ], |
| 2818 | aarch32_srcs = NEONV8_UKERNELS, |
| 2819 | aarch64_srcs = NEONV8_UKERNELS, |
Marat Dukhan | bc69ed6 | 2020-06-09 21:34:56 -0700 | [diff] [blame] | 2820 | apple_aarch32_copts = [ |
| 2821 | "-mcpu=cyclone", |
| 2822 | "-mtune=generic", |
| 2823 | ], |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2824 | copts = [ |
| 2825 | "-UNDEBUG", |
| 2826 | "-DXNN_TEST_MODE=1", |
| 2827 | ], |
| 2828 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2829 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2830 | deps = [ |
| 2831 | ":tables", |
| 2832 | "@FP16", |
| 2833 | "@pthreadpool", |
| 2834 | ], |
| 2835 | ) |
| 2836 | |
| 2837 | xnnpack_cc_library( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2838 | name = "neonfp16arith_ukernels", |
| 2839 | hdrs = INTERNAL_HDRS, |
| 2840 | aarch64_copts = ["-march=armv8.2-a+fp16"], |
| 2841 | aarch64_srcs = AARCH64_NEONFP16ARITH_UKERNELS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 2842 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2843 | msvc_copts = xnnpack_msvc_std_copts(), |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2844 | deps = [ |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 2845 | ":tables", |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2846 | "@FP16", |
| 2847 | "@pthreadpool", |
| 2848 | ], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2849 | ) |
| 2850 | |
| 2851 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2852 | name = "neonfp16arith_ukernels_test_mode", |
| 2853 | hdrs = INTERNAL_HDRS, |
| 2854 | aarch64_copts = ["-march=armv8.2-a+fp16"], |
| 2855 | aarch64_srcs = AARCH64_NEONFP16ARITH_UKERNELS, |
| 2856 | copts = [ |
| 2857 | "-UNDEBUG", |
| 2858 | "-DXNN_TEST_MODE=1", |
| 2859 | ], |
| 2860 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2861 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2862 | deps = [ |
| 2863 | ":tables", |
| 2864 | "@FP16", |
| 2865 | "@pthreadpool", |
| 2866 | ], |
| 2867 | ) |
| 2868 | |
| 2869 | xnnpack_cc_library( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2870 | name = "sse2_ukernels", |
| 2871 | hdrs = INTERNAL_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 2872 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2873 | gcc_x86_copts = ["-msse2"], |
| 2874 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2875 | msvc_x86_32_copts = ["/arch:SSE2"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2876 | x86_srcs = SSE_UKERNELS + SSE2_UKERNELS, |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2877 | deps = [ |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 2878 | ":tables", |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2879 | "@FP16", |
| 2880 | "@pthreadpool", |
| 2881 | ], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2882 | ) |
| 2883 | |
| 2884 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2885 | name = "sse2_ukernels_test_mode", |
| 2886 | hdrs = INTERNAL_HDRS, |
| 2887 | copts = [ |
| 2888 | "-UNDEBUG", |
| 2889 | "-DXNN_TEST_MODE=1", |
| 2890 | ], |
| 2891 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2892 | gcc_x86_copts = ["-msse2"], |
| 2893 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2894 | msvc_x86_32_copts = ["/arch:SSE2"], |
| 2895 | x86_srcs = SSE_UKERNELS + SSE2_UKERNELS, |
| 2896 | deps = [ |
| 2897 | ":tables", |
| 2898 | "@FP16", |
| 2899 | "@pthreadpool", |
| 2900 | ], |
| 2901 | ) |
| 2902 | |
| 2903 | xnnpack_cc_library( |
Marat Dukhan | fe7acb6 | 2020-03-09 19:30:05 -0700 | [diff] [blame] | 2904 | name = "ssse3_ukernels", |
| 2905 | hdrs = INTERNAL_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 2906 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2907 | gcc_x86_copts = ["-mssse3"], |
| 2908 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2909 | msvc_x86_32_copts = ["/arch:SSE2"], |
Marat Dukhan | fe7acb6 | 2020-03-09 19:30:05 -0700 | [diff] [blame] | 2910 | x86_srcs = SSSE3_UKERNELS, |
| 2911 | deps = [ |
| 2912 | ":tables", |
| 2913 | "@FP16", |
| 2914 | "@pthreadpool", |
| 2915 | ], |
| 2916 | ) |
| 2917 | |
| 2918 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2919 | name = "ssse3_ukernels_test_mode", |
| 2920 | hdrs = INTERNAL_HDRS, |
| 2921 | copts = [ |
| 2922 | "-UNDEBUG", |
| 2923 | "-DXNN_TEST_MODE=1", |
| 2924 | ], |
| 2925 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2926 | gcc_x86_copts = ["-mssse3"], |
| 2927 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2928 | msvc_x86_32_copts = ["/arch:SSE2"], |
| 2929 | x86_srcs = SSSE3_UKERNELS, |
| 2930 | deps = [ |
| 2931 | ":tables", |
| 2932 | "@FP16", |
| 2933 | "@pthreadpool", |
| 2934 | ], |
| 2935 | ) |
| 2936 | |
| 2937 | xnnpack_cc_library( |
Marat Dukhan | 69c3f2c | 2019-11-06 12:30:01 -0800 | [diff] [blame] | 2938 | name = "sse41_ukernels", |
| 2939 | hdrs = INTERNAL_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 2940 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2941 | gcc_x86_copts = ["-msse4.1"], |
| 2942 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2943 | msvc_x86_32_copts = ["/arch:SSE2"], |
Marat Dukhan | 69c3f2c | 2019-11-06 12:30:01 -0800 | [diff] [blame] | 2944 | x86_srcs = SSE41_UKERNELS, |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2945 | deps = [ |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 2946 | ":tables", |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2947 | "@FP16", |
| 2948 | "@pthreadpool", |
| 2949 | ], |
Marat Dukhan | 69c3f2c | 2019-11-06 12:30:01 -0800 | [diff] [blame] | 2950 | ) |
| 2951 | |
| 2952 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2953 | name = "sse41_ukernels_test_mode", |
| 2954 | hdrs = INTERNAL_HDRS, |
| 2955 | copts = [ |
| 2956 | "-UNDEBUG", |
| 2957 | "-DXNN_TEST_MODE=1", |
| 2958 | ], |
| 2959 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2960 | gcc_x86_copts = ["-msse4.1"], |
| 2961 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2962 | msvc_x86_32_copts = ["/arch:SSE2"], |
| 2963 | x86_srcs = SSE41_UKERNELS, |
| 2964 | deps = [ |
| 2965 | ":tables", |
| 2966 | "@FP16", |
| 2967 | "@pthreadpool", |
| 2968 | ], |
| 2969 | ) |
| 2970 | |
| 2971 | xnnpack_cc_library( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2972 | name = "avx_ukernels", |
| 2973 | hdrs = INTERNAL_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 2974 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2975 | gcc_x86_copts = ["-mavx"], |
| 2976 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2977 | msvc_x86_32_copts = ["/arch:AVX"], |
| 2978 | msvc_x86_64_copts = ["/arch:AVX"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2979 | x86_srcs = AVX_UKERNELS, |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2980 | deps = [ |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 2981 | ":tables", |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2982 | "@FP16", |
| 2983 | "@pthreadpool", |
| 2984 | ], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2985 | ) |
| 2986 | |
| 2987 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2988 | name = "avx_ukernels_test_mode", |
| 2989 | hdrs = INTERNAL_HDRS, |
| 2990 | copts = [ |
| 2991 | "-UNDEBUG", |
| 2992 | "-DXNN_TEST_MODE=1", |
| 2993 | ], |
| 2994 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2995 | gcc_x86_copts = ["-mavx"], |
| 2996 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2997 | msvc_x86_32_copts = ["/arch:AVX"], |
| 2998 | msvc_x86_64_copts = ["/arch:AVX"], |
| 2999 | x86_srcs = AVX_UKERNELS, |
| 3000 | deps = [ |
| 3001 | ":tables", |
| 3002 | "@FP16", |
| 3003 | "@pthreadpool", |
| 3004 | ], |
| 3005 | ) |
| 3006 | |
| 3007 | xnnpack_cc_library( |
Marat Dukhan | 1566fee | 2020-08-02 21:55:41 -0700 | [diff] [blame] | 3008 | name = "xop_ukernels", |
| 3009 | hdrs = INTERNAL_HDRS, |
| 3010 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3011 | gcc_x86_copts = ["-mxop"], |
| 3012 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3013 | msvc_x86_32_copts = ["/arch:AVX"], |
| 3014 | msvc_x86_64_copts = ["/arch:AVX"], |
| 3015 | x86_srcs = XOP_UKERNELS, |
| 3016 | deps = [ |
| 3017 | ":tables", |
| 3018 | "@FP16", |
| 3019 | "@pthreadpool", |
| 3020 | ], |
| 3021 | ) |
| 3022 | |
| 3023 | xnnpack_cc_library( |
| 3024 | name = "xop_ukernels_test_mode", |
| 3025 | hdrs = INTERNAL_HDRS, |
| 3026 | copts = [ |
| 3027 | "-UNDEBUG", |
| 3028 | "-DXNN_TEST_MODE=1", |
| 3029 | ], |
| 3030 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3031 | gcc_x86_copts = ["-mxop"], |
| 3032 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3033 | msvc_x86_32_copts = ["/arch:AVX"], |
| 3034 | msvc_x86_64_copts = ["/arch:AVX"], |
| 3035 | x86_srcs = XOP_UKERNELS, |
| 3036 | deps = [ |
| 3037 | ":tables", |
| 3038 | "@FP16", |
| 3039 | "@pthreadpool", |
| 3040 | ], |
| 3041 | ) |
| 3042 | |
| 3043 | xnnpack_cc_library( |
Marat Dukhan | fda12b8 | 2019-11-21 12:27:59 -0800 | [diff] [blame] | 3044 | name = "fma3_ukernels", |
| 3045 | hdrs = INTERNAL_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3046 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3047 | gcc_x86_copts = ["-mfma"], |
| 3048 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3049 | msvc_x86_32_copts = ["/arch:AVX"], |
| 3050 | msvc_x86_64_copts = ["/arch:AVX"], |
Marat Dukhan | fda12b8 | 2019-11-21 12:27:59 -0800 | [diff] [blame] | 3051 | x86_srcs = FMA3_UKERNELS, |
| 3052 | deps = [ |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 3053 | ":tables", |
Marat Dukhan | fda12b8 | 2019-11-21 12:27:59 -0800 | [diff] [blame] | 3054 | "@FP16", |
| 3055 | "@pthreadpool", |
| 3056 | ], |
| 3057 | ) |
| 3058 | |
| 3059 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3060 | name = "fma3_ukernels_test_mode", |
| 3061 | hdrs = INTERNAL_HDRS, |
| 3062 | copts = [ |
| 3063 | "-UNDEBUG", |
| 3064 | "-DXNN_TEST_MODE=1", |
| 3065 | ], |
| 3066 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3067 | gcc_x86_copts = ["-mfma"], |
| 3068 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3069 | msvc_x86_32_copts = ["/arch:AVX"], |
| 3070 | msvc_x86_64_copts = ["/arch:AVX"], |
| 3071 | x86_srcs = FMA3_UKERNELS, |
| 3072 | deps = [ |
| 3073 | ":tables", |
| 3074 | "@FP16", |
| 3075 | "@pthreadpool", |
| 3076 | ], |
| 3077 | ) |
| 3078 | |
| 3079 | xnnpack_cc_library( |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 3080 | name = "avx2_ukernels", |
| 3081 | hdrs = INTERNAL_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3082 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3083 | gcc_x86_copts = [ |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 3084 | "-mfma", |
| 3085 | "-mavx2", |
| 3086 | ], |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3087 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3088 | msvc_x86_32_copts = ["/arch:AVX2"], |
| 3089 | msvc_x86_64_copts = ["/arch:AVX2"], |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 3090 | x86_srcs = AVX2_UKERNELS, |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 3091 | deps = [ |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 3092 | ":tables", |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 3093 | "@FP16", |
| 3094 | "@pthreadpool", |
| 3095 | ], |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 3096 | ) |
| 3097 | |
| 3098 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3099 | name = "avx2_ukernels_test_mode", |
| 3100 | hdrs = INTERNAL_HDRS, |
| 3101 | copts = [ |
| 3102 | "-UNDEBUG", |
| 3103 | "-DXNN_TEST_MODE=1", |
| 3104 | ], |
| 3105 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3106 | gcc_x86_copts = [ |
| 3107 | "-mfma", |
| 3108 | "-mavx2", |
| 3109 | ], |
| 3110 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3111 | msvc_x86_32_copts = ["/arch:AVX2"], |
| 3112 | msvc_x86_64_copts = ["/arch:AVX2"], |
| 3113 | x86_srcs = AVX2_UKERNELS, |
| 3114 | deps = [ |
| 3115 | ":tables", |
| 3116 | "@FP16", |
| 3117 | "@pthreadpool", |
| 3118 | ], |
| 3119 | ) |
| 3120 | |
| 3121 | xnnpack_cc_library( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3122 | name = "avx512f_ukernels", |
| 3123 | hdrs = INTERNAL_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3124 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3125 | gcc_x86_copts = ["-mavx512f"], |
| 3126 | mingw_copts = ["-fno-asynchronous-unwind-tables"], |
| 3127 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3128 | msvc_x86_32_copts = ["/arch:AVX512"], |
| 3129 | msvc_x86_64_copts = ["/arch:AVX512"], |
| 3130 | msys_copts = ["-fno-asynchronous-unwind-tables"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3131 | x86_srcs = AVX512F_UKERNELS, |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 3132 | deps = [ |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 3133 | ":tables", |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 3134 | "@FP16", |
| 3135 | "@pthreadpool", |
| 3136 | ], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3137 | ) |
| 3138 | |
| 3139 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3140 | name = "avx512f_ukernels_test_mode", |
| 3141 | hdrs = INTERNAL_HDRS, |
| 3142 | copts = [ |
| 3143 | "-UNDEBUG", |
| 3144 | "-DXNN_TEST_MODE=1", |
| 3145 | ], |
| 3146 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3147 | gcc_x86_copts = ["-mavx512f"], |
| 3148 | mingw_copts = ["-fno-asynchronous-unwind-tables"], |
| 3149 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3150 | msvc_x86_32_copts = ["/arch:AVX512"], |
| 3151 | msvc_x86_64_copts = ["/arch:AVX512"], |
| 3152 | msys_copts = ["-fno-asynchronous-unwind-tables"], |
| 3153 | x86_srcs = AVX512F_UKERNELS, |
| 3154 | deps = [ |
| 3155 | ":tables", |
| 3156 | "@FP16", |
| 3157 | "@pthreadpool", |
| 3158 | ], |
| 3159 | ) |
| 3160 | |
| 3161 | xnnpack_cc_library( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3162 | name = "asm_ukernels", |
| 3163 | hdrs = ["src/xnnpack/assembly.h"], |
| 3164 | aarch32_srcs = AARCH32_ASM_UKERNELS, |
Frank Barchard | 683f559 | 2020-04-10 00:48:26 -0700 | [diff] [blame] | 3165 | aarch64_copts = ["-march=armv8.2-a+fp16"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3166 | aarch64_srcs = AARCH64_ASM_UKERNELS, |
| 3167 | ) |
| 3168 | |
Marat Dukhan | 3b59de2 | 2020-06-03 20:15:19 -0700 | [diff] [blame] | 3169 | xnnpack_cc_library( |
| 3170 | name = "logging_utils", |
| 3171 | srcs = LOGGING_SRCS, |
| 3172 | hdrs = INTERNAL_HDRS + LOGGING_HDRS, |
| 3173 | copts = LOGGING_COPTS + [ |
| 3174 | "-Isrc", |
| 3175 | "-Iinclude", |
| 3176 | ] + select({ |
| 3177 | ":debug_build": [], |
| 3178 | "//conditions:default": xnnpack_min_size_copts(), |
| 3179 | }), |
| 3180 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3181 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3182 | visibility = xnnpack_visibility(), |
| 3183 | deps = [ |
| 3184 | "@FP16", |
| 3185 | "@clog", |
| 3186 | "@pthreadpool", |
| 3187 | ], |
| 3188 | ) |
| 3189 | |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3190 | xnnpack_aggregate_library( |
| 3191 | name = "ukernels", |
| 3192 | aarch32_deps = [ |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3193 | ":neon_ukernels", |
| 3194 | ":neonfma_ukernels", |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 3195 | ":neonv8_ukernels", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3196 | ":asm_ukernels", |
| 3197 | ], |
| 3198 | aarch64_deps = [ |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3199 | ":neon_ukernels", |
| 3200 | ":neonfma_ukernels", |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 3201 | ":neonv8_ukernels", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3202 | ":neonfp16arith_ukernels", |
| 3203 | ":asm_ukernels", |
| 3204 | ], |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3205 | generic_deps = [ |
| 3206 | ":scalar_ukernels", |
| 3207 | ], |
Marat Dukhan | 500b889 | 2020-04-15 17:09:50 -0700 | [diff] [blame] | 3208 | psimd_deps = [ |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 3209 | ":psimd_fastmath_ukernels", |
| 3210 | ":psimd_accmath_ukernels", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3211 | ], |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3212 | wasm_deps = [ |
| 3213 | ":wasm_ukernels", |
| 3214 | ], |
| 3215 | wasmsimd_deps = [ |
| 3216 | ":wasm_ukernels", |
| 3217 | ], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3218 | x86_deps = [ |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3219 | ":sse2_ukernels", |
Marat Dukhan | fe7acb6 | 2020-03-09 19:30:05 -0700 | [diff] [blame] | 3220 | ":ssse3_ukernels", |
Marat Dukhan | 69c3f2c | 2019-11-06 12:30:01 -0800 | [diff] [blame] | 3221 | ":sse41_ukernels", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3222 | ":avx_ukernels", |
Marat Dukhan | 1566fee | 2020-08-02 21:55:41 -0700 | [diff] [blame] | 3223 | ":xop_ukernels", |
Marat Dukhan | fda12b8 | 2019-11-21 12:27:59 -0800 | [diff] [blame] | 3224 | ":fma3_ukernels", |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 3225 | ":avx2_ukernels", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3226 | ":avx512f_ukernels", |
| 3227 | ], |
| 3228 | ) |
| 3229 | |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3230 | xnnpack_aggregate_library( |
| 3231 | name = "ukernels_test_mode", |
| 3232 | aarch32_deps = [ |
| 3233 | ":neon_ukernels_test_mode", |
| 3234 | ":neonfma_ukernels_test_mode", |
| 3235 | ":neonv8_ukernels_test_mode", |
| 3236 | ":asm_ukernels", |
| 3237 | ], |
| 3238 | aarch64_deps = [ |
| 3239 | ":neon_ukernels_test_mode", |
| 3240 | ":neonfma_ukernels_test_mode", |
| 3241 | ":neonv8_ukernels_test_mode", |
| 3242 | ":neonfp16arith_ukernels_test_mode", |
| 3243 | ":asm_ukernels", |
| 3244 | ], |
| 3245 | generic_deps = [ |
| 3246 | ":scalar_ukernels_test_mode", |
| 3247 | ], |
| 3248 | psimd_deps = [ |
| 3249 | ":psimd_fastmath_ukernels_test_mode", |
| 3250 | ":psimd_accmath_ukernels_test_mode", |
| 3251 | ], |
| 3252 | wasm_deps = [ |
| 3253 | ":wasm_ukernels_test_mode", |
| 3254 | ], |
| 3255 | wasmsimd_deps = [ |
| 3256 | ":wasm_ukernels_test_mode", |
| 3257 | ], |
| 3258 | x86_deps = [ |
| 3259 | ":sse2_ukernels_test_mode", |
| 3260 | ":ssse3_ukernels_test_mode", |
| 3261 | ":sse41_ukernels_test_mode", |
| 3262 | ":avx_ukernels_test_mode", |
Marat Dukhan | 1566fee | 2020-08-02 21:55:41 -0700 | [diff] [blame] | 3263 | ":xop_ukernels_test_mode", |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3264 | ":fma3_ukernels_test_mode", |
| 3265 | ":avx2_ukernels_test_mode", |
| 3266 | ":avx512f_ukernels_test_mode", |
| 3267 | ], |
| 3268 | ) |
| 3269 | |
Marat Dukhan | 86df384 | 2020-06-17 14:03:31 -0700 | [diff] [blame] | 3270 | # This target must be compatible with Android NDK r17 and compile with Clang 6. |
| 3271 | # It is similar to :ukernels target, but excludes microkernels which require |
| 3272 | # NEON FP16 arithmetics, NEON Dot Product, and newer intrinsics. |
Marat Dukhan | ae046f5 | 2020-06-15 13:16:14 -0700 | [diff] [blame] | 3273 | xnnpack_aggregate_library( |
Marat Dukhan | 86df384 | 2020-06-17 14:03:31 -0700 | [diff] [blame] | 3274 | name = "ukernels_max_compatibility", |
Marat Dukhan | ae046f5 | 2020-06-15 13:16:14 -0700 | [diff] [blame] | 3275 | aarch32_deps = [ |
| 3276 | ":neon_ukernels", |
| 3277 | ":neonfma_ukernels", |
| 3278 | ":neonv8_ukernels", |
| 3279 | ":asm_ukernels", |
| 3280 | ], |
| 3281 | aarch64_deps = [ |
| 3282 | ":neon_ukernels", |
| 3283 | ":neonfma_ukernels", |
| 3284 | ":neonv8_ukernels", |
| 3285 | ":asm_ukernels", |
| 3286 | ], |
| 3287 | generic_deps = [ |
| 3288 | ":scalar_ukernels", |
| 3289 | ], |
| 3290 | psimd_deps = [ |
| 3291 | ":psimd_fastmath_ukernels", |
| 3292 | ":psimd_accmath_ukernels", |
| 3293 | ], |
| 3294 | wasm_deps = [ |
| 3295 | ":wasm_ukernels", |
| 3296 | ], |
| 3297 | wasmsimd_deps = [ |
| 3298 | ":wasm_ukernels", |
| 3299 | ], |
| 3300 | x86_deps = [ |
| 3301 | ":sse2_ukernels", |
| 3302 | ":ssse3_ukernels", |
| 3303 | ":sse41_ukernels", |
| 3304 | ":avx_ukernels", |
Marat Dukhan | 1566fee | 2020-08-02 21:55:41 -0700 | [diff] [blame] | 3305 | ":xop_ukernels", |
Marat Dukhan | ae046f5 | 2020-06-15 13:16:14 -0700 | [diff] [blame] | 3306 | ":fma3_ukernels", |
| 3307 | ":avx2_ukernels", |
| 3308 | ":avx512f_ukernels", |
| 3309 | ], |
| 3310 | ) |
| 3311 | |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3312 | xnnpack_cc_library( |
| 3313 | name = "im2col", |
| 3314 | srcs = ["src/im2col.c"], |
| 3315 | hdrs = [ |
| 3316 | "src/xnnpack/common.h", |
| 3317 | "src/xnnpack/im2col.h", |
| 3318 | ], |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3319 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3320 | msvc_copts = xnnpack_msvc_std_copts(), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3321 | ) |
| 3322 | |
| 3323 | xnnpack_cc_library( |
| 3324 | name = "indirection", |
| 3325 | srcs = ["src/indirection.c"], |
| 3326 | hdrs = INTERNAL_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3327 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3328 | msvc_copts = xnnpack_msvc_std_copts(), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3329 | deps = [ |
| 3330 | "@FP16", |
| 3331 | "@FXdiv", |
| 3332 | "@pthreadpool", |
| 3333 | ], |
| 3334 | ) |
| 3335 | |
| 3336 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3337 | name = "indirection_test_mode", |
| 3338 | srcs = ["src/indirection.c"], |
| 3339 | hdrs = INTERNAL_HDRS, |
| 3340 | copts = [ |
| 3341 | "-UNDEBUG", |
| 3342 | "-DXNN_TEST_MODE=1", |
| 3343 | ], |
| 3344 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3345 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3346 | deps = [ |
| 3347 | "@FP16", |
| 3348 | "@FXdiv", |
| 3349 | "@pthreadpool", |
| 3350 | ], |
| 3351 | ) |
| 3352 | |
| 3353 | xnnpack_cc_library( |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 3354 | name = "packing", |
| 3355 | srcs = ["src/packing.c"], |
| 3356 | hdrs = INTERNAL_HDRS, |
| 3357 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3358 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3359 | deps = [ |
| 3360 | "@FP16", |
| 3361 | "@FXdiv", |
| 3362 | "@pthreadpool", |
| 3363 | ], |
| 3364 | ) |
| 3365 | |
| 3366 | xnnpack_cc_library( |
| 3367 | name = "packing_test_mode", |
| 3368 | srcs = ["src/packing.c"], |
| 3369 | hdrs = INTERNAL_HDRS, |
| 3370 | copts = [ |
| 3371 | "-UNDEBUG", |
| 3372 | "-DXNN_TEST_MODE=1", |
| 3373 | ], |
| 3374 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3375 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3376 | deps = [ |
| 3377 | "@FP16", |
| 3378 | "@FXdiv", |
| 3379 | "@pthreadpool", |
| 3380 | ], |
| 3381 | ) |
| 3382 | |
| 3383 | xnnpack_cc_library( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3384 | name = "operator_run", |
| 3385 | srcs = ["src/operator-run.c"], |
Marat Dukhan | c8e00eb | 2019-10-04 14:55:26 -0700 | [diff] [blame] | 3386 | hdrs = INTERNAL_HDRS + LOGGING_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3387 | copts = LOGGING_COPTS + select({ |
Marat Dukhan | 05702cf | 2020-03-26 15:41:33 -0700 | [diff] [blame] | 3388 | ":xnn_enable_hmp_explicit_false": ["-DXNN_MAX_UARCH_TYPES=1"], |
| 3389 | "//conditions:default": [], |
| 3390 | }), |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3391 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3392 | msvc_copts = xnnpack_msvc_std_copts(), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3393 | deps = [ |
Marat Dukhan | 3b59de2 | 2020-06-03 20:15:19 -0700 | [diff] [blame] | 3394 | ":logging_utils", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3395 | "@FP16", |
| 3396 | "@FXdiv", |
| 3397 | "@clog", |
| 3398 | "@pthreadpool", |
| 3399 | ], |
| 3400 | ) |
| 3401 | |
Chao Mei | 6ddfc60 | 2020-05-13 22:29:36 -0700 | [diff] [blame] | 3402 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3403 | name = "operator_run_test_mode", |
| 3404 | srcs = ["src/operator-run.c"], |
| 3405 | hdrs = INTERNAL_HDRS + LOGGING_HDRS, |
| 3406 | copts = LOGGING_COPTS + [ |
| 3407 | "-UNDEBUG", |
| 3408 | "-DXNN_TEST_MODE=1", |
| 3409 | ] + select({ |
| 3410 | ":xnn_enable_hmp_explicit_false": ["-DXNN_MAX_UARCH_TYPES=1"], |
| 3411 | "//conditions:default": [], |
| 3412 | }), |
| 3413 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3414 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3415 | deps = [ |
Marat Dukhan | 3b59de2 | 2020-06-03 20:15:19 -0700 | [diff] [blame] | 3416 | ":logging_utils", |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3417 | "@FP16", |
| 3418 | "@FXdiv", |
| 3419 | "@clog", |
| 3420 | "@pthreadpool", |
| 3421 | ], |
| 3422 | ) |
| 3423 | |
| 3424 | xnnpack_cc_library( |
Chao Mei | 6ddfc60 | 2020-05-13 22:29:36 -0700 | [diff] [blame] | 3425 | name = "memory_planner", |
| 3426 | srcs = ["src/memory-planner.c"], |
| 3427 | hdrs = INTERNAL_HDRS, |
| 3428 | defines = select({ |
| 3429 | ":xnn_enable_memopt_explicit_true": ["XNN_ENABLE_MEMOPT=1"], |
| 3430 | ":xnn_enable_memopt_explicit_false": ["XNN_ENABLE_MEMOPT=0"], |
| 3431 | "//conditions:default": ["XNN_ENABLE_MEMOPT=1"], |
| 3432 | }), |
| 3433 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3434 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3435 | deps = [ |
Marat Dukhan | 3b59de2 | 2020-06-03 20:15:19 -0700 | [diff] [blame] | 3436 | ":logging_utils", |
Chao Mei | 6ddfc60 | 2020-05-13 22:29:36 -0700 | [diff] [blame] | 3437 | "@pthreadpool", |
| 3438 | ], |
| 3439 | ) |
| 3440 | |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3441 | xnnpack_cc_library( |
| 3442 | name = "memory_planner_test_mode", |
| 3443 | srcs = ["src/memory-planner.c"], |
| 3444 | hdrs = INTERNAL_HDRS, |
| 3445 | copts = [ |
| 3446 | "-UNDEBUG", |
| 3447 | "-DXNN_TEST_MODE=1", |
| 3448 | ], |
| 3449 | defines = select({ |
| 3450 | ":xnn_enable_memopt_explicit_true": ["XNN_ENABLE_MEMOPT=1"], |
| 3451 | ":xnn_enable_memopt_explicit_false": ["XNN_ENABLE_MEMOPT=0"], |
| 3452 | "//conditions:default": ["XNN_ENABLE_MEMOPT=1"], |
| 3453 | }), |
| 3454 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3455 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3456 | deps = [ |
Marat Dukhan | 3b59de2 | 2020-06-03 20:15:19 -0700 | [diff] [blame] | 3457 | ":logging_utils", |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3458 | "@pthreadpool", |
| 3459 | ], |
| 3460 | ) |
| 3461 | |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3462 | cc_library( |
| 3463 | name = "enable_assembly", |
| 3464 | defines = select({ |
| 3465 | ":xnn_enable_assembly_explicit_true": ["XNN_ENABLE_ASSEMBLY=1"], |
| 3466 | ":xnn_enable_assembly_explicit_false": ["XNN_ENABLE_ASSEMBLY=0"], |
Frank Barchard | 810171d | 2019-10-10 10:34:51 -0700 | [diff] [blame] | 3467 | "//conditions:default": ["XNN_ENABLE_ASSEMBLY=1"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3468 | }), |
| 3469 | ) |
| 3470 | |
Marat Dukhan | 9de90e0 | 2020-06-18 16:04:12 -0700 | [diff] [blame] | 3471 | cc_library( |
| 3472 | name = "enable_sparse", |
| 3473 | defines = select({ |
| 3474 | ":xnn_enable_sparse_explicit_true": ["XNN_ENABLE_SPARSE=1"], |
| 3475 | ":xnn_enable_sparse_explicit_false": ["XNN_ENABLE_SPARSE=0"], |
Marat Dukhan | 8b283aa | 2020-06-18 16:48:57 -0700 | [diff] [blame] | 3476 | "//conditions:default": ["XNN_ENABLE_SPARSE=0"], |
Marat Dukhan | 9de90e0 | 2020-06-18 16:04:12 -0700 | [diff] [blame] | 3477 | }), |
| 3478 | ) |
| 3479 | |
Marat Dukhan | cf056b2 | 2019-10-07 10:26:29 -0700 | [diff] [blame] | 3480 | xnnpack_cc_library( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3481 | name = "operators", |
| 3482 | srcs = OPERATOR_SRCS + [ |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 3483 | "src/memory.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3484 | "src/operator-delete.c", |
Marat Dukhan | cf056b2 | 2019-10-07 10:26:29 -0700 | [diff] [blame] | 3485 | ], |
| 3486 | hdrs = INTERNAL_HDRS + LOGGING_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3487 | copts = LOGGING_COPTS + [ |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3488 | "-Isrc", |
| 3489 | "-Iinclude", |
| 3490 | ] + select({ |
| 3491 | ":debug_build": [], |
| 3492 | "//conditions:default": xnnpack_min_size_copts(), |
Marat Dukhan | 05702cf | 2020-03-26 15:41:33 -0700 | [diff] [blame] | 3493 | }) + select({ |
| 3494 | ":xnn_enable_hmp_explicit_false": ["-DXNN_MAX_UARCH_TYPES=1"], |
| 3495 | "//conditions:default": [], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3496 | }), |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3497 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3498 | msvc_copts = xnnpack_msvc_std_copts(), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3499 | deps = [ |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3500 | ":indirection", |
Marat Dukhan | 3b59de2 | 2020-06-03 20:15:19 -0700 | [diff] [blame] | 3501 | ":logging_utils", |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 3502 | ":packing", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3503 | "@FP16", |
| 3504 | "@FXdiv", |
| 3505 | "@clog", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3506 | "@pthreadpool", |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3507 | ], |
| 3508 | ) |
| 3509 | |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3510 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3511 | name = "operators_test_mode", |
| 3512 | srcs = OPERATOR_SRCS + [ |
| 3513 | "src/memory.c", |
| 3514 | "src/operator-delete.c", |
| 3515 | ], |
| 3516 | hdrs = INTERNAL_HDRS + LOGGING_HDRS, |
| 3517 | copts = LOGGING_COPTS + [ |
| 3518 | "-Isrc", |
| 3519 | "-Iinclude", |
| 3520 | "-UNDEBUG", |
| 3521 | "-DXNN_TEST_MODE=1", |
| 3522 | ] + select({ |
| 3523 | ":debug_build": [], |
| 3524 | "//conditions:default": xnnpack_min_size_copts(), |
| 3525 | }) + select({ |
| 3526 | ":xnn_enable_hmp_explicit_false": ["-DXNN_MAX_UARCH_TYPES=1"], |
| 3527 | "//conditions:default": [], |
| 3528 | }), |
| 3529 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3530 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3531 | deps = [ |
| 3532 | ":indirection_test_mode", |
Marat Dukhan | 3b59de2 | 2020-06-03 20:15:19 -0700 | [diff] [blame] | 3533 | ":logging_utils", |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 3534 | ":packing_test_mode", |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3535 | "@FP16", |
| 3536 | "@FXdiv", |
| 3537 | "@clog", |
| 3538 | "@pthreadpool", |
| 3539 | ], |
| 3540 | ) |
| 3541 | |
| 3542 | xnnpack_cc_library( |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3543 | name = "XNNPACK", |
| 3544 | srcs = [ |
| 3545 | "src/init.c", |
Marat Dukhan | ccfdbd1 | 2020-02-03 14:27:45 -0800 | [diff] [blame] | 3546 | "src/runtime.c", |
| 3547 | "src/subgraph.c", |
| 3548 | "src/tensor.c", |
Marat Dukhan | f03da0d | 2020-06-10 16:00:20 -0700 | [diff] [blame] | 3549 | ] + SUBGRAPH_SRCS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3550 | hdrs = ["include/xnnpack.h"], |
| 3551 | copts = LOGGING_COPTS + [ |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3552 | "-Isrc", |
| 3553 | "-Iinclude", |
| 3554 | ] + select({ |
| 3555 | ":debug_build": [], |
| 3556 | "//conditions:default": xnnpack_min_size_copts(), |
Marat Dukhan | 05702cf | 2020-03-26 15:41:33 -0700 | [diff] [blame] | 3557 | }) + select({ |
| 3558 | ":xnn_enable_hmp_explicit_false": ["-DXNN_MAX_UARCH_TYPES=1"], |
| 3559 | "//conditions:default": [], |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3560 | }), |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3561 | gcc_copts = xnnpack_gcc_std_copts(), |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3562 | includes = ["include"], |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3563 | msvc_copts = xnnpack_msvc_std_copts(), |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3564 | visibility = xnnpack_visibility(), |
| 3565 | deps = [ |
| 3566 | ":enable_assembly", |
Marat Dukhan | 9de90e0 | 2020-06-18 16:04:12 -0700 | [diff] [blame] | 3567 | ":enable_sparse", |
Marat Dukhan | 3b59de2 | 2020-06-03 20:15:19 -0700 | [diff] [blame] | 3568 | ":logging_utils", |
Chao Mei | 6ddfc60 | 2020-05-13 22:29:36 -0700 | [diff] [blame] | 3569 | ":memory_planner", |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3570 | ":operator_run", |
| 3571 | ":operators", |
Marat Dukhan | 3b59de2 | 2020-06-03 20:15:19 -0700 | [diff] [blame] | 3572 | ":ukernels", |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3573 | "@clog", |
Marat Dukhan | ab2946c | 2020-05-21 20:04:13 -0700 | [diff] [blame] | 3574 | "@FP16", |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3575 | "@pthreadpool", |
Marat Dukhan | d343c22 | 2019-10-07 09:22:14 -0700 | [diff] [blame] | 3576 | ] + select({ |
| 3577 | ":emscripten": [], |
| 3578 | "//conditions:default": ["@cpuinfo"], |
| 3579 | }), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3580 | ) |
| 3581 | |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3582 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3583 | name = "XNNPACK_test_mode", |
| 3584 | srcs = [ |
| 3585 | "src/init.c", |
| 3586 | "src/runtime.c", |
| 3587 | "src/subgraph.c", |
| 3588 | "src/tensor.c", |
Marat Dukhan | f03da0d | 2020-06-10 16:00:20 -0700 | [diff] [blame] | 3589 | ] + SUBGRAPH_SRCS, |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3590 | hdrs = ["include/xnnpack.h"], |
| 3591 | copts = LOGGING_COPTS + [ |
| 3592 | "-Isrc", |
| 3593 | "-Iinclude", |
| 3594 | "-UNDEBUG", |
| 3595 | "-DXNN_TEST_MODE=1", |
| 3596 | ] + select({ |
| 3597 | ":debug_build": [], |
| 3598 | "//conditions:default": xnnpack_min_size_copts(), |
| 3599 | }) + select({ |
| 3600 | ":xnn_enable_hmp_explicit_false": ["-DXNN_MAX_UARCH_TYPES=1"], |
| 3601 | "//conditions:default": [], |
| 3602 | }), |
| 3603 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3604 | includes = ["include"], |
| 3605 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3606 | visibility = xnnpack_visibility(), |
| 3607 | deps = [ |
| 3608 | ":enable_assembly", |
Marat Dukhan | 9de90e0 | 2020-06-18 16:04:12 -0700 | [diff] [blame] | 3609 | ":enable_sparse", |
Marat Dukhan | 3b59de2 | 2020-06-03 20:15:19 -0700 | [diff] [blame] | 3610 | ":logging_utils", |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3611 | ":memory_planner_test_mode", |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3612 | ":operator_run_test_mode", |
| 3613 | ":operators_test_mode", |
Marat Dukhan | 3b59de2 | 2020-06-03 20:15:19 -0700 | [diff] [blame] | 3614 | ":ukernels_test_mode", |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3615 | "@clog", |
| 3616 | "@FP16", |
| 3617 | "@pthreadpool", |
| 3618 | ] + select({ |
| 3619 | ":emscripten": [], |
| 3620 | "//conditions:default": ["@cpuinfo"], |
| 3621 | }), |
| 3622 | ) |
| 3623 | |
| 3624 | xnnpack_cc_library( |
Marat Dukhan | ae046f5 | 2020-06-15 13:16:14 -0700 | [diff] [blame] | 3625 | name = "xnnpack_f32", |
| 3626 | srcs = [ |
| 3627 | "src/init.c", |
| 3628 | "src/runtime.c", |
| 3629 | "src/subgraph.c", |
| 3630 | "src/tensor.c", |
| 3631 | ] + SUBGRAPH_SRCS, |
| 3632 | hdrs = ["include/xnnpack.h"], |
| 3633 | copts = LOGGING_COPTS + [ |
| 3634 | "-Isrc", |
| 3635 | "-Iinclude", |
| 3636 | ] + select({ |
| 3637 | ":debug_build": [], |
| 3638 | "//conditions:default": xnnpack_min_size_copts(), |
| 3639 | }) + select({ |
| 3640 | ":xnn_enable_hmp_explicit_false": ["-DXNN_MAX_UARCH_TYPES=1"], |
| 3641 | "//conditions:default": [], |
| 3642 | }), |
| 3643 | defines = [ |
Marat Dukhan | 16f1e1a | 2020-08-04 16:38:22 -0700 | [diff] [blame] | 3644 | "XNN_NO_QS8_OPERATORS", |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 3645 | "XNN_NO_QU8_OPERATORS", |
Marat Dukhan | ae046f5 | 2020-06-15 13:16:14 -0700 | [diff] [blame] | 3646 | "XNN_NO_U8_OPERATORS", |
| 3647 | "XNN_NO_X8_OPERATORS", |
| 3648 | "XNN_NO_F16_OPERATORS", |
| 3649 | "XNN_NO_X16_OPERATORS", |
| 3650 | ], |
| 3651 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3652 | includes = ["include"], |
| 3653 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3654 | visibility = xnnpack_visibility(), |
| 3655 | deps = [ |
| 3656 | ":enable_assembly", |
Marat Dukhan | 9de90e0 | 2020-06-18 16:04:12 -0700 | [diff] [blame] | 3657 | ":enable_sparse", |
Marat Dukhan | ae046f5 | 2020-06-15 13:16:14 -0700 | [diff] [blame] | 3658 | ":logging_utils", |
| 3659 | ":memory_planner", |
| 3660 | ":operator_run", |
| 3661 | ":operators", |
Marat Dukhan | 86df384 | 2020-06-17 14:03:31 -0700 | [diff] [blame] | 3662 | ":ukernels_max_compatibility", |
Marat Dukhan | ae046f5 | 2020-06-15 13:16:14 -0700 | [diff] [blame] | 3663 | "@clog", |
| 3664 | "@FP16", |
| 3665 | "@pthreadpool", |
| 3666 | ] + select({ |
| 3667 | ":emscripten": [], |
| 3668 | "//conditions:default": ["@cpuinfo"], |
| 3669 | }), |
| 3670 | ) |
| 3671 | |
| 3672 | xnnpack_cc_library( |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3673 | name = "xnnpack_operators_nhwc_f32", |
| 3674 | srcs = [ |
| 3675 | "src/init.c", |
| 3676 | ], |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3677 | hdrs = ["include/xnnpack.h"], |
| 3678 | copts = LOGGING_COPTS + [ |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3679 | "-Isrc", |
| 3680 | "-Iinclude", |
| 3681 | ] + select({ |
| 3682 | ":debug_build": [], |
| 3683 | "//conditions:default": xnnpack_min_size_copts(), |
Marat Dukhan | 05702cf | 2020-03-26 15:41:33 -0700 | [diff] [blame] | 3684 | }) + select({ |
| 3685 | ":xnn_enable_hmp_explicit_false": ["-DXNN_MAX_UARCH_TYPES=1"], |
| 3686 | "//conditions:default": [], |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3687 | }), |
| 3688 | defines = [ |
Marat Dukhan | 16f1e1a | 2020-08-04 16:38:22 -0700 | [diff] [blame] | 3689 | "XNN_NO_QS8_OPERATORS", |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 3690 | "XNN_NO_QU8_OPERATORS", |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3691 | "XNN_NO_U8_OPERATORS", |
| 3692 | "XNN_NO_X8_OPERATORS", |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 3693 | "XNN_NO_NCHW_OPERATORS", |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3694 | ], |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3695 | gcc_copts = xnnpack_gcc_std_copts(), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3696 | includes = ["include"], |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3697 | msvc_copts = xnnpack_msvc_std_copts(), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3698 | visibility = xnnpack_visibility(), |
| 3699 | deps = [ |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3700 | ":enable_assembly", |
Marat Dukhan | 3b59de2 | 2020-06-03 20:15:19 -0700 | [diff] [blame] | 3701 | ":logging_utils", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3702 | ":operator_run", |
| 3703 | ":operators", |
Marat Dukhan | 3b59de2 | 2020-06-03 20:15:19 -0700 | [diff] [blame] | 3704 | ":ukernels", |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3705 | "@clog", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3706 | "@pthreadpool", |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3707 | ] + select({ |
| 3708 | ":emscripten": [], |
| 3709 | "//conditions:default": ["@cpuinfo"], |
| 3710 | }), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3711 | ) |
| 3712 | |
Marat Dukhan | cf056b2 | 2019-10-07 10:26:29 -0700 | [diff] [blame] | 3713 | xnnpack_cc_library( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3714 | name = "bench_utils", |
| 3715 | srcs = ["bench/utils.cc"], |
| 3716 | hdrs = ["bench/utils.h"], |
Marat Dukhan | bad48fe | 2019-11-04 10:35:22 -0800 | [diff] [blame] | 3717 | deps = [ |
| 3718 | "@com_google_benchmark//:benchmark", |
| 3719 | "@cpuinfo", |
| 3720 | ], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3721 | ) |
| 3722 | |
Frank Barchard | 7e95597 | 2019-10-11 10:34:25 -0700 | [diff] [blame] | 3723 | ######################### Benchmarks for micro-kernels ######################### |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3724 | |
| 3725 | xnnpack_benchmark( |
Marat Dukhan | 595e170 | 2020-07-31 10:12:52 -0700 | [diff] [blame] | 3726 | name = "qs8_gemm_bench", |
| 3727 | srcs = [ |
| 3728 | "bench/gemm.h", |
| 3729 | "bench/qs8-gemm.cc", |
| 3730 | "src/xnnpack/AlignedAllocator.h", |
| 3731 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_BENCHMARK_HDRS, |
| 3732 | deps = MICROKERNEL_BENCHMARK_DEPS + [":packing"], |
| 3733 | ) |
| 3734 | |
| 3735 | xnnpack_benchmark( |
Marat Dukhan | 56bdd4a | 2020-08-03 19:47:04 -0700 | [diff] [blame] | 3736 | name = "qs8_requantization_bench", |
| 3737 | srcs = [ |
| 3738 | "bench/qs8-requantization.cc", |
| 3739 | "src/xnnpack/requantization-stubs.h", |
| 3740 | "src/xnnpack/AlignedAllocator.h", |
| 3741 | ] + MICROKERNEL_BENCHMARK_HDRS, |
| 3742 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3743 | ) |
| 3744 | |
| 3745 | xnnpack_benchmark( |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 3746 | name = "qu8_gemm_bench", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3747 | srcs = [ |
| 3748 | "bench/gemm.h", |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 3749 | "bench/qu8-gemm.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3750 | "src/xnnpack/AlignedAllocator.h", |
| 3751 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3752 | copts = xnnpack_optional_ruy_copts() + xnnpack_optional_gemmlowp_copts(), |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 3753 | deps = MICROKERNEL_BENCHMARK_DEPS + [":packing"] + xnnpack_optional_ruy_deps() + xnnpack_optional_gemmlowp_deps(), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3754 | ) |
| 3755 | |
| 3756 | xnnpack_benchmark( |
Marat Dukhan | 5b69f8b | 2020-07-24 15:26:48 -0700 | [diff] [blame] | 3757 | name = "qu8_requantization_bench", |
| 3758 | srcs = [ |
| 3759 | "bench/qu8-requantization.cc", |
| 3760 | "src/xnnpack/requantization-stubs.h", |
| 3761 | "src/xnnpack/AlignedAllocator.h", |
| 3762 | ] + MICROKERNEL_BENCHMARK_HDRS, |
| 3763 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3764 | ) |
| 3765 | |
| 3766 | xnnpack_benchmark( |
Frank Barchard | 40d20fe | 2020-05-05 00:37:45 -0700 | [diff] [blame] | 3767 | name = "f16_igemm_bench", |
| 3768 | srcs = [ |
| 3769 | "bench/f16-igemm.cc", |
| 3770 | "bench/conv.h", |
| 3771 | "bench/google/conv.h", |
| 3772 | "src/xnnpack/AlignedAllocator.h", |
| 3773 | ] + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 3774 | deps = MICROKERNEL_BENCHMARK_DEPS + [ |
| 3775 | ":indirection", |
| 3776 | ":packing", |
| 3777 | ], |
Frank Barchard | 40d20fe | 2020-05-05 00:37:45 -0700 | [diff] [blame] | 3778 | ) |
| 3779 | |
| 3780 | xnnpack_benchmark( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3781 | name = "f16_gemm_bench", |
| 3782 | srcs = [ |
| 3783 | "bench/f16-gemm.cc", |
| 3784 | "bench/gemm.h", |
| 3785 | "src/xnnpack/AlignedAllocator.h", |
| 3786 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 3787 | deps = MICROKERNEL_BENCHMARK_DEPS + [ |
| 3788 | ":packing", |
| 3789 | ], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3790 | ) |
| 3791 | |
| 3792 | xnnpack_benchmark( |
Marat Dukhan | bdb56f5 | 2020-02-05 21:42:49 -0800 | [diff] [blame] | 3793 | name = "f16_spmm_bench", |
| 3794 | srcs = [ |
| 3795 | "bench/f16-spmm.cc", |
| 3796 | "bench/gemm.h", |
Marat Dukhan | bdb56f5 | 2020-02-05 21:42:49 -0800 | [diff] [blame] | 3797 | "src/xnnpack/AlignedAllocator.h", |
| 3798 | ] + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | bdb56f5 | 2020-02-05 21:42:49 -0800 | [diff] [blame] | 3799 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3800 | ) |
| 3801 | |
| 3802 | xnnpack_benchmark( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3803 | name = "f32_igemm_bench", |
| 3804 | srcs = [ |
| 3805 | "bench/f32-igemm.cc", |
| 3806 | "bench/conv.h", |
| 3807 | "src/xnnpack/AlignedAllocator.h", |
| 3808 | ] + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 3809 | deps = MICROKERNEL_BENCHMARK_DEPS + [ |
| 3810 | ":indirection", |
| 3811 | ":packing", |
| 3812 | ], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3813 | ) |
| 3814 | |
| 3815 | xnnpack_benchmark( |
Frank Barchard | c201006 | 2020-07-19 10:04:12 -0700 | [diff] [blame] | 3816 | name = "f16_relu_bench", |
| 3817 | srcs = [ |
| 3818 | "bench/f16-relu.cc", |
| 3819 | "src/xnnpack/AlignedAllocator.h", |
| 3820 | ] + MICROKERNEL_BENCHMARK_HDRS, |
| 3821 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3822 | ) |
| 3823 | |
| 3824 | xnnpack_benchmark( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3825 | name = "f32_conv_hwc_bench", |
| 3826 | srcs = [ |
| 3827 | "bench/f32-conv-hwc.cc", |
| 3828 | "bench/dconv.h", |
| 3829 | "src/xnnpack/AlignedAllocator.h", |
| 3830 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 3831 | deps = MICROKERNEL_BENCHMARK_DEPS + [ |
| 3832 | ":packing", |
| 3833 | ], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3834 | ) |
| 3835 | |
| 3836 | xnnpack_benchmark( |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 3837 | name = "f32_conv_hwc2chw_bench", |
Erich Elsen | 563df5f | 2019-10-23 08:02:21 -0700 | [diff] [blame] | 3838 | srcs = [ |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 3839 | "bench/f32-conv-hwc2chw.cc", |
Erich Elsen | 563df5f | 2019-10-23 08:02:21 -0700 | [diff] [blame] | 3840 | "bench/dconv.h", |
| 3841 | "src/xnnpack/AlignedAllocator.h", |
| 3842 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 3843 | deps = MICROKERNEL_BENCHMARK_DEPS + [ |
| 3844 | ":packing", |
| 3845 | ], |
Erich Elsen | 563df5f | 2019-10-23 08:02:21 -0700 | [diff] [blame] | 3846 | ) |
| 3847 | |
| 3848 | xnnpack_benchmark( |
Frank Barchard | 5a599a6 | 2020-06-04 20:12:44 -0700 | [diff] [blame] | 3849 | name = "f16_dwconv_bench", |
| 3850 | srcs = [ |
| 3851 | "bench/f16-dwconv.cc", |
| 3852 | "bench/dwconv.h", |
| 3853 | "bench/google/dwconv.h", |
| 3854 | "src/xnnpack/AlignedAllocator.h", |
| 3855 | ] + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 3856 | deps = MICROKERNEL_BENCHMARK_DEPS + [ |
| 3857 | ":indirection", |
| 3858 | ":packing", |
| 3859 | ], |
Frank Barchard | 5a599a6 | 2020-06-04 20:12:44 -0700 | [diff] [blame] | 3860 | ) |
| 3861 | |
| 3862 | xnnpack_benchmark( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3863 | name = "f32_dwconv_bench", |
| 3864 | srcs = [ |
| 3865 | "bench/f32-dwconv.cc", |
| 3866 | "bench/dwconv.h", |
| 3867 | "src/xnnpack/AlignedAllocator.h", |
| 3868 | ] + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 3869 | deps = MICROKERNEL_BENCHMARK_DEPS + [ |
| 3870 | ":indirection", |
| 3871 | ":packing", |
| 3872 | ], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3873 | ) |
| 3874 | |
| 3875 | xnnpack_benchmark( |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 3876 | name = "f32_dwconv_chw_bench", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3877 | srcs = [ |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 3878 | "bench/f32-dwconv-chw.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3879 | "bench/dwconv.h", |
| 3880 | "src/xnnpack/AlignedAllocator.h", |
| 3881 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 3882 | deps = MICROKERNEL_BENCHMARK_DEPS + [ |
| 3883 | ":indirection", |
| 3884 | ":packing", |
| 3885 | ], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3886 | ) |
| 3887 | |
| 3888 | xnnpack_benchmark( |
| 3889 | name = "f32_gemm_bench", |
| 3890 | srcs = [ |
| 3891 | "bench/f32-gemm.cc", |
| 3892 | "bench/gemm.h", |
| 3893 | "src/xnnpack/AlignedAllocator.h", |
| 3894 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3895 | copts = xnnpack_optional_ruy_copts(), |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 3896 | deps = MICROKERNEL_BENCHMARK_DEPS + [":packing"] + xnnpack_optional_ruy_deps(), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3897 | ) |
| 3898 | |
| 3899 | xnnpack_benchmark( |
Marat Dukhan | a11ca34 | 2020-06-25 23:45:07 -0700 | [diff] [blame] | 3900 | name = "f32_hswish_bench", |
| 3901 | srcs = [ |
| 3902 | "bench/f32-hswish.cc", |
| 3903 | "src/xnnpack/AlignedAllocator.h", |
| 3904 | ] + MICROKERNEL_BENCHMARK_HDRS, |
| 3905 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3906 | ) |
| 3907 | |
| 3908 | xnnpack_benchmark( |
Marat Dukhan | 4c4eb00 | 2019-12-08 21:27:49 -0800 | [diff] [blame] | 3909 | name = "f32_raddexpminusmax_bench", |
| 3910 | srcs = [ |
| 3911 | "bench/f32-raddexpminusmax.cc", |
| 3912 | "src/xnnpack/AlignedAllocator.h", |
| 3913 | ] + MICROKERNEL_BENCHMARK_HDRS, |
| 3914 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3915 | ) |
| 3916 | |
| 3917 | xnnpack_benchmark( |
| 3918 | name = "f32_raddextexp_bench", |
| 3919 | srcs = [ |
| 3920 | "bench/f32-raddextexp.cc", |
| 3921 | "src/xnnpack/AlignedAllocator.h", |
| 3922 | ] + MICROKERNEL_BENCHMARK_HDRS, |
| 3923 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3924 | ) |
| 3925 | |
| 3926 | xnnpack_benchmark( |
| 3927 | name = "f32_raddstoreexpminusmax_bench", |
| 3928 | srcs = [ |
| 3929 | "bench/f32-raddstoreexpminusmax.cc", |
| 3930 | "src/xnnpack/AlignedAllocator.h", |
| 3931 | ] + MICROKERNEL_BENCHMARK_HDRS, |
| 3932 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3933 | ) |
| 3934 | |
| 3935 | xnnpack_benchmark( |
Frank Barchard | 3c4a952 | 2020-07-18 16:11:22 -0700 | [diff] [blame] | 3936 | name = "f32_relu_bench", |
| 3937 | srcs = [ |
| 3938 | "bench/f32-relu.cc", |
| 3939 | "src/xnnpack/AlignedAllocator.h", |
| 3940 | ] + MICROKERNEL_BENCHMARK_HDRS, |
| 3941 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3942 | ) |
| 3943 | |
| 3944 | xnnpack_benchmark( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3945 | name = "f32_rmax_bench", |
| 3946 | srcs = [ |
| 3947 | "bench/f32-rmax.cc", |
| 3948 | "src/xnnpack/AlignedAllocator.h", |
| 3949 | ] + MICROKERNEL_BENCHMARK_HDRS, |
| 3950 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3951 | ) |
| 3952 | |
| 3953 | xnnpack_benchmark( |
Marat Dukhan | 14bec50 | 2019-11-18 11:35:31 -0800 | [diff] [blame] | 3954 | name = "f32_sigmoid_bench", |
| 3955 | srcs = [ |
| 3956 | "bench/f32-sigmoid.cc", |
| 3957 | "src/xnnpack/AlignedAllocator.h", |
| 3958 | ] + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | 14bec50 | 2019-11-18 11:35:31 -0800 | [diff] [blame] | 3959 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3960 | ) |
| 3961 | |
| 3962 | xnnpack_benchmark( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3963 | name = "f32_spmm_bench", |
| 3964 | srcs = [ |
| 3965 | "bench/f32-spmm.cc", |
| 3966 | "bench/gemm.h", |
| 3967 | "src/xnnpack/AlignedAllocator.h", |
| 3968 | ] + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3969 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3970 | ) |
| 3971 | |
| 3972 | xnnpack_benchmark( |
Marat Dukhan | fd8e689 | 2020-01-27 15:25:25 -0800 | [diff] [blame] | 3973 | name = "f32_softmax_bench", |
Marat Dukhan | 4a4a7fa | 2019-10-21 13:46:14 -0700 | [diff] [blame] | 3974 | srcs = [ |
Marat Dukhan | fd8e689 | 2020-01-27 15:25:25 -0800 | [diff] [blame] | 3975 | "bench/f32-softmax.cc", |
Marat Dukhan | 4a4a7fa | 2019-10-21 13:46:14 -0700 | [diff] [blame] | 3976 | ] + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3977 | copts = xnnpack_optional_dnnl_copts(), |
Marat Dukhan | 8d3c693 | 2020-03-06 20:27:27 -0800 | [diff] [blame] | 3978 | deps = MICROKERNEL_BENCHMARK_DEPS + xnnpack_optional_dnnl_deps(), |
Marat Dukhan | 4a4a7fa | 2019-10-21 13:46:14 -0700 | [diff] [blame] | 3979 | ) |
| 3980 | |
| 3981 | xnnpack_benchmark( |
Marat Dukhan | 4c4eb00 | 2019-12-08 21:27:49 -0800 | [diff] [blame] | 3982 | name = "f32_vscaleexpminusmax_bench", |
| 3983 | srcs = [ |
| 3984 | "bench/f32-vscaleexpminusmax.cc", |
| 3985 | "src/xnnpack/AlignedAllocator.h", |
| 3986 | ] + MICROKERNEL_BENCHMARK_HDRS, |
| 3987 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3988 | ) |
| 3989 | |
| 3990 | xnnpack_benchmark( |
| 3991 | name = "f32_vscaleextexp_bench", |
| 3992 | srcs = [ |
| 3993 | "bench/f32-vscaleextexp.cc", |
| 3994 | "src/xnnpack/AlignedAllocator.h", |
| 3995 | ] + MICROKERNEL_BENCHMARK_HDRS, |
| 3996 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3997 | ) |
| 3998 | |
| 3999 | xnnpack_benchmark( |
Marat Dukhan | f4db2f3 | 2020-06-30 10:55:30 -0700 | [diff] [blame] | 4000 | name = "f32_vsqrt_bench", |
| 4001 | srcs = [ |
| 4002 | "bench/f32-vsqrt.cc", |
| 4003 | "src/xnnpack/AlignedAllocator.h", |
| 4004 | ] + MICROKERNEL_BENCHMARK_HDRS, |
| 4005 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 4006 | ) |
| 4007 | |
| 4008 | xnnpack_benchmark( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4009 | name = "f32_im2col_gemm_bench", |
| 4010 | srcs = [ |
| 4011 | "bench/f32-im2col-gemm.cc", |
| 4012 | "bench/conv.h", |
| 4013 | "src/xnnpack/AlignedAllocator.h", |
| 4014 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4015 | deps = MICROKERNEL_BENCHMARK_DEPS + [ |
| 4016 | ":im2col", |
| 4017 | ":packing", |
| 4018 | ], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4019 | ) |
| 4020 | |
Marat Dukhan | fe7acb6 | 2020-03-09 19:30:05 -0700 | [diff] [blame] | 4021 | xnnpack_benchmark( |
Marat Dukhan | ffbf96a | 2020-05-14 02:59:08 -0700 | [diff] [blame] | 4022 | name = "rounding_bench", |
| 4023 | srcs = [ |
| 4024 | "bench/rounding.cc", |
| 4025 | "src/xnnpack/math-stubs.h", |
| 4026 | "src/xnnpack/AlignedAllocator.h", |
| 4027 | ] + MICROKERNEL_BENCHMARK_HDRS, |
| 4028 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 4029 | ) |
| 4030 | |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4031 | ########################### Benchmarks for operators ########################### |
| 4032 | |
| 4033 | xnnpack_benchmark( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4034 | name = "average_pooling_bench", |
| 4035 | srcs = ["bench/average-pooling.cc"], |
Marat Dukhan | 7a16d8b | 2020-03-11 04:22:44 -0700 | [diff] [blame] | 4036 | copts = xnnpack_optional_tflite_copts(), |
Marat Dukhan | 8ea0b07 | 2020-04-23 16:12:18 -0700 | [diff] [blame] | 4037 | tags = ["nowin32"], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 4038 | deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4039 | ) |
| 4040 | |
| 4041 | xnnpack_benchmark( |
Marat Dukhan | 8772714 | 2020-06-24 15:24:10 -0700 | [diff] [blame] | 4042 | name = "bankers_rounding_bench", |
| 4043 | srcs = ["bench/bankers-rounding.cc"], |
| 4044 | copts = xnnpack_optional_tflite_copts(), |
| 4045 | tags = ["nowin32"], |
| 4046 | deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(), |
| 4047 | ) |
| 4048 | |
| 4049 | xnnpack_benchmark( |
| 4050 | name = "ceiling_bench", |
| 4051 | srcs = ["bench/ceiling.cc"], |
| 4052 | copts = xnnpack_optional_tflite_copts(), |
| 4053 | tags = ["nowin32"], |
| 4054 | deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(), |
| 4055 | ) |
| 4056 | |
| 4057 | xnnpack_benchmark( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4058 | name = "channel_shuffle_bench", |
| 4059 | srcs = ["bench/channel-shuffle.cc"], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 4060 | deps = OPERATOR_BENCHMARK_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4061 | ) |
| 4062 | |
| 4063 | xnnpack_benchmark( |
| 4064 | name = "convolution_bench", |
| 4065 | srcs = ["bench/convolution.cc"], |
| 4066 | copts = xnnpack_optional_tflite_copts() + xnnpack_optional_armcl_copts(), |
Marat Dukhan | 8ea0b07 | 2020-04-23 16:12:18 -0700 | [diff] [blame] | 4067 | tags = ["nowin32"], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 4068 | deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps() + xnnpack_optional_armcl_deps(), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4069 | ) |
| 4070 | |
| 4071 | xnnpack_benchmark( |
| 4072 | name = "deconvolution_bench", |
| 4073 | srcs = ["bench/deconvolution.cc"], |
| 4074 | copts = xnnpack_optional_tflite_copts(), |
Marat Dukhan | 8ea0b07 | 2020-04-23 16:12:18 -0700 | [diff] [blame] | 4075 | tags = ["nowin32"], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 4076 | deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4077 | ) |
| 4078 | |
| 4079 | xnnpack_benchmark( |
Marat Dukhan | 8772714 | 2020-06-24 15:24:10 -0700 | [diff] [blame] | 4080 | name = "floor_bench", |
| 4081 | srcs = ["bench/floor.cc"], |
| 4082 | copts = xnnpack_optional_tflite_copts(), |
| 4083 | tags = ["nowin32"], |
| 4084 | deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(), |
| 4085 | ) |
| 4086 | |
| 4087 | xnnpack_benchmark( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4088 | name = "global_average_pooling_bench", |
| 4089 | srcs = ["bench/global-average-pooling.cc"], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 4090 | deps = OPERATOR_BENCHMARK_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4091 | ) |
| 4092 | |
| 4093 | xnnpack_benchmark( |
Marat Dukhan | ad35260 | 2020-06-25 21:50:54 -0700 | [diff] [blame] | 4094 | name = "hardswish_bench", |
| 4095 | srcs = ["bench/hardswish.cc"], |
| 4096 | copts = xnnpack_optional_tflite_copts(), |
| 4097 | tags = ["nowin32"], |
| 4098 | deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(), |
| 4099 | ) |
| 4100 | |
| 4101 | xnnpack_benchmark( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4102 | name = "max_pooling_bench", |
| 4103 | srcs = ["bench/max-pooling.cc"], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 4104 | deps = OPERATOR_BENCHMARK_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4105 | ) |
| 4106 | |
| 4107 | xnnpack_benchmark( |
| 4108 | name = "sigmoid_bench", |
| 4109 | srcs = ["bench/sigmoid.cc"], |
Marat Dukhan | c3b9e86 | 2019-11-17 13:18:54 -0800 | [diff] [blame] | 4110 | copts = xnnpack_optional_tflite_copts(), |
Marat Dukhan | ca2ba70 | 2020-04-24 01:31:47 -0700 | [diff] [blame] | 4111 | tags = ["nowin32"], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 4112 | deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4113 | ) |
| 4114 | |
| 4115 | xnnpack_benchmark( |
Marat Dukhan | 95b2243 | 2019-10-30 16:30:14 -0700 | [diff] [blame] | 4116 | name = "prelu_bench", |
| 4117 | srcs = ["bench/prelu.cc"], |
| 4118 | copts = xnnpack_optional_tflite_copts(), |
Marat Dukhan | 8ea0b07 | 2020-04-23 16:12:18 -0700 | [diff] [blame] | 4119 | tags = ["nowin32"], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 4120 | deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(), |
Marat Dukhan | 95b2243 | 2019-10-30 16:30:14 -0700 | [diff] [blame] | 4121 | ) |
| 4122 | |
| 4123 | xnnpack_benchmark( |
Marat Dukhan | fd8e689 | 2020-01-27 15:25:25 -0800 | [diff] [blame] | 4124 | name = "softmax_bench", |
| 4125 | srcs = ["bench/softmax.cc"], |
Marat Dukhan | 9c0db96 | 2020-01-28 12:30:14 -0800 | [diff] [blame] | 4126 | copts = xnnpack_optional_tflite_copts(), |
Marat Dukhan | ca2ba70 | 2020-04-24 01:31:47 -0700 | [diff] [blame] | 4127 | tags = ["nowin32"], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 4128 | deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4129 | ) |
| 4130 | |
Marat Dukhan | 8772714 | 2020-06-24 15:24:10 -0700 | [diff] [blame] | 4131 | xnnpack_benchmark( |
Marat Dukhan | 6804bbd | 2020-06-30 19:26:11 -0700 | [diff] [blame] | 4132 | name = "square_root_bench", |
| 4133 | srcs = ["bench/square-root.cc"], |
| 4134 | copts = xnnpack_optional_tflite_copts(), |
| 4135 | tags = ["nowin32"], |
| 4136 | deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(), |
| 4137 | ) |
| 4138 | |
| 4139 | xnnpack_benchmark( |
Marat Dukhan | 8772714 | 2020-06-24 15:24:10 -0700 | [diff] [blame] | 4140 | name = "truncation_bench", |
| 4141 | srcs = ["bench/truncation.cc"], |
| 4142 | deps = OPERATOR_BENCHMARK_DEPS, |
| 4143 | ) |
| 4144 | |
Marat Dukhan | c068bb6 | 2019-10-04 13:24:39 -0700 | [diff] [blame] | 4145 | ############################# End-to-end benchmarks ############################ |
| 4146 | |
| 4147 | cc_library( |
Marat Dukhan | 270a2c4 | 2020-06-26 16:45:52 -0700 | [diff] [blame] | 4148 | name = "fp32_mobilenet_v1", |
| 4149 | srcs = ["models/fp32-mobilenet-v1.cc"], |
Marat Dukhan | c068bb6 | 2019-10-04 13:24:39 -0700 | [diff] [blame] | 4150 | hdrs = ["models/models.h"], |
Marat Dukhan | a84e40b | 2019-12-11 15:38:03 -0800 | [diff] [blame] | 4151 | copts = xnnpack_std_cxxopts(), |
Marat Dukhan | c068bb6 | 2019-10-04 13:24:39 -0700 | [diff] [blame] | 4152 | linkstatic = True, |
| 4153 | deps = [ |
| 4154 | ":XNNPACK", |
| 4155 | "@pthreadpool", |
| 4156 | ], |
| 4157 | ) |
| 4158 | |
| 4159 | cc_library( |
Marat Dukhan | 270a2c4 | 2020-06-26 16:45:52 -0700 | [diff] [blame] | 4160 | name = "fp16_mobilenet_v1", |
| 4161 | srcs = ["models/fp16-mobilenet-v1.cc"], |
| 4162 | hdrs = ["models/models.h"], |
| 4163 | copts = xnnpack_std_cxxopts(), |
| 4164 | linkstatic = True, |
| 4165 | deps = [ |
| 4166 | ":XNNPACK", |
| 4167 | "@FP16", |
| 4168 | "@pthreadpool", |
| 4169 | ], |
| 4170 | ) |
| 4171 | |
| 4172 | cc_library( |
Marat Dukhan | 0743cdf | 2020-08-04 18:52:07 -0700 | [diff] [blame] | 4173 | name = "qs8_mobilenet_v1", |
| 4174 | srcs = ["models/qs8-mobilenet-v1.cc"], |
| 4175 | hdrs = ["models/models.h"], |
| 4176 | copts = xnnpack_std_cxxopts(), |
| 4177 | linkstatic = True, |
| 4178 | deps = [ |
| 4179 | ":XNNPACK", |
| 4180 | "@pthreadpool", |
| 4181 | ], |
| 4182 | ) |
| 4183 | |
| 4184 | cc_library( |
Marat Dukhan | 270a2c4 | 2020-06-26 16:45:52 -0700 | [diff] [blame] | 4185 | name = "fp32_mobilenet_v2", |
| 4186 | srcs = ["models/fp32-mobilenet-v2.cc"], |
Marat Dukhan | c068bb6 | 2019-10-04 13:24:39 -0700 | [diff] [blame] | 4187 | hdrs = ["models/models.h"], |
Marat Dukhan | a84e40b | 2019-12-11 15:38:03 -0800 | [diff] [blame] | 4188 | copts = xnnpack_std_cxxopts(), |
Marat Dukhan | c068bb6 | 2019-10-04 13:24:39 -0700 | [diff] [blame] | 4189 | linkstatic = True, |
| 4190 | deps = [ |
| 4191 | ":XNNPACK", |
| 4192 | "@pthreadpool", |
| 4193 | ], |
| 4194 | ) |
| 4195 | |
Marat Dukhan | c08cdf5 | 2019-12-09 09:17:51 -0800 | [diff] [blame] | 4196 | cc_library( |
Marat Dukhan | 270a2c4 | 2020-06-26 16:45:52 -0700 | [diff] [blame] | 4197 | name = "fp16_mobilenet_v2", |
| 4198 | srcs = ["models/fp16-mobilenet-v2.cc"], |
| 4199 | hdrs = ["models/models.h"], |
| 4200 | copts = xnnpack_std_cxxopts(), |
| 4201 | linkstatic = True, |
| 4202 | deps = [ |
| 4203 | ":XNNPACK", |
| 4204 | "@FP16", |
| 4205 | "@pthreadpool", |
| 4206 | ], |
| 4207 | ) |
| 4208 | |
| 4209 | cc_library( |
| 4210 | name = "fp32_mobilenet_v3_large", |
| 4211 | srcs = ["models/fp32-mobilenet-v3-large.cc"], |
Marat Dukhan | c08cdf5 | 2019-12-09 09:17:51 -0800 | [diff] [blame] | 4212 | hdrs = ["models/models.h"], |
Marat Dukhan | a84e40b | 2019-12-11 15:38:03 -0800 | [diff] [blame] | 4213 | copts = xnnpack_std_cxxopts(), |
Marat Dukhan | c08cdf5 | 2019-12-09 09:17:51 -0800 | [diff] [blame] | 4214 | linkstatic = True, |
| 4215 | deps = [ |
| 4216 | ":XNNPACK", |
| 4217 | "@pthreadpool", |
| 4218 | ], |
| 4219 | ) |
| 4220 | |
| 4221 | cc_library( |
Marat Dukhan | 270a2c4 | 2020-06-26 16:45:52 -0700 | [diff] [blame] | 4222 | name = "fp32_mobilenet_v3_small", |
| 4223 | srcs = ["models/fp32-mobilenet-v3-small.cc"], |
Marat Dukhan | c08cdf5 | 2019-12-09 09:17:51 -0800 | [diff] [blame] | 4224 | hdrs = ["models/models.h"], |
Marat Dukhan | a84e40b | 2019-12-11 15:38:03 -0800 | [diff] [blame] | 4225 | copts = xnnpack_std_cxxopts(), |
Marat Dukhan | c08cdf5 | 2019-12-09 09:17:51 -0800 | [diff] [blame] | 4226 | linkstatic = True, |
| 4227 | deps = [ |
| 4228 | ":XNNPACK", |
| 4229 | "@pthreadpool", |
| 4230 | ], |
| 4231 | ) |
| 4232 | |
Marat Dukhan | c068bb6 | 2019-10-04 13:24:39 -0700 | [diff] [blame] | 4233 | xnnpack_benchmark( |
Marat Dukhan | ef4416e | 2019-10-31 13:44:40 -0700 | [diff] [blame] | 4234 | name = "f32_dwconv_e2e_bench", |
Marat Dukhan | c08cdf5 | 2019-12-09 09:17:51 -0800 | [diff] [blame] | 4235 | srcs = [ |
| 4236 | "bench/f32-dwconv-e2e.cc", |
| 4237 | "bench/end2end.h", |
| 4238 | ] + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | ef4416e | 2019-10-31 13:44:40 -0700 | [diff] [blame] | 4239 | deps = MICROKERNEL_BENCHMARK_DEPS + [ |
| 4240 | ":XNNPACK", |
Marat Dukhan | 270a2c4 | 2020-06-26 16:45:52 -0700 | [diff] [blame] | 4241 | ":fp32_mobilenet_v1", |
| 4242 | ":fp32_mobilenet_v2", |
| 4243 | ":fp32_mobilenet_v3_large", |
| 4244 | ":fp32_mobilenet_v3_small", |
Marat Dukhan | ef4416e | 2019-10-31 13:44:40 -0700 | [diff] [blame] | 4245 | ], |
| 4246 | ) |
| 4247 | |
| 4248 | xnnpack_benchmark( |
Marat Dukhan | 5f18d26 | 2019-10-31 10:24:14 -0700 | [diff] [blame] | 4249 | name = "f32_gemm_e2e_bench", |
Marat Dukhan | c08cdf5 | 2019-12-09 09:17:51 -0800 | [diff] [blame] | 4250 | srcs = [ |
| 4251 | "bench/f32-gemm-e2e.cc", |
| 4252 | "bench/end2end.h", |
| 4253 | ] + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | 5f18d26 | 2019-10-31 10:24:14 -0700 | [diff] [blame] | 4254 | deps = MICROKERNEL_BENCHMARK_DEPS + [ |
| 4255 | ":XNNPACK", |
Marat Dukhan | 270a2c4 | 2020-06-26 16:45:52 -0700 | [diff] [blame] | 4256 | ":fp32_mobilenet_v1", |
| 4257 | ":fp32_mobilenet_v2", |
| 4258 | ":fp32_mobilenet_v3_large", |
| 4259 | ":fp32_mobilenet_v3_small", |
Marat Dukhan | 5f18d26 | 2019-10-31 10:24:14 -0700 | [diff] [blame] | 4260 | ], |
| 4261 | ) |
| 4262 | |
| 4263 | xnnpack_benchmark( |
Marat Dukhan | c068bb6 | 2019-10-04 13:24:39 -0700 | [diff] [blame] | 4264 | name = "end2end_bench", |
| 4265 | srcs = ["bench/end2end.cc"], |
| 4266 | deps = [ |
| 4267 | ":XNNPACK", |
Frank Barchard | c712fa4 | 2019-10-31 14:00:21 -0700 | [diff] [blame] | 4268 | ":bench_utils", |
Marat Dukhan | 270a2c4 | 2020-06-26 16:45:52 -0700 | [diff] [blame] | 4269 | ":fp16_mobilenet_v1", |
| 4270 | ":fp16_mobilenet_v2", |
| 4271 | ":fp32_mobilenet_v1", |
| 4272 | ":fp32_mobilenet_v2", |
| 4273 | ":fp32_mobilenet_v3_large", |
| 4274 | ":fp32_mobilenet_v3_small", |
Marat Dukhan | 0743cdf | 2020-08-04 18:52:07 -0700 | [diff] [blame] | 4275 | ":qs8_mobilenet_v1", |
Marat Dukhan | c068bb6 | 2019-10-04 13:24:39 -0700 | [diff] [blame] | 4276 | "@pthreadpool", |
| 4277 | ], |
| 4278 | ) |
| 4279 | |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 4280 | #################### Accuracy evaluation for math functions #################### |
| 4281 | |
| 4282 | xnnpack_benchmark( |
| 4283 | name = "f32_exp_eval", |
| 4284 | srcs = [ |
| 4285 | "eval/f32-exp.cc", |
| 4286 | "src/xnnpack/AlignedAllocator.h", |
| 4287 | ] + ACCURACY_EVAL_HDRS, |
| 4288 | deps = ACCURACY_EVAL_DEPS, |
| 4289 | ) |
| 4290 | |
Marat Dukhan | 515c977 | 2019-10-17 18:07:57 -0700 | [diff] [blame] | 4291 | xnnpack_benchmark( |
| 4292 | name = "f32_expminus_eval", |
| 4293 | srcs = [ |
| 4294 | "eval/f32-expminus.cc", |
| 4295 | "src/xnnpack/AlignedAllocator.h", |
| 4296 | ] + ACCURACY_EVAL_HDRS, |
| 4297 | deps = ACCURACY_EVAL_DEPS, |
| 4298 | ) |
| 4299 | |
Marat Dukhan | 98ba441 | 2019-10-23 02:14:28 -0700 | [diff] [blame] | 4300 | xnnpack_benchmark( |
| 4301 | name = "f32_extexp_eval", |
| 4302 | srcs = [ |
| 4303 | "eval/f32-extexp.cc", |
| 4304 | "src/xnnpack/AlignedAllocator.h", |
| 4305 | ] + ACCURACY_EVAL_HDRS, |
| 4306 | deps = ACCURACY_EVAL_DEPS, |
| 4307 | ) |
| 4308 | |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 4309 | xnnpack_unit_test( |
| 4310 | name = "f32_roundne_eval", |
| 4311 | srcs = [ |
| 4312 | "eval/f32-roundne.cc", |
| 4313 | "src/xnnpack/AlignedAllocator.h", |
| 4314 | "src/xnnpack/math-stubs.h", |
| 4315 | ] + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | 22eed3d | 2020-05-11 20:13:37 -0700 | [diff] [blame] | 4316 | automatic = False, |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 4317 | deps = MICROKERNEL_TEST_DEPS, |
| 4318 | ) |
| 4319 | |
Marat Dukhan | 2dbb944 | 2020-05-12 20:43:43 -0700 | [diff] [blame] | 4320 | xnnpack_unit_test( |
Marat Dukhan | c9852ba | 2020-05-13 17:21:29 -0700 | [diff] [blame] | 4321 | name = "f32_roundd_eval", |
| 4322 | srcs = [ |
| 4323 | "eval/f32-roundd.cc", |
| 4324 | "src/xnnpack/AlignedAllocator.h", |
| 4325 | "src/xnnpack/math-stubs.h", |
| 4326 | ] + MICROKERNEL_TEST_HDRS, |
| 4327 | automatic = False, |
| 4328 | deps = MICROKERNEL_TEST_DEPS, |
| 4329 | ) |
| 4330 | |
| 4331 | xnnpack_unit_test( |
| 4332 | name = "f32_roundu_eval", |
| 4333 | srcs = [ |
| 4334 | "eval/f32-roundu.cc", |
| 4335 | "src/xnnpack/AlignedAllocator.h", |
| 4336 | "src/xnnpack/math-stubs.h", |
| 4337 | ] + MICROKERNEL_TEST_HDRS, |
| 4338 | automatic = False, |
| 4339 | deps = MICROKERNEL_TEST_DEPS, |
| 4340 | ) |
| 4341 | |
| 4342 | xnnpack_unit_test( |
Marat Dukhan | 2dbb944 | 2020-05-12 20:43:43 -0700 | [diff] [blame] | 4343 | name = "f32_roundz_eval", |
| 4344 | srcs = [ |
| 4345 | "eval/f32-roundz.cc", |
| 4346 | "src/xnnpack/AlignedAllocator.h", |
| 4347 | "src/xnnpack/math-stubs.h", |
| 4348 | ] + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | c9852ba | 2020-05-13 17:21:29 -0700 | [diff] [blame] | 4349 | automatic = False, |
Marat Dukhan | 2dbb944 | 2020-05-12 20:43:43 -0700 | [diff] [blame] | 4350 | deps = MICROKERNEL_TEST_DEPS, |
| 4351 | ) |
| 4352 | |
Marat Dukhan | 346a9e5 | 2019-11-15 09:06:30 -0800 | [diff] [blame] | 4353 | xnnpack_benchmark( |
| 4354 | name = "f32_sigmoid_eval", |
| 4355 | srcs = [ |
| 4356 | "eval/f32-sigmoid.cc", |
| 4357 | "src/xnnpack/AlignedAllocator.h", |
| 4358 | ] + ACCURACY_EVAL_HDRS, |
| 4359 | deps = ACCURACY_EVAL_DEPS, |
| 4360 | ) |
| 4361 | |
Marat Dukhan | 8400076 | 2020-06-29 18:38:43 -0700 | [diff] [blame] | 4362 | xnnpack_benchmark( |
| 4363 | name = "f32_sqrt_eval", |
| 4364 | srcs = [ |
| 4365 | "eval/f32-sqrt.cc", |
| 4366 | "src/xnnpack/AlignedAllocator.h", |
| 4367 | ] + ACCURACY_EVAL_HDRS, |
| 4368 | deps = ACCURACY_EVAL_DEPS + [ |
| 4369 | ":bench_utils", |
| 4370 | ], |
| 4371 | ) |
| 4372 | |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4373 | ######################### Unit tests for micro-kernels ######################### |
| 4374 | |
| 4375 | xnnpack_unit_test( |
Marat Dukhan | de06f49 | 2020-04-09 00:19:31 -0700 | [diff] [blame] | 4376 | name = "f16_gemm_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4377 | srcs = [ |
Marat Dukhan | de06f49 | 2020-04-09 00:19:31 -0700 | [diff] [blame] | 4378 | "test/f16-gemm-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4379 | "test/gemm-microkernel-tester.h", |
| 4380 | "src/xnnpack/AlignedAllocator.h", |
| 4381 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4382 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4383 | ) |
| 4384 | |
| 4385 | xnnpack_unit_test( |
Marat Dukhan | 355ab43 | 2020-04-09 19:01:52 -0700 | [diff] [blame] | 4386 | name = "f16_spmm_minmax_test", |
Marat Dukhan | bdb56f5 | 2020-02-05 21:42:49 -0800 | [diff] [blame] | 4387 | srcs = [ |
Marat Dukhan | 355ab43 | 2020-04-09 19:01:52 -0700 | [diff] [blame] | 4388 | "test/f16-spmm-minmax.cc", |
Marat Dukhan | bdb56f5 | 2020-02-05 21:42:49 -0800 | [diff] [blame] | 4389 | "test/spmm-microkernel-tester.h", |
| 4390 | "src/xnnpack/AlignedAllocator.h", |
| 4391 | ] + MICROKERNEL_TEST_HDRS, |
| 4392 | deps = MICROKERNEL_TEST_DEPS, |
| 4393 | ) |
| 4394 | |
| 4395 | xnnpack_unit_test( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4396 | name = "f32_argmaxpool_test", |
| 4397 | srcs = [ |
| 4398 | "test/f32-argmaxpool.cc", |
| 4399 | "test/argmaxpool-microkernel-tester.h", |
| 4400 | "src/xnnpack/AlignedAllocator.h", |
| 4401 | ] + MICROKERNEL_TEST_HDRS, |
| 4402 | deps = MICROKERNEL_TEST_DEPS, |
| 4403 | ) |
| 4404 | |
| 4405 | xnnpack_unit_test( |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 4406 | name = "f32_avgpool_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4407 | srcs = [ |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 4408 | "test/f32-avgpool-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4409 | "test/avgpool-microkernel-tester.h", |
| 4410 | "src/xnnpack/AlignedAllocator.h", |
| 4411 | ] + MICROKERNEL_TEST_HDRS, |
| 4412 | deps = MICROKERNEL_TEST_DEPS, |
| 4413 | ) |
| 4414 | |
| 4415 | xnnpack_unit_test( |
Marat Dukhan | 660fd19 | 2020-03-10 04:55:30 -0700 | [diff] [blame] | 4416 | name = "f32_ibilinear_test", |
Marat Dukhan | 35dacfb | 2019-11-07 19:18:16 -0800 | [diff] [blame] | 4417 | srcs = [ |
Marat Dukhan | 660fd19 | 2020-03-10 04:55:30 -0700 | [diff] [blame] | 4418 | "test/f32-ibilinear.cc", |
| 4419 | "test/ibilinear-microkernel-tester.h", |
Marat Dukhan | 35dacfb | 2019-11-07 19:18:16 -0800 | [diff] [blame] | 4420 | "src/xnnpack/AlignedAllocator.h", |
| 4421 | ] + MICROKERNEL_TEST_HDRS, |
| 4422 | deps = MICROKERNEL_TEST_DEPS, |
| 4423 | ) |
| 4424 | |
| 4425 | xnnpack_unit_test( |
Frank Barchard | b196659 | 2020-05-12 13:47:06 -0700 | [diff] [blame] | 4426 | name = "f16_clamp_test", |
| 4427 | srcs = [ |
| 4428 | "test/f16-clamp.cc", |
| 4429 | "test/clamp-microkernel-tester.h", |
| 4430 | ] + MICROKERNEL_TEST_HDRS, |
| 4431 | deps = MICROKERNEL_TEST_DEPS, |
| 4432 | ) |
| 4433 | |
| 4434 | xnnpack_unit_test( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4435 | name = "f32_clamp_test", |
| 4436 | srcs = [ |
| 4437 | "test/f32-clamp.cc", |
| 4438 | "test/clamp-microkernel-tester.h", |
| 4439 | ] + MICROKERNEL_TEST_HDRS, |
| 4440 | deps = MICROKERNEL_TEST_DEPS, |
| 4441 | ) |
| 4442 | |
| 4443 | xnnpack_unit_test( |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 4444 | name = "f32_igemm_test", |
| 4445 | srcs = [ |
| 4446 | "test/f32-igemm.cc", |
| 4447 | "test/gemm-microkernel-tester.h", |
| 4448 | "src/xnnpack/AlignedAllocator.h", |
| 4449 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4450 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 4451 | ) |
| 4452 | |
| 4453 | xnnpack_unit_test( |
Marat Dukhan | 467f636 | 2020-05-22 23:21:55 -0700 | [diff] [blame] | 4454 | name = "f32_igemm_relu_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4455 | srcs = [ |
Marat Dukhan | 467f636 | 2020-05-22 23:21:55 -0700 | [diff] [blame] | 4456 | "test/f32-igemm-relu.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4457 | "test/gemm-microkernel-tester.h", |
| 4458 | "src/xnnpack/AlignedAllocator.h", |
| 4459 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4460 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4461 | ) |
| 4462 | |
| 4463 | xnnpack_unit_test( |
Marat Dukhan | e207b7b | 2020-05-28 16:27:42 -0700 | [diff] [blame] | 4464 | name = "f32_igemm_minmax_test", |
| 4465 | srcs = [ |
| 4466 | "test/f32-igemm-minmax.cc", |
| 4467 | "test/gemm-microkernel-tester.h", |
| 4468 | "src/xnnpack/AlignedAllocator.h", |
| 4469 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4470 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | e207b7b | 2020-05-28 16:27:42 -0700 | [diff] [blame] | 4471 | ) |
| 4472 | |
| 4473 | xnnpack_unit_test( |
Frank Barchard | b0e4fae | 2020-05-04 15:27:51 -0700 | [diff] [blame] | 4474 | name = "f16_igemm_minmax_test", |
| 4475 | srcs = [ |
| 4476 | "test/f16-igemm-minmax.cc", |
| 4477 | "test/gemm-microkernel-tester.h", |
| 4478 | "src/xnnpack/AlignedAllocator.h", |
| 4479 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4480 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Frank Barchard | b0e4fae | 2020-05-04 15:27:51 -0700 | [diff] [blame] | 4481 | ) |
| 4482 | |
| 4483 | xnnpack_unit_test( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4484 | name = "f32_conv_hwc_test", |
| 4485 | srcs = [ |
| 4486 | "test/f32-conv-hwc.cc", |
| 4487 | "test/conv-hwc-microkernel-tester.h", |
| 4488 | "src/xnnpack/AlignedAllocator.h", |
| 4489 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4490 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4491 | ) |
| 4492 | |
| 4493 | xnnpack_unit_test( |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 4494 | name = "f32_conv_hwc2chw_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4495 | srcs = [ |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 4496 | "test/f32-conv-hwc2chw.cc", |
| 4497 | "test/conv-hwc2chw-microkernel-tester.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4498 | "src/xnnpack/AlignedAllocator.h", |
| 4499 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4500 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4501 | ) |
| 4502 | |
| 4503 | xnnpack_unit_test( |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 4504 | name = "f32_dwconv_test", |
| 4505 | srcs = [ |
| 4506 | "test/f32-dwconv.cc", |
| 4507 | "test/dwconv-microkernel-tester.h", |
| 4508 | "src/xnnpack/AlignedAllocator.h", |
| 4509 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4510 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 4511 | ) |
| 4512 | |
| 4513 | xnnpack_unit_test( |
Frank Barchard | 5a599a6 | 2020-06-04 20:12:44 -0700 | [diff] [blame] | 4514 | name = "f16_dwconv_minmax_test", |
| 4515 | srcs = [ |
| 4516 | "test/f16-dwconv-minmax.cc", |
| 4517 | "test/dwconv-microkernel-tester.h", |
| 4518 | "src/xnnpack/AlignedAllocator.h", |
| 4519 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4520 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Frank Barchard | 5a599a6 | 2020-06-04 20:12:44 -0700 | [diff] [blame] | 4521 | ) |
| 4522 | |
| 4523 | xnnpack_unit_test( |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 4524 | name = "f32_dwconv_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4525 | srcs = [ |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 4526 | "test/f32-dwconv-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4527 | "test/dwconv-microkernel-tester.h", |
| 4528 | "src/xnnpack/AlignedAllocator.h", |
| 4529 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4530 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4531 | ) |
| 4532 | |
| 4533 | xnnpack_unit_test( |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 4534 | name = "f32_dwconv_chw_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4535 | srcs = [ |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 4536 | "test/f32-dwconv-chw.cc", |
| 4537 | "test/dwconv-chw-microkernel-tester.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4538 | "src/xnnpack/AlignedAllocator.h", |
| 4539 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4540 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4541 | ) |
| 4542 | |
| 4543 | xnnpack_unit_test( |
Frank Barchard | 0bb49a7 | 2020-06-04 11:35:11 -0700 | [diff] [blame] | 4544 | name = "f16_gavgpool_minmax_test", |
| 4545 | srcs = [ |
| 4546 | "test/f16-gavgpool-minmax.cc", |
| 4547 | "test/gavgpool-microkernel-tester.h", |
| 4548 | "src/xnnpack/AlignedAllocator.h", |
| 4549 | ] + MICROKERNEL_TEST_HDRS, |
| 4550 | deps = MICROKERNEL_TEST_DEPS, |
| 4551 | ) |
| 4552 | |
| 4553 | xnnpack_unit_test( |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 4554 | name = "f32_gavgpool_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4555 | srcs = [ |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 4556 | "test/f32-gavgpool-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4557 | "test/gavgpool-microkernel-tester.h", |
| 4558 | "src/xnnpack/AlignedAllocator.h", |
| 4559 | ] + MICROKERNEL_TEST_HDRS, |
| 4560 | deps = MICROKERNEL_TEST_DEPS, |
| 4561 | ) |
| 4562 | |
| 4563 | xnnpack_unit_test( |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 4564 | name = "f32_gavgpool_cw_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4565 | srcs = [ |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 4566 | "test/f32-gavgpool-cw.cc", |
| 4567 | "test/gavgpool-cw-microkernel-tester.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4568 | "src/xnnpack/AlignedAllocator.h", |
| 4569 | ] + MICROKERNEL_TEST_HDRS, |
| 4570 | deps = MICROKERNEL_TEST_DEPS, |
| 4571 | ) |
| 4572 | |
| 4573 | xnnpack_unit_test( |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 4574 | name = "f32_gemm_test", |
| 4575 | srcs = [ |
| 4576 | "test/f32-gemm.cc", |
| 4577 | "test/gemm-microkernel-tester.h", |
| 4578 | "src/xnnpack/AlignedAllocator.h", |
| 4579 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4580 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 4581 | ) |
| 4582 | |
| 4583 | xnnpack_unit_test( |
Marat Dukhan | 467f636 | 2020-05-22 23:21:55 -0700 | [diff] [blame] | 4584 | name = "f32_gemm_relu_test", |
| 4585 | srcs = [ |
| 4586 | "test/f32-gemm-relu.cc", |
| 4587 | "test/gemm-microkernel-tester.h", |
| 4588 | "src/xnnpack/AlignedAllocator.h", |
| 4589 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4590 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 467f636 | 2020-05-22 23:21:55 -0700 | [diff] [blame] | 4591 | ) |
| 4592 | |
| 4593 | xnnpack_unit_test( |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 4594 | name = "f32_gemm_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4595 | srcs = [ |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 4596 | "test/f32-gemm-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4597 | "test/gemm-microkernel-tester.h", |
| 4598 | "src/xnnpack/AlignedAllocator.h", |
| 4599 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4600 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4601 | ) |
| 4602 | |
| 4603 | xnnpack_unit_test( |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 4604 | name = "f32_gemminc_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4605 | srcs = [ |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 4606 | "test/f32-gemminc-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4607 | "test/gemm-microkernel-tester.h", |
| 4608 | "src/xnnpack/AlignedAllocator.h", |
| 4609 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4610 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4611 | ) |
| 4612 | |
| 4613 | xnnpack_unit_test( |
Frank Barchard | b196659 | 2020-05-12 13:47:06 -0700 | [diff] [blame] | 4614 | name = "f16_hswish_test", |
| 4615 | srcs = [ |
| 4616 | "test/f16-hswish.cc", |
| 4617 | "test/hswish-microkernel-tester.h", |
| 4618 | ] + MICROKERNEL_TEST_HDRS, |
| 4619 | deps = MICROKERNEL_TEST_DEPS, |
| 4620 | ) |
| 4621 | |
| 4622 | xnnpack_unit_test( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4623 | name = "f32_hswish_test", |
| 4624 | srcs = [ |
| 4625 | "test/f32-hswish.cc", |
| 4626 | "test/hswish-microkernel-tester.h", |
| 4627 | ] + MICROKERNEL_TEST_HDRS, |
| 4628 | deps = MICROKERNEL_TEST_DEPS, |
| 4629 | ) |
| 4630 | |
| 4631 | xnnpack_unit_test( |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 4632 | name = "f32_maxpool_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4633 | srcs = [ |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 4634 | "test/f32-maxpool-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4635 | "test/maxpool-microkernel-tester.h", |
| 4636 | ] + MICROKERNEL_TEST_HDRS, |
| 4637 | deps = MICROKERNEL_TEST_DEPS, |
| 4638 | ) |
| 4639 | |
| 4640 | xnnpack_unit_test( |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 4641 | name = "f32_pavgpool_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4642 | srcs = [ |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 4643 | "test/f32-pavgpool-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4644 | "test/avgpool-microkernel-tester.h", |
| 4645 | "src/xnnpack/AlignedAllocator.h", |
| 4646 | ] + MICROKERNEL_TEST_HDRS, |
| 4647 | deps = MICROKERNEL_TEST_DEPS, |
| 4648 | ) |
| 4649 | |
| 4650 | xnnpack_unit_test( |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 4651 | name = "f32_ppmm_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4652 | srcs = [ |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 4653 | "test/f32-ppmm-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4654 | "test/gemm-microkernel-tester.h", |
| 4655 | "src/xnnpack/AlignedAllocator.h", |
| 4656 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4657 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4658 | ) |
| 4659 | |
| 4660 | xnnpack_unit_test( |
Frank Barchard | b196659 | 2020-05-12 13:47:06 -0700 | [diff] [blame] | 4661 | name = "f16_prelu_test", |
| 4662 | srcs = [ |
| 4663 | "test/f16-prelu.cc", |
| 4664 | "test/prelu-microkernel-tester.h", |
| 4665 | "src/xnnpack/AlignedAllocator.h", |
| 4666 | ] + MICROKERNEL_TEST_HDRS, |
| 4667 | deps = MICROKERNEL_TEST_DEPS, |
| 4668 | ) |
| 4669 | |
| 4670 | xnnpack_unit_test( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4671 | name = "f32_prelu_test", |
| 4672 | srcs = [ |
| 4673 | "test/f32-prelu.cc", |
| 4674 | "test/prelu-microkernel-tester.h", |
| 4675 | "src/xnnpack/AlignedAllocator.h", |
| 4676 | ] + MICROKERNEL_TEST_HDRS, |
| 4677 | deps = MICROKERNEL_TEST_DEPS, |
| 4678 | ) |
| 4679 | |
| 4680 | xnnpack_unit_test( |
Marat Dukhan | 9757953 | 2019-10-18 16:40:39 -0700 | [diff] [blame] | 4681 | name = "f32_raddexpminusmax_test", |
| 4682 | srcs = [ |
| 4683 | "test/f32-raddexpminusmax.cc", |
| 4684 | "test/raddexpminusmax-microkernel-tester.h", |
| 4685 | ] + MICROKERNEL_TEST_HDRS, |
| 4686 | deps = MICROKERNEL_TEST_DEPS, |
| 4687 | ) |
| 4688 | |
| 4689 | xnnpack_unit_test( |
Marat Dukhan | 6f8d4d3 | 2019-10-25 17:07:09 -0700 | [diff] [blame] | 4690 | name = "f32_raddextexp_test", |
| 4691 | srcs = [ |
| 4692 | "test/f32-raddextexp.cc", |
| 4693 | "test/raddextexp-microkernel-tester.h", |
| 4694 | ] + MICROKERNEL_TEST_HDRS, |
| 4695 | deps = MICROKERNEL_TEST_DEPS, |
| 4696 | ) |
| 4697 | |
| 4698 | xnnpack_unit_test( |
Marat Dukhan | 9757953 | 2019-10-18 16:40:39 -0700 | [diff] [blame] | 4699 | name = "f32_raddstoreexpminusmax_test", |
| 4700 | srcs = [ |
| 4701 | "test/f32-raddstoreexpminusmax.cc", |
| 4702 | "test/raddstoreexpminusmax-microkernel-tester.h", |
| 4703 | ] + MICROKERNEL_TEST_HDRS, |
| 4704 | deps = MICROKERNEL_TEST_DEPS, |
| 4705 | ) |
| 4706 | |
| 4707 | xnnpack_unit_test( |
Frank Barchard | fb158e2 | 2020-07-15 16:10:10 -0700 | [diff] [blame] | 4708 | name = "f32_relu_test", |
| 4709 | srcs = [ |
| 4710 | "test/f32-relu.cc", |
| 4711 | "test/vunary-microkernel-tester.h", |
| 4712 | ] + MICROKERNEL_TEST_HDRS, |
| 4713 | deps = MICROKERNEL_TEST_DEPS, |
| 4714 | ) |
| 4715 | |
| 4716 | xnnpack_unit_test( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4717 | name = "f32_rmax_test", |
| 4718 | srcs = [ |
| 4719 | "test/f32-rmax.cc", |
| 4720 | "test/rmax-microkernel-tester.h", |
| 4721 | ] + MICROKERNEL_TEST_HDRS, |
| 4722 | deps = MICROKERNEL_TEST_DEPS, |
| 4723 | ) |
| 4724 | |
| 4725 | xnnpack_unit_test( |
Marat Dukhan | 346a9e5 | 2019-11-15 09:06:30 -0800 | [diff] [blame] | 4726 | name = "f32_sigmoid_test", |
| 4727 | srcs = [ |
| 4728 | "test/f32-sigmoid.cc", |
Marat Dukhan | 1e782c4 | 2019-11-21 17:02:40 -0800 | [diff] [blame] | 4729 | "test/vunary-microkernel-tester.h", |
Marat Dukhan | 346a9e5 | 2019-11-15 09:06:30 -0800 | [diff] [blame] | 4730 | ] + MICROKERNEL_TEST_HDRS, |
| 4731 | deps = MICROKERNEL_TEST_DEPS, |
| 4732 | ) |
| 4733 | |
| 4734 | xnnpack_unit_test( |
Marat Dukhan | 355ab43 | 2020-04-09 19:01:52 -0700 | [diff] [blame] | 4735 | name = "f32_spmm_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4736 | srcs = [ |
Marat Dukhan | 355ab43 | 2020-04-09 19:01:52 -0700 | [diff] [blame] | 4737 | "test/f32-spmm-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4738 | "test/spmm-microkernel-tester.h", |
| 4739 | "src/xnnpack/AlignedAllocator.h", |
| 4740 | ] + MICROKERNEL_TEST_HDRS, |
| 4741 | deps = MICROKERNEL_TEST_DEPS, |
| 4742 | ) |
| 4743 | |
| 4744 | xnnpack_unit_test( |
Frank Barchard | d793f6c | 2020-05-08 13:37:43 -0700 | [diff] [blame] | 4745 | name = "f16_vadd_minmax_test", |
| 4746 | srcs = [ |
| 4747 | "test/f16-vadd-minmax.cc", |
| 4748 | "test/vbinary-microkernel-tester.h", |
| 4749 | ] + MICROKERNEL_TEST_HDRS, |
| 4750 | deps = MICROKERNEL_TEST_DEPS, |
| 4751 | ) |
| 4752 | |
| 4753 | xnnpack_unit_test( |
| 4754 | name = "f16_vaddc_minmax_test", |
| 4755 | srcs = [ |
| 4756 | "test/f16-vaddc-minmax.cc", |
| 4757 | "test/vbinaryc-microkernel-tester.h", |
| 4758 | ] + MICROKERNEL_TEST_HDRS, |
| 4759 | deps = MICROKERNEL_TEST_DEPS, |
| 4760 | ) |
| 4761 | |
| 4762 | xnnpack_unit_test( |
| 4763 | name = "f16_vdiv_minmax_test", |
| 4764 | srcs = [ |
| 4765 | "test/f16-vdiv-minmax.cc", |
| 4766 | "test/vbinary-microkernel-tester.h", |
| 4767 | ] + MICROKERNEL_TEST_HDRS, |
| 4768 | deps = MICROKERNEL_TEST_DEPS, |
| 4769 | ) |
| 4770 | |
| 4771 | xnnpack_unit_test( |
| 4772 | name = "f16_vdivc_minmax_test", |
| 4773 | srcs = [ |
| 4774 | "test/f16-vdivc-minmax.cc", |
| 4775 | "test/vbinaryc-microkernel-tester.h", |
| 4776 | ] + MICROKERNEL_TEST_HDRS, |
| 4777 | deps = MICROKERNEL_TEST_DEPS, |
| 4778 | ) |
| 4779 | |
| 4780 | xnnpack_unit_test( |
| 4781 | name = "f16_vrdivc_minmax_test", |
| 4782 | srcs = [ |
| 4783 | "test/f16-vrdivc-minmax.cc", |
| 4784 | "test/vbinaryc-microkernel-tester.h", |
| 4785 | ] + MICROKERNEL_TEST_HDRS, |
| 4786 | deps = MICROKERNEL_TEST_DEPS, |
| 4787 | ) |
| 4788 | |
| 4789 | xnnpack_unit_test( |
| 4790 | name = "f16_vmax_test", |
| 4791 | srcs = [ |
| 4792 | "test/f16-vmax.cc", |
| 4793 | "test/vbinary-microkernel-tester.h", |
| 4794 | ] + MICROKERNEL_TEST_HDRS, |
| 4795 | deps = MICROKERNEL_TEST_DEPS, |
| 4796 | ) |
| 4797 | |
| 4798 | xnnpack_unit_test( |
| 4799 | name = "f16_vmaxc_test", |
| 4800 | srcs = [ |
| 4801 | "test/f16-vmaxc.cc", |
| 4802 | "test/vbinaryc-microkernel-tester.h", |
| 4803 | ] + MICROKERNEL_TEST_HDRS, |
| 4804 | deps = MICROKERNEL_TEST_DEPS, |
| 4805 | ) |
| 4806 | |
| 4807 | xnnpack_unit_test( |
| 4808 | name = "f16_vmin_test", |
| 4809 | srcs = [ |
| 4810 | "test/f16-vmin.cc", |
| 4811 | "test/vbinary-microkernel-tester.h", |
| 4812 | ] + MICROKERNEL_TEST_HDRS, |
| 4813 | deps = MICROKERNEL_TEST_DEPS, |
| 4814 | ) |
| 4815 | |
| 4816 | xnnpack_unit_test( |
| 4817 | name = "f16_vminc_test", |
| 4818 | srcs = [ |
| 4819 | "test/f16-vminc.cc", |
| 4820 | "test/vbinaryc-microkernel-tester.h", |
| 4821 | ] + MICROKERNEL_TEST_HDRS, |
| 4822 | deps = MICROKERNEL_TEST_DEPS, |
| 4823 | ) |
| 4824 | |
| 4825 | xnnpack_unit_test( |
| 4826 | name = "f16_vmul_minmax_test", |
| 4827 | srcs = [ |
| 4828 | "test/f16-vmul-minmax.cc", |
| 4829 | "test/vbinary-microkernel-tester.h", |
| 4830 | ] + MICROKERNEL_TEST_HDRS, |
| 4831 | deps = MICROKERNEL_TEST_DEPS, |
| 4832 | ) |
| 4833 | |
| 4834 | xnnpack_unit_test( |
| 4835 | name = "f16_vmulc_minmax_test", |
| 4836 | srcs = [ |
| 4837 | "test/f16-vmulc-minmax.cc", |
| 4838 | "test/vbinaryc-microkernel-tester.h", |
| 4839 | ] + MICROKERNEL_TEST_HDRS, |
| 4840 | deps = MICROKERNEL_TEST_DEPS, |
| 4841 | ) |
| 4842 | |
| 4843 | xnnpack_unit_test( |
| 4844 | name = "f16_vsub_minmax_test", |
| 4845 | srcs = [ |
| 4846 | "test/f16-vsub-minmax.cc", |
| 4847 | "test/vbinary-microkernel-tester.h", |
| 4848 | ] + MICROKERNEL_TEST_HDRS, |
| 4849 | deps = MICROKERNEL_TEST_DEPS, |
| 4850 | ) |
| 4851 | |
| 4852 | xnnpack_unit_test( |
| 4853 | name = "f16_vsubc_minmax_test", |
| 4854 | srcs = [ |
| 4855 | "test/f16-vsubc-minmax.cc", |
| 4856 | "test/vbinaryc-microkernel-tester.h", |
| 4857 | ] + MICROKERNEL_TEST_HDRS, |
| 4858 | deps = MICROKERNEL_TEST_DEPS, |
| 4859 | ) |
| 4860 | |
| 4861 | xnnpack_unit_test( |
| 4862 | name = "f16_vrsubc_minmax_test", |
| 4863 | srcs = [ |
| 4864 | "test/f16-vrsubc-minmax.cc", |
| 4865 | "test/vbinaryc-microkernel-tester.h", |
| 4866 | ] + MICROKERNEL_TEST_HDRS, |
| 4867 | deps = MICROKERNEL_TEST_DEPS, |
| 4868 | ) |
| 4869 | |
| 4870 | xnnpack_unit_test( |
Marat Dukhan | 5020b96 | 2020-06-08 13:30:10 -0700 | [diff] [blame] | 4871 | name = "f32_vabs_test", |
| 4872 | srcs = [ |
| 4873 | "test/f32-vabs.cc", |
| 4874 | "test/vunary-microkernel-tester.h", |
| 4875 | ] + MICROKERNEL_TEST_HDRS, |
| 4876 | deps = MICROKERNEL_TEST_DEPS, |
| 4877 | ) |
| 4878 | |
| 4879 | xnnpack_unit_test( |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 4880 | name = "f32_vadd_test", |
| 4881 | srcs = [ |
| 4882 | "test/f32-vadd.cc", |
| 4883 | "test/vbinary-microkernel-tester.h", |
| 4884 | ] + MICROKERNEL_TEST_HDRS, |
| 4885 | deps = MICROKERNEL_TEST_DEPS, |
| 4886 | ) |
| 4887 | |
| 4888 | xnnpack_unit_test( |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 4889 | name = "f32_vadd_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4890 | srcs = [ |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 4891 | "test/f32-vadd-minmax.cc", |
Marat Dukhan | 1e782c4 | 2019-11-21 17:02:40 -0800 | [diff] [blame] | 4892 | "test/vbinary-microkernel-tester.h", |
Marat Dukhan | c07cb7f | 2019-11-14 15:32:05 -0800 | [diff] [blame] | 4893 | ] + MICROKERNEL_TEST_HDRS, |
| 4894 | deps = MICROKERNEL_TEST_DEPS, |
| 4895 | ) |
| 4896 | |
| 4897 | xnnpack_unit_test( |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 4898 | name = "f32_vaddc_test", |
| 4899 | srcs = [ |
| 4900 | "test/f32-vaddc.cc", |
| 4901 | "test/vbinaryc-microkernel-tester.h", |
| 4902 | ] + MICROKERNEL_TEST_HDRS, |
| 4903 | deps = MICROKERNEL_TEST_DEPS, |
| 4904 | ) |
| 4905 | |
| 4906 | xnnpack_unit_test( |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 4907 | name = "f32_vaddc_minmax_test", |
Marat Dukhan | c07cb7f | 2019-11-14 15:32:05 -0800 | [diff] [blame] | 4908 | srcs = [ |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 4909 | "test/f32-vaddc-minmax.cc", |
Marat Dukhan | 1e782c4 | 2019-11-21 17:02:40 -0800 | [diff] [blame] | 4910 | "test/vbinaryc-microkernel-tester.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4911 | ] + MICROKERNEL_TEST_HDRS, |
| 4912 | deps = MICROKERNEL_TEST_DEPS, |
| 4913 | ) |
| 4914 | |
| 4915 | xnnpack_unit_test( |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 4916 | name = "f32_vdiv_test", |
| 4917 | srcs = [ |
| 4918 | "test/f32-vdiv.cc", |
| 4919 | "test/vbinary-microkernel-tester.h", |
| 4920 | ] + MICROKERNEL_TEST_HDRS, |
| 4921 | deps = MICROKERNEL_TEST_DEPS, |
| 4922 | ) |
| 4923 | |
| 4924 | xnnpack_unit_test( |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 4925 | name = "f32_vdiv_minmax_test", |
Marat Dukhan | 77ca630 | 2019-12-06 12:48:15 -0800 | [diff] [blame] | 4926 | srcs = [ |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 4927 | "test/f32-vdiv-minmax.cc", |
Marat Dukhan | 77ca630 | 2019-12-06 12:48:15 -0800 | [diff] [blame] | 4928 | "test/vbinary-microkernel-tester.h", |
| 4929 | ] + MICROKERNEL_TEST_HDRS, |
| 4930 | deps = MICROKERNEL_TEST_DEPS, |
| 4931 | ) |
| 4932 | |
| 4933 | xnnpack_unit_test( |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 4934 | name = "f32_vdivc_test", |
| 4935 | srcs = [ |
| 4936 | "test/f32-vdivc.cc", |
| 4937 | "test/vbinaryc-microkernel-tester.h", |
| 4938 | ] + MICROKERNEL_TEST_HDRS, |
| 4939 | deps = MICROKERNEL_TEST_DEPS, |
| 4940 | ) |
| 4941 | |
| 4942 | xnnpack_unit_test( |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 4943 | name = "f32_vdivc_minmax_test", |
Marat Dukhan | 77ca630 | 2019-12-06 12:48:15 -0800 | [diff] [blame] | 4944 | srcs = [ |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 4945 | "test/f32-vdivc-minmax.cc", |
Marat Dukhan | 77ca630 | 2019-12-06 12:48:15 -0800 | [diff] [blame] | 4946 | "test/vbinaryc-microkernel-tester.h", |
| 4947 | ] + MICROKERNEL_TEST_HDRS, |
| 4948 | deps = MICROKERNEL_TEST_DEPS, |
| 4949 | ) |
| 4950 | |
| 4951 | xnnpack_unit_test( |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 4952 | name = "f32_vrdivc_test", |
| 4953 | srcs = [ |
| 4954 | "test/f32-vrdivc.cc", |
| 4955 | "test/vbinaryc-microkernel-tester.h", |
| 4956 | ] + MICROKERNEL_TEST_HDRS, |
| 4957 | deps = MICROKERNEL_TEST_DEPS, |
| 4958 | ) |
| 4959 | |
| 4960 | xnnpack_unit_test( |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 4961 | name = "f32_vrdivc_minmax_test", |
Marat Dukhan | 77ca630 | 2019-12-06 12:48:15 -0800 | [diff] [blame] | 4962 | srcs = [ |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 4963 | "test/f32-vrdivc-minmax.cc", |
Marat Dukhan | 77ca630 | 2019-12-06 12:48:15 -0800 | [diff] [blame] | 4964 | "test/vbinaryc-microkernel-tester.h", |
| 4965 | ] + MICROKERNEL_TEST_HDRS, |
| 4966 | deps = MICROKERNEL_TEST_DEPS, |
| 4967 | ) |
| 4968 | |
| 4969 | xnnpack_unit_test( |
Marat Dukhan | 403b7d4 | 2019-12-05 12:49:11 -0800 | [diff] [blame] | 4970 | name = "f32_vmax_test", |
| 4971 | srcs = [ |
| 4972 | "test/f32-vmax.cc", |
| 4973 | "test/vbinary-microkernel-tester.h", |
| 4974 | ] + MICROKERNEL_TEST_HDRS, |
| 4975 | deps = MICROKERNEL_TEST_DEPS, |
| 4976 | ) |
| 4977 | |
| 4978 | xnnpack_unit_test( |
| 4979 | name = "f32_vmaxc_test", |
| 4980 | srcs = [ |
| 4981 | "test/f32-vmaxc.cc", |
| 4982 | "test/vbinaryc-microkernel-tester.h", |
| 4983 | ] + MICROKERNEL_TEST_HDRS, |
| 4984 | deps = MICROKERNEL_TEST_DEPS, |
| 4985 | ) |
| 4986 | |
| 4987 | xnnpack_unit_test( |
| 4988 | name = "f32_vmin_test", |
| 4989 | srcs = [ |
| 4990 | "test/f32-vmin.cc", |
| 4991 | "test/vbinary-microkernel-tester.h", |
| 4992 | ] + MICROKERNEL_TEST_HDRS, |
| 4993 | deps = MICROKERNEL_TEST_DEPS, |
| 4994 | ) |
| 4995 | |
| 4996 | xnnpack_unit_test( |
| 4997 | name = "f32_vminc_test", |
| 4998 | srcs = [ |
| 4999 | "test/f32-vminc.cc", |
| 5000 | "test/vbinaryc-microkernel-tester.h", |
| 5001 | ] + MICROKERNEL_TEST_HDRS, |
| 5002 | deps = MICROKERNEL_TEST_DEPS, |
| 5003 | ) |
| 5004 | |
| 5005 | xnnpack_unit_test( |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 5006 | name = "f32_vmul_test", |
| 5007 | srcs = [ |
| 5008 | "test/f32-vmul.cc", |
| 5009 | "test/vbinary-microkernel-tester.h", |
| 5010 | ] + MICROKERNEL_TEST_HDRS, |
| 5011 | deps = MICROKERNEL_TEST_DEPS, |
| 5012 | ) |
| 5013 | |
| 5014 | xnnpack_unit_test( |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 5015 | name = "f32_vmul_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5016 | srcs = [ |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 5017 | "test/f32-vmul-minmax.cc", |
Marat Dukhan | 1e782c4 | 2019-11-21 17:02:40 -0800 | [diff] [blame] | 5018 | "test/vbinary-microkernel-tester.h", |
Marat Dukhan | c07cb7f | 2019-11-14 15:32:05 -0800 | [diff] [blame] | 5019 | ] + MICROKERNEL_TEST_HDRS, |
| 5020 | deps = MICROKERNEL_TEST_DEPS, |
| 5021 | ) |
| 5022 | |
| 5023 | xnnpack_unit_test( |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 5024 | name = "f32_vmulc_test", |
| 5025 | srcs = [ |
| 5026 | "test/f32-vmulc.cc", |
| 5027 | "test/vbinaryc-microkernel-tester.h", |
| 5028 | ] + MICROKERNEL_TEST_HDRS, |
| 5029 | deps = MICROKERNEL_TEST_DEPS, |
| 5030 | ) |
| 5031 | |
| 5032 | xnnpack_unit_test( |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 5033 | name = "f32_vmulc_minmax_test", |
Marat Dukhan | c07cb7f | 2019-11-14 15:32:05 -0800 | [diff] [blame] | 5034 | srcs = [ |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 5035 | "test/f32-vmulc-minmax.cc", |
Marat Dukhan | 1e782c4 | 2019-11-21 17:02:40 -0800 | [diff] [blame] | 5036 | "test/vbinaryc-microkernel-tester.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5037 | ] + MICROKERNEL_TEST_HDRS, |
| 5038 | deps = MICROKERNEL_TEST_DEPS, |
| 5039 | ) |
| 5040 | |
| 5041 | xnnpack_unit_test( |
Frank Barchard | 2a1049c | 2020-06-03 02:31:27 -0700 | [diff] [blame] | 5042 | name = "f16_vmulcaddc_minmax_test", |
| 5043 | srcs = [ |
| 5044 | "test/f16-vmulcaddc-minmax.cc", |
| 5045 | "test/vmulcaddc-microkernel-tester.h", |
| 5046 | "src/xnnpack/AlignedAllocator.h", |
| 5047 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 5048 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Frank Barchard | 2a1049c | 2020-06-03 02:31:27 -0700 | [diff] [blame] | 5049 | ) |
| 5050 | |
| 5051 | xnnpack_unit_test( |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 5052 | name = "f32_vmulcaddc_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5053 | srcs = [ |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 5054 | "test/f32-vmulcaddc-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5055 | "test/vmulcaddc-microkernel-tester.h", |
| 5056 | "src/xnnpack/AlignedAllocator.h", |
| 5057 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 5058 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5059 | ) |
| 5060 | |
| 5061 | xnnpack_unit_test( |
Marat Dukhan | 8cc7efe | 2020-06-10 16:24:27 -0700 | [diff] [blame] | 5062 | name = "f32_vlrelu_test", |
| 5063 | srcs = [ |
| 5064 | "test/f32-vlrelu.cc", |
| 5065 | "test/vunary-microkernel-tester.h", |
| 5066 | ] + MICROKERNEL_TEST_HDRS, |
| 5067 | deps = MICROKERNEL_TEST_DEPS, |
| 5068 | ) |
| 5069 | |
| 5070 | xnnpack_unit_test( |
Marat Dukhan | 5020b96 | 2020-06-08 13:30:10 -0700 | [diff] [blame] | 5071 | name = "f32_vneg_test", |
| 5072 | srcs = [ |
| 5073 | "test/f32-vneg.cc", |
| 5074 | "test/vunary-microkernel-tester.h", |
| 5075 | ] + MICROKERNEL_TEST_HDRS, |
| 5076 | deps = MICROKERNEL_TEST_DEPS, |
| 5077 | ) |
| 5078 | |
| 5079 | xnnpack_unit_test( |
Marat Dukhan | eecf8fd | 2020-06-09 08:59:37 -0700 | [diff] [blame] | 5080 | name = "f32_vrndne_test", |
| 5081 | srcs = [ |
| 5082 | "test/f32-vrndne.cc", |
| 5083 | "test/vunary-microkernel-tester.h", |
| 5084 | ] + MICROKERNEL_TEST_HDRS, |
| 5085 | deps = MICROKERNEL_TEST_DEPS, |
| 5086 | ) |
| 5087 | |
| 5088 | xnnpack_unit_test( |
| 5089 | name = "f32_vrndz_test", |
| 5090 | srcs = [ |
| 5091 | "test/f32-vrndz.cc", |
| 5092 | "test/vunary-microkernel-tester.h", |
| 5093 | ] + MICROKERNEL_TEST_HDRS, |
| 5094 | deps = MICROKERNEL_TEST_DEPS, |
| 5095 | ) |
| 5096 | |
| 5097 | xnnpack_unit_test( |
| 5098 | name = "f32_vrndu_test", |
| 5099 | srcs = [ |
| 5100 | "test/f32-vrndu.cc", |
| 5101 | "test/vunary-microkernel-tester.h", |
| 5102 | ] + MICROKERNEL_TEST_HDRS, |
| 5103 | deps = MICROKERNEL_TEST_DEPS, |
| 5104 | ) |
| 5105 | |
| 5106 | xnnpack_unit_test( |
| 5107 | name = "f32_vrndd_test", |
| 5108 | srcs = [ |
| 5109 | "test/f32-vrndd.cc", |
| 5110 | "test/vunary-microkernel-tester.h", |
| 5111 | ] + MICROKERNEL_TEST_HDRS, |
| 5112 | deps = MICROKERNEL_TEST_DEPS, |
| 5113 | ) |
| 5114 | |
| 5115 | xnnpack_unit_test( |
Marat Dukhan | 05ac8e3 | 2019-10-21 15:39:33 -0700 | [diff] [blame] | 5116 | name = "f32_vscale_test", |
| 5117 | srcs = [ |
| 5118 | "test/f32-vscale.cc", |
| 5119 | "test/vscale-microkernel-tester.h", |
| 5120 | ] + MICROKERNEL_TEST_HDRS, |
| 5121 | deps = MICROKERNEL_TEST_DEPS, |
| 5122 | ) |
| 5123 | |
| 5124 | xnnpack_unit_test( |
Marat Dukhan | 9757953 | 2019-10-18 16:40:39 -0700 | [diff] [blame] | 5125 | name = "f32_vscaleexpminusmax_test", |
| 5126 | srcs = [ |
| 5127 | "test/f32-vscaleexpminusmax.cc", |
| 5128 | "test/vscaleexpminusmax-microkernel-tester.h", |
| 5129 | ] + MICROKERNEL_TEST_HDRS, |
| 5130 | deps = MICROKERNEL_TEST_DEPS, |
| 5131 | ) |
| 5132 | |
| 5133 | xnnpack_unit_test( |
Marat Dukhan | 6f8d4d3 | 2019-10-25 17:07:09 -0700 | [diff] [blame] | 5134 | name = "f32_vscaleextexp_test", |
| 5135 | srcs = [ |
| 5136 | "test/f32-vscaleextexp.cc", |
| 5137 | "test/vscaleextexp-microkernel-tester.h", |
| 5138 | ] + MICROKERNEL_TEST_HDRS, |
| 5139 | deps = MICROKERNEL_TEST_DEPS, |
| 5140 | ) |
| 5141 | |
| 5142 | xnnpack_unit_test( |
Marat Dukhan | 5020b96 | 2020-06-08 13:30:10 -0700 | [diff] [blame] | 5143 | name = "f32_vsqr_test", |
| 5144 | srcs = [ |
| 5145 | "test/f32-vsqr.cc", |
| 5146 | "test/vunary-microkernel-tester.h", |
| 5147 | ] + MICROKERNEL_TEST_HDRS, |
| 5148 | deps = MICROKERNEL_TEST_DEPS, |
| 5149 | ) |
| 5150 | |
| 5151 | xnnpack_unit_test( |
Marat Dukhan | 13bafb0 | 2020-06-05 00:43:11 -0700 | [diff] [blame] | 5152 | name = "f32_vsqrdiff_test", |
| 5153 | srcs = [ |
| 5154 | "test/f32-vsqrdiff.cc", |
| 5155 | "test/vbinary-microkernel-tester.h", |
| 5156 | ] + MICROKERNEL_TEST_HDRS, |
| 5157 | deps = MICROKERNEL_TEST_DEPS, |
| 5158 | ) |
| 5159 | |
| 5160 | xnnpack_unit_test( |
| 5161 | name = "f32_vsqrdiffc_test", |
| 5162 | srcs = [ |
| 5163 | "test/f32-vsqrdiffc.cc", |
| 5164 | "test/vbinaryc-microkernel-tester.h", |
| 5165 | ] + MICROKERNEL_TEST_HDRS, |
| 5166 | deps = MICROKERNEL_TEST_DEPS, |
| 5167 | ) |
| 5168 | |
| 5169 | xnnpack_unit_test( |
Marat Dukhan | f4db2f3 | 2020-06-30 10:55:30 -0700 | [diff] [blame] | 5170 | name = "f32_vsqrt_test", |
| 5171 | srcs = [ |
| 5172 | "test/f32-vsqrt.cc", |
| 5173 | "test/vunary-microkernel-tester.h", |
| 5174 | ] + MICROKERNEL_TEST_HDRS, |
| 5175 | deps = MICROKERNEL_TEST_DEPS, |
| 5176 | ) |
| 5177 | |
| 5178 | xnnpack_unit_test( |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 5179 | name = "f32_vsub_test", |
| 5180 | srcs = [ |
| 5181 | "test/f32-vsub.cc", |
| 5182 | "test/vbinary-microkernel-tester.h", |
| 5183 | ] + MICROKERNEL_TEST_HDRS, |
| 5184 | deps = MICROKERNEL_TEST_DEPS, |
| 5185 | ) |
| 5186 | |
| 5187 | xnnpack_unit_test( |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 5188 | name = "f32_vsub_minmax_test", |
Marat Dukhan | 9757953 | 2019-10-18 16:40:39 -0700 | [diff] [blame] | 5189 | srcs = [ |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 5190 | "test/f32-vsub-minmax.cc", |
Marat Dukhan | 1e782c4 | 2019-11-21 17:02:40 -0800 | [diff] [blame] | 5191 | "test/vbinary-microkernel-tester.h", |
Marat Dukhan | c07cb7f | 2019-11-14 15:32:05 -0800 | [diff] [blame] | 5192 | ] + MICROKERNEL_TEST_HDRS, |
| 5193 | deps = MICROKERNEL_TEST_DEPS, |
| 5194 | ) |
| 5195 | |
| 5196 | xnnpack_unit_test( |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 5197 | name = "f32_vsubc_test", |
| 5198 | srcs = [ |
| 5199 | "test/f32-vsubc.cc", |
| 5200 | "test/vbinaryc-microkernel-tester.h", |
| 5201 | ] + MICROKERNEL_TEST_HDRS, |
| 5202 | deps = MICROKERNEL_TEST_DEPS, |
| 5203 | ) |
| 5204 | |
| 5205 | xnnpack_unit_test( |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 5206 | name = "f32_vsubc_minmax_test", |
Marat Dukhan | c07cb7f | 2019-11-14 15:32:05 -0800 | [diff] [blame] | 5207 | srcs = [ |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 5208 | "test/f32-vsubc-minmax.cc", |
Marat Dukhan | 1e782c4 | 2019-11-21 17:02:40 -0800 | [diff] [blame] | 5209 | "test/vbinaryc-microkernel-tester.h", |
Marat Dukhan | c07cb7f | 2019-11-14 15:32:05 -0800 | [diff] [blame] | 5210 | ] + MICROKERNEL_TEST_HDRS, |
| 5211 | deps = MICROKERNEL_TEST_DEPS, |
| 5212 | ) |
| 5213 | |
| 5214 | xnnpack_unit_test( |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 5215 | name = "f32_vrsubc_test", |
| 5216 | srcs = [ |
| 5217 | "test/f32-vrsubc.cc", |
| 5218 | "test/vbinaryc-microkernel-tester.h", |
| 5219 | ] + MICROKERNEL_TEST_HDRS, |
| 5220 | deps = MICROKERNEL_TEST_DEPS, |
| 5221 | ) |
| 5222 | |
| 5223 | xnnpack_unit_test( |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 5224 | name = "f32_vrsubc_minmax_test", |
Marat Dukhan | c07cb7f | 2019-11-14 15:32:05 -0800 | [diff] [blame] | 5225 | srcs = [ |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 5226 | "test/f32-vrsubc-minmax.cc", |
Marat Dukhan | 1e782c4 | 2019-11-21 17:02:40 -0800 | [diff] [blame] | 5227 | "test/vbinaryc-microkernel-tester.h", |
Marat Dukhan | 9757953 | 2019-10-18 16:40:39 -0700 | [diff] [blame] | 5228 | ] + MICROKERNEL_TEST_HDRS, |
| 5229 | deps = MICROKERNEL_TEST_DEPS, |
| 5230 | ) |
| 5231 | |
| 5232 | xnnpack_unit_test( |
Marat Dukhan | f62bbdc | 2020-08-04 13:59:04 -0700 | [diff] [blame] | 5233 | name = "qs8_dwconv_minmax_test", |
| 5234 | srcs = [ |
| 5235 | "test/qs8-dwconv-minmax.cc", |
| 5236 | "test/dwconv-microkernel-tester.h", |
| 5237 | "src/xnnpack/AlignedAllocator.h", |
| 5238 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
| 5239 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
| 5240 | ) |
| 5241 | |
| 5242 | xnnpack_unit_test( |
Marat Dukhan | 4ed53f4 | 2020-08-06 01:12:55 -0700 | [diff] [blame^] | 5243 | name = "qs8_gavgpool_minmax_test", |
| 5244 | srcs = [ |
| 5245 | "test/qs8-gavgpool-minmax.cc", |
| 5246 | "test/gavgpool-microkernel-tester.h", |
| 5247 | "src/xnnpack/AlignedAllocator.h", |
| 5248 | ] + MICROKERNEL_TEST_HDRS, |
| 5249 | deps = MICROKERNEL_TEST_DEPS, |
| 5250 | ) |
| 5251 | |
| 5252 | xnnpack_unit_test( |
Marat Dukhan | 595e170 | 2020-07-31 10:12:52 -0700 | [diff] [blame] | 5253 | name = "qs8_gemm_minmax_test", |
| 5254 | srcs = [ |
| 5255 | "test/qs8-gemm-minmax.cc", |
| 5256 | "test/gemm-microkernel-tester.h", |
| 5257 | "src/xnnpack/AlignedAllocator.h", |
| 5258 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
| 5259 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
| 5260 | ) |
| 5261 | |
| 5262 | xnnpack_unit_test( |
Marat Dukhan | f948068 | 2020-07-31 14:50:24 -0700 | [diff] [blame] | 5263 | name = "qs8_igemm_minmax_test", |
| 5264 | srcs = [ |
| 5265 | "test/qs8-igemm-minmax.cc", |
| 5266 | "test/gemm-microkernel-tester.h", |
| 5267 | "src/xnnpack/AlignedAllocator.h", |
| 5268 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
| 5269 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
| 5270 | ) |
| 5271 | |
| 5272 | xnnpack_unit_test( |
| 5273 | name = "qs8_requantization_test", |
| 5274 | srcs = [ |
| 5275 | "src/xnnpack/requantization-stubs.h", |
| 5276 | "test/qs8-requantization.cc", |
| 5277 | "test/requantization-tester.h", |
| 5278 | ] + MICROKERNEL_TEST_HDRS, |
| 5279 | deps = MICROKERNEL_TEST_DEPS, |
| 5280 | ) |
| 5281 | |
| 5282 | xnnpack_unit_test( |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 5283 | name = "qu8_avgpool_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5284 | srcs = [ |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 5285 | "test/qu8-avgpool-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5286 | "test/avgpool-microkernel-tester.h", |
| 5287 | "src/xnnpack/AlignedAllocator.h", |
| 5288 | ] + MICROKERNEL_TEST_HDRS, |
| 5289 | deps = MICROKERNEL_TEST_DEPS, |
| 5290 | ) |
| 5291 | |
| 5292 | xnnpack_unit_test( |
Marat Dukhan | f62bbdc | 2020-08-04 13:59:04 -0700 | [diff] [blame] | 5293 | name = "qu8_dwconv_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5294 | srcs = [ |
Marat Dukhan | f62bbdc | 2020-08-04 13:59:04 -0700 | [diff] [blame] | 5295 | "test/qu8-dwconv-minmax.cc", |
| 5296 | "test/dwconv-microkernel-tester.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5297 | "src/xnnpack/AlignedAllocator.h", |
| 5298 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 5299 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5300 | ) |
| 5301 | |
| 5302 | xnnpack_unit_test( |
Marat Dukhan | f62bbdc | 2020-08-04 13:59:04 -0700 | [diff] [blame] | 5303 | name = "qu8_igemm_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5304 | srcs = [ |
Marat Dukhan | f62bbdc | 2020-08-04 13:59:04 -0700 | [diff] [blame] | 5305 | "test/qu8-igemm-minmax.cc", |
| 5306 | "test/gemm-microkernel-tester.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5307 | "src/xnnpack/AlignedAllocator.h", |
| 5308 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 5309 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5310 | ) |
| 5311 | |
| 5312 | xnnpack_unit_test( |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 5313 | name = "qu8_gavgpool_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5314 | srcs = [ |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 5315 | "test/qu8-gavgpool-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5316 | "test/gavgpool-microkernel-tester.h", |
| 5317 | "src/xnnpack/AlignedAllocator.h", |
| 5318 | ] + MICROKERNEL_TEST_HDRS, |
| 5319 | deps = MICROKERNEL_TEST_DEPS, |
| 5320 | ) |
| 5321 | |
| 5322 | xnnpack_unit_test( |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 5323 | name = "qu8_gemm_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5324 | srcs = [ |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 5325 | "test/qu8-gemm-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5326 | "test/gemm-microkernel-tester.h", |
| 5327 | "src/xnnpack/AlignedAllocator.h", |
| 5328 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 5329 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5330 | ) |
| 5331 | |
| 5332 | xnnpack_unit_test( |
Marat Dukhan | 5b69f8b | 2020-07-24 15:26:48 -0700 | [diff] [blame] | 5333 | name = "qu8_requantization_test", |
| 5334 | srcs = [ |
| 5335 | "src/xnnpack/requantization-stubs.h", |
| 5336 | "test/qu8-requantization.cc", |
| 5337 | "test/requantization-tester.h", |
| 5338 | ] + MICROKERNEL_TEST_HDRS, |
| 5339 | deps = MICROKERNEL_TEST_DEPS, |
| 5340 | ) |
| 5341 | |
| 5342 | xnnpack_unit_test( |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 5343 | name = "qu8_vadd_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5344 | srcs = [ |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 5345 | "test/qu8-vadd-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5346 | "test/vadd-microkernel-tester.h", |
| 5347 | ] + MICROKERNEL_TEST_HDRS, |
| 5348 | deps = MICROKERNEL_TEST_DEPS, |
| 5349 | ) |
| 5350 | |
| 5351 | xnnpack_unit_test( |
| 5352 | name = "u8_clamp_test", |
| 5353 | srcs = [ |
| 5354 | "test/u8-clamp.cc", |
| 5355 | "test/clamp-microkernel-tester.h", |
| 5356 | ] + MICROKERNEL_TEST_HDRS, |
| 5357 | deps = MICROKERNEL_TEST_DEPS, |
| 5358 | ) |
| 5359 | |
| 5360 | xnnpack_unit_test( |
| 5361 | name = "u8_lut32norm_test", |
| 5362 | srcs = [ |
| 5363 | "test/u8-lut32norm.cc", |
| 5364 | "test/lut-norm-microkernel-tester.h", |
| 5365 | ] + MICROKERNEL_TEST_HDRS, |
| 5366 | deps = MICROKERNEL_TEST_DEPS, |
| 5367 | ) |
| 5368 | |
| 5369 | xnnpack_unit_test( |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 5370 | name = "u8_maxpool_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5371 | srcs = [ |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 5372 | "test/u8-maxpool-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5373 | "test/maxpool-microkernel-tester.h", |
| 5374 | ] + MICROKERNEL_TEST_HDRS, |
| 5375 | deps = MICROKERNEL_TEST_DEPS, |
| 5376 | ) |
| 5377 | |
| 5378 | xnnpack_unit_test( |
| 5379 | name = "u8_rmax_test", |
| 5380 | srcs = [ |
| 5381 | "test/u8-rmax.cc", |
| 5382 | "test/rmax-microkernel-tester.h", |
| 5383 | ] + MICROKERNEL_TEST_HDRS, |
| 5384 | deps = MICROKERNEL_TEST_DEPS, |
| 5385 | ) |
| 5386 | |
| 5387 | xnnpack_unit_test( |
Marat Dukhan | 3bb3bfc | 2020-05-19 17:42:46 -0700 | [diff] [blame] | 5388 | name = "x32_fill_test", |
| 5389 | srcs = [ |
| 5390 | "test/x32-fill.cc", |
| 5391 | "test/fill-microkernel-tester.h", |
| 5392 | ] + MICROKERNEL_TEST_HDRS, |
| 5393 | deps = MICROKERNEL_TEST_DEPS, |
| 5394 | ) |
| 5395 | |
| 5396 | xnnpack_unit_test( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5397 | name = "x32_packx_test", |
| 5398 | srcs = [ |
| 5399 | "test/x32-packx.cc", |
| 5400 | "test/pack-microkernel-tester.h", |
| 5401 | "src/xnnpack/AlignedAllocator.h", |
| 5402 | ] + MICROKERNEL_TEST_HDRS, |
| 5403 | deps = MICROKERNEL_TEST_DEPS, |
| 5404 | ) |
| 5405 | |
| 5406 | xnnpack_unit_test( |
| 5407 | name = "x32_pad_test", |
| 5408 | srcs = [ |
| 5409 | "test/x32-pad.cc", |
| 5410 | "test/pad-microkernel-tester.h", |
| 5411 | ] + MICROKERNEL_TEST_HDRS, |
| 5412 | deps = MICROKERNEL_TEST_DEPS, |
| 5413 | ) |
| 5414 | |
| 5415 | xnnpack_unit_test( |
| 5416 | name = "x32_unpool_test", |
| 5417 | srcs = [ |
| 5418 | "test/x32-unpool.cc", |
| 5419 | "test/unpool-microkernel-tester.h", |
| 5420 | ] + MICROKERNEL_TEST_HDRS, |
| 5421 | deps = MICROKERNEL_TEST_DEPS, |
| 5422 | ) |
| 5423 | |
| 5424 | xnnpack_unit_test( |
| 5425 | name = "x32_zip_test", |
| 5426 | srcs = [ |
| 5427 | "test/x32-zip.cc", |
| 5428 | "test/zip-microkernel-tester.h", |
| 5429 | ] + MICROKERNEL_TEST_HDRS, |
| 5430 | deps = MICROKERNEL_TEST_DEPS, |
| 5431 | ) |
| 5432 | |
| 5433 | xnnpack_unit_test( |
| 5434 | name = "x8_lut_test", |
| 5435 | srcs = [ |
| 5436 | "test/x8-lut.cc", |
| 5437 | "test/lut-microkernel-tester.h", |
| 5438 | ] + MICROKERNEL_TEST_HDRS, |
| 5439 | deps = MICROKERNEL_TEST_DEPS, |
| 5440 | ) |
| 5441 | |
| 5442 | xnnpack_unit_test( |
| 5443 | name = "x8_zip_test", |
| 5444 | srcs = [ |
| 5445 | "test/x8-zip.cc", |
| 5446 | "test/zip-microkernel-tester.h", |
| 5447 | ] + MICROKERNEL_TEST_HDRS, |
| 5448 | deps = MICROKERNEL_TEST_DEPS, |
| 5449 | ) |
| 5450 | |
Marat Dukhan | 20c3b92 | 2020-03-10 03:45:06 -0700 | [diff] [blame] | 5451 | ########################## Size tests for the library ######################### |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5452 | |
| 5453 | xnnpack_binary( |
Marat Dukhan | 20c3b92 | 2020-03-10 03:45:06 -0700 | [diff] [blame] | 5454 | name = "operator_size_test", |
| 5455 | srcs = ["test/operator-size.c"], |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 5456 | deps = [":xnnpack_operators_nhwc_f32"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5457 | ) |
| 5458 | |
Marat Dukhan | 20c3b92 | 2020-03-10 03:45:06 -0700 | [diff] [blame] | 5459 | xnnpack_binary( |
| 5460 | name = "subgraph_size_test", |
| 5461 | srcs = ["test/subgraph-size.c"], |
| 5462 | deps = [":XNNPACK"], |
| 5463 | ) |
| 5464 | |
| 5465 | ########################### Unit tests for operators ########################## |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5466 | |
| 5467 | xnnpack_unit_test( |
Marat Dukhan | 5020b96 | 2020-06-08 13:30:10 -0700 | [diff] [blame] | 5468 | name = "abs_nc_test", |
| 5469 | srcs = [ |
| 5470 | "test/abs-nc.cc", |
| 5471 | "test/abs-operator-tester.h", |
| 5472 | ], |
| 5473 | deps = OPERATOR_TEST_DEPS, |
| 5474 | ) |
| 5475 | |
| 5476 | xnnpack_unit_test( |
Marat Dukhan | b1a0fc3 | 2019-12-02 19:32:02 -0800 | [diff] [blame] | 5477 | name = "add_nd_test", |
| 5478 | srcs = [ |
| 5479 | "test/add-nd.cc", |
| 5480 | "test/binary-elementwise-operator-tester.h", |
| 5481 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5482 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | b1a0fc3 | 2019-12-02 19:32:02 -0800 | [diff] [blame] | 5483 | ) |
| 5484 | |
| 5485 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5486 | name = "argmax_pooling_nhwc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5487 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5488 | "test/argmax-pooling-nhwc.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5489 | "test/argmax-pooling-operator-tester.h", |
| 5490 | ] + OPERATOR_TEST_PARAMS_HDRS, |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5491 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5492 | ) |
| 5493 | |
| 5494 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5495 | name = "average_pooling_nhwc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5496 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5497 | "test/average-pooling-nhwc.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5498 | "test/average-pooling-operator-tester.h", |
| 5499 | ] + OPERATOR_TEST_PARAMS_HDRS, |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5500 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5501 | ) |
| 5502 | |
| 5503 | xnnpack_unit_test( |
Marat Dukhan | 64e5251 | 2020-06-09 13:41:16 -0700 | [diff] [blame] | 5504 | name = "bankers_rounding_nc_test", |
| 5505 | srcs = [ |
| 5506 | "test/bankers-rounding-nc.cc", |
| 5507 | "test/bankers-rounding-operator-tester.h", |
| 5508 | ], |
| 5509 | deps = OPERATOR_TEST_DEPS, |
| 5510 | ) |
| 5511 | |
| 5512 | xnnpack_unit_test( |
| 5513 | name = "ceiling_nc_test", |
| 5514 | srcs = [ |
| 5515 | "test/ceiling-nc.cc", |
| 5516 | "test/ceiling-operator-tester.h", |
| 5517 | ], |
| 5518 | deps = OPERATOR_TEST_DEPS, |
| 5519 | ) |
| 5520 | |
| 5521 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5522 | name = "channel_shuffle_nc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5523 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5524 | "test/channel-shuffle-nc.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5525 | "test/channel-shuffle-operator-tester.h", |
| 5526 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5527 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5528 | ) |
| 5529 | |
| 5530 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5531 | name = "clamp_nc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5532 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5533 | "test/clamp-nc.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5534 | "test/clamp-operator-tester.h", |
| 5535 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5536 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5537 | ) |
| 5538 | |
| 5539 | xnnpack_unit_test( |
Marat Dukhan | 065b11e | 2020-05-22 09:49:41 -0700 | [diff] [blame] | 5540 | name = "constant_pad_nd_test", |
| 5541 | srcs = [ |
| 5542 | "test/constant-pad-nd.cc", |
| 5543 | "test/constant-pad-operator-tester.h", |
| 5544 | ], |
| 5545 | deps = OPERATOR_TEST_DEPS, |
| 5546 | ) |
| 5547 | |
| 5548 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5549 | name = "convolution_nhwc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5550 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5551 | "test/convolution-nhwc.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5552 | "test/convolution-operator-tester.h", |
| 5553 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5554 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5555 | ) |
| 5556 | |
| 5557 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5558 | name = "convolution_nchw_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5559 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5560 | "test/convolution-nchw.cc", |
| 5561 | "test/convolution-operator-tester.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5562 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5563 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5564 | ) |
| 5565 | |
| 5566 | xnnpack_unit_test( |
Marat Dukhan | 4e21b27 | 2020-06-04 18:45:01 -0700 | [diff] [blame] | 5567 | name = "copy_nc_test", |
| 5568 | srcs = [ |
| 5569 | "test/copy-nc.cc", |
| 5570 | "test/copy-operator-tester.h", |
| 5571 | ], |
| 5572 | deps = OPERATOR_TEST_DEPS, |
| 5573 | ) |
| 5574 | |
| 5575 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5576 | name = "deconvolution_nhwc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5577 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5578 | "test/deconvolution-nhwc.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5579 | "test/deconvolution-operator-tester.h", |
| 5580 | ] + OPERATOR_TEST_PARAMS_HDRS, |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5581 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5582 | ) |
| 5583 | |
| 5584 | xnnpack_unit_test( |
Marat Dukhan | 6918050 | 2019-12-06 15:00:31 -0800 | [diff] [blame] | 5585 | name = "divide_nd_test", |
| 5586 | srcs = [ |
| 5587 | "test/binary-elementwise-operator-tester.h", |
| 5588 | "test/divide-nd.cc", |
| 5589 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5590 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 6918050 | 2019-12-06 15:00:31 -0800 | [diff] [blame] | 5591 | ) |
| 5592 | |
| 5593 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5594 | name = "fully_connected_nc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5595 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5596 | "test/fully-connected-nc.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5597 | "test/fully-connected-operator-tester.h", |
| 5598 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5599 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5600 | ) |
| 5601 | |
| 5602 | xnnpack_unit_test( |
Marat Dukhan | 64e5251 | 2020-06-09 13:41:16 -0700 | [diff] [blame] | 5603 | name = "floor_nc_test", |
| 5604 | srcs = [ |
| 5605 | "test/floor-nc.cc", |
| 5606 | "test/floor-operator-tester.h", |
| 5607 | ], |
| 5608 | deps = OPERATOR_TEST_DEPS, |
| 5609 | ) |
| 5610 | |
| 5611 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5612 | name = "global_average_pooling_nwc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5613 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5614 | "test/global-average-pooling-nwc.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5615 | "test/global-average-pooling-operator-tester.h", |
Marat Dukhan | ef61d02 | 2020-06-19 13:54:49 -0700 | [diff] [blame] | 5616 | ] + OPERATOR_TEST_PARAMS_HDRS, |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5617 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5618 | ) |
| 5619 | |
| 5620 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5621 | name = "global_average_pooling_ncw_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5622 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5623 | "test/global-average-pooling-ncw.cc", |
| 5624 | "test/global-average-pooling-operator-tester.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5625 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5626 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5627 | ) |
| 5628 | |
| 5629 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5630 | name = "hardswish_nc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5631 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5632 | "test/hardswish-nc.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5633 | "test/hardswish-operator-tester.h", |
| 5634 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5635 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5636 | ) |
| 5637 | |
| 5638 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5639 | name = "leaky_relu_nc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5640 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5641 | "test/leaky-relu-nc.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5642 | "test/leaky-relu-operator-tester.h", |
| 5643 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5644 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5645 | ) |
| 5646 | |
| 5647 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5648 | name = "max_pooling_nhwc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5649 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5650 | "test/max-pooling-nhwc.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5651 | "test/max-pooling-operator-tester.h", |
| 5652 | ] + OPERATOR_TEST_PARAMS_HDRS, |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5653 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5654 | ) |
| 5655 | |
| 5656 | xnnpack_unit_test( |
Marat Dukhan | 79e7f84 | 2019-12-05 14:35:50 -0800 | [diff] [blame] | 5657 | name = "maximum_nd_test", |
| 5658 | srcs = [ |
| 5659 | "test/binary-elementwise-operator-tester.h", |
| 5660 | "test/maximum-nd.cc", |
| 5661 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5662 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 79e7f84 | 2019-12-05 14:35:50 -0800 | [diff] [blame] | 5663 | ) |
| 5664 | |
| 5665 | xnnpack_unit_test( |
| 5666 | name = "minimum_nd_test", |
| 5667 | srcs = [ |
| 5668 | "test/binary-elementwise-operator-tester.h", |
| 5669 | "test/minimum-nd.cc", |
| 5670 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5671 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 79e7f84 | 2019-12-05 14:35:50 -0800 | [diff] [blame] | 5672 | ) |
| 5673 | |
| 5674 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5675 | name = "multiply_nd_test", |
Marat Dukhan | ca2733c | 2019-11-15 23:21:17 -0800 | [diff] [blame] | 5676 | srcs = [ |
Marat Dukhan | b1a0fc3 | 2019-12-02 19:32:02 -0800 | [diff] [blame] | 5677 | "test/binary-elementwise-operator-tester.h", |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5678 | "test/multiply-nd.cc", |
Marat Dukhan | ca2733c | 2019-11-15 23:21:17 -0800 | [diff] [blame] | 5679 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5680 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | ca2733c | 2019-11-15 23:21:17 -0800 | [diff] [blame] | 5681 | ) |
| 5682 | |
| 5683 | xnnpack_unit_test( |
Marat Dukhan | 5020b96 | 2020-06-08 13:30:10 -0700 | [diff] [blame] | 5684 | name = "negate_nc_test", |
| 5685 | srcs = [ |
| 5686 | "test/negate-nc.cc", |
| 5687 | "test/negate-operator-tester.h", |
| 5688 | ], |
| 5689 | deps = OPERATOR_TEST_DEPS, |
| 5690 | ) |
| 5691 | |
| 5692 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5693 | name = "prelu_nc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5694 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5695 | "test/prelu-nc.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5696 | "test/prelu-operator-tester.h", |
| 5697 | ] + OPERATOR_TEST_PARAMS_HDRS, |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5698 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5699 | ) |
| 5700 | |
| 5701 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5702 | name = "resize_bilinear_nhwc_test", |
Marat Dukhan | 6972249 | 2019-11-11 19:55:50 -0800 | [diff] [blame] | 5703 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5704 | "test/resize-bilinear-nhwc.cc", |
Marat Dukhan | 6972249 | 2019-11-11 19:55:50 -0800 | [diff] [blame] | 5705 | "test/resize-bilinear-operator-tester.h", |
| 5706 | ] + OPERATOR_TEST_PARAMS_HDRS, |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5707 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 6972249 | 2019-11-11 19:55:50 -0800 | [diff] [blame] | 5708 | ) |
| 5709 | |
| 5710 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5711 | name = "sigmoid_nc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5712 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5713 | "test/sigmoid-nc.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5714 | "test/sigmoid-operator-tester.h", |
| 5715 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5716 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5717 | ) |
| 5718 | |
| 5719 | xnnpack_unit_test( |
Marat Dukhan | fd8e689 | 2020-01-27 15:25:25 -0800 | [diff] [blame] | 5720 | name = "softmax_nc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5721 | srcs = [ |
Marat Dukhan | fd8e689 | 2020-01-27 15:25:25 -0800 | [diff] [blame] | 5722 | "test/softmax-nc.cc", |
| 5723 | "test/softmax-operator-tester.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5724 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5725 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5726 | ) |
| 5727 | |
| 5728 | xnnpack_unit_test( |
Marat Dukhan | 5020b96 | 2020-06-08 13:30:10 -0700 | [diff] [blame] | 5729 | name = "square_nc_test", |
| 5730 | srcs = [ |
| 5731 | "test/square-nc.cc", |
| 5732 | "test/square-operator-tester.h", |
| 5733 | ], |
| 5734 | deps = OPERATOR_TEST_DEPS, |
| 5735 | ) |
| 5736 | |
| 5737 | xnnpack_unit_test( |
Marat Dukhan | 6804bbd | 2020-06-30 19:26:11 -0700 | [diff] [blame] | 5738 | name = "square_root_nc_test", |
| 5739 | srcs = [ |
| 5740 | "test/square-root-nc.cc", |
| 5741 | "test/square-root-operator-tester.h", |
| 5742 | ], |
| 5743 | deps = OPERATOR_TEST_DEPS, |
| 5744 | ) |
| 5745 | |
| 5746 | xnnpack_unit_test( |
Marat Dukhan | f739926 | 2020-06-05 10:58:44 -0700 | [diff] [blame] | 5747 | name = "squared_difference_nd_test", |
| 5748 | srcs = [ |
| 5749 | "test/binary-elementwise-operator-tester.h", |
| 5750 | "test/squared-difference-nd.cc", |
| 5751 | ], |
| 5752 | deps = OPERATOR_TEST_DEPS, |
| 5753 | ) |
| 5754 | |
| 5755 | xnnpack_unit_test( |
Marat Dukhan | 05f3f6d | 2019-12-03 15:13:53 -0800 | [diff] [blame] | 5756 | name = "subtract_nd_test", |
| 5757 | srcs = [ |
| 5758 | "test/binary-elementwise-operator-tester.h", |
| 5759 | "test/subtract-nd.cc", |
| 5760 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5761 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 05f3f6d | 2019-12-03 15:13:53 -0800 | [diff] [blame] | 5762 | ) |
| 5763 | |
| 5764 | xnnpack_unit_test( |
Marat Dukhan | 64e5251 | 2020-06-09 13:41:16 -0700 | [diff] [blame] | 5765 | name = "truncation_nc_test", |
| 5766 | srcs = [ |
| 5767 | "test/truncation-nc.cc", |
| 5768 | "test/truncation-operator-tester.h", |
| 5769 | ], |
| 5770 | deps = OPERATOR_TEST_DEPS, |
| 5771 | ) |
| 5772 | |
| 5773 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5774 | name = "unpooling_nhwc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5775 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5776 | "test/unpooling-nhwc.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5777 | "test/unpooling-operator-tester.h", |
| 5778 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5779 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5780 | ) |
| 5781 | |
Chao Mei | 6ddfc60 | 2020-05-13 22:29:36 -0700 | [diff] [blame] | 5782 | ############################### Misc unit tests ############################### |
| 5783 | |
| 5784 | xnnpack_unit_test( |
| 5785 | name = "memory_planner_test", |
| 5786 | srcs = [ |
| 5787 | "test/memory-planner-test.cc", |
| 5788 | ], |
| 5789 | deps = [ |
| 5790 | ":XNNPACK", |
| 5791 | ":memory_planner", |
| 5792 | ], |
| 5793 | ) |
| 5794 | |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5795 | ############################# Build configurations ############################# |
| 5796 | |
Marat Dukhan | b864235 | 2019-10-30 15:43:02 -0700 | [diff] [blame] | 5797 | # Enables usage of assembly kernels. |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5798 | config_setting( |
Marat Dukhan | b864235 | 2019-10-30 15:43:02 -0700 | [diff] [blame] | 5799 | name = "xnn_enable_assembly_explicit_true", |
| 5800 | define_values = {"xnn_enable_assembly": "true"}, |
| 5801 | ) |
| 5802 | |
| 5803 | # Disables usage of assembly kernels. |
| 5804 | config_setting( |
| 5805 | name = "xnn_enable_assembly_explicit_false", |
| 5806 | define_values = {"xnn_enable_assembly": "false"}, |
| 5807 | ) |
| 5808 | |
Marat Dukhan | 9de90e0 | 2020-06-18 16:04:12 -0700 | [diff] [blame] | 5809 | # Enables usage of sparse inference. |
| 5810 | config_setting( |
| 5811 | name = "xnn_enable_sparse_explicit_true", |
| 5812 | define_values = {"xnn_enable_sparse": "true"}, |
| 5813 | ) |
| 5814 | |
| 5815 | # Disables usage of sparse inference. |
| 5816 | config_setting( |
| 5817 | name = "xnn_enable_sparse_explicit_false", |
| 5818 | define_values = {"xnn_enable_sparse": "false"}, |
| 5819 | ) |
| 5820 | |
Marat Dukhan | 05702cf | 2020-03-26 15:41:33 -0700 | [diff] [blame] | 5821 | # Disables usage of HMP-aware optimizations. |
| 5822 | config_setting( |
| 5823 | name = "xnn_enable_hmp_explicit_false", |
| 5824 | define_values = {"xnn_enable_hmp": "false"}, |
| 5825 | ) |
| 5826 | |
Chao Mei | 6ddfc60 | 2020-05-13 22:29:36 -0700 | [diff] [blame] | 5827 | # Enable usage of optimized memory allocation |
| 5828 | config_setting( |
| 5829 | name = "xnn_enable_memopt_explicit_true", |
| 5830 | define_values = {"xnnpack_enable_memopt": "true"}, |
| 5831 | ) |
| 5832 | |
| 5833 | # Disable usage of optimized memory allocation |
| 5834 | config_setting( |
| 5835 | name = "xnn_enable_memopt_explicit_false", |
| 5836 | define_values = {"xnnpack_enable_memopt": "false"}, |
| 5837 | ) |
| 5838 | |
Marat Dukhan | b864235 | 2019-10-30 15:43:02 -0700 | [diff] [blame] | 5839 | # Builds with -c dbg |
| 5840 | config_setting( |
| 5841 | name = "debug_build", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5842 | values = { |
Marat Dukhan | b864235 | 2019-10-30 15:43:02 -0700 | [diff] [blame] | 5843 | "compilation_mode": "dbg", |
| 5844 | }, |
| 5845 | ) |
| 5846 | |
| 5847 | # Builds with -c opt |
| 5848 | config_setting( |
| 5849 | name = "optimized_build", |
| 5850 | values = { |
| 5851 | "compilation_mode": "opt", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5852 | }, |
| 5853 | ) |
| 5854 | |
| 5855 | config_setting( |
Marat Dukhan | b864235 | 2019-10-30 15:43:02 -0700 | [diff] [blame] | 5856 | name = "linux_k8", |
| 5857 | values = {"cpu": "k8"}, |
| 5858 | ) |
| 5859 | |
| 5860 | config_setting( |
Marat Dukhan | 582094e | 2020-04-30 17:21:25 -0700 | [diff] [blame] | 5861 | name = "linux_arm", |
| 5862 | values = {"cpu": "arm"}, |
Marat Dukhan | 4e45e66 | 2019-10-03 15:40:24 -0700 | [diff] [blame] | 5863 | ) |
| 5864 | |
| 5865 | config_setting( |
Marat Dukhan | f0bd4de | 2020-06-15 15:53:19 -0700 | [diff] [blame] | 5866 | name = "linux_armeabi", |
| 5867 | values = {"cpu": "armeabi"}, |
| 5868 | ) |
| 5869 | |
| 5870 | config_setting( |
Terry Heo | 68eef3f | 2020-04-13 22:53:52 -0700 | [diff] [blame] | 5871 | name = "linux_armhf", |
| 5872 | values = {"cpu": "armhf"}, |
| 5873 | ) |
| 5874 | |
| 5875 | config_setting( |
Marat Dukhan | a720e93 | 2020-06-10 13:01:11 -0700 | [diff] [blame] | 5876 | name = "linux_armv7a", |
| 5877 | values = {"cpu": "armv7a"}, |
| 5878 | ) |
| 5879 | |
| 5880 | config_setting( |
Marat Dukhan | 582094e | 2020-04-30 17:21:25 -0700 | [diff] [blame] | 5881 | name = "linux_aarch64", |
| 5882 | values = {"cpu": "aarch64"}, |
| 5883 | ) |
| 5884 | |
| 5885 | config_setting( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5886 | name = "android", |
| 5887 | values = {"crosstool_top": "//external:android/crosstool"}, |
| 5888 | ) |
| 5889 | |
| 5890 | config_setting( |
| 5891 | name = "android_armv7", |
| 5892 | values = { |
| 5893 | "crosstool_top": "//external:android/crosstool", |
| 5894 | "cpu": "armeabi-v7a", |
| 5895 | }, |
| 5896 | ) |
| 5897 | |
| 5898 | config_setting( |
| 5899 | name = "android_arm64", |
| 5900 | values = { |
| 5901 | "crosstool_top": "//external:android/crosstool", |
| 5902 | "cpu": "arm64-v8a", |
| 5903 | }, |
| 5904 | ) |
| 5905 | |
| 5906 | config_setting( |
| 5907 | name = "android_x86", |
| 5908 | values = { |
| 5909 | "crosstool_top": "//external:android/crosstool", |
| 5910 | "cpu": "x86", |
| 5911 | }, |
| 5912 | ) |
| 5913 | |
| 5914 | config_setting( |
| 5915 | name = "android_x86_64", |
| 5916 | values = { |
| 5917 | "crosstool_top": "//external:android/crosstool", |
| 5918 | "cpu": "x86_64", |
| 5919 | }, |
| 5920 | ) |
| 5921 | |
| 5922 | config_setting( |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 5923 | name = "windows_x86_64", |
| 5924 | values = {"cpu": "x64_windows"}, |
Marat Dukhan | 9fe932e | 2020-04-11 17:14:15 -0700 | [diff] [blame] | 5925 | ) |
| 5926 | |
| 5927 | config_setting( |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 5928 | name = "windows_x86_64_clang", |
| 5929 | values = { |
| 5930 | "compiler": "clang-cl", |
| 5931 | "cpu": "x64_windows", |
| 5932 | }, |
| 5933 | ) |
| 5934 | |
| 5935 | config_setting( |
| 5936 | name = "windows_x86_64_mingw", |
| 5937 | values = { |
| 5938 | "compiler": "mingw-gcc", |
| 5939 | "cpu": "x64_windows", |
| 5940 | }, |
| 5941 | ) |
| 5942 | |
| 5943 | config_setting( |
| 5944 | name = "windows_x86_64_msys", |
| 5945 | values = { |
| 5946 | "compiler": "msys-gcc", |
| 5947 | "cpu": "x64_windows", |
| 5948 | }, |
Marat Dukhan | 9fe932e | 2020-04-11 17:14:15 -0700 | [diff] [blame] | 5949 | ) |
| 5950 | |
| 5951 | config_setting( |
Marat Dukhan | 885ca24 | 2019-10-07 09:17:32 -0700 | [diff] [blame] | 5952 | name = "macos_x86_64", |
| 5953 | values = { |
| 5954 | "apple_platform_type": "macos", |
| 5955 | "cpu": "darwin", |
| 5956 | }, |
| 5957 | ) |
| 5958 | |
| 5959 | config_setting( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5960 | name = "emscripten", |
Marat Dukhan | 1a729ec | 2019-10-07 09:31:44 -0700 | [diff] [blame] | 5961 | values = {"crosstool_top": "//toolchain:emscripten"}, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5962 | ) |
| 5963 | |
| 5964 | config_setting( |
| 5965 | name = "emscripten_wasm", |
| 5966 | values = { |
Marat Dukhan | 1a729ec | 2019-10-07 09:31:44 -0700 | [diff] [blame] | 5967 | "crosstool_top": "//toolchain:emscripten", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5968 | "cpu": "wasm", |
| 5969 | }, |
| 5970 | ) |
| 5971 | |
| 5972 | config_setting( |
| 5973 | name = "emscripten_wasmsimd", |
| 5974 | values = { |
Marat Dukhan | 1a729ec | 2019-10-07 09:31:44 -0700 | [diff] [blame] | 5975 | "crosstool_top": "//toolchain:emscripten", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5976 | "cpu": "wasm", |
Marat Dukhan | 81c6260 | 2020-05-29 13:22:49 -0700 | [diff] [blame] | 5977 | "copt": "-msimd128", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5978 | }, |
| 5979 | ) |
| 5980 | |
| 5981 | config_setting( |
Marat Dukhan | 1498d1d | 2020-02-11 20:00:05 -0800 | [diff] [blame] | 5982 | name = "ios_armv7", |
| 5983 | values = { |
Marat Dukhan | f85fc33 | 2020-02-13 00:05:20 -0800 | [diff] [blame] | 5984 | "apple_platform_type": "ios", |
Marat Dukhan | 1498d1d | 2020-02-11 20:00:05 -0800 | [diff] [blame] | 5985 | "cpu": "ios_armv7", |
| 5986 | }, |
| 5987 | ) |
| 5988 | |
| 5989 | config_setting( |
| 5990 | name = "ios_arm64", |
| 5991 | values = { |
Marat Dukhan | f85fc33 | 2020-02-13 00:05:20 -0800 | [diff] [blame] | 5992 | "apple_platform_type": "ios", |
Marat Dukhan | 1498d1d | 2020-02-11 20:00:05 -0800 | [diff] [blame] | 5993 | "cpu": "ios_arm64", |
| 5994 | }, |
| 5995 | ) |
| 5996 | |
| 5997 | config_setting( |
| 5998 | name = "ios_arm64e", |
| 5999 | values = { |
Marat Dukhan | f85fc33 | 2020-02-13 00:05:20 -0800 | [diff] [blame] | 6000 | "apple_platform_type": "ios", |
Marat Dukhan | 1498d1d | 2020-02-11 20:00:05 -0800 | [diff] [blame] | 6001 | "cpu": "ios_arm64e", |
| 6002 | }, |
| 6003 | ) |
| 6004 | |
| 6005 | config_setting( |
| 6006 | name = "ios_x86", |
| 6007 | values = { |
Marat Dukhan | f85fc33 | 2020-02-13 00:05:20 -0800 | [diff] [blame] | 6008 | "apple_platform_type": "ios", |
Marat Dukhan | 1498d1d | 2020-02-11 20:00:05 -0800 | [diff] [blame] | 6009 | "cpu": "ios_i386", |
| 6010 | }, |
| 6011 | ) |
| 6012 | |
| 6013 | config_setting( |
| 6014 | name = "ios_x86_64", |
| 6015 | values = { |
Marat Dukhan | f85fc33 | 2020-02-13 00:05:20 -0800 | [diff] [blame] | 6016 | "apple_platform_type": "ios", |
Marat Dukhan | 1498d1d | 2020-02-11 20:00:05 -0800 | [diff] [blame] | 6017 | "cpu": "ios_x86_64", |
| 6018 | }, |
| 6019 | ) |
| 6020 | |
| 6021 | config_setting( |
| 6022 | name = "watchos_armv7k", |
| 6023 | values = { |
Marat Dukhan | f85fc33 | 2020-02-13 00:05:20 -0800 | [diff] [blame] | 6024 | "apple_platform_type": "watchos", |
Marat Dukhan | 1498d1d | 2020-02-11 20:00:05 -0800 | [diff] [blame] | 6025 | "cpu": "watchos_armv7k", |
| 6026 | }, |
| 6027 | ) |
| 6028 | |
| 6029 | config_setting( |
| 6030 | name = "watchos_arm64_32", |
| 6031 | values = { |
Marat Dukhan | f85fc33 | 2020-02-13 00:05:20 -0800 | [diff] [blame] | 6032 | "apple_platform_type": "watchos", |
Marat Dukhan | 1498d1d | 2020-02-11 20:00:05 -0800 | [diff] [blame] | 6033 | "cpu": "watchos_arm64_32", |
| 6034 | }, |
| 6035 | ) |
| 6036 | |
| 6037 | config_setting( |
| 6038 | name = "watchos_x86", |
| 6039 | values = { |
Marat Dukhan | f85fc33 | 2020-02-13 00:05:20 -0800 | [diff] [blame] | 6040 | "apple_platform_type": "watchos", |
Marat Dukhan | 1498d1d | 2020-02-11 20:00:05 -0800 | [diff] [blame] | 6041 | "cpu": "watchos_i386", |
| 6042 | }, |
| 6043 | ) |
| 6044 | |
| 6045 | config_setting( |
| 6046 | name = "watchos_x86_64", |
| 6047 | values = { |
Marat Dukhan | f85fc33 | 2020-02-13 00:05:20 -0800 | [diff] [blame] | 6048 | "apple_platform_type": "watchos", |
Marat Dukhan | 1498d1d | 2020-02-11 20:00:05 -0800 | [diff] [blame] | 6049 | "cpu": "watchos_x86_64", |
| 6050 | }, |
| 6051 | ) |
| 6052 | |
| 6053 | config_setting( |
| 6054 | name = "tvos_arm64", |
| 6055 | values = { |
Marat Dukhan | f85fc33 | 2020-02-13 00:05:20 -0800 | [diff] [blame] | 6056 | "apple_platform_type": "tvos", |
Marat Dukhan | 1498d1d | 2020-02-11 20:00:05 -0800 | [diff] [blame] | 6057 | "cpu": "tvos_arm64", |
| 6058 | }, |
| 6059 | ) |
| 6060 | |
| 6061 | config_setting( |
| 6062 | name = "tvos_x86_64", |
| 6063 | values = { |
Marat Dukhan | f85fc33 | 2020-02-13 00:05:20 -0800 | [diff] [blame] | 6064 | "apple_platform_type": "tvos", |
Marat Dukhan | 1498d1d | 2020-02-11 20:00:05 -0800 | [diff] [blame] | 6065 | "cpu": "tvos_x86_64", |
| 6066 | }, |
| 6067 | ) |