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 | 2e23d2b | 2020-07-29 16:01:37 -0700 | [diff] [blame] | 851 | "src/qs8-requantization/fp32-wasmsimd.c", |
Marat Dukhan | 138560c | 2020-08-03 18:57:34 -0700 | [diff] [blame] | 852 | "src/qs8-requantization/q31-wasmsimd.c", |
Marat Dukhan | 5b69f8b | 2020-07-24 15:26:48 -0700 | [diff] [blame] | 853 | "src/qu8-requantization/fp32-wasmsimd.c", |
Marat Dukhan | 22de5e7 | 2020-08-03 21:53:18 -0700 | [diff] [blame] | 854 | "src/qu8-requantization/q31-wasmsimd.c", |
Marat Dukhan | 8ee3701 | 2020-07-16 13:17:13 -0700 | [diff] [blame] | 855 | "src/x32-fill/wasmsimd.c", |
Marat Dukhan | 66d99e9 | 2020-07-16 12:56:21 -0700 | [diff] [blame] | 856 | "src/x32-packx/x4-wasmsimd.c", |
Marat Dukhan | 9306ae0 | 2020-07-16 15:51:13 -0700 | [diff] [blame] | 857 | "src/x32-pad/wasmsimd.c", |
Marat Dukhan | 9d4bfa2 | 2020-07-16 19:07:04 -0700 | [diff] [blame] | 858 | "src/x32-unpool/wasmsimd.c", |
Marat Dukhan | e3b7876 | 2020-07-16 20:02:58 -0700 | [diff] [blame] | 859 | "src/x32-zip/x2-wasmsimd.c", |
| 860 | "src/x32-zip/x3-wasmsimd.c", |
| 861 | "src/x32-zip/x4-wasmsimd.c", |
| 862 | "src/x32-zip/xm-wasmsimd.c", |
Marat Dukhan | d3f3d87 | 2020-06-24 13:08:25 -0700 | [diff] [blame] | 863 | "src/math/roundne-wasmsimd-addsub.c", |
| 864 | "src/math/roundd-wasmsimd-addsub.c", |
Marat Dukhan | 88da62c | 2020-07-15 17:56:09 -0700 | [diff] [blame] | 865 | "src/math/roundd-wasmsimd-cvt.c", |
Marat Dukhan | d3f3d87 | 2020-06-24 13:08:25 -0700 | [diff] [blame] | 866 | "src/math/roundu-wasmsimd-addsub.c", |
Marat Dukhan | 88da62c | 2020-07-15 17:56:09 -0700 | [diff] [blame] | 867 | "src/math/roundu-wasmsimd-cvt.c", |
Marat Dukhan | d3f3d87 | 2020-06-24 13:08:25 -0700 | [diff] [blame] | 868 | "src/math/roundz-wasmsimd-addsub.c", |
Marat Dukhan | 88da62c | 2020-07-15 17:56:09 -0700 | [diff] [blame] | 869 | "src/math/roundz-wasmsimd-cvt.c", |
Marat Dukhan | 773da43 | 2020-07-17 18:55:36 -0700 | [diff] [blame] | 870 | "src/math/sigmoid-wasmsimd-rr2-lut64-p2-div.c", |
| 871 | "src/math/sigmoid-wasmsimd-rr2-p5-div.c", |
Marat Dukhan | 290055c | 2020-06-09 12:24:29 -0700 | [diff] [blame] | 872 | ] |
| 873 | |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 874 | PSIMD_FASTMATH_UKERNELS = [ |
Erich Elsen | 0a1970e | 2020-06-10 09:24:59 -0700 | [diff] [blame] | 875 | "src/f32-conv-hwc2chw/3x3s2p1c3x4-psimd-2x2.c", |
Erich Elsen | e6214af | 2020-06-10 22:17:22 -0700 | [diff] [blame] | 876 | "src/f32-dwconv-chw/3x3p1-psimd.c", |
Erich Elsen | fd7a6e3 | 2020-06-11 12:04:44 -0700 | [diff] [blame] | 877 | "src/f32-dwconv-chw/3x3s2p1-psimd.c", |
Erich Elsen | 2892889 | 2020-06-12 08:08:19 -0700 | [diff] [blame] | 878 | "src/f32-dwconv-chw/5x5p2-psimd.c", |
Erich Elsen | 7465a89 | 2020-06-13 14:02:04 -0700 | [diff] [blame] | 879 | "src/f32-dwconv-chw/5x5s2p2-psimd.c", |
Erich Elsen | 6e80fdc | 2020-06-09 15:35:37 -0700 | [diff] [blame] | 880 | "src/f32-spmm/gen/4x1-minmax-psimd.c", |
| 881 | "src/f32-spmm/gen/8x1-minmax-psimd.c", |
| 882 | "src/f32-spmm/gen/16x1-minmax-psimd.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 883 | ] |
| 884 | |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 885 | PSIMD_ACCMATH_UKERNELS = [ |
Marat Dukhan | 2e23d2b | 2020-07-29 16:01:37 -0700 | [diff] [blame] | 886 | "src/qs8-requantization/precise-psimd.c", |
| 887 | "src/qs8-requantization/fp32-psimd.c", |
Marat Dukhan | 5b69f8b | 2020-07-24 15:26:48 -0700 | [diff] [blame] | 888 | "src/qu8-requantization/precise-psimd.c", |
| 889 | "src/qu8-requantization/fp32-psimd.c", |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 890 | ] |
| 891 | |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 892 | # ISA-specific micro-kernels |
| 893 | NEON_UKERNELS = [ |
Marat Dukhan | ef25c6d | 2020-07-24 00:59:40 -0700 | [diff] [blame] | 894 | "src/f32-argmaxpool/4x-neon-c4.c", |
| 895 | "src/f32-argmaxpool/9p8x-neon-c4.c", |
| 896 | "src/f32-argmaxpool/9x-neon-c4.c", |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 897 | "src/f32-avgpool/9p8x-minmax-neon-c4.c", |
| 898 | "src/f32-avgpool/9x-minmax-neon-c4.c", |
Marat Dukhan | 5c5fa96 | 2020-03-10 18:38:33 -0700 | [diff] [blame] | 899 | "src/f32-clamp/gen/neon-x4.c", |
| 900 | "src/f32-clamp/gen/neon-x8.c", |
Marat Dukhan | 56b10cd | 2020-05-18 09:35:49 -0700 | [diff] [blame] | 901 | "src/f32-conv-hwc/gen/3x3s2p0p1c3x4-neon-2x1.c", |
| 902 | "src/f32-conv-hwc/gen/3x3s2p0p1c3x8-neon-2x1.c", |
Marat Dukhan | ce7a3f8 | 2020-05-17 21:46:44 -0700 | [diff] [blame] | 903 | "src/f32-conv-hwc/gen/3x3s2p0p1c3x4-neon-2x2.c", |
| 904 | "src/f32-conv-hwc/gen/3x3s2p0p1c3x8-neon-2x2.c", |
Marat Dukhan | 56b10cd | 2020-05-18 09:35:49 -0700 | [diff] [blame] | 905 | "src/f32-conv-hwc/gen/3x3s2p1c3x4-neon-2x1.c", |
| 906 | "src/f32-conv-hwc/gen/3x3s2p1c3x8-neon-2x1.c", |
Marat Dukhan | ce7a3f8 | 2020-05-17 21:46:44 -0700 | [diff] [blame] | 907 | "src/f32-conv-hwc/gen/3x3s2p1c3x4-neon-2x2.c", |
| 908 | "src/f32-conv-hwc/gen/3x3s2p1c3x8-neon-2x2.c", |
Marat Dukhan | f5425ea | 2020-04-24 01:46:00 -0700 | [diff] [blame] | 909 | "src/f32-dwconv/gen/up4x4-minmax-neon.c", |
| 910 | "src/f32-dwconv/gen/up4x4-minmax-neon-acc2.c", |
| 911 | "src/f32-dwconv/gen/up8x4-minmax-neon.c", |
| 912 | "src/f32-dwconv/gen/up8x4-minmax-neon-acc2.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 913 | "src/f32-dwconv/gen/up4x9-minmax-neon.c", |
| 914 | "src/f32-dwconv/gen/up4x9-minmax-neon-acc2.c", |
| 915 | "src/f32-dwconv/gen/up8x9-minmax-neon.c", |
| 916 | "src/f32-dwconv/gen/up8x9-minmax-neon-acc2.c", |
Marat Dukhan | f5425ea | 2020-04-24 01:46:00 -0700 | [diff] [blame] | 917 | "src/f32-dwconv/gen/up4x25-minmax-neon.c", |
| 918 | "src/f32-dwconv/gen/up4x25-minmax-neon-acc2.c", |
| 919 | "src/f32-dwconv/gen/up8x25-minmax-neon.c", |
| 920 | "src/f32-dwconv/gen/up8x25-minmax-neon-acc2.c", |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 921 | "src/f32-gavgpool-cw/neon-x4.c", |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 922 | "src/f32-gavgpool/7p7x-minmax-neon-c4.c", |
| 923 | "src/f32-gavgpool/7x-minmax-neon-c4.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 924 | "src/f32-gemm/gen/1x8-minmax-neon-lane-ld64.c", |
| 925 | "src/f32-gemm/gen/4x2-minmax-neon-lane-ld64.c", |
| 926 | "src/f32-gemm/gen/4x8-minmax-neon-lane-ld128.c", |
| 927 | "src/f32-gemm/gen/4x8-minmax-neon-lane-ld64.c", |
| 928 | "src/f32-gemm/gen/5x8-minmax-neon-lane-ld64.c", |
| 929 | "src/f32-gemm/gen/6x8-minmax-neon-lane-ld64.c", |
| 930 | "src/f32-gemm/gen/6x8-minmax-neon-lane-ld128.c", |
| 931 | "src/f32-gemm/gen/1x8-minmax-neon-dup-ld64.c", |
| 932 | "src/f32-gemm/gen/4x8-minmax-neon-dup-ld128.c", |
| 933 | "src/f32-gemm/gen/4x8-minmax-neon-dup-ld64.c", |
| 934 | "src/f32-gemm/gen/6x8-minmax-neon-dup-ld64.c", |
| 935 | "src/f32-gemm/gen/6x8-minmax-neon-dup-ld128.c", |
| 936 | "src/f32-gemm/gen/1x8s4-minmax-neon.c", |
| 937 | "src/f32-gemm/gen/4x8s4-minmax-neon.c", |
| 938 | "src/f32-gemm/gen/6x8s4-minmax-neon.c", |
| 939 | "src/f32-gemm/gen/8x8s4-minmax-neon.c", |
| 940 | "src/f32-gemm/gen-inc/1x8inc-minmax-neon-lane-ld64.c", |
| 941 | "src/f32-gemm/gen-inc/4x8inc-minmax-neon-lane-ld128.c", |
| 942 | "src/f32-gemm/gen-inc/4x8inc-minmax-neon-lane-ld64.c", |
| 943 | "src/f32-gemm/gen-inc/5x8inc-minmax-neon-lane-ld64.c", |
| 944 | "src/f32-gemm/gen-inc/6x8inc-minmax-neon-lane-ld64.c", |
| 945 | "src/f32-gemm/gen-inc/6x8inc-minmax-neon-lane-ld128.c", |
| 946 | "src/f32-gemm/gen-inc/1x8inc-minmax-neon-dup-ld64.c", |
| 947 | "src/f32-gemm/gen-inc/4x8inc-minmax-neon-dup-ld128.c", |
| 948 | "src/f32-gemm/gen-inc/4x8inc-minmax-neon-dup-ld64.c", |
| 949 | "src/f32-gemm/gen-inc/6x8inc-minmax-neon-dup-ld64.c", |
| 950 | "src/f32-gemm/gen-inc/6x8inc-minmax-neon-dup-ld128.c", |
| 951 | "src/f32-gemm/gen-inc/1x8s4inc-minmax-neon.c", |
| 952 | "src/f32-gemm/gen-inc/4x8s4inc-minmax-neon.c", |
| 953 | "src/f32-gemm/gen-inc/6x8s4inc-minmax-neon.c", |
| 954 | "src/f32-gemm/gen-inc/8x8s4inc-minmax-neon.c", |
Marat Dukhan | efaac27 | 2020-07-16 16:58:07 -0700 | [diff] [blame] | 955 | "src/f32-hswish/gen/hswish-neon-x4.c", |
| 956 | "src/f32-hswish/gen/hswish-neon-x8.c", |
| 957 | "src/f32-hswish/gen/hswish-neon-x16.c", |
Marat Dukhan | 660fd19 | 2020-03-10 04:55:30 -0700 | [diff] [blame] | 958 | "src/f32-ibilinear/gen/neon-c4.c", |
| 959 | "src/f32-ibilinear/gen/neon-c8.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 960 | "src/f32-igemm/gen/1x8-minmax-neon-lane-ld64.c", |
| 961 | "src/f32-igemm/gen/4x2-minmax-neon-lane-ld64.c", |
| 962 | "src/f32-igemm/gen/4x4-minmax-neon-lane-ld64.c", |
| 963 | "src/f32-igemm/gen/4x8-minmax-neon-lane-ld128.c", |
| 964 | "src/f32-igemm/gen/4x8-minmax-neon-lane-ld64.c", |
| 965 | "src/f32-igemm/gen/6x8-minmax-neon-lane-ld64.c", |
| 966 | "src/f32-igemm/gen/6x8-minmax-neon-lane-ld128.c", |
| 967 | "src/f32-igemm/gen/1x8-minmax-neon-dup-ld64.c", |
| 968 | "src/f32-igemm/gen/4x8-minmax-neon-dup-ld128.c", |
| 969 | "src/f32-igemm/gen/4x8-minmax-neon-dup-ld64.c", |
| 970 | "src/f32-igemm/gen/6x8-minmax-neon-dup-ld64.c", |
| 971 | "src/f32-igemm/gen/6x8-minmax-neon-dup-ld128.c", |
| 972 | "src/f32-igemm/gen/1x8s4-minmax-neon.c", |
| 973 | "src/f32-igemm/gen/4x8s4-minmax-neon.c", |
| 974 | "src/f32-igemm/gen/6x8s4-minmax-neon.c", |
| 975 | "src/f32-igemm/gen/8x8s4-minmax-neon.c", |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 976 | "src/f32-maxpool/9p8x-minmax-neon-c4.c", |
| 977 | "src/f32-pavgpool/9p8x-minmax-neon-c4.c", |
| 978 | "src/f32-pavgpool/9x-minmax-neon-c4.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 979 | "src/f32-ppmm/gen/4x8-minmax-neon.c", |
| 980 | "src/f32-ppmm/gen/8x8-minmax-neon.c", |
Frank Barchard | a531698 | 2020-07-23 13:19:28 -0700 | [diff] [blame] | 981 | "src/f32-prelu/gen/neon-1x4.c", |
| 982 | "src/f32-prelu/gen/neon-1x8.c", |
| 983 | "src/f32-prelu/gen/neon-1x16.c", |
Marat Dukhan | 40a672f | 2019-11-25 03:08:22 -0800 | [diff] [blame] | 984 | "src/f32-prelu/gen/neon-2x4.c", |
| 985 | "src/f32-prelu/gen/neon-2x8.c", |
Frank Barchard | a531698 | 2020-07-23 13:19:28 -0700 | [diff] [blame] | 986 | "src/f32-prelu/gen/neon-2x16.c", |
| 987 | "src/f32-prelu/gen/neon-4x4.c", |
| 988 | "src/f32-prelu/gen/neon-4x8.c", |
| 989 | "src/f32-prelu/gen/neon-4x16.c", |
Marat Dukhan | 8137e4c | 2020-01-25 12:56:58 -0800 | [diff] [blame] | 990 | "src/f32-raddstoreexpminusmax/gen/neon-p5-x4.c", |
| 991 | "src/f32-raddstoreexpminusmax/gen/neon-p5-x8.c", |
| 992 | "src/f32-raddstoreexpminusmax/gen/neon-p5-x8-acc2.c", |
| 993 | "src/f32-raddstoreexpminusmax/gen/neon-p5-x12.c", |
| 994 | "src/f32-raddstoreexpminusmax/gen/neon-p5-x12-acc2.c", |
| 995 | "src/f32-raddstoreexpminusmax/gen/neon-p5-x12-acc3.c", |
| 996 | "src/f32-raddstoreexpminusmax/gen/neon-p5-x16.c", |
| 997 | "src/f32-raddstoreexpminusmax/gen/neon-p5-x16-acc2.c", |
| 998 | "src/f32-raddstoreexpminusmax/gen/neon-p5-x16-acc4.c", |
| 999 | "src/f32-raddstoreexpminusmax/gen/neon-p5-x20.c", |
| 1000 | "src/f32-raddstoreexpminusmax/gen/neon-p5-x20-acc2.c", |
| 1001 | "src/f32-raddstoreexpminusmax/gen/neon-p5-x20-acc5.c", |
| 1002 | "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x4.c", |
| 1003 | "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x8.c", |
| 1004 | "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x8-acc2.c", |
| 1005 | "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x12.c", |
| 1006 | "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x12-acc2.c", |
| 1007 | "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x12-acc3.c", |
| 1008 | "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x16.c", |
| 1009 | "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x16-acc2.c", |
| 1010 | "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x16-acc4.c", |
| 1011 | "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x20.c", |
| 1012 | "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x20-acc2.c", |
| 1013 | "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x20-acc5.c", |
Frank Barchard | fb158e2 | 2020-07-15 16:10:10 -0700 | [diff] [blame] | 1014 | "src/f32-relu/gen/neon-x4.c", |
| 1015 | "src/f32-relu/gen/neon-x8.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1016 | "src/f32-rmax/neon.c", |
Marat Dukhan | 40a672f | 2019-11-25 03:08:22 -0800 | [diff] [blame] | 1017 | "src/f32-sigmoid/gen/neon-frac-p9-p10-nr1recps-x16.c", |
Marat Dukhan | 4a24a58 | 2020-01-06 13:30:00 -0800 | [diff] [blame] | 1018 | "src/f32-sigmoid/gen/neon-rr2-p5-nr2recps-x4.c", |
| 1019 | "src/f32-sigmoid/gen/neon-rr2-p5-nr2recps-x8.c", |
| 1020 | "src/f32-sigmoid/gen/neon-rr2-p5-nr2recps-x12.c", |
| 1021 | "src/f32-sigmoid/gen/neon-rr2-p5-nr2recps-x16.c", |
| 1022 | "src/f32-sigmoid/gen/neon-rr2-p5-nr2recps-x20.c", |
| 1023 | "src/f32-sigmoid/gen/neon-rr2-p5-nr2recps-x24.c", |
| 1024 | "src/f32-sigmoid/gen/neon-rr2-lut64-p2-nr2recps-x4.c", |
| 1025 | "src/f32-sigmoid/gen/neon-rr2-lut64-p2-nr2recps-x8.c", |
| 1026 | "src/f32-sigmoid/gen/neon-rr2-lut64-p2-nr2recps-x12.c", |
| 1027 | "src/f32-sigmoid/gen/neon-rr2-lut64-p2-nr2recps-x16.c", |
| 1028 | "src/f32-sigmoid/gen/neon-rr2-lut64-p2-nr2recps-x20.c", |
| 1029 | "src/f32-sigmoid/gen/neon-rr2-lut64-p2-nr2recps-x24.c", |
| 1030 | "src/f32-sigmoid/gen/neon-rr2-lut2048-p1-nr2recps-x4.c", |
| 1031 | "src/f32-sigmoid/gen/neon-rr2-lut2048-p1-nr2recps-x8.c", |
| 1032 | "src/f32-sigmoid/gen/neon-rr2-lut2048-p1-nr2recps-x12.c", |
| 1033 | "src/f32-sigmoid/gen/neon-rr2-lut2048-p1-nr2recps-x16.c", |
| 1034 | "src/f32-sigmoid/gen/neon-rr2-lut2048-p1-nr2recps-x20.c", |
| 1035 | "src/f32-sigmoid/gen/neon-rr2-lut2048-p1-nr2recps-x24.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 1036 | "src/f32-vbinary/gen/vadd-minmax-neon-x4.c", |
| 1037 | "src/f32-vbinary/gen/vadd-minmax-neon-x8.c", |
| 1038 | "src/f32-vbinary/gen/vaddc-minmax-neon-x4.c", |
| 1039 | "src/f32-vbinary/gen/vaddc-minmax-neon-x8.c", |
Marat Dukhan | 403b7d4 | 2019-12-05 12:49:11 -0800 | [diff] [blame] | 1040 | "src/f32-vbinary/gen/vmax-neon-x4.c", |
| 1041 | "src/f32-vbinary/gen/vmax-neon-x8.c", |
| 1042 | "src/f32-vbinary/gen/vmaxc-neon-x4.c", |
| 1043 | "src/f32-vbinary/gen/vmaxc-neon-x8.c", |
| 1044 | "src/f32-vbinary/gen/vmin-neon-x4.c", |
| 1045 | "src/f32-vbinary/gen/vmin-neon-x8.c", |
| 1046 | "src/f32-vbinary/gen/vminc-neon-x4.c", |
| 1047 | "src/f32-vbinary/gen/vminc-neon-x8.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 1048 | "src/f32-vbinary/gen/vmul-minmax-neon-x4.c", |
| 1049 | "src/f32-vbinary/gen/vmul-minmax-neon-x8.c", |
| 1050 | "src/f32-vbinary/gen/vmulc-minmax-neon-x4.c", |
| 1051 | "src/f32-vbinary/gen/vmulc-minmax-neon-x8.c", |
| 1052 | "src/f32-vbinary/gen/vrsubc-minmax-neon-x4.c", |
| 1053 | "src/f32-vbinary/gen/vrsubc-minmax-neon-x8.c", |
Marat Dukhan | 13bafb0 | 2020-06-05 00:43:11 -0700 | [diff] [blame] | 1054 | "src/f32-vbinary/gen/vsqrdiff-neon-x4.c", |
| 1055 | "src/f32-vbinary/gen/vsqrdiff-neon-x8.c", |
| 1056 | "src/f32-vbinary/gen/vsqrdiffc-neon-x4.c", |
| 1057 | "src/f32-vbinary/gen/vsqrdiffc-neon-x8.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 1058 | "src/f32-vbinary/gen/vsub-minmax-neon-x4.c", |
| 1059 | "src/f32-vbinary/gen/vsub-minmax-neon-x8.c", |
| 1060 | "src/f32-vbinary/gen/vsubc-minmax-neon-x4.c", |
| 1061 | "src/f32-vbinary/gen/vsubc-minmax-neon-x8.c", |
Marat Dukhan | 19dd91d | 2020-07-16 11:12:44 -0700 | [diff] [blame] | 1062 | "src/f32-vlrelu/gen/vlrelu-neon-x4.c", |
| 1063 | "src/f32-vlrelu/gen/vlrelu-neon-x8.c", |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 1064 | "src/f32-vmulcaddc/gen/c4-minmax-neon-2x.c", |
| 1065 | "src/f32-vmulcaddc/gen/c8-minmax-neon-2x.c", |
Marat Dukhan | eecf8fd | 2020-06-09 08:59:37 -0700 | [diff] [blame] | 1066 | "src/f32-vrnd/gen/vrndne-neon-x4.c", |
| 1067 | "src/f32-vrnd/gen/vrndne-neon-x8.c", |
| 1068 | "src/f32-vrnd/gen/vrndz-neon-x4.c", |
| 1069 | "src/f32-vrnd/gen/vrndz-neon-x8.c", |
| 1070 | "src/f32-vrnd/gen/vrndu-neon-x4.c", |
| 1071 | "src/f32-vrnd/gen/vrndu-neon-x8.c", |
| 1072 | "src/f32-vrnd/gen/vrndd-neon-x4.c", |
| 1073 | "src/f32-vrnd/gen/vrndd-neon-x8.c", |
Marat Dukhan | 5020b96 | 2020-06-08 13:30:10 -0700 | [diff] [blame] | 1074 | "src/f32-vunary/gen/vabs-neon-x4.c", |
| 1075 | "src/f32-vunary/gen/vabs-neon-x8.c", |
| 1076 | "src/f32-vunary/gen/vneg-neon-x4.c", |
| 1077 | "src/f32-vunary/gen/vneg-neon-x8.c", |
| 1078 | "src/f32-vunary/gen/vsqr-neon-x4.c", |
| 1079 | "src/f32-vunary/gen/vsqr-neon-x8.c", |
Marat Dukhan | 40bbafe | 2020-08-04 02:04:22 -0700 | [diff] [blame^] | 1080 | "src/qs8-gemm/gen/1x8-minmax-neon-mlal-lane.c", |
| 1081 | "src/qs8-gemm/gen/4x8-minmax-neon-mlal-lane.c", |
| 1082 | "src/qs8-gemm/gen/1x16-minmax-neon-mlal-lane.c", |
| 1083 | "src/qs8-gemm/gen/2x16-minmax-neon-mlal-lane.c", |
| 1084 | "src/qs8-igemm/gen/1x8-minmax-neon-mlal-lane.c", |
| 1085 | "src/qs8-igemm/gen/4x8-minmax-neon-mlal-lane.c", |
| 1086 | "src/qs8-igemm/gen/1x16-minmax-neon-mlal-lane.c", |
| 1087 | "src/qs8-igemm/gen/2x16-minmax-neon-mlal-lane.c", |
Marat Dukhan | 2e23d2b | 2020-07-29 16:01:37 -0700 | [diff] [blame] | 1088 | "src/qs8-requantization/precise-neon.c", |
| 1089 | "src/qs8-requantization/fp32-neon.c", |
| 1090 | "src/qs8-requantization/q31-neon.c", |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 1091 | "src/qu8-avgpool/9p8x-minmax-neon-c8.c", |
| 1092 | "src/qu8-avgpool/9x-minmax-neon-c8.c", |
| 1093 | "src/qu8-dwconv/up8x9-minmax-neon.c", |
| 1094 | "src/qu8-gavgpool/7p7x-minmax-neon-c8.c", |
| 1095 | "src/qu8-gavgpool/7x-minmax-neon-c8.c", |
| 1096 | "src/qu8-gemm/4x8-minmax-neon.c", |
| 1097 | "src/qu8-gemm/8x8-minmax-neon.c", |
| 1098 | "src/qu8-igemm/4x8-minmax-neon.c", |
| 1099 | "src/qu8-igemm/8x8-minmax-neon.c", |
Marat Dukhan | 5b69f8b | 2020-07-24 15:26:48 -0700 | [diff] [blame] | 1100 | "src/qu8-requantization/precise-neon.c", |
| 1101 | "src/qu8-requantization/fp32-neon.c", |
| 1102 | "src/qu8-requantization/q31-neon.c", |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 1103 | "src/qu8-vadd/minmax-neon.c", |
Marat Dukhan | 5c5fa96 | 2020-03-10 18:38:33 -0700 | [diff] [blame] | 1104 | "src/u8-clamp/neon-x64.c", |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 1105 | "src/u8-maxpool/9p8x-minmax-neon-c16.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1106 | "src/u8-rmax/neon.c", |
Marat Dukhan | 3bb3bfc | 2020-05-19 17:42:46 -0700 | [diff] [blame] | 1107 | "src/x32-fill/neon.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1108 | "src/x32-packx/x4-neon-st4.c", |
Marat Dukhan | 63523d4 | 2020-05-22 17:07:33 -0700 | [diff] [blame] | 1109 | "src/x32-pad/neon.c", |
Marat Dukhan | 57dccd8 | 2020-04-14 00:53:10 -0700 | [diff] [blame] | 1110 | "src/x32-unpool/neon.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1111 | "src/x32-zip/x2-neon.c", |
| 1112 | "src/x32-zip/x3-neon.c", |
| 1113 | "src/x32-zip/x4-neon.c", |
| 1114 | "src/x32-zip/xm-neon.c", |
| 1115 | "src/x8-zip/x2-neon.c", |
| 1116 | "src/x8-zip/x3-neon.c", |
| 1117 | "src/x8-zip/x4-neon.c", |
| 1118 | "src/x8-zip/xm-neon.c", |
Marat Dukhan | 075088a | 2020-05-12 19:42:12 -0700 | [diff] [blame] | 1119 | "src/math/roundne-neon-addsub.c", |
Marat Dukhan | c9852ba | 2020-05-13 17:21:29 -0700 | [diff] [blame] | 1120 | "src/math/roundd-neon-addsub.c", |
| 1121 | "src/math/roundd-neon-cvt.c", |
| 1122 | "src/math/roundu-neon-addsub.c", |
| 1123 | "src/math/roundu-neon-cvt.c", |
Marat Dukhan | 2dbb944 | 2020-05-12 20:43:43 -0700 | [diff] [blame] | 1124 | "src/math/roundz-neon-addsub.c", |
| 1125 | "src/math/roundz-neon-cvt.c", |
Marat Dukhan | 68b3b45 | 2020-01-02 10:11:15 -0800 | [diff] [blame] | 1126 | "src/math/sigmoid-neon-frac-p9-p10-nr1recps.c", |
Marat Dukhan | 77221d3 | 2020-01-06 10:04:39 -0800 | [diff] [blame] | 1127 | "src/math/sigmoid-neon-rr1-lut2048-p1-nr2recps.c", |
| 1128 | "src/math/sigmoid-neon-rr1-lut64-p2-nr2recps.c", |
| 1129 | "src/math/sigmoid-neon-rr1-p5-nr2recps.c", |
| 1130 | "src/math/sigmoid-neon-rr2-lut2048-p1-nr2recps.c", |
| 1131 | "src/math/sigmoid-neon-rr2-lut64-p2-nr2recps.c", |
| 1132 | "src/math/sigmoid-neon-rr2-p5-nr2recps.c", |
Marat Dukhan | 8400076 | 2020-06-29 18:38:43 -0700 | [diff] [blame] | 1133 | "src/math/sqrt-neon-nr1rsqrts.c", |
| 1134 | "src/math/sqrt-neon-nr2rsqrts.c", |
| 1135 | "src/math/sqrt-neon-nr3rsqrts.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1136 | ] |
| 1137 | |
| 1138 | NEONFMA_UKERNELS = [ |
Marat Dukhan | 660fd19 | 2020-03-10 04:55:30 -0700 | [diff] [blame] | 1139 | "src/f32-ibilinear/gen/neonfma-c4.c", |
| 1140 | "src/f32-ibilinear/gen/neonfma-c8.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1141 | "src/f32-igemm/gen/1x8-minmax-neonfma-dup-ld64.c", |
| 1142 | "src/f32-igemm/gen/4x8-minmax-neonfma-dup-ld128.c", |
| 1143 | "src/f32-igemm/gen/4x8-minmax-neonfma-dup-ld64.c", |
| 1144 | "src/f32-igemm/gen/6x8-minmax-neonfma-dup-ld64.c", |
| 1145 | "src/f32-igemm/gen/6x8-minmax-neonfma-dup-ld128.c", |
| 1146 | "src/f32-igemm/gen/1x8s4-minmax-neonfma.c", |
| 1147 | "src/f32-igemm/gen/4x8s4-minmax-neonfma.c", |
| 1148 | "src/f32-igemm/gen/6x8s4-minmax-neonfma.c", |
| 1149 | "src/f32-igemm/gen/8x8s4-minmax-neonfma.c", |
Marat Dukhan | f5425ea | 2020-04-24 01:46:00 -0700 | [diff] [blame] | 1150 | "src/f32-dwconv/gen/up4x4-minmax-neonfma.c", |
| 1151 | "src/f32-dwconv/gen/up4x4-minmax-neonfma-acc2.c", |
| 1152 | "src/f32-dwconv/gen/up8x4-minmax-neonfma.c", |
| 1153 | "src/f32-dwconv/gen/up8x4-minmax-neonfma-acc2.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1154 | "src/f32-dwconv/gen/up4x9-minmax-neonfma.c", |
| 1155 | "src/f32-dwconv/gen/up4x9-minmax-neonfma-acc2.c", |
| 1156 | "src/f32-dwconv/gen/up8x9-minmax-neonfma.c", |
| 1157 | "src/f32-dwconv/gen/up8x9-minmax-neonfma-acc2.c", |
Marat Dukhan | f5425ea | 2020-04-24 01:46:00 -0700 | [diff] [blame] | 1158 | "src/f32-dwconv/gen/up4x25-minmax-neonfma.c", |
| 1159 | "src/f32-dwconv/gen/up4x25-minmax-neonfma-acc2.c", |
| 1160 | "src/f32-dwconv/gen/up8x25-minmax-neonfma.c", |
| 1161 | "src/f32-dwconv/gen/up8x25-minmax-neonfma-acc2.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1162 | "src/f32-gemm/gen/1x8-minmax-neonfma-dup-ld64.c", |
| 1163 | "src/f32-gemm/gen/4x8-minmax-neonfma-dup-ld128.c", |
| 1164 | "src/f32-gemm/gen/4x8-minmax-neonfma-dup-ld64.c", |
| 1165 | "src/f32-gemm/gen/6x8-minmax-neonfma-dup-ld64.c", |
| 1166 | "src/f32-gemm/gen/6x8-minmax-neonfma-dup-ld128.c", |
| 1167 | "src/f32-gemm/gen/1x8s4-minmax-neonfma.c", |
| 1168 | "src/f32-gemm/gen/4x8s4-minmax-neonfma.c", |
| 1169 | "src/f32-gemm/gen/6x8s4-minmax-neonfma.c", |
| 1170 | "src/f32-gemm/gen/8x8s4-minmax-neonfma.c", |
| 1171 | "src/f32-gemm/gen-inc/1x8inc-minmax-neonfma-dup-ld64.c", |
| 1172 | "src/f32-gemm/gen-inc/4x8inc-minmax-neonfma-dup-ld128.c", |
| 1173 | "src/f32-gemm/gen-inc/4x8inc-minmax-neonfma-dup-ld64.c", |
| 1174 | "src/f32-gemm/gen-inc/6x8inc-minmax-neonfma-dup-ld64.c", |
| 1175 | "src/f32-gemm/gen-inc/6x8inc-minmax-neonfma-dup-ld128.c", |
| 1176 | "src/f32-gemm/gen-inc/1x8s4inc-minmax-neonfma.c", |
| 1177 | "src/f32-gemm/gen-inc/4x8s4inc-minmax-neonfma.c", |
| 1178 | "src/f32-gemm/gen-inc/6x8s4inc-minmax-neonfma.c", |
| 1179 | "src/f32-gemm/gen-inc/8x8s4inc-minmax-neonfma.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1180 | "src/f32-ppmm/gen/4x8-minmax-neonfma.c", |
| 1181 | "src/f32-ppmm/gen/8x8-minmax-neonfma.c", |
Marat Dukhan | 8137e4c | 2020-01-25 12:56:58 -0800 | [diff] [blame] | 1182 | "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x4.c", |
| 1183 | "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x8.c", |
| 1184 | "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x8-acc2.c", |
| 1185 | "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x12.c", |
| 1186 | "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x12-acc2.c", |
| 1187 | "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x12-acc3.c", |
| 1188 | "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x16.c", |
| 1189 | "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x16-acc2.c", |
| 1190 | "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x16-acc4.c", |
| 1191 | "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x20.c", |
| 1192 | "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x20-acc2.c", |
| 1193 | "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x20-acc5.c", |
| 1194 | "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x4.c", |
| 1195 | "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x8.c", |
| 1196 | "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x8-acc2.c", |
| 1197 | "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x12.c", |
| 1198 | "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x12-acc2.c", |
| 1199 | "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x12-acc3.c", |
| 1200 | "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x16.c", |
| 1201 | "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x16-acc2.c", |
| 1202 | "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x16-acc4.c", |
| 1203 | "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x20.c", |
| 1204 | "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x20-acc2.c", |
| 1205 | "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x20-acc5.c", |
Marat Dukhan | 4a24a58 | 2020-01-06 13:30:00 -0800 | [diff] [blame] | 1206 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2fma-x4.c", |
| 1207 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2fma-x8.c", |
| 1208 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2fma-x12.c", |
| 1209 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2fma-x16.c", |
| 1210 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2fma-x20.c", |
| 1211 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2fma-x24.c", |
| 1212 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr1recps1fma-x4.c", |
| 1213 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr1recps1fma-x8.c", |
| 1214 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr1recps1fma-x12.c", |
| 1215 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr1recps1fma-x16.c", |
| 1216 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr1recps1fma-x20.c", |
| 1217 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr1recps1fma-x24.c", |
| 1218 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2recps-x4.c", |
| 1219 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2recps-x8.c", |
| 1220 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2recps-x12.c", |
| 1221 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2recps-x16.c", |
| 1222 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2recps-x20.c", |
| 1223 | "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2recps-x24.c", |
| 1224 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2fma-x4.c", |
| 1225 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2fma-x8.c", |
| 1226 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2fma-x12.c", |
| 1227 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2fma-x16.c", |
| 1228 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2fma-x20.c", |
| 1229 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2fma-x24.c", |
| 1230 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr1recps1fma-x4.c", |
| 1231 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr1recps1fma-x8.c", |
| 1232 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr1recps1fma-x12.c", |
| 1233 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr1recps1fma-x16.c", |
| 1234 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr1recps1fma-x20.c", |
| 1235 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr1recps1fma-x24.c", |
| 1236 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2recps-x4.c", |
| 1237 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2recps-x8.c", |
| 1238 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2recps-x12.c", |
| 1239 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2recps-x16.c", |
| 1240 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2recps-x20.c", |
| 1241 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2recps-x24.c", |
| 1242 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2fma-x4.c", |
| 1243 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2fma-x8.c", |
| 1244 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2fma-x12.c", |
| 1245 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2fma-x16.c", |
| 1246 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2fma-x20.c", |
| 1247 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2fma-x24.c", |
| 1248 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr1recps1fma-x4.c", |
| 1249 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr1recps1fma-x8.c", |
| 1250 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr1recps1fma-x12.c", |
| 1251 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr1recps1fma-x16.c", |
| 1252 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr1recps1fma-x20.c", |
| 1253 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr1recps1fma-x24.c", |
| 1254 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2recps-x4.c", |
| 1255 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2recps-x8.c", |
| 1256 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2recps-x12.c", |
| 1257 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2recps-x16.c", |
| 1258 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2recps-x20.c", |
| 1259 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2recps-x24.c", |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 1260 | "src/f32-vmulcaddc/gen/c4-minmax-neonfma-2x.c", |
| 1261 | "src/f32-vmulcaddc/gen/c8-minmax-neonfma-2x.c", |
Marat Dukhan | f4db2f3 | 2020-06-30 10:55:30 -0700 | [diff] [blame] | 1262 | "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x4.c", |
| 1263 | "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x8.c", |
| 1264 | "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x12.c", |
| 1265 | "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x16.c", |
| 1266 | "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x20.c", |
| 1267 | "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x24.c", |
| 1268 | "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x28.c", |
| 1269 | "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x32.c", |
| 1270 | "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x36.c", |
| 1271 | "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x40.c", |
| 1272 | "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x4.c", |
| 1273 | "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x8.c", |
| 1274 | "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x12.c", |
| 1275 | "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x16.c", |
| 1276 | "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x20.c", |
| 1277 | "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x24.c", |
| 1278 | "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x28.c", |
| 1279 | "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x32.c", |
| 1280 | "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x36.c", |
| 1281 | "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x40.c", |
Marat Dukhan | 797a8fe | 2019-11-14 20:21:57 -0800 | [diff] [blame] | 1282 | "src/math/exp-neonfma-lut64-p2.c", |
| 1283 | "src/math/exp-neonfma-p5.c", |
Marat Dukhan | 189ae80 | 2019-11-26 11:28:44 -0800 | [diff] [blame] | 1284 | "src/math/expminus-neonfma-lut2048-p1.c", |
| 1285 | "src/math/expminus-neonfma-lut64-p2.c", |
Marat Dukhan | 346a9e5 | 2019-11-15 09:06:30 -0800 | [diff] [blame] | 1286 | "src/math/expminus-neonfma-p5.c", |
Marat Dukhan | 77221d3 | 2020-01-06 10:04:39 -0800 | [diff] [blame] | 1287 | "src/math/sigmoid-neonfma-rr1-lut2048-p1-nr1recps1fma.c", |
| 1288 | "src/math/sigmoid-neonfma-rr1-lut2048-p1-nr2fma.c", |
| 1289 | "src/math/sigmoid-neonfma-rr1-lut2048-p1-nr2recps.c", |
| 1290 | "src/math/sigmoid-neonfma-rr1-lut64-p2-nr1recps1fma.c", |
| 1291 | "src/math/sigmoid-neonfma-rr1-lut64-p2-nr2fma.c", |
| 1292 | "src/math/sigmoid-neonfma-rr1-lut64-p2-nr2recps.c", |
| 1293 | "src/math/sigmoid-neonfma-rr1-p5-nr1recps1fma.c", |
| 1294 | "src/math/sigmoid-neonfma-rr1-p5-nr2fma.c", |
| 1295 | "src/math/sigmoid-neonfma-rr1-p5-nr2recps.c", |
| 1296 | "src/math/sigmoid-neonfma-rr2-lut2048-p1-nr1recps1fma.c", |
| 1297 | "src/math/sigmoid-neonfma-rr2-lut2048-p1-nr2fma.c", |
| 1298 | "src/math/sigmoid-neonfma-rr2-lut2048-p1-nr2recps.c", |
| 1299 | "src/math/sigmoid-neonfma-rr2-lut64-p2-nr1recps1fma.c", |
| 1300 | "src/math/sigmoid-neonfma-rr2-lut64-p2-nr2fma.c", |
| 1301 | "src/math/sigmoid-neonfma-rr2-lut64-p2-nr2recps.c", |
| 1302 | "src/math/sigmoid-neonfma-rr2-p5-nr1recps1fma.c", |
| 1303 | "src/math/sigmoid-neonfma-rr2-p5-nr2fma.c", |
| 1304 | "src/math/sigmoid-neonfma-rr2-p5-nr2recps.c", |
Marat Dukhan | 8400076 | 2020-06-29 18:38:43 -0700 | [diff] [blame] | 1305 | "src/math/sqrt-neonfma-nr1fma.c", |
| 1306 | "src/math/sqrt-neonfma-nr2fma.c", |
| 1307 | "src/math/sqrt-neonfma-nr3fma.c", |
| 1308 | "src/math/sqrt-neonfma-nr2fma1adj.c", |
| 1309 | "src/math/sqrt-neonfma-nr1rsqrts1fma1adj.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1310 | ] |
| 1311 | |
| 1312 | AARCH64_NEONFMA_UKERNELS = [ |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 1313 | "src/f32-vbinary/gen/vdiv-minmax-neon-x4.c", |
| 1314 | "src/f32-vbinary/gen/vdiv-minmax-neon-x8.c", |
| 1315 | "src/f32-vbinary/gen/vdivc-minmax-neon-x4.c", |
| 1316 | "src/f32-vbinary/gen/vdivc-minmax-neon-x8.c", |
| 1317 | "src/f32-vbinary/gen/vrdivc-minmax-neon-x4.c", |
| 1318 | "src/f32-vbinary/gen/vrdivc-minmax-neon-x8.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1319 | "src/f32-gemm/gen/1x8-minmax-neonfma-lane-ld64.c", |
| 1320 | "src/f32-gemm/gen/4x2-minmax-neonfma-lane-ld64.c", |
| 1321 | "src/f32-gemm/gen/4x8-minmax-neonfma-lane-ld128.c", |
| 1322 | "src/f32-gemm/gen/4x8-minmax-neonfma-lane-ld64.c", |
| 1323 | "src/f32-gemm/gen/5x8-minmax-neonfma-lane-ld64.c", |
| 1324 | "src/f32-gemm/gen/6x8-minmax-neonfma-lane-ld64.c", |
| 1325 | "src/f32-gemm/gen/6x8-minmax-neonfma-lane-ld128.c", |
| 1326 | "src/f32-gemm/gen-inc/1x8inc-minmax-neonfma-lane-ld64.c", |
| 1327 | "src/f32-gemm/gen-inc/4x8inc-minmax-neonfma-lane-ld128.c", |
| 1328 | "src/f32-gemm/gen-inc/4x8inc-minmax-neonfma-lane-ld64.c", |
| 1329 | "src/f32-gemm/gen-inc/5x8inc-minmax-neonfma-lane-ld64.c", |
| 1330 | "src/f32-gemm/gen-inc/6x8inc-minmax-neonfma-lane-ld64.c", |
| 1331 | "src/f32-gemm/gen-inc/6x8inc-minmax-neonfma-lane-ld128.c", |
| 1332 | "src/f32-igemm/gen/1x8-minmax-neonfma-lane-ld64.c", |
| 1333 | "src/f32-igemm/gen/4x2-minmax-neonfma-lane-ld64.c", |
| 1334 | "src/f32-igemm/gen/4x4-minmax-neonfma-lane-ld64.c", |
| 1335 | "src/f32-igemm/gen/4x8-minmax-neonfma-lane-ld128.c", |
| 1336 | "src/f32-igemm/gen/4x8-minmax-neonfma-lane-ld64.c", |
| 1337 | "src/f32-igemm/gen/6x8-minmax-neonfma-lane-ld64.c", |
| 1338 | "src/f32-igemm/gen/6x8-minmax-neonfma-lane-ld128.c", |
Marat Dukhan | 56b10cd | 2020-05-18 09:35:49 -0700 | [diff] [blame] | 1339 | "src/f32-conv-hwc/gen/3x3s2p0p1c3x4-neonfma-2x1.c", |
| 1340 | "src/f32-conv-hwc/gen/3x3s2p0p1c3x8-neonfma-2x1.c", |
Marat Dukhan | ce7a3f8 | 2020-05-17 21:46:44 -0700 | [diff] [blame] | 1341 | "src/f32-conv-hwc/gen/3x3s2p0p1c3x4-neonfma-2x2.c", |
| 1342 | "src/f32-conv-hwc/gen/3x3s2p0p1c3x8-neonfma-2x2.c", |
Marat Dukhan | 56b10cd | 2020-05-18 09:35:49 -0700 | [diff] [blame] | 1343 | "src/f32-conv-hwc/gen/3x3s2p1c3x4-neonfma-2x1.c", |
| 1344 | "src/f32-conv-hwc/gen/3x3s2p1c3x8-neonfma-2x1.c", |
Marat Dukhan | ce7a3f8 | 2020-05-17 21:46:44 -0700 | [diff] [blame] | 1345 | "src/f32-conv-hwc/gen/3x3s2p1c3x4-neonfma-2x2.c", |
| 1346 | "src/f32-conv-hwc/gen/3x3s2p1c3x8-neonfma-2x2.c", |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 1347 | "src/f32-conv-hwc2chw/3x3s2p1c3x4-neonfma-2x2.c", |
| 1348 | "src/f32-dwconv-chw/3x3p1-neonfma.c", |
| 1349 | "src/f32-dwconv-chw/5x5p2-neonfma.c", |
| 1350 | "src/f32-dwconv-chw/3x3s2p1-neonfma.c", |
| 1351 | "src/f32-dwconv-chw/5x5s2p2-neonfma.c", |
Marat Dukhan | 4a24a58 | 2020-01-06 13:30:00 -0800 | [diff] [blame] | 1352 | "src/f32-sigmoid/gen/neonfma-rr1-p5-div-x4.c", |
| 1353 | "src/f32-sigmoid/gen/neonfma-rr1-p5-div-x8.c", |
| 1354 | "src/f32-sigmoid/gen/neonfma-rr1-p5-div-x12.c", |
| 1355 | "src/f32-sigmoid/gen/neonfma-rr1-p5-div-x16.c", |
| 1356 | "src/f32-sigmoid/gen/neonfma-rr1-p5-div-x20.c", |
| 1357 | "src/f32-sigmoid/gen/neonfma-rr1-p5-div-x24.c", |
| 1358 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-div-x4.c", |
| 1359 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-div-x8.c", |
| 1360 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-div-x12.c", |
| 1361 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-div-x16.c", |
| 1362 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-div-x20.c", |
| 1363 | "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-div-x24.c", |
| 1364 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-div-x4.c", |
| 1365 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-div-x8.c", |
| 1366 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-div-x12.c", |
| 1367 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-div-x16.c", |
| 1368 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-div-x20.c", |
| 1369 | "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-div-x24.c", |
Marat Dukhan | 355ab43 | 2020-04-09 19:01:52 -0700 | [diff] [blame] | 1370 | "src/f32-spmm/gen/12x1-minmax-neonfma.c", |
| 1371 | "src/f32-spmm/gen/12x2-minmax-neonfma.c", |
| 1372 | "src/f32-spmm/gen/12x4-minmax-neonfma.c", |
| 1373 | "src/f32-spmm/gen/16x1-minmax-neonfma-pipelined.c", |
| 1374 | "src/f32-spmm/gen/16x1-minmax-neonfma-unroll2.c", |
| 1375 | "src/f32-spmm/gen/16x1-minmax-neonfma.c", |
| 1376 | "src/f32-spmm/gen/16x2-minmax-neonfma.c", |
| 1377 | "src/f32-spmm/gen/16x4-minmax-neonfma.c", |
| 1378 | "src/f32-spmm/gen/4x1-minmax-neonfma-pipelined.c", |
| 1379 | "src/f32-spmm/gen/4x1-minmax-neonfma-unroll2.c", |
| 1380 | "src/f32-spmm/gen/4x1-minmax-neonfma.c", |
| 1381 | "src/f32-spmm/gen/4x2-minmax-neonfma.c", |
| 1382 | "src/f32-spmm/gen/4x4-minmax-neonfma.c", |
| 1383 | "src/f32-spmm/gen/8x1-minmax-neonfma-pipelined.c", |
| 1384 | "src/f32-spmm/gen/8x1-minmax-neonfma-unroll2.c", |
| 1385 | "src/f32-spmm/gen/8x1-minmax-neonfma.c", |
| 1386 | "src/f32-spmm/gen/8x2-minmax-neonfma.c", |
| 1387 | "src/f32-spmm/gen/8x4-minmax-neonfma.c", |
Marat Dukhan | f4db2f3 | 2020-06-30 10:55:30 -0700 | [diff] [blame] | 1388 | "src/f32-vsqrt/gen/neon-sqrt-x4.c", |
| 1389 | "src/f32-vsqrt/gen/neon-sqrt-x8.c", |
Marat Dukhan | 77221d3 | 2020-01-06 10:04:39 -0800 | [diff] [blame] | 1390 | "src/math/sigmoid-neonfma-rr1-lut2048-p1-div.c", |
| 1391 | "src/math/sigmoid-neonfma-rr1-lut64-p2-div.c", |
| 1392 | "src/math/sigmoid-neonfma-rr1-p5-div.c", |
| 1393 | "src/math/sigmoid-neonfma-rr2-lut2048-p1-div.c", |
| 1394 | "src/math/sigmoid-neonfma-rr2-lut64-p2-div.c", |
| 1395 | "src/math/sigmoid-neonfma-rr2-p5-div.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1396 | ] |
| 1397 | |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 1398 | NEONV8_UKERNELS = [ |
Marat Dukhan | eecf8fd | 2020-06-09 08:59:37 -0700 | [diff] [blame] | 1399 | "src/f32-vrnd/gen/vrndne-neonv8-x4.c", |
| 1400 | "src/f32-vrnd/gen/vrndne-neonv8-x8.c", |
| 1401 | "src/f32-vrnd/gen/vrndz-neonv8-x4.c", |
| 1402 | "src/f32-vrnd/gen/vrndz-neonv8-x8.c", |
| 1403 | "src/f32-vrnd/gen/vrndu-neonv8-x4.c", |
| 1404 | "src/f32-vrnd/gen/vrndu-neonv8-x8.c", |
| 1405 | "src/f32-vrnd/gen/vrndd-neonv8-x4.c", |
| 1406 | "src/f32-vrnd/gen/vrndd-neonv8-x8.c", |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 1407 | "src/math/roundne-neonv8.c", |
Marat Dukhan | c9852ba | 2020-05-13 17:21:29 -0700 | [diff] [blame] | 1408 | "src/math/roundd-neonv8.c", |
| 1409 | "src/math/roundu-neonv8.c", |
Marat Dukhan | 2dbb944 | 2020-05-12 20:43:43 -0700 | [diff] [blame] | 1410 | "src/math/roundz-neonv8.c", |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 1411 | ] |
| 1412 | |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1413 | AARCH64_NEONFP16ARITH_UKERNELS = [ |
Frank Barchard | b196659 | 2020-05-12 13:47:06 -0700 | [diff] [blame] | 1414 | "src/f16-clamp/gen/neonfp16arith-x16.c", |
| 1415 | "src/f16-clamp/gen/neonfp16arith-x8.c", |
Frank Barchard | 5a599a6 | 2020-06-04 20:12:44 -0700 | [diff] [blame] | 1416 | "src/f16-dwconv/gen/up16x25-minmax-neonfp16arith-acc2.c", |
| 1417 | "src/f16-dwconv/gen/up16x25-minmax-neonfp16arith.c", |
| 1418 | "src/f16-dwconv/gen/up16x4-minmax-neonfp16arith-acc2.c", |
| 1419 | "src/f16-dwconv/gen/up16x4-minmax-neonfp16arith.c", |
| 1420 | "src/f16-dwconv/gen/up16x9-minmax-neonfp16arith-acc2.c", |
| 1421 | "src/f16-dwconv/gen/up16x9-minmax-neonfp16arith.c", |
| 1422 | "src/f16-dwconv/gen/up8x25-minmax-neonfp16arith-acc2.c", |
| 1423 | "src/f16-dwconv/gen/up8x25-minmax-neonfp16arith.c", |
| 1424 | "src/f16-dwconv/gen/up8x4-minmax-neonfp16arith-acc2.c", |
| 1425 | "src/f16-dwconv/gen/up8x4-minmax-neonfp16arith.c", |
| 1426 | "src/f16-dwconv/gen/up8x9-minmax-neonfp16arith-acc2.c", |
| 1427 | "src/f16-dwconv/gen/up8x9-minmax-neonfp16arith.c", |
Frank Barchard | 0bb49a7 | 2020-06-04 11:35:11 -0700 | [diff] [blame] | 1428 | "src/f16-gavgpool/7p7x-minmax-neonfp16arith-c8.c", |
| 1429 | "src/f16-gavgpool/7x-minmax-neonfp16arith-c8.c", |
Marat Dukhan | efaac27 | 2020-07-16 16:58:07 -0700 | [diff] [blame] | 1430 | "src/f16-hswish/gen/hswish-neonfp16arith-x16.c", |
| 1431 | "src/f16-hswish/gen/hswish-neonfp16arith-x8.c", |
Frank Barchard | b196659 | 2020-05-12 13:47:06 -0700 | [diff] [blame] | 1432 | "src/f16-prelu/gen/neonfp16arith-2x8.c", |
Frank Barchard | a531698 | 2020-07-23 13:19:28 -0700 | [diff] [blame] | 1433 | "src/f16-prelu/gen/neonfp16arith-2x16.c", |
Frank Barchard | fb158e2 | 2020-07-15 16:10:10 -0700 | [diff] [blame] | 1434 | "src/f16-relu/gen/neonfp16arith-x16.c", |
| 1435 | "src/f16-relu/gen/neonfp16arith-x8.c", |
Frank Barchard | d793f6c | 2020-05-08 13:37:43 -0700 | [diff] [blame] | 1436 | "src/f16-vbinary/gen/vaddc-minmax-neonfp16arith-x16.c", |
| 1437 | "src/f16-vbinary/gen/vaddc-minmax-neonfp16arith-x8.c", |
| 1438 | "src/f16-vbinary/gen/vadd-minmax-neonfp16arith-x16.c", |
| 1439 | "src/f16-vbinary/gen/vadd-minmax-neonfp16arith-x8.c", |
| 1440 | "src/f16-vbinary/gen/vdivc-minmax-neonfp16arith-x16.c", |
| 1441 | "src/f16-vbinary/gen/vdivc-minmax-neonfp16arith-x8.c", |
| 1442 | "src/f16-vbinary/gen/vdiv-minmax-neonfp16arith-x16.c", |
| 1443 | "src/f16-vbinary/gen/vdiv-minmax-neonfp16arith-x8.c", |
| 1444 | "src/f16-vbinary/gen/vmaxc-neonfp16arith-x16.c", |
| 1445 | "src/f16-vbinary/gen/vmaxc-neonfp16arith-x8.c", |
| 1446 | "src/f16-vbinary/gen/vmax-neonfp16arith-x16.c", |
| 1447 | "src/f16-vbinary/gen/vmax-neonfp16arith-x8.c", |
| 1448 | "src/f16-vbinary/gen/vminc-neonfp16arith-x16.c", |
| 1449 | "src/f16-vbinary/gen/vminc-neonfp16arith-x8.c", |
| 1450 | "src/f16-vbinary/gen/vmin-neonfp16arith-x16.c", |
| 1451 | "src/f16-vbinary/gen/vmin-neonfp16arith-x8.c", |
| 1452 | "src/f16-vbinary/gen/vmulc-minmax-neonfp16arith-x16.c", |
| 1453 | "src/f16-vbinary/gen/vmulc-minmax-neonfp16arith-x8.c", |
| 1454 | "src/f16-vbinary/gen/vmul-minmax-neonfp16arith-x16.c", |
| 1455 | "src/f16-vbinary/gen/vmul-minmax-neonfp16arith-x8.c", |
| 1456 | "src/f16-vbinary/gen/vrdivc-minmax-neonfp16arith-x16.c", |
| 1457 | "src/f16-vbinary/gen/vrdivc-minmax-neonfp16arith-x8.c", |
| 1458 | "src/f16-vbinary/gen/vrsubc-minmax-neonfp16arith-x16.c", |
| 1459 | "src/f16-vbinary/gen/vrsubc-minmax-neonfp16arith-x8.c", |
| 1460 | "src/f16-vbinary/gen/vsubc-minmax-neonfp16arith-x16.c", |
| 1461 | "src/f16-vbinary/gen/vsubc-minmax-neonfp16arith-x8.c", |
| 1462 | "src/f16-vbinary/gen/vsub-minmax-neonfp16arith-x16.c", |
| 1463 | "src/f16-vbinary/gen/vsub-minmax-neonfp16arith-x8.c", |
Frank Barchard | 2a1049c | 2020-06-03 02:31:27 -0700 | [diff] [blame] | 1464 | "src/f16-vmulcaddc/gen/c16-minmax-neonfp16arith-2x.c", |
| 1465 | "src/f16-vmulcaddc/gen/c8-minmax-neonfp16arith-2x.c", |
Frank Barchard | 83ea939 | 2020-04-20 20:15:14 -0700 | [diff] [blame] | 1466 | "src/f16-gemm/gen/1x8-minmax-neonfp16arith-ld64.c", |
| 1467 | "src/f16-gemm/gen/4x8-minmax-neonfp16arith-ld64.c", |
| 1468 | "src/f16-gemm/gen/6x8-minmax-neonfp16arith-ld64.c", |
| 1469 | "src/f16-gemm/gen/8x8-minmax-neonfp16arith-ld64.c", |
| 1470 | "src/f16-gemm/gen-inc/1x8inc-minmax-neonfp16arith-ld64.c", |
| 1471 | "src/f16-gemm/gen-inc/4x8inc-minmax-neonfp16arith-ld64.c", |
| 1472 | "src/f16-gemm/gen-inc/6x8inc-minmax-neonfp16arith-ld64.c", |
| 1473 | "src/f16-gemm/gen-inc/8x8inc-minmax-neonfp16arith-ld64.c", |
Frank Barchard | b0e4fae | 2020-05-04 15:27:51 -0700 | [diff] [blame] | 1474 | "src/f16-igemm/gen/1x8-minmax-neonfp16arith-ld64.c", |
| 1475 | "src/f16-igemm/gen/4x8-minmax-neonfp16arith-ld64.c", |
| 1476 | "src/f16-igemm/gen/6x8-minmax-neonfp16arith-ld64.c", |
| 1477 | "src/f16-igemm/gen/8x8-minmax-neonfp16arith-ld64.c", |
Frank Barchard | 3f9f99f | 2020-05-06 01:12:04 -0700 | [diff] [blame] | 1478 | "src/f16-gemm/gen/1x16-minmax-neonfp16arith-ld64.c", |
| 1479 | "src/f16-gemm/gen/4x16-minmax-neonfp16arith-ld64.c", |
| 1480 | "src/f16-gemm/gen/6x16-minmax-neonfp16arith-ld64.c", |
| 1481 | "src/f16-gemm/gen/8x16-minmax-neonfp16arith-ld64.c", |
| 1482 | "src/f16-gemm/gen-inc/1x16inc-minmax-neonfp16arith-ld64.c", |
| 1483 | "src/f16-gemm/gen-inc/4x16inc-minmax-neonfp16arith-ld64.c", |
| 1484 | "src/f16-gemm/gen-inc/6x16inc-minmax-neonfp16arith-ld64.c", |
| 1485 | "src/f16-gemm/gen-inc/8x16inc-minmax-neonfp16arith-ld64.c", |
| 1486 | "src/f16-igemm/gen/1x16-minmax-neonfp16arith-ld64.c", |
| 1487 | "src/f16-igemm/gen/4x16-minmax-neonfp16arith-ld64.c", |
| 1488 | "src/f16-igemm/gen/6x16-minmax-neonfp16arith-ld64.c", |
| 1489 | "src/f16-igemm/gen/8x16-minmax-neonfp16arith-ld64.c", |
Marat Dukhan | 355ab43 | 2020-04-09 19:01:52 -0700 | [diff] [blame] | 1490 | "src/f16-spmm/gen/8x1-minmax-neonfp16arith.c", |
| 1491 | "src/f16-spmm/gen/8x1-minmax-neonfp16arith-unroll2.c", |
| 1492 | "src/f16-spmm/gen/16x1-minmax-neonfp16arith.c", |
| 1493 | "src/f16-spmm/gen/16x1-minmax-neonfp16arith-unroll2.c", |
| 1494 | "src/f16-spmm/gen/24x1-minmax-neonfp16arith.c", |
| 1495 | "src/f16-spmm/gen/24x1-minmax-neonfp16arith-unroll2.c", |
| 1496 | "src/f16-spmm/gen/32x1-minmax-neonfp16arith.c", |
| 1497 | "src/f16-spmm/gen/32x1-minmax-neonfp16arith-unroll2.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1498 | ] |
| 1499 | |
| 1500 | SSE_UKERNELS = [ |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 1501 | "src/f32-avgpool/9p8x-minmax-sse-c4.c", |
| 1502 | "src/f32-avgpool/9x-minmax-sse-c4.c", |
Marat Dukhan | 5c5fa96 | 2020-03-10 18:38:33 -0700 | [diff] [blame] | 1503 | "src/f32-clamp/gen/sse-x4.c", |
| 1504 | "src/f32-clamp/gen/sse-x8.c", |
Erich Elsen | b123340 | 2020-06-08 15:53:15 -0700 | [diff] [blame] | 1505 | "src/f32-conv-hwc2chw/3x3s2p1c3x4-sse-1x1.c", |
| 1506 | "src/f32-conv-hwc2chw/3x3s2p1c3x4-sse-2x2.c", |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 1507 | "src/f32-dwconv-chw/3x3p1-sse.c", |
| 1508 | "src/f32-dwconv-chw/3x3s2p1-sse.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1509 | "src/f32-dwconv/gen/up4x25-minmax-sse-acc2.c", |
| 1510 | "src/f32-dwconv/gen/up4x25-minmax-sse.c", |
| 1511 | "src/f32-dwconv/gen/up4x4-minmax-sse-acc2.c", |
| 1512 | "src/f32-dwconv/gen/up4x4-minmax-sse.c", |
| 1513 | "src/f32-dwconv/gen/up4x9-minmax-sse-acc2.c", |
| 1514 | "src/f32-dwconv/gen/up4x9-minmax-sse.c", |
| 1515 | "src/f32-dwconv/gen/up8x25-minmax-sse-acc2.c", |
| 1516 | "src/f32-dwconv/gen/up8x25-minmax-sse.c", |
| 1517 | "src/f32-dwconv/gen/up8x4-minmax-sse-acc2.c", |
| 1518 | "src/f32-dwconv/gen/up8x4-minmax-sse.c", |
| 1519 | "src/f32-dwconv/gen/up8x9-minmax-sse-acc2.c", |
| 1520 | "src/f32-dwconv/gen/up8x9-minmax-sse.c", |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 1521 | "src/f32-gavgpool-cw/sse-x4.c", |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 1522 | "src/f32-gavgpool/7p7x-minmax-sse-c4.c", |
| 1523 | "src/f32-gavgpool/7x-minmax-sse-c4.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1524 | "src/f32-gemm/gen/1x8-minmax-sse-dup.c", |
| 1525 | "src/f32-gemm/gen/1x8-minmax-sse-load1.c", |
| 1526 | "src/f32-gemm/gen/1x8s4-minmax-sse.c", |
| 1527 | "src/f32-gemm/gen/4x2c4-minmax-sse.c", |
| 1528 | "src/f32-gemm/gen/4x8-minmax-sse-dup.c", |
| 1529 | "src/f32-gemm/gen/4x8-minmax-sse-load1.c", |
| 1530 | "src/f32-gemm/gen/4x8s4-minmax-sse.c", |
| 1531 | "src/f32-gemm/gen-inc/1x8inc-minmax-sse-dup.c", |
| 1532 | "src/f32-gemm/gen-inc/1x8inc-minmax-sse-load1.c", |
| 1533 | "src/f32-gemm/gen-inc/1x8s4inc-minmax-sse.c", |
| 1534 | "src/f32-gemm/gen-inc/4x8inc-minmax-sse-dup.c", |
| 1535 | "src/f32-gemm/gen-inc/4x8inc-minmax-sse-load1.c", |
| 1536 | "src/f32-gemm/gen-inc/4x8s4inc-minmax-sse.c", |
Marat Dukhan | efaac27 | 2020-07-16 16:58:07 -0700 | [diff] [blame] | 1537 | "src/f32-hswish/gen/hswish-sse-x4.c", |
| 1538 | "src/f32-hswish/gen/hswish-sse-x8.c", |
Marat Dukhan | 660fd19 | 2020-03-10 04:55:30 -0700 | [diff] [blame] | 1539 | "src/f32-ibilinear/gen/sse-c4.c", |
| 1540 | "src/f32-ibilinear/gen/sse-c8.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1541 | "src/f32-igemm/gen/1x8-minmax-sse-dup.c", |
| 1542 | "src/f32-igemm/gen/1x8-minmax-sse-load1.c", |
| 1543 | "src/f32-igemm/gen/1x8s4-minmax-sse.c", |
| 1544 | "src/f32-igemm/gen/4x2c4-minmax-sse.c", |
| 1545 | "src/f32-igemm/gen/4x8-minmax-sse-dup.c", |
| 1546 | "src/f32-igemm/gen/4x8-minmax-sse-load1.c", |
| 1547 | "src/f32-igemm/gen/4x8s4-minmax-sse.c", |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 1548 | "src/f32-maxpool/9p8x-minmax-sse-c4.c", |
| 1549 | "src/f32-pavgpool/9p8x-minmax-sse-c4.c", |
| 1550 | "src/f32-pavgpool/9x-minmax-sse-c4.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1551 | "src/f32-ppmm/gen/4x8-minmax-sse.c", |
Marat Dukhan | 39b5e94 | 2020-06-24 15:03:48 -0700 | [diff] [blame] | 1552 | "src/f32-prelu/gen/sse-2x4.c", |
| 1553 | "src/f32-prelu/gen/sse-2x8.c", |
Frank Barchard | fb158e2 | 2020-07-15 16:10:10 -0700 | [diff] [blame] | 1554 | "src/f32-relu/gen/sse-x4.c", |
| 1555 | "src/f32-relu/gen/sse-x8.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1556 | "src/f32-rmax/sse.c", |
Marat Dukhan | 355ab43 | 2020-04-09 19:01:52 -0700 | [diff] [blame] | 1557 | "src/f32-spmm/gen/4x1-minmax-sse.c", |
| 1558 | "src/f32-spmm/gen/8x1-minmax-sse.c", |
Erich Elsen | 6e80fdc | 2020-06-09 15:35:37 -0700 | [diff] [blame] | 1559 | "src/f32-spmm/gen/16x1-minmax-sse.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 1560 | "src/f32-vbinary/gen/vadd-minmax-sse-x4.c", |
| 1561 | "src/f32-vbinary/gen/vadd-minmax-sse-x8.c", |
| 1562 | "src/f32-vbinary/gen/vaddc-minmax-sse-x4.c", |
| 1563 | "src/f32-vbinary/gen/vaddc-minmax-sse-x8.c", |
| 1564 | "src/f32-vbinary/gen/vdiv-minmax-sse-x4.c", |
| 1565 | "src/f32-vbinary/gen/vdiv-minmax-sse-x8.c", |
| 1566 | "src/f32-vbinary/gen/vdivc-minmax-sse-x4.c", |
| 1567 | "src/f32-vbinary/gen/vdivc-minmax-sse-x8.c", |
Marat Dukhan | 403b7d4 | 2019-12-05 12:49:11 -0800 | [diff] [blame] | 1568 | "src/f32-vbinary/gen/vmax-sse-x4.c", |
| 1569 | "src/f32-vbinary/gen/vmax-sse-x8.c", |
| 1570 | "src/f32-vbinary/gen/vmaxc-sse-x4.c", |
| 1571 | "src/f32-vbinary/gen/vmaxc-sse-x8.c", |
| 1572 | "src/f32-vbinary/gen/vmin-sse-x4.c", |
| 1573 | "src/f32-vbinary/gen/vmin-sse-x8.c", |
| 1574 | "src/f32-vbinary/gen/vminc-sse-x4.c", |
| 1575 | "src/f32-vbinary/gen/vminc-sse-x8.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 1576 | "src/f32-vbinary/gen/vmul-minmax-sse-x4.c", |
| 1577 | "src/f32-vbinary/gen/vmul-minmax-sse-x8.c", |
| 1578 | "src/f32-vbinary/gen/vmulc-minmax-sse-x4.c", |
| 1579 | "src/f32-vbinary/gen/vmulc-minmax-sse-x8.c", |
| 1580 | "src/f32-vbinary/gen/vrdivc-minmax-sse-x4.c", |
| 1581 | "src/f32-vbinary/gen/vrdivc-minmax-sse-x8.c", |
| 1582 | "src/f32-vbinary/gen/vrsubc-minmax-sse-x4.c", |
| 1583 | "src/f32-vbinary/gen/vrsubc-minmax-sse-x8.c", |
Marat Dukhan | 13bafb0 | 2020-06-05 00:43:11 -0700 | [diff] [blame] | 1584 | "src/f32-vbinary/gen/vsqrdiff-sse-x4.c", |
| 1585 | "src/f32-vbinary/gen/vsqrdiff-sse-x8.c", |
| 1586 | "src/f32-vbinary/gen/vsqrdiffc-sse-x4.c", |
| 1587 | "src/f32-vbinary/gen/vsqrdiffc-sse-x8.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 1588 | "src/f32-vbinary/gen/vsub-minmax-sse-x4.c", |
| 1589 | "src/f32-vbinary/gen/vsub-minmax-sse-x8.c", |
| 1590 | "src/f32-vbinary/gen/vsubc-minmax-sse-x4.c", |
| 1591 | "src/f32-vbinary/gen/vsubc-minmax-sse-x8.c", |
Marat Dukhan | 19dd91d | 2020-07-16 11:12:44 -0700 | [diff] [blame] | 1592 | "src/f32-vlrelu/gen/vlrelu-sse-x4.c", |
| 1593 | "src/f32-vlrelu/gen/vlrelu-sse-x8.c", |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 1594 | "src/f32-vmulcaddc/gen/c4-minmax-sse-2x.c", |
| 1595 | "src/f32-vmulcaddc/gen/c8-minmax-sse-2x.c", |
Marat Dukhan | f4db2f3 | 2020-06-30 10:55:30 -0700 | [diff] [blame] | 1596 | "src/f32-vsqrt/gen/sse-sqrt-x4.c", |
| 1597 | "src/f32-vsqrt/gen/sse-sqrt-x8.c", |
Marat Dukhan | 5020b96 | 2020-06-08 13:30:10 -0700 | [diff] [blame] | 1598 | "src/f32-vunary/gen/vabs-sse-x4.c", |
| 1599 | "src/f32-vunary/gen/vabs-sse-x8.c", |
| 1600 | "src/f32-vunary/gen/vneg-sse-x4.c", |
| 1601 | "src/f32-vunary/gen/vneg-sse-x8.c", |
| 1602 | "src/f32-vunary/gen/vsqr-sse-x4.c", |
| 1603 | "src/f32-vunary/gen/vsqr-sse-x8.c", |
Marat Dukhan | 3bb3bfc | 2020-05-19 17:42:46 -0700 | [diff] [blame] | 1604 | "src/x32-fill/sse.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1605 | "src/x32-packx/x4-sse.c", |
Marat Dukhan | 63523d4 | 2020-05-22 17:07:33 -0700 | [diff] [blame] | 1606 | "src/x32-pad/sse.c", |
Marat Dukhan | 075088a | 2020-05-12 19:42:12 -0700 | [diff] [blame] | 1607 | "src/math/roundne-sse-addsub.c", |
Marat Dukhan | c9852ba | 2020-05-13 17:21:29 -0700 | [diff] [blame] | 1608 | "src/math/roundd-sse-addsub.c", |
| 1609 | "src/math/roundu-sse-addsub.c", |
Marat Dukhan | 2dbb944 | 2020-05-12 20:43:43 -0700 | [diff] [blame] | 1610 | "src/math/roundz-sse-addsub.c", |
Marat Dukhan | 8400076 | 2020-06-29 18:38:43 -0700 | [diff] [blame] | 1611 | "src/math/sqrt-sse-hh1mac.c", |
| 1612 | "src/math/sqrt-sse-nr1mac.c", |
| 1613 | "src/math/sqrt-sse-nr2mac.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1614 | ] |
| 1615 | |
| 1616 | SSE2_UKERNELS = [ |
Marat Dukhan | 329da64 | 2019-11-19 21:44:39 -0800 | [diff] [blame] | 1617 | "src/f32-argmaxpool/9p8x-sse2-c4.c", |
| 1618 | "src/f32-argmaxpool/4x-sse2-c4.c", |
| 1619 | "src/f32-argmaxpool/9x-sse2-c4.c", |
Marat Dukhan | 40a672f | 2019-11-25 03:08:22 -0800 | [diff] [blame] | 1620 | "src/f32-prelu/gen/sse2-2x4.c", |
| 1621 | "src/f32-prelu/gen/sse2-2x8.c", |
Marat Dukhan | b39689d | 2020-01-24 13:32:20 -0800 | [diff] [blame] | 1622 | "src/f32-raddstoreexpminusmax/gen/sse2-p5-x4.c", |
| 1623 | "src/f32-raddstoreexpminusmax/gen/sse2-p5-x8.c", |
| 1624 | "src/f32-raddstoreexpminusmax/gen/sse2-p5-x8-acc2.c", |
| 1625 | "src/f32-raddstoreexpminusmax/gen/sse2-p5-x12.c", |
| 1626 | "src/f32-raddstoreexpminusmax/gen/sse2-p5-x12-acc2.c", |
| 1627 | "src/f32-raddstoreexpminusmax/gen/sse2-p5-x12-acc3.c", |
| 1628 | "src/f32-raddstoreexpminusmax/gen/sse2-p5-x16.c", |
| 1629 | "src/f32-raddstoreexpminusmax/gen/sse2-p5-x16-acc2.c", |
| 1630 | "src/f32-raddstoreexpminusmax/gen/sse2-p5-x16-acc4.c", |
| 1631 | "src/f32-raddstoreexpminusmax/gen/sse2-p5-x20.c", |
| 1632 | "src/f32-raddstoreexpminusmax/gen/sse2-p5-x20-acc2.c", |
| 1633 | "src/f32-raddstoreexpminusmax/gen/sse2-p5-x20-acc5.c", |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 1634 | "src/f32-sigmoid/gen/sse2-p5-div-x4.c", |
Marat Dukhan | 40a672f | 2019-11-25 03:08:22 -0800 | [diff] [blame] | 1635 | "src/f32-sigmoid/gen/sse2-p5-div-x8.c", |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 1636 | "src/f32-sigmoid/gen/sse2-p5-div-x12.c", |
Marat Dukhan | 40a672f | 2019-11-25 03:08:22 -0800 | [diff] [blame] | 1637 | "src/f32-sigmoid/gen/sse2-p5-div-x16.c", |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 1638 | "src/f32-sigmoid/gen/sse2-p5-div-x20.c", |
| 1639 | "src/f32-sigmoid/gen/sse2-p5-div-x24.c", |
Marat Dukhan | 19dd91d | 2020-07-16 11:12:44 -0700 | [diff] [blame] | 1640 | "src/f32-vlrelu/gen/vlrelu-sse2-x4.c", |
| 1641 | "src/f32-vlrelu/gen/vlrelu-sse2-x8.c", |
Marat Dukhan | eecf8fd | 2020-06-09 08:59:37 -0700 | [diff] [blame] | 1642 | "src/f32-vrnd/gen/vrndne-sse2-x4.c", |
| 1643 | "src/f32-vrnd/gen/vrndne-sse2-x8.c", |
| 1644 | "src/f32-vrnd/gen/vrndz-sse2-x4.c", |
| 1645 | "src/f32-vrnd/gen/vrndz-sse2-x8.c", |
| 1646 | "src/f32-vrnd/gen/vrndu-sse2-x4.c", |
| 1647 | "src/f32-vrnd/gen/vrndu-sse2-x8.c", |
| 1648 | "src/f32-vrnd/gen/vrndd-sse2-x4.c", |
| 1649 | "src/f32-vrnd/gen/vrndd-sse2-x8.c", |
Marat Dukhan | 2e23d2b | 2020-07-29 16:01:37 -0700 | [diff] [blame] | 1650 | "src/qs8-requantization/precise-sse2.c", |
| 1651 | "src/qs8-requantization/fp32-sse2.c", |
| 1652 | "src/qs8-requantization/q31-sse2.c", |
Marat Dukhan | 14d3ce8 | 2020-07-31 16:19:15 -0700 | [diff] [blame] | 1653 | "src/qs8-gemm/gen/1x4c2-minmax-sse2-ld64.c", |
| 1654 | "src/qs8-gemm/gen/4x4c2-minmax-sse2-ld64.c", |
Marat Dukhan | dee732b | 2020-07-31 17:32:04 -0700 | [diff] [blame] | 1655 | "src/qs8-gemm/gen/1x4c2-minmax-sse2-ld128.c", |
| 1656 | "src/qs8-gemm/gen/4x4c2-minmax-sse2-ld128.c", |
Marat Dukhan | 683fab3 | 2020-08-03 19:42:52 -0700 | [diff] [blame] | 1657 | "src/qs8-gemm/gen/1x4c2-xw-minmax-sse2.c", |
| 1658 | "src/qs8-gemm/gen/4x4c2-xw-minmax-sse2.c", |
Marat Dukhan | 14d3ce8 | 2020-07-31 16:19:15 -0700 | [diff] [blame] | 1659 | "src/qs8-gemm/gen/1x4c8-minmax-sse2-ld64.c", |
| 1660 | "src/qs8-gemm/gen/2x4c8-minmax-sse2-ld64.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1661 | "src/qs8-gemm/gen/3x4c8-minmax-sse2-ld64.c", |
Marat Dukhan | dee732b | 2020-07-31 17:32:04 -0700 | [diff] [blame] | 1662 | "src/qs8-gemm/gen/1x4c8-minmax-sse2-ld128.c", |
| 1663 | "src/qs8-gemm/gen/2x4c8-minmax-sse2-ld128.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1664 | "src/qs8-gemm/gen/3x4c8-minmax-sse2-ld128.c", |
Marat Dukhan | 683fab3 | 2020-08-03 19:42:52 -0700 | [diff] [blame] | 1665 | "src/qs8-gemm/gen/1x4c8-xw-minmax-sse2.c", |
| 1666 | "src/qs8-gemm/gen/2x4c8-xw-minmax-sse2.c", |
| 1667 | "src/qs8-gemm/gen/3x4c8-xw-minmax-sse2.c", |
Marat Dukhan | 14d3ce8 | 2020-07-31 16:19:15 -0700 | [diff] [blame] | 1668 | "src/qs8-igemm/gen/1x4c2-minmax-sse2-ld64.c", |
| 1669 | "src/qs8-igemm/gen/4x4c2-minmax-sse2-ld64.c", |
Marat Dukhan | dee732b | 2020-07-31 17:32:04 -0700 | [diff] [blame] | 1670 | "src/qs8-igemm/gen/1x4c2-minmax-sse2-ld128.c", |
| 1671 | "src/qs8-igemm/gen/4x4c2-minmax-sse2-ld128.c", |
Marat Dukhan | 07bd252 | 2020-07-31 19:12:39 -0700 | [diff] [blame] | 1672 | "src/qs8-igemm/gen/1x4c8-minmax-sse2-ld64.c", |
| 1673 | "src/qs8-igemm/gen/2x4c8-minmax-sse2-ld64.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1674 | "src/qs8-igemm/gen/3x4c8-minmax-sse2-ld64.c", |
Marat Dukhan | 07bd252 | 2020-07-31 19:12:39 -0700 | [diff] [blame] | 1675 | "src/qs8-igemm/gen/1x4c8-minmax-sse2-ld128.c", |
| 1676 | "src/qs8-igemm/gen/2x4c8-minmax-sse2-ld128.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1677 | "src/qs8-igemm/gen/3x4c8-minmax-sse2-ld128.c", |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 1678 | "src/qu8-avgpool/9p8x-minmax-sse2-c8.c", |
| 1679 | "src/qu8-avgpool/9x-minmax-sse2-c8.c", |
| 1680 | "src/qu8-igemm/4x4c2-minmax-sse2.c", |
| 1681 | "src/qu8-dwconv/up8x9-minmax-sse2.c", |
| 1682 | "src/qu8-gavgpool/7p7x-minmax-sse2-c8.c", |
| 1683 | "src/qu8-gavgpool/7x-minmax-sse2-c8.c", |
| 1684 | "src/qu8-gemm/2x4c8-minmax-sse2.c", |
| 1685 | "src/qu8-gemm/4x4c2-minmax-sse2.c", |
Marat Dukhan | 5b69f8b | 2020-07-24 15:26:48 -0700 | [diff] [blame] | 1686 | "src/qu8-requantization/precise-sse2.c", |
| 1687 | "src/qu8-requantization/fp32-sse2.c", |
| 1688 | "src/qu8-requantization/q31-sse2.c", |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 1689 | "src/qu8-vadd/minmax-sse2.c", |
Marat Dukhan | 5c5fa96 | 2020-03-10 18:38:33 -0700 | [diff] [blame] | 1690 | "src/u8-clamp/sse2-x64.c", |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 1691 | "src/u8-maxpool/9p8x-minmax-sse2-c16.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1692 | "src/u8-rmax/sse2.c", |
Marat Dukhan | 57dccd8 | 2020-04-14 00:53:10 -0700 | [diff] [blame] | 1693 | "src/x32-unpool/sse2.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1694 | "src/x32-zip/x2-sse2.c", |
| 1695 | "src/x32-zip/x3-sse2.c", |
| 1696 | "src/x32-zip/x4-sse2.c", |
| 1697 | "src/x32-zip/xm-sse2.c", |
| 1698 | "src/x8-zip/x2-sse2.c", |
| 1699 | "src/x8-zip/x3-sse2.c", |
| 1700 | "src/x8-zip/x4-sse2.c", |
| 1701 | "src/x8-zip/xm-sse2.c", |
Marat Dukhan | ffd6840 | 2019-11-15 15:19:11 -0800 | [diff] [blame] | 1702 | "src/math/exp-sse2-p5.c", |
| 1703 | "src/math/expminus-sse2-p5.c", |
Marat Dukhan | 075088a | 2020-05-12 19:42:12 -0700 | [diff] [blame] | 1704 | "src/math/roundne-sse2-cvt.c", |
Marat Dukhan | c9852ba | 2020-05-13 17:21:29 -0700 | [diff] [blame] | 1705 | "src/math/roundd-sse2-cvt.c", |
| 1706 | "src/math/roundu-sse2-cvt.c", |
Marat Dukhan | 2dbb944 | 2020-05-12 20:43:43 -0700 | [diff] [blame] | 1707 | "src/math/roundz-sse2-cvt.c", |
Marat Dukhan | 80bafd2 | 2019-11-18 10:16:01 -0800 | [diff] [blame] | 1708 | "src/math/sigmoid-sse2-p5-div.c", |
Marat Dukhan | fe7acb6 | 2020-03-09 19:30:05 -0700 | [diff] [blame] | 1709 | ] |
| 1710 | |
| 1711 | SSSE3_UKERNELS = [ |
Marat Dukhan | 14d3ce8 | 2020-07-31 16:19:15 -0700 | [diff] [blame] | 1712 | "src/qs8-gemm/gen/1x4c2-minmax-ssse3-ld64.c", |
| 1713 | "src/qs8-gemm/gen/4x4c2-minmax-ssse3-ld64.c", |
Marat Dukhan | dee732b | 2020-07-31 17:32:04 -0700 | [diff] [blame] | 1714 | "src/qs8-gemm/gen/1x4c2-minmax-ssse3-ld128.c", |
| 1715 | "src/qs8-gemm/gen/4x4c2-minmax-ssse3-ld128.c", |
Marat Dukhan | 683fab3 | 2020-08-03 19:42:52 -0700 | [diff] [blame] | 1716 | "src/qs8-gemm/gen/1x4c2-xw-minmax-ssse3.c", |
| 1717 | "src/qs8-gemm/gen/4x4c2-xw-minmax-ssse3.c", |
Marat Dukhan | 14d3ce8 | 2020-07-31 16:19:15 -0700 | [diff] [blame] | 1718 | "src/qs8-gemm/gen/1x4c8-minmax-ssse3-ld64.c", |
| 1719 | "src/qs8-gemm/gen/2x4c8-minmax-ssse3-ld64.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1720 | "src/qs8-gemm/gen/3x4c8-minmax-ssse3-ld64.c", |
Marat Dukhan | dee732b | 2020-07-31 17:32:04 -0700 | [diff] [blame] | 1721 | "src/qs8-gemm/gen/1x4c8-minmax-ssse3-ld128.c", |
| 1722 | "src/qs8-gemm/gen/2x4c8-minmax-ssse3-ld128.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1723 | "src/qs8-gemm/gen/3x4c8-minmax-ssse3-ld128.c", |
Marat Dukhan | 683fab3 | 2020-08-03 19:42:52 -0700 | [diff] [blame] | 1724 | "src/qs8-gemm/gen/1x4c8-xw-minmax-ssse3.c", |
| 1725 | "src/qs8-gemm/gen/2x4c8-xw-minmax-ssse3.c", |
| 1726 | "src/qs8-gemm/gen/3x4c8-xw-minmax-ssse3.c", |
Marat Dukhan | 14d3ce8 | 2020-07-31 16:19:15 -0700 | [diff] [blame] | 1727 | "src/qs8-igemm/gen/1x4c2-minmax-ssse3-ld64.c", |
| 1728 | "src/qs8-igemm/gen/4x4c2-minmax-ssse3-ld64.c", |
Marat Dukhan | dee732b | 2020-07-31 17:32:04 -0700 | [diff] [blame] | 1729 | "src/qs8-igemm/gen/1x4c2-minmax-ssse3-ld128.c", |
| 1730 | "src/qs8-igemm/gen/4x4c2-minmax-ssse3-ld128.c", |
Marat Dukhan | 07bd252 | 2020-07-31 19:12:39 -0700 | [diff] [blame] | 1731 | "src/qs8-igemm/gen/1x4c8-minmax-ssse3-ld64.c", |
| 1732 | "src/qs8-igemm/gen/2x4c8-minmax-ssse3-ld64.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1733 | "src/qs8-igemm/gen/3x4c8-minmax-ssse3-ld64.c", |
Marat Dukhan | 07bd252 | 2020-07-31 19:12:39 -0700 | [diff] [blame] | 1734 | "src/qs8-igemm/gen/1x4c8-minmax-ssse3-ld128.c", |
| 1735 | "src/qs8-igemm/gen/2x4c8-minmax-ssse3-ld128.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1736 | "src/qs8-igemm/gen/3x4c8-minmax-ssse3-ld128.c", |
Marat Dukhan | 2e23d2b | 2020-07-29 16:01:37 -0700 | [diff] [blame] | 1737 | "src/qs8-requantization/precise-ssse3.c", |
| 1738 | "src/qs8-requantization/q31-ssse3.c", |
Marat Dukhan | 5b69f8b | 2020-07-24 15:26:48 -0700 | [diff] [blame] | 1739 | "src/qu8-requantization/precise-ssse3.c", |
| 1740 | "src/qu8-requantization/q31-ssse3.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1741 | ] |
| 1742 | |
Marat Dukhan | 69c3f2c | 2019-11-06 12:30:01 -0800 | [diff] [blame] | 1743 | SSE41_UKERNELS = [ |
Marat Dukhan | 40a672f | 2019-11-25 03:08:22 -0800 | [diff] [blame] | 1744 | "src/f32-prelu/gen/sse41-2x4.c", |
| 1745 | "src/f32-prelu/gen/sse41-2x8.c", |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 1746 | "src/f32-sigmoid/gen/sse41-p5-div-x4.c", |
Marat Dukhan | 40a672f | 2019-11-25 03:08:22 -0800 | [diff] [blame] | 1747 | "src/f32-sigmoid/gen/sse41-p5-div-x8.c", |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 1748 | "src/f32-sigmoid/gen/sse41-p5-div-x12.c", |
Marat Dukhan | 40a672f | 2019-11-25 03:08:22 -0800 | [diff] [blame] | 1749 | "src/f32-sigmoid/gen/sse41-p5-div-x16.c", |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 1750 | "src/f32-sigmoid/gen/sse41-p5-div-x20.c", |
| 1751 | "src/f32-sigmoid/gen/sse41-p5-div-x24.c", |
Marat Dukhan | 19dd91d | 2020-07-16 11:12:44 -0700 | [diff] [blame] | 1752 | "src/f32-vlrelu/gen/vlrelu-sse41-x4.c", |
| 1753 | "src/f32-vlrelu/gen/vlrelu-sse41-x8.c", |
Marat Dukhan | eecf8fd | 2020-06-09 08:59:37 -0700 | [diff] [blame] | 1754 | "src/f32-vrnd/gen/vrndne-sse41-x4.c", |
| 1755 | "src/f32-vrnd/gen/vrndne-sse41-x8.c", |
| 1756 | "src/f32-vrnd/gen/vrndz-sse41-x4.c", |
| 1757 | "src/f32-vrnd/gen/vrndz-sse41-x8.c", |
| 1758 | "src/f32-vrnd/gen/vrndu-sse41-x4.c", |
| 1759 | "src/f32-vrnd/gen/vrndu-sse41-x8.c", |
| 1760 | "src/f32-vrnd/gen/vrndd-sse41-x4.c", |
| 1761 | "src/f32-vrnd/gen/vrndd-sse41-x8.c", |
Marat Dukhan | 14d3ce8 | 2020-07-31 16:19:15 -0700 | [diff] [blame] | 1762 | "src/qs8-gemm/gen/1x4c2-minmax-sse41-ld64.c", |
| 1763 | "src/qs8-gemm/gen/4x4c2-minmax-sse41-ld64.c", |
Marat Dukhan | dee732b | 2020-07-31 17:32:04 -0700 | [diff] [blame] | 1764 | "src/qs8-gemm/gen/1x4c2-minmax-sse41-ld128.c", |
| 1765 | "src/qs8-gemm/gen/4x4c2-minmax-sse41-ld128.c", |
Marat Dukhan | 683fab3 | 2020-08-03 19:42:52 -0700 | [diff] [blame] | 1766 | "src/qs8-gemm/gen/1x4c2-xw-minmax-sse41.c", |
| 1767 | "src/qs8-gemm/gen/4x4c2-xw-minmax-sse41.c", |
Marat Dukhan | 14d3ce8 | 2020-07-31 16:19:15 -0700 | [diff] [blame] | 1768 | "src/qs8-gemm/gen/1x4c8-minmax-sse41-ld64.c", |
| 1769 | "src/qs8-gemm/gen/2x4c8-minmax-sse41-ld64.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1770 | "src/qs8-gemm/gen/3x4c8-minmax-sse41-ld64.c", |
Marat Dukhan | dee732b | 2020-07-31 17:32:04 -0700 | [diff] [blame] | 1771 | "src/qs8-gemm/gen/1x4c8-minmax-sse41-ld128.c", |
| 1772 | "src/qs8-gemm/gen/2x4c8-minmax-sse41-ld128.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1773 | "src/qs8-gemm/gen/3x4c8-minmax-sse41-ld128.c", |
Marat Dukhan | 683fab3 | 2020-08-03 19:42:52 -0700 | [diff] [blame] | 1774 | "src/qs8-gemm/gen/1x4c8-xw-minmax-sse41.c", |
| 1775 | "src/qs8-gemm/gen/2x4c8-xw-minmax-sse41.c", |
| 1776 | "src/qs8-gemm/gen/3x4c8-xw-minmax-sse41.c", |
Marat Dukhan | 14d3ce8 | 2020-07-31 16:19:15 -0700 | [diff] [blame] | 1777 | "src/qs8-igemm/gen/1x4c2-minmax-sse41-ld64.c", |
| 1778 | "src/qs8-igemm/gen/4x4c2-minmax-sse41-ld64.c", |
Marat Dukhan | dee732b | 2020-07-31 17:32:04 -0700 | [diff] [blame] | 1779 | "src/qs8-igemm/gen/1x4c2-minmax-sse41-ld128.c", |
| 1780 | "src/qs8-igemm/gen/4x4c2-minmax-sse41-ld128.c", |
Marat Dukhan | 07bd252 | 2020-07-31 19:12:39 -0700 | [diff] [blame] | 1781 | "src/qs8-igemm/gen/1x4c8-minmax-sse41-ld64.c", |
| 1782 | "src/qs8-igemm/gen/2x4c8-minmax-sse41-ld64.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1783 | "src/qs8-igemm/gen/3x4c8-minmax-sse41-ld64.c", |
Marat Dukhan | 07bd252 | 2020-07-31 19:12:39 -0700 | [diff] [blame] | 1784 | "src/qs8-igemm/gen/1x4c8-minmax-sse41-ld128.c", |
| 1785 | "src/qs8-igemm/gen/2x4c8-minmax-sse41-ld128.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1786 | "src/qs8-igemm/gen/3x4c8-minmax-sse41-ld128.c", |
Marat Dukhan | 2e23d2b | 2020-07-29 16:01:37 -0700 | [diff] [blame] | 1787 | "src/qs8-requantization/fp32-sse4.c", |
| 1788 | "src/qs8-requantization/precise-sse4.c", |
| 1789 | "src/qs8-requantization/q31-sse4.c", |
Marat Dukhan | 5b69f8b | 2020-07-24 15:26:48 -0700 | [diff] [blame] | 1790 | "src/qu8-requantization/precise-sse4.c", |
| 1791 | "src/qu8-requantization/q31-sse4.c", |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 1792 | "src/math/roundne-sse41.c", |
Marat Dukhan | c9852ba | 2020-05-13 17:21:29 -0700 | [diff] [blame] | 1793 | "src/math/roundd-sse41.c", |
| 1794 | "src/math/roundu-sse41.c", |
Marat Dukhan | 2dbb944 | 2020-05-12 20:43:43 -0700 | [diff] [blame] | 1795 | "src/math/roundz-sse41.c", |
Marat Dukhan | 69c3f2c | 2019-11-06 12:30:01 -0800 | [diff] [blame] | 1796 | ] |
| 1797 | |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1798 | AVX_UKERNELS = [ |
Marat Dukhan | 5c5fa96 | 2020-03-10 18:38:33 -0700 | [diff] [blame] | 1799 | "src/f32-clamp/gen/avx-x8.c", |
| 1800 | "src/f32-clamp/gen/avx-x16.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1801 | "src/f32-dwconv/gen/up16x4-minmax-avx-acc2.c", |
| 1802 | "src/f32-dwconv/gen/up16x4-minmax-avx.c", |
| 1803 | "src/f32-dwconv/gen/up8x4-minmax-avx-acc2.c", |
| 1804 | "src/f32-dwconv/gen/up8x4-minmax-avx.c", |
| 1805 | "src/f32-dwconv/gen/up16x9-minmax-avx-acc2.c", |
| 1806 | "src/f32-dwconv/gen/up16x9-minmax-avx.c", |
| 1807 | "src/f32-dwconv/gen/up8x9-minmax-avx-acc2.c", |
| 1808 | "src/f32-dwconv/gen/up8x9-minmax-avx.c", |
| 1809 | "src/f32-dwconv/gen/up16x25-minmax-avx-acc2.c", |
| 1810 | "src/f32-dwconv/gen/up16x25-minmax-avx.c", |
| 1811 | "src/f32-dwconv/gen/up8x25-minmax-avx-acc2.c", |
| 1812 | "src/f32-dwconv/gen/up8x25-minmax-avx.c", |
| 1813 | "src/f32-gemm/gen/1x8-minmax-avx-broadcast.c", |
| 1814 | "src/f32-gemm/gen/4x8-minmax-avx-broadcast.c", |
| 1815 | "src/f32-gemm/gen/5x8-minmax-avx-broadcast.c", |
| 1816 | "src/f32-gemm/gen/6x8-minmax-avx-broadcast.c", |
| 1817 | "src/f32-gemm/gen/7x8-minmax-avx-broadcast.c", |
| 1818 | "src/f32-gemm/gen/1x16-minmax-avx-broadcast.c", |
| 1819 | "src/f32-gemm/gen/3x16-minmax-avx-broadcast.c", |
| 1820 | "src/f32-gemm/gen/4x16-minmax-avx-broadcast.c", |
| 1821 | "src/f32-gemm/gen/5x16-minmax-avx-broadcast.c", |
| 1822 | "src/f32-gemm/gen-inc/1x8inc-minmax-avx-broadcast.c", |
| 1823 | "src/f32-gemm/gen-inc/4x8inc-minmax-avx-broadcast.c", |
| 1824 | "src/f32-gemm/gen-inc/5x8inc-minmax-avx-broadcast.c", |
| 1825 | "src/f32-gemm/gen-inc/6x8inc-minmax-avx-broadcast.c", |
| 1826 | "src/f32-gemm/gen-inc/7x8inc-minmax-avx-broadcast.c", |
| 1827 | "src/f32-gemm/gen-inc/1x16inc-minmax-avx-broadcast.c", |
| 1828 | "src/f32-gemm/gen-inc/3x16inc-minmax-avx-broadcast.c", |
| 1829 | "src/f32-gemm/gen-inc/4x16inc-minmax-avx-broadcast.c", |
| 1830 | "src/f32-gemm/gen-inc/5x16inc-minmax-avx-broadcast.c", |
Marat Dukhan | efaac27 | 2020-07-16 16:58:07 -0700 | [diff] [blame] | 1831 | "src/f32-hswish/gen/hswish-avx-x8.c", |
| 1832 | "src/f32-hswish/gen/hswish-avx-x16.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1833 | "src/f32-igemm/gen/1x8-minmax-avx-broadcast.c", |
| 1834 | "src/f32-igemm/gen/4x8-minmax-avx-broadcast.c", |
| 1835 | "src/f32-igemm/gen/5x8-minmax-avx-broadcast.c", |
| 1836 | "src/f32-igemm/gen/6x8-minmax-avx-broadcast.c", |
| 1837 | "src/f32-igemm/gen/7x8-minmax-avx-broadcast.c", |
| 1838 | "src/f32-igemm/gen/1x16-minmax-avx-broadcast.c", |
| 1839 | "src/f32-igemm/gen/3x16-minmax-avx-broadcast.c", |
| 1840 | "src/f32-igemm/gen/4x16-minmax-avx-broadcast.c", |
| 1841 | "src/f32-igemm/gen/5x16-minmax-avx-broadcast.c", |
Marat Dukhan | 90eca0a | 2020-03-11 00:52:23 -0700 | [diff] [blame] | 1842 | "src/f32-prelu/gen/avx-2x8.c", |
| 1843 | "src/f32-prelu/gen/avx-2x16.c", |
Frank Barchard | fb158e2 | 2020-07-15 16:10:10 -0700 | [diff] [blame] | 1844 | "src/f32-relu/gen/avx-x16.c", |
| 1845 | "src/f32-relu/gen/avx-x8.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1846 | "src/f32-rmax/avx.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 1847 | "src/f32-vbinary/gen/vadd-minmax-avx-x8.c", |
| 1848 | "src/f32-vbinary/gen/vadd-minmax-avx-x16.c", |
| 1849 | "src/f32-vbinary/gen/vaddc-minmax-avx-x8.c", |
| 1850 | "src/f32-vbinary/gen/vaddc-minmax-avx-x16.c", |
| 1851 | "src/f32-vbinary/gen/vdiv-minmax-avx-x8.c", |
| 1852 | "src/f32-vbinary/gen/vdiv-minmax-avx-x16.c", |
| 1853 | "src/f32-vbinary/gen/vdivc-minmax-avx-x8.c", |
| 1854 | "src/f32-vbinary/gen/vdivc-minmax-avx-x16.c", |
Marat Dukhan | 9a88efe | 2019-12-10 15:54:24 -0800 | [diff] [blame] | 1855 | "src/f32-vbinary/gen/vmax-avx-x8.c", |
| 1856 | "src/f32-vbinary/gen/vmax-avx-x16.c", |
| 1857 | "src/f32-vbinary/gen/vmaxc-avx-x8.c", |
| 1858 | "src/f32-vbinary/gen/vmaxc-avx-x16.c", |
| 1859 | "src/f32-vbinary/gen/vmin-avx-x8.c", |
| 1860 | "src/f32-vbinary/gen/vmin-avx-x16.c", |
| 1861 | "src/f32-vbinary/gen/vminc-avx-x8.c", |
| 1862 | "src/f32-vbinary/gen/vminc-avx-x16.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 1863 | "src/f32-vbinary/gen/vmul-minmax-avx-x8.c", |
| 1864 | "src/f32-vbinary/gen/vmul-minmax-avx-x16.c", |
| 1865 | "src/f32-vbinary/gen/vmulc-minmax-avx-x8.c", |
| 1866 | "src/f32-vbinary/gen/vmulc-minmax-avx-x16.c", |
| 1867 | "src/f32-vbinary/gen/vrdivc-minmax-avx-x8.c", |
| 1868 | "src/f32-vbinary/gen/vrdivc-minmax-avx-x16.c", |
| 1869 | "src/f32-vbinary/gen/vrsubc-minmax-avx-x8.c", |
| 1870 | "src/f32-vbinary/gen/vrsubc-minmax-avx-x16.c", |
Marat Dukhan | 13bafb0 | 2020-06-05 00:43:11 -0700 | [diff] [blame] | 1871 | "src/f32-vbinary/gen/vsqrdiff-avx-x8.c", |
| 1872 | "src/f32-vbinary/gen/vsqrdiff-avx-x16.c", |
| 1873 | "src/f32-vbinary/gen/vsqrdiffc-avx-x8.c", |
| 1874 | "src/f32-vbinary/gen/vsqrdiffc-avx-x16.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 1875 | "src/f32-vbinary/gen/vsub-minmax-avx-x8.c", |
| 1876 | "src/f32-vbinary/gen/vsub-minmax-avx-x16.c", |
| 1877 | "src/f32-vbinary/gen/vsubc-minmax-avx-x8.c", |
| 1878 | "src/f32-vbinary/gen/vsubc-minmax-avx-x16.c", |
Marat Dukhan | 19dd91d | 2020-07-16 11:12:44 -0700 | [diff] [blame] | 1879 | "src/f32-vlrelu/gen/vlrelu-avx-x8.c", |
| 1880 | "src/f32-vlrelu/gen/vlrelu-avx-x16.c", |
Marat Dukhan | 05ac8e3 | 2019-10-21 15:39:33 -0700 | [diff] [blame] | 1881 | "src/f32-vscale/avx-unroll32.c", |
Marat Dukhan | eecf8fd | 2020-06-09 08:59:37 -0700 | [diff] [blame] | 1882 | "src/f32-vrnd/gen/vrndne-avx-x8.c", |
| 1883 | "src/f32-vrnd/gen/vrndne-avx-x16.c", |
| 1884 | "src/f32-vrnd/gen/vrndz-avx-x8.c", |
| 1885 | "src/f32-vrnd/gen/vrndz-avx-x16.c", |
| 1886 | "src/f32-vrnd/gen/vrndu-avx-x8.c", |
| 1887 | "src/f32-vrnd/gen/vrndu-avx-x16.c", |
| 1888 | "src/f32-vrnd/gen/vrndd-avx-x8.c", |
| 1889 | "src/f32-vrnd/gen/vrndd-avx-x16.c", |
Marat Dukhan | f4db2f3 | 2020-06-30 10:55:30 -0700 | [diff] [blame] | 1890 | "src/f32-vsqrt/gen/avx-sqrt-x8.c", |
| 1891 | "src/f32-vsqrt/gen/avx-sqrt-x16.c", |
Marat Dukhan | 5020b96 | 2020-06-08 13:30:10 -0700 | [diff] [blame] | 1892 | "src/f32-vunary/gen/vabs-avx-x8.c", |
| 1893 | "src/f32-vunary/gen/vabs-avx-x16.c", |
| 1894 | "src/f32-vunary/gen/vneg-avx-x8.c", |
| 1895 | "src/f32-vunary/gen/vneg-avx-x16.c", |
| 1896 | "src/f32-vunary/gen/vsqr-avx-x8.c", |
| 1897 | "src/f32-vunary/gen/vsqr-avx-x16.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 1898 | ] |
| 1899 | |
Marat Dukhan | 1566fee | 2020-08-02 21:55:41 -0700 | [diff] [blame] | 1900 | XOP_UKERNELS = [ |
| 1901 | "src/qs8-gemm/gen/1x4c2-minmax-xop-ld64.c", |
| 1902 | "src/qs8-gemm/gen/4x4c2-minmax-xop-ld64.c", |
| 1903 | "src/qs8-gemm/gen/1x4c2-minmax-xop-ld128.c", |
| 1904 | "src/qs8-gemm/gen/4x4c2-minmax-xop-ld128.c", |
Marat Dukhan | 683fab3 | 2020-08-03 19:42:52 -0700 | [diff] [blame] | 1905 | "src/qs8-gemm/gen/1x4c2-xw-minmax-xop.c", |
| 1906 | "src/qs8-gemm/gen/4x4c2-xw-minmax-xop.c", |
Marat Dukhan | 1566fee | 2020-08-02 21:55:41 -0700 | [diff] [blame] | 1907 | "src/qs8-gemm/gen/1x4c8-minmax-xop-ld64.c", |
| 1908 | "src/qs8-gemm/gen/2x4c8-minmax-xop-ld64.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1909 | "src/qs8-gemm/gen/3x4c8-minmax-xop-ld64.c", |
Marat Dukhan | 1566fee | 2020-08-02 21:55:41 -0700 | [diff] [blame] | 1910 | "src/qs8-gemm/gen/1x4c8-minmax-xop-ld128.c", |
| 1911 | "src/qs8-gemm/gen/2x4c8-minmax-xop-ld128.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1912 | "src/qs8-gemm/gen/3x4c8-minmax-xop-ld128.c", |
Marat Dukhan | 683fab3 | 2020-08-03 19:42:52 -0700 | [diff] [blame] | 1913 | "src/qs8-gemm/gen/1x4c8-xw-minmax-xop.c", |
| 1914 | "src/qs8-gemm/gen/2x4c8-xw-minmax-xop.c", |
| 1915 | "src/qs8-gemm/gen/3x4c8-xw-minmax-xop.c", |
Marat Dukhan | 1566fee | 2020-08-02 21:55:41 -0700 | [diff] [blame] | 1916 | "src/qs8-igemm/gen/1x4c2-minmax-xop-ld64.c", |
| 1917 | "src/qs8-igemm/gen/4x4c2-minmax-xop-ld64.c", |
| 1918 | "src/qs8-igemm/gen/1x4c2-minmax-xop-ld128.c", |
| 1919 | "src/qs8-igemm/gen/4x4c2-minmax-xop-ld128.c", |
| 1920 | "src/qs8-igemm/gen/1x4c8-minmax-xop-ld64.c", |
| 1921 | "src/qs8-igemm/gen/2x4c8-minmax-xop-ld64.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1922 | "src/qs8-igemm/gen/3x4c8-minmax-xop-ld64.c", |
Marat Dukhan | 1566fee | 2020-08-02 21:55:41 -0700 | [diff] [blame] | 1923 | "src/qs8-igemm/gen/1x4c8-minmax-xop-ld128.c", |
| 1924 | "src/qs8-igemm/gen/2x4c8-minmax-xop-ld128.c", |
Marat Dukhan | e7edc80 | 2020-08-03 16:43:57 -0700 | [diff] [blame] | 1925 | "src/qs8-igemm/gen/3x4c8-minmax-xop-ld128.c", |
Marat Dukhan | 1566fee | 2020-08-02 21:55:41 -0700 | [diff] [blame] | 1926 | ] |
| 1927 | |
Marat Dukhan | fda12b8 | 2019-11-21 12:27:59 -0800 | [diff] [blame] | 1928 | FMA3_UKERNELS = [ |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1929 | "src/f32-dwconv/gen/up16x4-minmax-fma3-acc2.c", |
| 1930 | "src/f32-dwconv/gen/up16x4-minmax-fma3.c", |
| 1931 | "src/f32-dwconv/gen/up8x4-minmax-fma3-acc2.c", |
| 1932 | "src/f32-dwconv/gen/up8x4-minmax-fma3.c", |
| 1933 | "src/f32-dwconv/gen/up16x9-minmax-fma3-acc2.c", |
| 1934 | "src/f32-dwconv/gen/up16x9-minmax-fma3.c", |
| 1935 | "src/f32-dwconv/gen/up8x9-minmax-fma3-acc2.c", |
| 1936 | "src/f32-dwconv/gen/up8x9-minmax-fma3.c", |
| 1937 | "src/f32-dwconv/gen/up16x25-minmax-fma3-acc2.c", |
| 1938 | "src/f32-dwconv/gen/up16x25-minmax-fma3.c", |
| 1939 | "src/f32-dwconv/gen/up8x25-minmax-fma3-acc2.c", |
| 1940 | "src/f32-dwconv/gen/up8x25-minmax-fma3.c", |
| 1941 | "src/f32-gemm/gen/1x8-minmax-fma3-broadcast.c", |
| 1942 | "src/f32-gemm/gen/4x8-minmax-fma3-broadcast.c", |
| 1943 | "src/f32-gemm/gen/5x8-minmax-fma3-broadcast.c", |
| 1944 | "src/f32-gemm/gen/6x8-minmax-fma3-broadcast.c", |
| 1945 | "src/f32-gemm/gen/7x8-minmax-fma3-broadcast.c", |
| 1946 | "src/f32-gemm/gen/8x8-minmax-fma3-broadcast.c", |
| 1947 | "src/f32-gemm/gen/1x16-minmax-fma3-broadcast.c", |
| 1948 | "src/f32-gemm/gen/3x16-minmax-fma3-broadcast.c", |
| 1949 | "src/f32-gemm/gen/4x16-minmax-fma3-broadcast.c", |
| 1950 | "src/f32-gemm/gen/5x16-minmax-fma3-broadcast.c", |
| 1951 | "src/f32-gemm/gen/1x16s4-minmax-fma3-broadcast.c", |
| 1952 | "src/f32-gemm/gen/3x16s4-minmax-fma3-broadcast.c", |
| 1953 | "src/f32-gemm/gen/4x16s4-minmax-fma3-broadcast.c", |
| 1954 | "src/f32-gemm/gen/5x16s4-minmax-fma3-broadcast.c", |
| 1955 | "src/f32-gemm/gen-inc/1x8inc-minmax-fma3-broadcast.c", |
| 1956 | "src/f32-gemm/gen-inc/4x8inc-minmax-fma3-broadcast.c", |
| 1957 | "src/f32-gemm/gen-inc/5x8inc-minmax-fma3-broadcast.c", |
| 1958 | "src/f32-gemm/gen-inc/6x8inc-minmax-fma3-broadcast.c", |
| 1959 | "src/f32-gemm/gen-inc/7x8inc-minmax-fma3-broadcast.c", |
| 1960 | "src/f32-gemm/gen-inc/8x8inc-minmax-fma3-broadcast.c", |
| 1961 | "src/f32-gemm/gen-inc/1x16inc-minmax-fma3-broadcast.c", |
| 1962 | "src/f32-gemm/gen-inc/3x16inc-minmax-fma3-broadcast.c", |
| 1963 | "src/f32-gemm/gen-inc/4x16inc-minmax-fma3-broadcast.c", |
| 1964 | "src/f32-gemm/gen-inc/5x16inc-minmax-fma3-broadcast.c", |
| 1965 | "src/f32-gemm/gen-inc/1x16s4inc-minmax-fma3-broadcast.c", |
| 1966 | "src/f32-gemm/gen-inc/3x16s4inc-minmax-fma3-broadcast.c", |
| 1967 | "src/f32-gemm/gen-inc/4x16s4inc-minmax-fma3-broadcast.c", |
| 1968 | "src/f32-gemm/gen-inc/5x16s4inc-minmax-fma3-broadcast.c", |
Marat Dukhan | efaac27 | 2020-07-16 16:58:07 -0700 | [diff] [blame] | 1969 | "src/f32-hswish/gen/hswish-fma3-x8.c", |
| 1970 | "src/f32-hswish/gen/hswish-fma3-x16.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 1971 | "src/f32-igemm/gen/1x8-minmax-fma3-broadcast.c", |
| 1972 | "src/f32-igemm/gen/4x8-minmax-fma3-broadcast.c", |
| 1973 | "src/f32-igemm/gen/5x8-minmax-fma3-broadcast.c", |
| 1974 | "src/f32-igemm/gen/6x8-minmax-fma3-broadcast.c", |
| 1975 | "src/f32-igemm/gen/7x8-minmax-fma3-broadcast.c", |
| 1976 | "src/f32-igemm/gen/8x8-minmax-fma3-broadcast.c", |
| 1977 | "src/f32-igemm/gen/1x16-minmax-fma3-broadcast.c", |
| 1978 | "src/f32-igemm/gen/3x16-minmax-fma3-broadcast.c", |
| 1979 | "src/f32-igemm/gen/4x16-minmax-fma3-broadcast.c", |
| 1980 | "src/f32-igemm/gen/5x16-minmax-fma3-broadcast.c", |
| 1981 | "src/f32-igemm/gen/1x16s4-minmax-fma3-broadcast.c", |
| 1982 | "src/f32-igemm/gen/3x16s4-minmax-fma3-broadcast.c", |
| 1983 | "src/f32-igemm/gen/4x16s4-minmax-fma3-broadcast.c", |
| 1984 | "src/f32-igemm/gen/5x16s4-minmax-fma3-broadcast.c", |
Marat Dukhan | f4db2f3 | 2020-06-30 10:55:30 -0700 | [diff] [blame] | 1985 | "src/f32-vsqrt/gen/fma3-nr1fma1adj-x8.c", |
| 1986 | "src/f32-vsqrt/gen/fma3-nr1fma1adj-x16.c", |
| 1987 | "src/f32-vsqrt/gen/fma3-nr1fma1adj-x24.c", |
| 1988 | "src/f32-vsqrt/gen/fma3-nr1fma1adj-x32.c", |
| 1989 | "src/f32-vsqrt/gen/fma3-nr1fma1adj-x40.c", |
| 1990 | "src/f32-vsqrt/gen/fma3-nr1fma1adj-x48.c", |
| 1991 | "src/f32-vsqrt/gen/fma3-nr1fma1adj-x56.c", |
| 1992 | "src/f32-vsqrt/gen/fma3-nr1fma1adj-x64.c", |
Marat Dukhan | 8400076 | 2020-06-29 18:38:43 -0700 | [diff] [blame] | 1993 | "src/math/sqrt-fma3-nr1fma.c", |
| 1994 | "src/math/sqrt-fma3-nr2fma.c", |
| 1995 | "src/math/sqrt-fma3-nr1fma1adj.c", |
Marat Dukhan | fda12b8 | 2019-11-21 12:27:59 -0800 | [diff] [blame] | 1996 | ] |
| 1997 | |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 1998 | AVX2_UKERNELS = [ |
Marat Dukhan | 4c4eb00 | 2019-12-08 21:27:49 -0800 | [diff] [blame] | 1999 | "src/f32-raddexpminusmax/gen/avx2-p5-x64.c", |
| 2000 | "src/f32-raddexpminusmax/gen/avx2-p5-x64-acc2.c", |
| 2001 | "src/f32-raddexpminusmax/gen/avx2-p5-x64-acc4.c", |
| 2002 | "src/f32-raddexpminusmax/gen/avx2-p5-x72.c", |
| 2003 | "src/f32-raddexpminusmax/gen/avx2-p5-x72-acc3.c", |
| 2004 | "src/f32-raddexpminusmax/gen/avx2-p5-x80.c", |
| 2005 | "src/f32-raddexpminusmax/gen/avx2-p5-x80-acc2.c", |
| 2006 | "src/f32-raddexpminusmax/gen/avx2-p5-x80-acc5.c", |
| 2007 | "src/f32-raddexpminusmax/gen/avx2-p5-x96.c", |
| 2008 | "src/f32-raddexpminusmax/gen/avx2-p5-x96-acc2.c", |
| 2009 | "src/f32-raddexpminusmax/gen/avx2-p5-x96-acc3.c", |
| 2010 | "src/f32-raddexpminusmax/gen/avx2-p5-x96-acc6.c", |
| 2011 | "src/f32-raddextexp/gen/avx2-p5-x64.c", |
| 2012 | "src/f32-raddextexp/gen/avx2-p5-x64-acc2.c", |
| 2013 | "src/f32-raddextexp/gen/avx2-p5-x64-acc4.c", |
| 2014 | "src/f32-raddextexp/gen/avx2-p5-x72.c", |
| 2015 | "src/f32-raddextexp/gen/avx2-p5-x72-acc3.c", |
| 2016 | "src/f32-raddextexp/gen/avx2-p5-x80.c", |
| 2017 | "src/f32-raddextexp/gen/avx2-p5-x80-acc2.c", |
| 2018 | "src/f32-raddextexp/gen/avx2-p5-x80-acc5.c", |
| 2019 | "src/f32-raddextexp/gen/avx2-p5-x96.c", |
| 2020 | "src/f32-raddextexp/gen/avx2-p5-x96-acc2.c", |
| 2021 | "src/f32-raddextexp/gen/avx2-p5-x96-acc3.c", |
| 2022 | "src/f32-raddextexp/gen/avx2-p5-x96-acc6.c", |
| 2023 | "src/f32-raddstoreexpminusmax/gen/avx2-p5-x64.c", |
| 2024 | "src/f32-raddstoreexpminusmax/gen/avx2-p5-x64-acc2.c", |
| 2025 | "src/f32-raddstoreexpminusmax/gen/avx2-p5-x64-acc4.c", |
| 2026 | "src/f32-raddstoreexpminusmax/gen/avx2-p5-x72.c", |
| 2027 | "src/f32-raddstoreexpminusmax/gen/avx2-p5-x72-acc3.c", |
| 2028 | "src/f32-raddstoreexpminusmax/gen/avx2-p5-x80.c", |
| 2029 | "src/f32-raddstoreexpminusmax/gen/avx2-p5-x80-acc2.c", |
| 2030 | "src/f32-raddstoreexpminusmax/gen/avx2-p5-x80-acc5.c", |
| 2031 | "src/f32-raddstoreexpminusmax/gen/avx2-p5-x96.c", |
| 2032 | "src/f32-raddstoreexpminusmax/gen/avx2-p5-x96-acc2.c", |
| 2033 | "src/f32-raddstoreexpminusmax/gen/avx2-p5-x96-acc3.c", |
| 2034 | "src/f32-raddstoreexpminusmax/gen/avx2-p5-x96-acc6.c", |
Marat Dukhan | fa0a432 | 2020-01-06 16:14:29 -0800 | [diff] [blame] | 2035 | "src/f32-sigmoid/gen/avx2-rr1-p5-div-x8.c", |
| 2036 | "src/f32-sigmoid/gen/avx2-rr1-p5-div-x16.c", |
| 2037 | "src/f32-sigmoid/gen/avx2-rr1-p5-div-x24.c", |
| 2038 | "src/f32-sigmoid/gen/avx2-rr1-p5-div-x32.c", |
| 2039 | "src/f32-sigmoid/gen/avx2-rr1-p5-div-x40.c", |
| 2040 | "src/f32-sigmoid/gen/avx2-rr1-p5-div-x48.c", |
| 2041 | "src/f32-sigmoid/gen/avx2-rr1-p5-div-x56.c", |
| 2042 | "src/f32-sigmoid/gen/avx2-rr1-p5-div-x64.c", |
| 2043 | "src/f32-sigmoid/gen/avx2-rr1-p5-div-x72.c", |
| 2044 | "src/f32-sigmoid/gen/avx2-rr1-p5-div-x80.c", |
| 2045 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x8.c", |
| 2046 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x16.c", |
| 2047 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x24.c", |
| 2048 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x32.c", |
| 2049 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x40.c", |
| 2050 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x48.c", |
| 2051 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x56.c", |
| 2052 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x64.c", |
| 2053 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x72.c", |
| 2054 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x80.c", |
| 2055 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x8.c", |
| 2056 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x16.c", |
| 2057 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x24.c", |
| 2058 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x32.c", |
| 2059 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x40.c", |
| 2060 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x48.c", |
| 2061 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x56.c", |
| 2062 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x64.c", |
| 2063 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x72.c", |
| 2064 | "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x80.c", |
Marat Dukhan | 4c4eb00 | 2019-12-08 21:27:49 -0800 | [diff] [blame] | 2065 | "src/f32-vscaleexpminusmax/gen/avx2-p5-x8.c", |
| 2066 | "src/f32-vscaleexpminusmax/gen/avx2-p5-x16.c", |
| 2067 | "src/f32-vscaleexpminusmax/gen/avx2-p5-x24.c", |
| 2068 | "src/f32-vscaleexpminusmax/gen/avx2-p5-x32.c", |
| 2069 | "src/f32-vscaleexpminusmax/gen/avx2-p5-x40.c", |
| 2070 | "src/f32-vscaleexpminusmax/gen/avx2-p5-x48.c", |
| 2071 | "src/f32-vscaleexpminusmax/gen/avx2-p5-x56.c", |
| 2072 | "src/f32-vscaleexpminusmax/gen/avx2-p5-x64.c", |
| 2073 | "src/f32-vscaleexpminusmax/gen/avx2-p5-x72.c", |
| 2074 | "src/f32-vscaleexpminusmax/gen/avx2-p5-x80.c", |
| 2075 | "src/f32-vscaleexpminusmax/gen/avx2-p5-x88.c", |
| 2076 | "src/f32-vscaleexpminusmax/gen/avx2-p5-x96.c", |
| 2077 | "src/f32-vscaleextexp/gen/avx2-p5-x8.c", |
| 2078 | "src/f32-vscaleextexp/gen/avx2-p5-x16.c", |
| 2079 | "src/f32-vscaleextexp/gen/avx2-p5-x24.c", |
| 2080 | "src/f32-vscaleextexp/gen/avx2-p5-x32.c", |
| 2081 | "src/f32-vscaleextexp/gen/avx2-p5-x40.c", |
| 2082 | "src/f32-vscaleextexp/gen/avx2-p5-x48.c", |
| 2083 | "src/f32-vscaleextexp/gen/avx2-p5-x56.c", |
| 2084 | "src/f32-vscaleextexp/gen/avx2-p5-x64.c", |
| 2085 | "src/f32-vscaleextexp/gen/avx2-p5-x72.c", |
| 2086 | "src/f32-vscaleextexp/gen/avx2-p5-x80.c", |
| 2087 | "src/f32-vscaleextexp/gen/avx2-p5-x88.c", |
| 2088 | "src/f32-vscaleextexp/gen/avx2-p5-x96.c", |
Marat Dukhan | 1280952 | 2020-08-02 22:23:51 -0700 | [diff] [blame] | 2089 | "src/qs8-gemm/gen/1x8c8-minmax-avx2.c", |
| 2090 | "src/qs8-gemm/gen/2x8c8-minmax-avx2.c", |
| 2091 | "src/qs8-gemm/gen/3x8c8-minmax-avx2.c", |
Marat Dukhan | 683fab3 | 2020-08-03 19:42:52 -0700 | [diff] [blame] | 2092 | "src/qs8-gemm/gen/1x8c8-xw-minmax-avx2.c", |
| 2093 | "src/qs8-gemm/gen/2x8c8-xw-minmax-avx2.c", |
| 2094 | "src/qs8-gemm/gen/3x8c8-xw-minmax-avx2.c", |
Marat Dukhan | 1280952 | 2020-08-02 22:23:51 -0700 | [diff] [blame] | 2095 | "src/qs8-igemm/gen/1x8c8-minmax-avx2.c", |
| 2096 | "src/qs8-igemm/gen/2x8c8-minmax-avx2.c", |
| 2097 | "src/qs8-igemm/gen/3x8c8-minmax-avx2.c", |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 2098 | "src/math/exp-avx2-p5.c", |
| 2099 | "src/math/exp-avx2-perm-p3.c", |
| 2100 | "src/math/exp-avx2-perm-p4.c", |
Marat Dukhan | 515c977 | 2019-10-17 18:07:57 -0700 | [diff] [blame] | 2101 | "src/math/expminus-avx2-p5.c", |
Marat Dukhan | 98ba441 | 2019-10-23 02:14:28 -0700 | [diff] [blame] | 2102 | "src/math/extexp-avx2-p5.c", |
Marat Dukhan | 7241600 | 2020-01-05 21:53:19 -0800 | [diff] [blame] | 2103 | "src/math/sigmoid-avx2-rr2-p5-div.c", |
| 2104 | "src/math/sigmoid-avx2-rr1-p5-div.c", |
| 2105 | "src/math/sigmoid-avx2-rr2-p5-nr2fma.c", |
| 2106 | "src/math/sigmoid-avx2-rr1-p5-nr2fma.c", |
| 2107 | "src/math/sigmoid-avx2-rr2-p5-nr1fma.c", |
| 2108 | "src/math/sigmoid-avx2-rr1-p5-nr1fma.c", |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 2109 | ] |
| 2110 | |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2111 | AVX512F_UKERNELS = [ |
Marat Dukhan | 5c5fa96 | 2020-03-10 18:38:33 -0700 | [diff] [blame] | 2112 | "src/f32-clamp/gen/avx512f-x16.c", |
| 2113 | "src/f32-clamp/gen/avx512f-x32.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2114 | "src/f32-dwconv/gen/up32x4-minmax-avx512f-acc2.c", |
| 2115 | "src/f32-dwconv/gen/up32x4-minmax-avx512f.c", |
| 2116 | "src/f32-dwconv/gen/up16x4-minmax-avx512f-acc2.c", |
| 2117 | "src/f32-dwconv/gen/up16x4-minmax-avx512f.c", |
| 2118 | "src/f32-dwconv/gen/up32x9-minmax-avx512f-acc2.c", |
| 2119 | "src/f32-dwconv/gen/up32x9-minmax-avx512f.c", |
| 2120 | "src/f32-dwconv/gen/up16x9-minmax-avx512f-acc2.c", |
| 2121 | "src/f32-dwconv/gen/up16x9-minmax-avx512f.c", |
| 2122 | "src/f32-dwconv/gen/up32x25-minmax-avx512f-acc2.c", |
| 2123 | "src/f32-dwconv/gen/up32x25-minmax-avx512f.c", |
| 2124 | "src/f32-dwconv/gen/up16x25-minmax-avx512f-acc2.c", |
| 2125 | "src/f32-dwconv/gen/up16x25-minmax-avx512f.c", |
| 2126 | "src/f32-gemm/gen/1x16-minmax-avx512f-broadcast.c", |
| 2127 | "src/f32-gemm/gen/4x16-minmax-avx512f-broadcast.c", |
| 2128 | "src/f32-gemm/gen/5x16-minmax-avx512f-broadcast.c", |
| 2129 | "src/f32-gemm/gen/6x16-minmax-avx512f-broadcast.c", |
| 2130 | "src/f32-gemm/gen/7x16-minmax-avx512f-broadcast.c", |
| 2131 | "src/f32-gemm/gen/8x16-minmax-avx512f-broadcast.c", |
| 2132 | "src/f32-gemm/gen-inc/1x16inc-minmax-avx512f-broadcast.c", |
| 2133 | "src/f32-gemm/gen-inc/4x16inc-minmax-avx512f-broadcast.c", |
| 2134 | "src/f32-gemm/gen-inc/5x16inc-minmax-avx512f-broadcast.c", |
| 2135 | "src/f32-gemm/gen-inc/6x16inc-minmax-avx512f-broadcast.c", |
| 2136 | "src/f32-gemm/gen-inc/7x16inc-minmax-avx512f-broadcast.c", |
| 2137 | "src/f32-gemm/gen-inc/8x16inc-minmax-avx512f-broadcast.c", |
Marat Dukhan | efaac27 | 2020-07-16 16:58:07 -0700 | [diff] [blame] | 2138 | "src/f32-hswish/gen/hswish-avx512f-x16.c", |
| 2139 | "src/f32-hswish/gen/hswish-avx512f-x32.c", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2140 | "src/f32-igemm/gen/1x16-minmax-avx512f-broadcast.c", |
| 2141 | "src/f32-igemm/gen/4x16-minmax-avx512f-broadcast.c", |
| 2142 | "src/f32-igemm/gen/5x16-minmax-avx512f-broadcast.c", |
| 2143 | "src/f32-igemm/gen/6x16-minmax-avx512f-broadcast.c", |
| 2144 | "src/f32-igemm/gen/7x16-minmax-avx512f-broadcast.c", |
| 2145 | "src/f32-igemm/gen/8x16-minmax-avx512f-broadcast.c", |
Marat Dukhan | 90eca0a | 2020-03-11 00:52:23 -0700 | [diff] [blame] | 2146 | "src/f32-prelu/gen/avx512f-2x16.c", |
| 2147 | "src/f32-prelu/gen/avx512f-2x32.c", |
Marat Dukhan | 4c4eb00 | 2019-12-08 21:27:49 -0800 | [diff] [blame] | 2148 | "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x128.c", |
| 2149 | "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x128-acc2.c", |
| 2150 | "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x128-acc4.c", |
| 2151 | "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x144.c", |
| 2152 | "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x144-acc3.c", |
| 2153 | "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x160.c", |
| 2154 | "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x160-acc2.c", |
| 2155 | "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x160-acc5.c", |
| 2156 | "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x192.c", |
| 2157 | "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x192-acc2.c", |
| 2158 | "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x192-acc3.c", |
| 2159 | "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x192-acc6.c", |
| 2160 | "src/f32-raddextexp/gen/avx512f-p5-scalef-x128.c", |
| 2161 | "src/f32-raddextexp/gen/avx512f-p5-scalef-x128-acc2.c", |
| 2162 | "src/f32-raddextexp/gen/avx512f-p5-scalef-x128-acc4.c", |
| 2163 | "src/f32-raddextexp/gen/avx512f-p5-scalef-x144.c", |
| 2164 | "src/f32-raddextexp/gen/avx512f-p5-scalef-x144-acc3.c", |
| 2165 | "src/f32-raddextexp/gen/avx512f-p5-scalef-x160.c", |
| 2166 | "src/f32-raddextexp/gen/avx512f-p5-scalef-x160-acc2.c", |
| 2167 | "src/f32-raddextexp/gen/avx512f-p5-scalef-x160-acc5.c", |
| 2168 | "src/f32-raddextexp/gen/avx512f-p5-scalef-x192.c", |
| 2169 | "src/f32-raddextexp/gen/avx512f-p5-scalef-x192-acc2.c", |
| 2170 | "src/f32-raddextexp/gen/avx512f-p5-scalef-x192-acc3.c", |
| 2171 | "src/f32-raddextexp/gen/avx512f-p5-scalef-x192-acc6.c", |
| 2172 | "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x128.c", |
| 2173 | "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x128-acc2.c", |
| 2174 | "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x128-acc4.c", |
| 2175 | "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x144.c", |
| 2176 | "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x144-acc3.c", |
| 2177 | "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x160.c", |
| 2178 | "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x160-acc2.c", |
| 2179 | "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x160-acc5.c", |
| 2180 | "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x192.c", |
| 2181 | "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x192-acc2.c", |
| 2182 | "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x192-acc3.c", |
| 2183 | "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x192-acc6.c", |
Frank Barchard | fb158e2 | 2020-07-15 16:10:10 -0700 | [diff] [blame] | 2184 | "src/f32-relu/gen/avx512f-x16.c", |
| 2185 | "src/f32-relu/gen/avx512f-x32.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2186 | "src/f32-rmax/avx512f.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 2187 | "src/f32-vbinary/gen/vadd-minmax-avx512f-x16.c", |
| 2188 | "src/f32-vbinary/gen/vadd-minmax-avx512f-x32.c", |
| 2189 | "src/f32-vbinary/gen/vaddc-minmax-avx512f-x16.c", |
| 2190 | "src/f32-vbinary/gen/vaddc-minmax-avx512f-x32.c", |
| 2191 | "src/f32-vbinary/gen/vdiv-minmax-avx512f-x16.c", |
| 2192 | "src/f32-vbinary/gen/vdiv-minmax-avx512f-x32.c", |
| 2193 | "src/f32-vbinary/gen/vdivc-minmax-avx512f-x16.c", |
| 2194 | "src/f32-vbinary/gen/vdivc-minmax-avx512f-x32.c", |
Marat Dukhan | 9a88efe | 2019-12-10 15:54:24 -0800 | [diff] [blame] | 2195 | "src/f32-vbinary/gen/vmax-avx512f-x16.c", |
| 2196 | "src/f32-vbinary/gen/vmax-avx512f-x32.c", |
| 2197 | "src/f32-vbinary/gen/vmaxc-avx512f-x16.c", |
| 2198 | "src/f32-vbinary/gen/vmaxc-avx512f-x32.c", |
| 2199 | "src/f32-vbinary/gen/vmin-avx512f-x16.c", |
| 2200 | "src/f32-vbinary/gen/vmin-avx512f-x32.c", |
| 2201 | "src/f32-vbinary/gen/vminc-avx512f-x16.c", |
| 2202 | "src/f32-vbinary/gen/vminc-avx512f-x32.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 2203 | "src/f32-vbinary/gen/vmul-minmax-avx512f-x16.c", |
| 2204 | "src/f32-vbinary/gen/vmul-minmax-avx512f-x32.c", |
| 2205 | "src/f32-vbinary/gen/vmulc-minmax-avx512f-x16.c", |
| 2206 | "src/f32-vbinary/gen/vmulc-minmax-avx512f-x32.c", |
| 2207 | "src/f32-vbinary/gen/vrdivc-minmax-avx512f-x16.c", |
| 2208 | "src/f32-vbinary/gen/vrdivc-minmax-avx512f-x32.c", |
| 2209 | "src/f32-vbinary/gen/vrsubc-minmax-avx512f-x16.c", |
| 2210 | "src/f32-vbinary/gen/vrsubc-minmax-avx512f-x32.c", |
Marat Dukhan | 13bafb0 | 2020-06-05 00:43:11 -0700 | [diff] [blame] | 2211 | "src/f32-vbinary/gen/vsqrdiff-avx512f-x16.c", |
| 2212 | "src/f32-vbinary/gen/vsqrdiff-avx512f-x32.c", |
| 2213 | "src/f32-vbinary/gen/vsqrdiffc-avx512f-x16.c", |
| 2214 | "src/f32-vbinary/gen/vsqrdiffc-avx512f-x32.c", |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 2215 | "src/f32-vbinary/gen/vsub-minmax-avx512f-x16.c", |
| 2216 | "src/f32-vbinary/gen/vsub-minmax-avx512f-x32.c", |
| 2217 | "src/f32-vbinary/gen/vsubc-minmax-avx512f-x16.c", |
| 2218 | "src/f32-vbinary/gen/vsubc-minmax-avx512f-x32.c", |
Marat Dukhan | 19dd91d | 2020-07-16 11:12:44 -0700 | [diff] [blame] | 2219 | "src/f32-vlrelu/gen/vlrelu-avx512f-x16.c", |
| 2220 | "src/f32-vlrelu/gen/vlrelu-avx512f-x32.c", |
Marat Dukhan | 05ac8e3 | 2019-10-21 15:39:33 -0700 | [diff] [blame] | 2221 | "src/f32-vscale/avx512f-unroll64.c", |
Marat Dukhan | 4c4eb00 | 2019-12-08 21:27:49 -0800 | [diff] [blame] | 2222 | "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x16.c", |
| 2223 | "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x32.c", |
| 2224 | "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x48.c", |
| 2225 | "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x64.c", |
| 2226 | "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x80.c", |
| 2227 | "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x96.c", |
| 2228 | "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x112.c", |
| 2229 | "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x128.c", |
| 2230 | "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x144.c", |
| 2231 | "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x160.c", |
| 2232 | "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x176.c", |
| 2233 | "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x192.c", |
| 2234 | "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x16.c", |
| 2235 | "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x32.c", |
| 2236 | "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x48.c", |
| 2237 | "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x64.c", |
| 2238 | "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x80.c", |
| 2239 | "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x96.c", |
| 2240 | "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x112.c", |
| 2241 | "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x128.c", |
| 2242 | "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x144.c", |
| 2243 | "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x160.c", |
| 2244 | "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x176.c", |
| 2245 | "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x192.c", |
Marat Dukhan | eecf8fd | 2020-06-09 08:59:37 -0700 | [diff] [blame] | 2246 | "src/f32-vrnd/gen/vrndne-avx512f-x16.c", |
| 2247 | "src/f32-vrnd/gen/vrndne-avx512f-x32.c", |
| 2248 | "src/f32-vrnd/gen/vrndz-avx512f-x16.c", |
| 2249 | "src/f32-vrnd/gen/vrndz-avx512f-x32.c", |
| 2250 | "src/f32-vrnd/gen/vrndu-avx512f-x16.c", |
| 2251 | "src/f32-vrnd/gen/vrndu-avx512f-x32.c", |
| 2252 | "src/f32-vrnd/gen/vrndd-avx512f-x16.c", |
| 2253 | "src/f32-vrnd/gen/vrndd-avx512f-x32.c", |
Marat Dukhan | f4db2f3 | 2020-06-30 10:55:30 -0700 | [diff] [blame] | 2254 | "src/f32-vsqrt/gen/avx512f-nr1fma1adj-x16.c", |
| 2255 | "src/f32-vsqrt/gen/avx512f-nr1fma1adj-x32.c", |
| 2256 | "src/f32-vsqrt/gen/avx512f-nr1fma1adj-x48.c", |
| 2257 | "src/f32-vsqrt/gen/avx512f-nr1fma1adj-x64.c", |
| 2258 | "src/f32-vsqrt/gen/avx512f-nr1fma1adj-x80.c", |
| 2259 | "src/f32-vsqrt/gen/avx512f-nr1fma1adj-x96.c", |
| 2260 | "src/f32-vsqrt/gen/avx512f-nr1fma1adj-x112.c", |
| 2261 | "src/f32-vsqrt/gen/avx512f-nr1fma1adj-x128.c", |
Marat Dukhan | 5020b96 | 2020-06-08 13:30:10 -0700 | [diff] [blame] | 2262 | "src/f32-vunary/gen/vabs-avx512f-x16.c", |
| 2263 | "src/f32-vunary/gen/vabs-avx512f-x32.c", |
| 2264 | "src/f32-vunary/gen/vneg-avx512f-x16.c", |
| 2265 | "src/f32-vunary/gen/vneg-avx512f-x32.c", |
| 2266 | "src/f32-vunary/gen/vsqr-avx512f-x16.c", |
| 2267 | "src/f32-vunary/gen/vsqr-avx512f-x32.c", |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 2268 | "src/math/exp-avx512f-p5-scalef.c", |
| 2269 | "src/math/exp-avx512f-p5.c", |
| 2270 | "src/math/exp-avx512f-perm-p3.c", |
Marat Dukhan | feb4923 | 2019-10-28 11:03:31 -0700 | [diff] [blame] | 2271 | "src/math/exp-avx512f-perm2-p2.c", |
Marat Dukhan | 98ba441 | 2019-10-23 02:14:28 -0700 | [diff] [blame] | 2272 | "src/math/extexp-avx512f-p5.c", |
Marat Dukhan | 8400076 | 2020-06-29 18:38:43 -0700 | [diff] [blame] | 2273 | "src/math/sqrt-avx512f-nr1fma.c", |
| 2274 | "src/math/sqrt-avx512f-nr2fma.c", |
| 2275 | "src/math/sqrt-avx512f-nr1fma1adj.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2276 | ] |
| 2277 | |
| 2278 | AARCH32_ASM_UKERNELS = [ |
Marat Dukhan | 32f9381 | 2020-05-17 20:31:21 -0700 | [diff] [blame] | 2279 | "src/f32-gemm/4x4-aarch32-vfp-ld64.S", |
Marat Dukhan | 3b98f6b | 2020-05-17 10:09:22 -0700 | [diff] [blame] | 2280 | "src/f32-gemm/4x4-minmax-aarch32-vfp-ld64.S", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2281 | "src/f32-gemm/4x8-minmax-aarch32-neon-cortex-a53.S", |
| 2282 | "src/f32-gemm/4x8-minmax-aarch32-neon-cortex-a55.S", |
Frank Barchard | 490febe | 2020-07-16 18:42:17 -0700 | [diff] [blame] | 2283 | "src/f32-gemm/gen/4x8-minmax-aarch32-neon-cortex-a7.S", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2284 | "src/f32-gemm/gen/4x8-minmax-aarch32-neon-cortex-a75.S", |
Frank Barchard | 569561d | 2020-06-17 13:11:12 -0700 | [diff] [blame] | 2285 | "src/f32-gemm/gen/4x8-minmax-aarch32-neon-ld64.S", |
Frank Barchard | 490febe | 2020-07-16 18:42:17 -0700 | [diff] [blame] | 2286 | "src/f32-gemm/gen/4x8-minmax-aarch32-neon-pld-cortex-a75.S", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2287 | "src/f32-igemm/4x8-minmax-aarch32-neon-cortex-a53.S", |
| 2288 | "src/f32-igemm/4x8-minmax-aarch32-neon-cortex-a55.S", |
Frank Barchard | 490febe | 2020-07-16 18:42:17 -0700 | [diff] [blame] | 2289 | "src/f32-igemm/gen/4x8-minmax-aarch32-neon-cortex-a7.S", |
| 2290 | "src/f32-igemm/gen/4x8-minmax-aarch32-neon-cortex-a75.S", |
| 2291 | "src/f32-igemm/gen/4x8-minmax-aarch32-neon-ld64.S", |
| 2292 | "src/f32-igemm/gen/4x8-minmax-aarch32-neon-pld-cortex-a75.S", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2293 | ] |
| 2294 | |
| 2295 | AARCH64_ASM_UKERNELS = [ |
Frank Barchard | 36b76b6 | 2020-04-10 12:39:17 -0700 | [diff] [blame] | 2296 | "src/f16-gemm/gen/1x16-minmax-aarch64-neonfp16arith-ld32.S", |
Frank Barchard | 683f559 | 2020-04-10 00:48:26 -0700 | [diff] [blame] | 2297 | "src/f16-gemm/gen/4x16-minmax-aarch64-neonfp16arith-ld32.S", |
| 2298 | "src/f16-gemm/gen/6x16-minmax-aarch64-neonfp16arith-ld32.S", |
Frank Barchard | 36b76b6 | 2020-04-10 12:39:17 -0700 | [diff] [blame] | 2299 | "src/f16-gemm/gen-inc/1x16inc-minmax-aarch64-neonfp16arith-ld32.S", |
Frank Barchard | 683f559 | 2020-04-10 00:48:26 -0700 | [diff] [blame] | 2300 | "src/f16-gemm/gen-inc/4x16inc-minmax-aarch64-neonfp16arith-ld32.S", |
| 2301 | "src/f16-gemm/gen-inc/6x16inc-minmax-aarch64-neonfp16arith-ld32.S", |
Frank Barchard | bddfbcd | 2020-04-15 12:32:41 -0700 | [diff] [blame] | 2302 | "src/f16-gemm/gen/1x8-minmax-aarch64-neonfp16arith-ld64.S", |
| 2303 | "src/f16-gemm/gen/4x8-minmax-aarch64-neonfp16arith-ld64.S", |
| 2304 | "src/f16-gemm/gen/6x8-minmax-aarch64-neonfp16arith-ld64.S", |
Frank Barchard | 3b8e566 | 2020-04-20 12:12:53 -0700 | [diff] [blame] | 2305 | "src/f16-gemm/gen/8x8-minmax-aarch64-neonfp16arith-ld64.S", |
Frank Barchard | bddfbcd | 2020-04-15 12:32:41 -0700 | [diff] [blame] | 2306 | "src/f16-gemm/gen-inc/1x8inc-minmax-aarch64-neonfp16arith-ld64.S", |
| 2307 | "src/f16-gemm/gen-inc/4x8inc-minmax-aarch64-neonfp16arith-ld64.S", |
| 2308 | "src/f16-gemm/gen-inc/6x8inc-minmax-aarch64-neonfp16arith-ld64.S", |
Frank Barchard | 3b8e566 | 2020-04-20 12:12:53 -0700 | [diff] [blame] | 2309 | "src/f16-gemm/gen-inc/8x8inc-minmax-aarch64-neonfp16arith-ld64.S", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2310 | "src/f32-dwconv/up4x9-minmax-aarch64-neonfma-cortex-a55.S", |
| 2311 | "src/f32-dwconv/up4x9-minmax-aarch64-neonfma.S", |
Frank Barchard | 3cb54f9 | 2020-04-10 10:46:08 -0700 | [diff] [blame] | 2312 | "src/f32-gemm/gen/1x8-minmax-aarch64-neonfma-ld64.S", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2313 | "src/f32-gemm/gen/1x12-minmax-aarch64-neonfma-cortex-a53.S", |
| 2314 | "src/f32-gemm/gen/1x8-minmax-aarch64-neonfma-cortex-a53.S", |
| 2315 | "src/f32-gemm/gen/1x8-minmax-aarch64-neonfma-cortex-a57.S", |
| 2316 | "src/f32-gemm/gen/1x8-minmax-aarch64-neonfma-cortex-a75.S", |
| 2317 | "src/f32-gemm/gen/4x12-minmax-aarch64-neonfma-cortex-a53.S", |
| 2318 | "src/f32-gemm/gen/4x8-minmax-aarch64-neonfma-cortex-a53.S", |
| 2319 | "src/f32-gemm/gen/4x8-minmax-aarch64-neonfma-cortex-a55.S", |
| 2320 | "src/f32-gemm/gen/4x8-minmax-aarch64-neonfma-cortex-a57.S", |
| 2321 | "src/f32-gemm/gen/4x8-minmax-aarch64-neonfma-cortex-a75.S", |
| 2322 | "src/f32-gemm/gen/4x8-minmax-aarch64-neonfma-ld128.S", |
| 2323 | "src/f32-gemm/gen/4x8-minmax-aarch64-neonfma-ld64.S", |
| 2324 | "src/f32-gemm/gen/5x8-minmax-aarch64-neonfma-cortex-a57.S", |
| 2325 | "src/f32-gemm/gen/5x8-minmax-aarch64-neonfma-cortex-a75.S", |
| 2326 | "src/f32-gemm/gen/6x8-minmax-aarch64-neonfma-cortex-a53.S", |
| 2327 | "src/f32-gemm/gen/6x8-minmax-aarch64-neonfma-cortex-a55.S", |
| 2328 | "src/f32-gemm/gen/6x8-minmax-aarch64-neonfma-cortex-a73.S", |
| 2329 | "src/f32-gemm/gen/6x8-minmax-aarch64-neonfma-cortex-a57.S", |
| 2330 | "src/f32-gemm/gen/6x8-minmax-aarch64-neonfma-cortex-a75.S", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2331 | "src/f32-gemm/gen/6x8-minmax-aarch64-neonfma-ld128.S", |
| 2332 | "src/f32-gemm/gen/6x8-minmax-aarch64-neonfma-ld64.S", |
Frank Barchard | 3cb54f9 | 2020-04-10 10:46:08 -0700 | [diff] [blame] | 2333 | "src/f32-gemm/gen-inc/1x8inc-minmax-aarch64-neonfma-ld64.S", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2334 | "src/f32-gemm/gen-inc/1x12inc-minmax-aarch64-neonfma-cortex-a53.S", |
| 2335 | "src/f32-gemm/gen-inc/1x8inc-minmax-aarch64-neonfma-cortex-a53.S", |
| 2336 | "src/f32-gemm/gen-inc/1x8inc-minmax-aarch64-neonfma-cortex-a57.S", |
| 2337 | "src/f32-gemm/gen-inc/1x8inc-minmax-aarch64-neonfma-cortex-a75.S", |
| 2338 | "src/f32-gemm/gen-inc/4x12inc-minmax-aarch64-neonfma-cortex-a53.S", |
| 2339 | "src/f32-gemm/gen-inc/4x8inc-minmax-aarch64-neonfma-cortex-a53.S", |
| 2340 | "src/f32-gemm/gen-inc/4x8inc-minmax-aarch64-neonfma-cortex-a55.S", |
| 2341 | "src/f32-gemm/gen-inc/4x8inc-minmax-aarch64-neonfma-cortex-a57.S", |
| 2342 | "src/f32-gemm/gen-inc/4x8inc-minmax-aarch64-neonfma-cortex-a75.S", |
| 2343 | "src/f32-gemm/gen-inc/4x8inc-minmax-aarch64-neonfma-ld128.S", |
| 2344 | "src/f32-gemm/gen-inc/4x8inc-minmax-aarch64-neonfma-ld64.S", |
| 2345 | "src/f32-gemm/gen-inc/5x8inc-minmax-aarch64-neonfma-cortex-a57.S", |
| 2346 | "src/f32-gemm/gen-inc/5x8inc-minmax-aarch64-neonfma-cortex-a75.S", |
| 2347 | "src/f32-gemm/gen-inc/6x8inc-minmax-aarch64-neonfma-cortex-a53.S", |
| 2348 | "src/f32-gemm/gen-inc/6x8inc-minmax-aarch64-neonfma-cortex-a55.S", |
| 2349 | "src/f32-gemm/gen-inc/6x8inc-minmax-aarch64-neonfma-cortex-a73.S", |
| 2350 | "src/f32-gemm/gen-inc/6x8inc-minmax-aarch64-neonfma-cortex-a57.S", |
| 2351 | "src/f32-gemm/gen-inc/6x8inc-minmax-aarch64-neonfma-cortex-a75.S", |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 2352 | "src/f32-gemm/gen-inc/6x8inc-minmax-aarch64-neonfma-ld128.S", |
| 2353 | "src/f32-gemm/gen-inc/6x8inc-minmax-aarch64-neonfma-ld64.S", |
| 2354 | "src/f32-igemm/1x12-minmax-aarch64-neonfma-cortex-a53.S", |
| 2355 | "src/f32-igemm/1x8-minmax-aarch64-neonfma-cortex-a53.S", |
| 2356 | "src/f32-igemm/gen/1x8-minmax-aarch64-neonfma-cortex-a57.S", |
| 2357 | "src/f32-igemm/gen/1x8-minmax-aarch64-neonfma-cortex-a75.S", |
| 2358 | "src/f32-igemm/4x12-minmax-aarch64-neonfma-cortex-a53.S", |
| 2359 | "src/f32-igemm/4x8-minmax-aarch64-neonfma-cortex-a53.S", |
| 2360 | "src/f32-igemm/4x8-minmax-aarch64-neonfma-cortex-a55.S", |
| 2361 | "src/f32-igemm/gen/4x8-minmax-aarch64-neonfma-cortex-a57.S", |
| 2362 | "src/f32-igemm/gen/4x8-minmax-aarch64-neonfma-cortex-a75.S", |
| 2363 | "src/f32-igemm/gen/5x8-minmax-aarch64-neonfma-cortex-a57.S", |
| 2364 | "src/f32-igemm/gen/5x8-minmax-aarch64-neonfma-cortex-a75.S", |
| 2365 | "src/f32-igemm/6x8-minmax-aarch64-neonfma-cortex-a53.S", |
| 2366 | "src/f32-igemm/6x8-minmax-aarch64-neonfma-cortex-a55.S", |
| 2367 | "src/f32-igemm/6x8-minmax-aarch64-neonfma-cortex-a73.S", |
| 2368 | "src/f32-igemm/gen/6x8-minmax-aarch64-neonfma-cortex-a57.S", |
| 2369 | "src/f32-igemm/gen/6x8-minmax-aarch64-neonfma-cortex-a75.S", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2370 | ] |
| 2371 | |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 2372 | INTERNAL_MICROKERNEL_HDRS = [ |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2373 | "src/xnnpack/argmaxpool.h", |
| 2374 | "src/xnnpack/avgpool.h", |
| 2375 | "src/xnnpack/clamp.h", |
| 2376 | "src/xnnpack/common.h", |
| 2377 | "src/xnnpack/conv.h", |
| 2378 | "src/xnnpack/dwconv.h", |
| 2379 | "src/xnnpack/gavgpool.h", |
| 2380 | "src/xnnpack/gemm.h", |
Marat Dukhan | 3bb3bfc | 2020-05-19 17:42:46 -0700 | [diff] [blame] | 2381 | "src/xnnpack/fill.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2382 | "src/xnnpack/hswish.h", |
Marat Dukhan | 660fd19 | 2020-03-10 04:55:30 -0700 | [diff] [blame] | 2383 | "src/xnnpack/ibilinear.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2384 | "src/xnnpack/igemm.h", |
Marat Dukhan | cfb3134 | 2019-12-05 10:42:57 -0800 | [diff] [blame] | 2385 | "src/xnnpack/intrinsics-polyfill.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2386 | "src/xnnpack/lut.h", |
| 2387 | "src/xnnpack/math.h", |
| 2388 | "src/xnnpack/maxpool.h", |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2389 | "src/xnnpack/memory.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2390 | "src/xnnpack/packx.h", |
| 2391 | "src/xnnpack/pad.h", |
| 2392 | "src/xnnpack/params.h", |
| 2393 | "src/xnnpack/pavgpool.h", |
| 2394 | "src/xnnpack/ppmm.h", |
| 2395 | "src/xnnpack/prelu.h", |
Marat Dukhan | 9757953 | 2019-10-18 16:40:39 -0700 | [diff] [blame] | 2396 | "src/xnnpack/raddexpminusmax.h", |
Marat Dukhan | 6f8d4d3 | 2019-10-25 17:07:09 -0700 | [diff] [blame] | 2397 | "src/xnnpack/raddextexp.h", |
Marat Dukhan | 9757953 | 2019-10-18 16:40:39 -0700 | [diff] [blame] | 2398 | "src/xnnpack/raddstoreexpminusmax.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2399 | "src/xnnpack/rmax.h", |
| 2400 | "src/xnnpack/scalar-utils.h", |
| 2401 | "src/xnnpack/spmm.h", |
| 2402 | "src/xnnpack/unpool.h", |
| 2403 | "src/xnnpack/vadd.h", |
Marat Dukhan | 1e782c4 | 2019-11-21 17:02:40 -0800 | [diff] [blame] | 2404 | "src/xnnpack/vbinary.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2405 | "src/xnnpack/vmulcaddc.h", |
Marat Dukhan | 05ac8e3 | 2019-10-21 15:39:33 -0700 | [diff] [blame] | 2406 | "src/xnnpack/vscale.h", |
Marat Dukhan | 9757953 | 2019-10-18 16:40:39 -0700 | [diff] [blame] | 2407 | "src/xnnpack/vscaleexpminusmax.h", |
Marat Dukhan | 6f8d4d3 | 2019-10-25 17:07:09 -0700 | [diff] [blame] | 2408 | "src/xnnpack/vscaleextexp.h", |
Marat Dukhan | 1e782c4 | 2019-11-21 17:02:40 -0800 | [diff] [blame] | 2409 | "src/xnnpack/vunary.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2410 | "src/xnnpack/zip.h", |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 2411 | ] |
| 2412 | |
| 2413 | INTERNAL_HDRS = INTERNAL_MICROKERNEL_HDRS + [ |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2414 | "include/xnnpack.h", |
| 2415 | "src/xnnpack/allocator.h", |
| 2416 | "src/xnnpack/compute.h", |
| 2417 | "src/xnnpack/im2col.h", |
| 2418 | "src/xnnpack/indirection.h", |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 2419 | "src/xnnpack/math-stubs.h", |
Chao Mei | 6ddfc60 | 2020-05-13 22:29:36 -0700 | [diff] [blame] | 2420 | "src/xnnpack/memory-planner.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2421 | "src/xnnpack/operator.h", |
| 2422 | "src/xnnpack/pack.h", |
Marat Dukhan | eeaa7bd | 2019-10-25 17:31:25 -0700 | [diff] [blame] | 2423 | "src/xnnpack/params-init.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2424 | "src/xnnpack/requantization-stubs.h", |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 2425 | "src/xnnpack/requantization.h", |
Marat Dukhan | 1d75a54 | 2020-02-03 12:23:01 -0800 | [diff] [blame] | 2426 | "src/xnnpack/subgraph.h", |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 2427 | ] |
| 2428 | |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 2429 | ACCURACY_EVAL_HDRS = INTERNAL_MICROKERNEL_HDRS + [ |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 2430 | "src/xnnpack/math-stubs.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2431 | ] |
| 2432 | |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 2433 | MICROKERNEL_BENCHMARK_HDRS = INTERNAL_MICROKERNEL_HDRS + [ |
Marat Dukhan | eeaa7bd | 2019-10-25 17:31:25 -0700 | [diff] [blame] | 2434 | "src/xnnpack/params-init.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2435 | "include/xnnpack.h", |
| 2436 | ] |
| 2437 | |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 2438 | MICROKERNEL_TEST_HDRS = INTERNAL_MICROKERNEL_HDRS + [ |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2439 | "src/xnnpack/isa-checks.h", |
Marat Dukhan | eeaa7bd | 2019-10-25 17:31:25 -0700 | [diff] [blame] | 2440 | "src/xnnpack/params-init.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2441 | "src/xnnpack/requantization.h", |
| 2442 | "include/xnnpack.h", |
| 2443 | ] |
| 2444 | |
| 2445 | OPERATOR_TEST_PARAMS_HDRS = [ |
| 2446 | "src/xnnpack/params.h", |
| 2447 | "src/xnnpack/common.h", |
| 2448 | ] |
| 2449 | |
| 2450 | WEIGHTS_PACK_HDRS = [ |
| 2451 | "src/xnnpack/pack.h", |
| 2452 | "src/xnnpack/operator.h", |
| 2453 | "src/xnnpack/compute.h", |
| 2454 | ] |
| 2455 | |
Marat Dukhan | c8e00eb | 2019-10-04 14:55:26 -0700 | [diff] [blame] | 2456 | LOGGING_COPTS = select({ |
| 2457 | # No logging in optimized mode |
| 2458 | ":optimized_build": ["-DXNN_LOG_LEVEL=0"], |
| 2459 | # Full logging in debug mode |
| 2460 | ":debug_build": ["-DXNN_LOG_LEVEL=5"], |
| 2461 | # Error-only logging in default (fastbuild) mode |
| 2462 | "//conditions:default": ["-DXNN_LOG_LEVEL=2"], |
| 2463 | }) |
| 2464 | |
Marat Dukhan | 3b59de2 | 2020-06-03 20:15:19 -0700 | [diff] [blame] | 2465 | LOGGING_SRCS = select({ |
| 2466 | # No logging in optimized mode |
| 2467 | ":optimized_build": [], |
| 2468 | "//conditions:default": [ |
| 2469 | "src/operator-strings.c", |
| 2470 | "src/subgraph-strings.c", |
| 2471 | ], |
| 2472 | }) |
| 2473 | |
Marat Dukhan | c8e00eb | 2019-10-04 14:55:26 -0700 | [diff] [blame] | 2474 | LOGGING_HDRS = [ |
| 2475 | "src/xnnpack/log.h", |
| 2476 | ] |
| 2477 | |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2478 | xnnpack_cc_library( |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 2479 | name = "tables", |
| 2480 | srcs = TABLE_SRCS, |
| 2481 | hdrs = INTERNAL_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 2482 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2483 | msvc_copts = xnnpack_msvc_std_copts(), |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 2484 | ) |
| 2485 | |
| 2486 | xnnpack_cc_library( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2487 | name = "scalar_ukernels", |
| 2488 | srcs = SCALAR_UKERNELS, |
| 2489 | hdrs = INTERNAL_HDRS, |
| 2490 | aarch32_copts = ["-marm"], |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 2491 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2492 | msvc_copts = xnnpack_msvc_std_copts(), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2493 | deps = [ |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 2494 | ":tables", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2495 | "@FP16", |
| 2496 | "@FXdiv", |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2497 | "@pthreadpool", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2498 | ], |
| 2499 | ) |
| 2500 | |
| 2501 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2502 | name = "scalar_ukernels_test_mode", |
| 2503 | srcs = SCALAR_UKERNELS, |
| 2504 | hdrs = INTERNAL_HDRS, |
| 2505 | aarch32_copts = ["-marm"], |
| 2506 | copts = [ |
| 2507 | "-UNDEBUG", |
| 2508 | "-DXNN_TEST_MODE=1", |
| 2509 | ], |
| 2510 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2511 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2512 | deps = [ |
| 2513 | ":tables", |
| 2514 | "@FP16", |
| 2515 | "@FXdiv", |
| 2516 | "@pthreadpool", |
| 2517 | ], |
| 2518 | ) |
| 2519 | |
| 2520 | xnnpack_cc_library( |
Marat Dukhan | 436ebe6 | 2019-12-04 15:10:12 -0800 | [diff] [blame] | 2521 | name = "wasm_ukernels", |
| 2522 | hdrs = INTERNAL_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 2523 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2524 | msvc_copts = xnnpack_msvc_std_copts(), |
Marat Dukhan | 436ebe6 | 2019-12-04 15:10:12 -0800 | [diff] [blame] | 2525 | wasm_srcs = WASM_UKERNELS, |
Marat Dukhan | 1c6e389 | 2020-06-25 23:56:10 -0700 | [diff] [blame] | 2526 | wasmsimd_srcs = WASM_UKERNELS + WASMSIMD_UKERNELS, |
Marat Dukhan | 436ebe6 | 2019-12-04 15:10:12 -0800 | [diff] [blame] | 2527 | deps = [ |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 2528 | ":tables", |
Marat Dukhan | 436ebe6 | 2019-12-04 15:10:12 -0800 | [diff] [blame] | 2529 | "@FP16", |
| 2530 | "@FXdiv", |
| 2531 | "@pthreadpool", |
| 2532 | ], |
| 2533 | ) |
| 2534 | |
| 2535 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2536 | name = "wasm_ukernels_test_mode", |
| 2537 | hdrs = INTERNAL_HDRS, |
| 2538 | copts = [ |
| 2539 | "-UNDEBUG", |
| 2540 | "-DXNN_TEST_MODE=1", |
| 2541 | ], |
| 2542 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2543 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2544 | wasm_srcs = WASM_UKERNELS, |
Marat Dukhan | 0e97d6f | 2020-06-26 19:35:09 -0700 | [diff] [blame] | 2545 | wasmsimd_srcs = WASM_UKERNELS + WASMSIMD_UKERNELS, |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2546 | deps = [ |
| 2547 | ":tables", |
| 2548 | "@FP16", |
| 2549 | "@FXdiv", |
| 2550 | "@pthreadpool", |
| 2551 | ], |
| 2552 | ) |
| 2553 | |
| 2554 | xnnpack_cc_library( |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 2555 | name = "psimd_fastmath_ukernels", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2556 | hdrs = INTERNAL_HDRS, |
| 2557 | aarch32_copts = [ |
| 2558 | "-marm", |
| 2559 | "-mfpu=neon", |
| 2560 | ], |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 2561 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2562 | gcc_x86_copts = ["-msse2"], |
| 2563 | msvc_copts = xnnpack_msvc_std_copts(), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2564 | optimized_copts = [ |
| 2565 | "-O3", |
| 2566 | "-ffast-math", |
| 2567 | ], |
Marat Dukhan | 500b889 | 2020-04-15 17:09:50 -0700 | [diff] [blame] | 2568 | psimd_srcs = PSIMD_FASTMATH_UKERNELS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2569 | deps = [ |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 2570 | ":tables", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2571 | "@FP16", |
| 2572 | "@psimd", |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2573 | "@pthreadpool", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2574 | ], |
| 2575 | ) |
| 2576 | |
| 2577 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2578 | name = "psimd_fastmath_ukernels_test_mode", |
| 2579 | hdrs = INTERNAL_HDRS, |
| 2580 | aarch32_copts = [ |
| 2581 | "-marm", |
| 2582 | "-mfpu=neon", |
| 2583 | ], |
| 2584 | copts = [ |
| 2585 | "-UNDEBUG", |
| 2586 | "-DXNN_TEST_MODE=1", |
| 2587 | ], |
| 2588 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2589 | gcc_x86_copts = ["-msse2"], |
| 2590 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2591 | optimized_copts = [ |
| 2592 | "-O3", |
| 2593 | "-ffast-math", |
| 2594 | ], |
| 2595 | psimd_srcs = PSIMD_FASTMATH_UKERNELS, |
| 2596 | deps = [ |
| 2597 | ":tables", |
| 2598 | "@FP16", |
| 2599 | "@psimd", |
| 2600 | "@pthreadpool", |
| 2601 | ], |
| 2602 | ) |
| 2603 | |
| 2604 | xnnpack_cc_library( |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 2605 | name = "psimd_accmath_ukernels", |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 2606 | hdrs = INTERNAL_HDRS, |
| 2607 | aarch32_copts = [ |
| 2608 | "-marm", |
| 2609 | "-mfpu=neon", |
| 2610 | ], |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 2611 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2612 | gcc_x86_copts = ["-msse2"], |
| 2613 | msvc_copts = xnnpack_msvc_std_copts(), |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 2614 | optimized_copts = [ |
| 2615 | "-O3", |
| 2616 | ], |
Marat Dukhan | 500b889 | 2020-04-15 17:09:50 -0700 | [diff] [blame] | 2617 | psimd_srcs = PSIMD_ACCMATH_UKERNELS, |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 2618 | deps = [ |
| 2619 | ":tables", |
| 2620 | "@FP16", |
| 2621 | "@psimd", |
| 2622 | "@pthreadpool", |
| 2623 | ], |
| 2624 | ) |
| 2625 | |
| 2626 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2627 | name = "psimd_accmath_ukernels_test_mode", |
| 2628 | hdrs = INTERNAL_HDRS, |
| 2629 | aarch32_copts = [ |
| 2630 | "-marm", |
| 2631 | "-mfpu=neon", |
| 2632 | ], |
| 2633 | copts = [ |
| 2634 | "-UNDEBUG", |
| 2635 | "-DXNN_TEST_MODE=1", |
| 2636 | ], |
| 2637 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2638 | gcc_x86_copts = ["-msse2"], |
| 2639 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2640 | optimized_copts = [ |
| 2641 | "-O3", |
| 2642 | ], |
| 2643 | psimd_srcs = PSIMD_ACCMATH_UKERNELS, |
| 2644 | deps = [ |
| 2645 | ":tables", |
| 2646 | "@FP16", |
| 2647 | "@psimd", |
| 2648 | "@pthreadpool", |
| 2649 | ], |
| 2650 | ) |
| 2651 | |
| 2652 | xnnpack_cc_library( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2653 | name = "neon_ukernels", |
| 2654 | hdrs = INTERNAL_HDRS, |
| 2655 | aarch32_copts = [ |
| 2656 | "-marm", |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 2657 | "-march=armv7-a", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2658 | "-mfpu=neon", |
| 2659 | ], |
| 2660 | aarch32_srcs = NEON_UKERNELS, |
| 2661 | aarch64_srcs = NEON_UKERNELS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 2662 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2663 | msvc_copts = xnnpack_msvc_std_copts(), |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2664 | deps = [ |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 2665 | ":tables", |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2666 | "@FP16", |
| 2667 | "@pthreadpool", |
| 2668 | ], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2669 | ) |
| 2670 | |
| 2671 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2672 | name = "neon_ukernels_test_mode", |
| 2673 | hdrs = INTERNAL_HDRS, |
| 2674 | aarch32_copts = [ |
| 2675 | "-marm", |
| 2676 | "-march=armv7-a", |
| 2677 | "-mfpu=neon", |
| 2678 | ], |
| 2679 | aarch32_srcs = NEON_UKERNELS, |
| 2680 | aarch64_srcs = NEON_UKERNELS, |
| 2681 | copts = [ |
| 2682 | "-UNDEBUG", |
| 2683 | "-DXNN_TEST_MODE=1", |
| 2684 | ], |
| 2685 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2686 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2687 | deps = [ |
| 2688 | ":tables", |
| 2689 | "@FP16", |
| 2690 | "@pthreadpool", |
| 2691 | ], |
| 2692 | ) |
| 2693 | |
| 2694 | xnnpack_cc_library( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2695 | name = "neonfma_ukernels", |
| 2696 | hdrs = INTERNAL_HDRS, |
| 2697 | aarch32_copts = [ |
| 2698 | "-marm", |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 2699 | "-march=armv7-a", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2700 | "-mfpu=neon-vfpv4", |
| 2701 | ], |
| 2702 | aarch32_srcs = NEONFMA_UKERNELS, |
| 2703 | aarch64_srcs = NEONFMA_UKERNELS + AARCH64_NEONFMA_UKERNELS, |
Marat Dukhan | bc69ed6 | 2020-06-09 21:34:56 -0700 | [diff] [blame] | 2704 | apple_aarch32_copts = [ |
| 2705 | "-mcpu=swift", |
| 2706 | "-mtune=generic", |
| 2707 | ], |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 2708 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2709 | msvc_copts = xnnpack_msvc_std_copts(), |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2710 | deps = [ |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 2711 | ":tables", |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2712 | "@FP16", |
| 2713 | "@pthreadpool", |
| 2714 | ], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2715 | ) |
| 2716 | |
| 2717 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2718 | name = "neonfma_ukernels_test_mode", |
| 2719 | hdrs = INTERNAL_HDRS, |
| 2720 | aarch32_copts = [ |
| 2721 | "-marm", |
| 2722 | "-march=armv7-a", |
| 2723 | "-mfpu=neon-vfpv4", |
| 2724 | ], |
| 2725 | aarch32_srcs = NEONFMA_UKERNELS, |
| 2726 | aarch64_srcs = NEONFMA_UKERNELS + AARCH64_NEONFMA_UKERNELS, |
Marat Dukhan | bc69ed6 | 2020-06-09 21:34:56 -0700 | [diff] [blame] | 2727 | apple_aarch32_copts = [ |
| 2728 | "-mcpu=swift", |
| 2729 | "-mtune=generic", |
| 2730 | ], |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2731 | copts = [ |
| 2732 | "-UNDEBUG", |
| 2733 | "-DXNN_TEST_MODE=1", |
| 2734 | ], |
| 2735 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2736 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2737 | deps = [ |
| 2738 | ":tables", |
| 2739 | "@FP16", |
| 2740 | "@pthreadpool", |
| 2741 | ], |
| 2742 | ) |
| 2743 | |
| 2744 | xnnpack_cc_library( |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 2745 | name = "neonv8_ukernels", |
| 2746 | hdrs = INTERNAL_HDRS, |
| 2747 | aarch32_copts = [ |
| 2748 | "-marm", |
| 2749 | "-march=armv8-a", |
| 2750 | "-mfpu=neon-fp-armv8", |
| 2751 | ], |
| 2752 | aarch32_srcs = NEONV8_UKERNELS, |
| 2753 | aarch64_srcs = NEONV8_UKERNELS, |
Marat Dukhan | bc69ed6 | 2020-06-09 21:34:56 -0700 | [diff] [blame] | 2754 | apple_aarch32_copts = [ |
| 2755 | "-mcpu=cyclone", |
| 2756 | "-mtune=generic", |
| 2757 | ], |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 2758 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2759 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2760 | deps = [ |
| 2761 | ":tables", |
| 2762 | "@FP16", |
| 2763 | "@pthreadpool", |
| 2764 | ], |
| 2765 | ) |
| 2766 | |
| 2767 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2768 | name = "neonv8_ukernels_test_mode", |
| 2769 | hdrs = INTERNAL_HDRS, |
| 2770 | aarch32_copts = [ |
| 2771 | "-marm", |
| 2772 | "-march=armv8-a", |
| 2773 | "-mfpu=neon-fp-armv8", |
| 2774 | ], |
| 2775 | aarch32_srcs = NEONV8_UKERNELS, |
| 2776 | aarch64_srcs = NEONV8_UKERNELS, |
Marat Dukhan | bc69ed6 | 2020-06-09 21:34:56 -0700 | [diff] [blame] | 2777 | apple_aarch32_copts = [ |
| 2778 | "-mcpu=cyclone", |
| 2779 | "-mtune=generic", |
| 2780 | ], |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2781 | copts = [ |
| 2782 | "-UNDEBUG", |
| 2783 | "-DXNN_TEST_MODE=1", |
| 2784 | ], |
| 2785 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2786 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2787 | deps = [ |
| 2788 | ":tables", |
| 2789 | "@FP16", |
| 2790 | "@pthreadpool", |
| 2791 | ], |
| 2792 | ) |
| 2793 | |
| 2794 | xnnpack_cc_library( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2795 | name = "neonfp16arith_ukernels", |
| 2796 | hdrs = INTERNAL_HDRS, |
| 2797 | aarch64_copts = ["-march=armv8.2-a+fp16"], |
| 2798 | aarch64_srcs = AARCH64_NEONFP16ARITH_UKERNELS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 2799 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2800 | msvc_copts = xnnpack_msvc_std_copts(), |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2801 | deps = [ |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 2802 | ":tables", |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2803 | "@FP16", |
| 2804 | "@pthreadpool", |
| 2805 | ], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2806 | ) |
| 2807 | |
| 2808 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2809 | name = "neonfp16arith_ukernels_test_mode", |
| 2810 | hdrs = INTERNAL_HDRS, |
| 2811 | aarch64_copts = ["-march=armv8.2-a+fp16"], |
| 2812 | aarch64_srcs = AARCH64_NEONFP16ARITH_UKERNELS, |
| 2813 | copts = [ |
| 2814 | "-UNDEBUG", |
| 2815 | "-DXNN_TEST_MODE=1", |
| 2816 | ], |
| 2817 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2818 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2819 | deps = [ |
| 2820 | ":tables", |
| 2821 | "@FP16", |
| 2822 | "@pthreadpool", |
| 2823 | ], |
| 2824 | ) |
| 2825 | |
| 2826 | xnnpack_cc_library( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2827 | name = "sse2_ukernels", |
| 2828 | hdrs = INTERNAL_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 2829 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2830 | gcc_x86_copts = ["-msse2"], |
| 2831 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2832 | msvc_x86_32_copts = ["/arch:SSE2"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2833 | x86_srcs = SSE_UKERNELS + SSE2_UKERNELS, |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2834 | deps = [ |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 2835 | ":tables", |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2836 | "@FP16", |
| 2837 | "@pthreadpool", |
| 2838 | ], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2839 | ) |
| 2840 | |
| 2841 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2842 | name = "sse2_ukernels_test_mode", |
| 2843 | hdrs = INTERNAL_HDRS, |
| 2844 | copts = [ |
| 2845 | "-UNDEBUG", |
| 2846 | "-DXNN_TEST_MODE=1", |
| 2847 | ], |
| 2848 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2849 | gcc_x86_copts = ["-msse2"], |
| 2850 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2851 | msvc_x86_32_copts = ["/arch:SSE2"], |
| 2852 | x86_srcs = SSE_UKERNELS + SSE2_UKERNELS, |
| 2853 | deps = [ |
| 2854 | ":tables", |
| 2855 | "@FP16", |
| 2856 | "@pthreadpool", |
| 2857 | ], |
| 2858 | ) |
| 2859 | |
| 2860 | xnnpack_cc_library( |
Marat Dukhan | fe7acb6 | 2020-03-09 19:30:05 -0700 | [diff] [blame] | 2861 | name = "ssse3_ukernels", |
| 2862 | hdrs = INTERNAL_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 2863 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2864 | gcc_x86_copts = ["-mssse3"], |
| 2865 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2866 | msvc_x86_32_copts = ["/arch:SSE2"], |
Marat Dukhan | fe7acb6 | 2020-03-09 19:30:05 -0700 | [diff] [blame] | 2867 | x86_srcs = SSSE3_UKERNELS, |
| 2868 | deps = [ |
| 2869 | ":tables", |
| 2870 | "@FP16", |
| 2871 | "@pthreadpool", |
| 2872 | ], |
| 2873 | ) |
| 2874 | |
| 2875 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2876 | name = "ssse3_ukernels_test_mode", |
| 2877 | hdrs = INTERNAL_HDRS, |
| 2878 | copts = [ |
| 2879 | "-UNDEBUG", |
| 2880 | "-DXNN_TEST_MODE=1", |
| 2881 | ], |
| 2882 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2883 | gcc_x86_copts = ["-mssse3"], |
| 2884 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2885 | msvc_x86_32_copts = ["/arch:SSE2"], |
| 2886 | x86_srcs = SSSE3_UKERNELS, |
| 2887 | deps = [ |
| 2888 | ":tables", |
| 2889 | "@FP16", |
| 2890 | "@pthreadpool", |
| 2891 | ], |
| 2892 | ) |
| 2893 | |
| 2894 | xnnpack_cc_library( |
Marat Dukhan | 69c3f2c | 2019-11-06 12:30:01 -0800 | [diff] [blame] | 2895 | name = "sse41_ukernels", |
| 2896 | hdrs = INTERNAL_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 2897 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2898 | gcc_x86_copts = ["-msse4.1"], |
| 2899 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2900 | msvc_x86_32_copts = ["/arch:SSE2"], |
Marat Dukhan | 69c3f2c | 2019-11-06 12:30:01 -0800 | [diff] [blame] | 2901 | x86_srcs = SSE41_UKERNELS, |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2902 | deps = [ |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 2903 | ":tables", |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2904 | "@FP16", |
| 2905 | "@pthreadpool", |
| 2906 | ], |
Marat Dukhan | 69c3f2c | 2019-11-06 12:30:01 -0800 | [diff] [blame] | 2907 | ) |
| 2908 | |
| 2909 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2910 | name = "sse41_ukernels_test_mode", |
| 2911 | hdrs = INTERNAL_HDRS, |
| 2912 | copts = [ |
| 2913 | "-UNDEBUG", |
| 2914 | "-DXNN_TEST_MODE=1", |
| 2915 | ], |
| 2916 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2917 | gcc_x86_copts = ["-msse4.1"], |
| 2918 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2919 | msvc_x86_32_copts = ["/arch:SSE2"], |
| 2920 | x86_srcs = SSE41_UKERNELS, |
| 2921 | deps = [ |
| 2922 | ":tables", |
| 2923 | "@FP16", |
| 2924 | "@pthreadpool", |
| 2925 | ], |
| 2926 | ) |
| 2927 | |
| 2928 | xnnpack_cc_library( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2929 | name = "avx_ukernels", |
| 2930 | hdrs = INTERNAL_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 2931 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2932 | gcc_x86_copts = ["-mavx"], |
| 2933 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2934 | msvc_x86_32_copts = ["/arch:AVX"], |
| 2935 | msvc_x86_64_copts = ["/arch:AVX"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2936 | x86_srcs = AVX_UKERNELS, |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2937 | deps = [ |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 2938 | ":tables", |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 2939 | "@FP16", |
| 2940 | "@pthreadpool", |
| 2941 | ], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 2942 | ) |
| 2943 | |
| 2944 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 2945 | name = "avx_ukernels_test_mode", |
| 2946 | hdrs = INTERNAL_HDRS, |
| 2947 | copts = [ |
| 2948 | "-UNDEBUG", |
| 2949 | "-DXNN_TEST_MODE=1", |
| 2950 | ], |
| 2951 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2952 | gcc_x86_copts = ["-mavx"], |
| 2953 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2954 | msvc_x86_32_copts = ["/arch:AVX"], |
| 2955 | msvc_x86_64_copts = ["/arch:AVX"], |
| 2956 | x86_srcs = AVX_UKERNELS, |
| 2957 | deps = [ |
| 2958 | ":tables", |
| 2959 | "@FP16", |
| 2960 | "@pthreadpool", |
| 2961 | ], |
| 2962 | ) |
| 2963 | |
| 2964 | xnnpack_cc_library( |
Marat Dukhan | 1566fee | 2020-08-02 21:55:41 -0700 | [diff] [blame] | 2965 | name = "xop_ukernels", |
| 2966 | hdrs = INTERNAL_HDRS, |
| 2967 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2968 | gcc_x86_copts = ["-mxop"], |
| 2969 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2970 | msvc_x86_32_copts = ["/arch:AVX"], |
| 2971 | msvc_x86_64_copts = ["/arch:AVX"], |
| 2972 | x86_srcs = XOP_UKERNELS, |
| 2973 | deps = [ |
| 2974 | ":tables", |
| 2975 | "@FP16", |
| 2976 | "@pthreadpool", |
| 2977 | ], |
| 2978 | ) |
| 2979 | |
| 2980 | xnnpack_cc_library( |
| 2981 | name = "xop_ukernels_test_mode", |
| 2982 | hdrs = INTERNAL_HDRS, |
| 2983 | copts = [ |
| 2984 | "-UNDEBUG", |
| 2985 | "-DXNN_TEST_MODE=1", |
| 2986 | ], |
| 2987 | gcc_copts = xnnpack_gcc_std_copts(), |
| 2988 | gcc_x86_copts = ["-mxop"], |
| 2989 | msvc_copts = xnnpack_msvc_std_copts(), |
| 2990 | msvc_x86_32_copts = ["/arch:AVX"], |
| 2991 | msvc_x86_64_copts = ["/arch:AVX"], |
| 2992 | x86_srcs = XOP_UKERNELS, |
| 2993 | deps = [ |
| 2994 | ":tables", |
| 2995 | "@FP16", |
| 2996 | "@pthreadpool", |
| 2997 | ], |
| 2998 | ) |
| 2999 | |
| 3000 | xnnpack_cc_library( |
Marat Dukhan | fda12b8 | 2019-11-21 12:27:59 -0800 | [diff] [blame] | 3001 | name = "fma3_ukernels", |
| 3002 | hdrs = INTERNAL_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3003 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3004 | gcc_x86_copts = ["-mfma"], |
| 3005 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3006 | msvc_x86_32_copts = ["/arch:AVX"], |
| 3007 | msvc_x86_64_copts = ["/arch:AVX"], |
Marat Dukhan | fda12b8 | 2019-11-21 12:27:59 -0800 | [diff] [blame] | 3008 | x86_srcs = FMA3_UKERNELS, |
| 3009 | deps = [ |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 3010 | ":tables", |
Marat Dukhan | fda12b8 | 2019-11-21 12:27:59 -0800 | [diff] [blame] | 3011 | "@FP16", |
| 3012 | "@pthreadpool", |
| 3013 | ], |
| 3014 | ) |
| 3015 | |
| 3016 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3017 | name = "fma3_ukernels_test_mode", |
| 3018 | hdrs = INTERNAL_HDRS, |
| 3019 | copts = [ |
| 3020 | "-UNDEBUG", |
| 3021 | "-DXNN_TEST_MODE=1", |
| 3022 | ], |
| 3023 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3024 | gcc_x86_copts = ["-mfma"], |
| 3025 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3026 | msvc_x86_32_copts = ["/arch:AVX"], |
| 3027 | msvc_x86_64_copts = ["/arch:AVX"], |
| 3028 | x86_srcs = FMA3_UKERNELS, |
| 3029 | deps = [ |
| 3030 | ":tables", |
| 3031 | "@FP16", |
| 3032 | "@pthreadpool", |
| 3033 | ], |
| 3034 | ) |
| 3035 | |
| 3036 | xnnpack_cc_library( |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 3037 | name = "avx2_ukernels", |
| 3038 | hdrs = INTERNAL_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3039 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3040 | gcc_x86_copts = [ |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 3041 | "-mfma", |
| 3042 | "-mavx2", |
| 3043 | ], |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3044 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3045 | msvc_x86_32_copts = ["/arch:AVX2"], |
| 3046 | msvc_x86_64_copts = ["/arch:AVX2"], |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 3047 | x86_srcs = AVX2_UKERNELS, |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 3048 | deps = [ |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 3049 | ":tables", |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 3050 | "@FP16", |
| 3051 | "@pthreadpool", |
| 3052 | ], |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 3053 | ) |
| 3054 | |
| 3055 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3056 | name = "avx2_ukernels_test_mode", |
| 3057 | hdrs = INTERNAL_HDRS, |
| 3058 | copts = [ |
| 3059 | "-UNDEBUG", |
| 3060 | "-DXNN_TEST_MODE=1", |
| 3061 | ], |
| 3062 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3063 | gcc_x86_copts = [ |
| 3064 | "-mfma", |
| 3065 | "-mavx2", |
| 3066 | ], |
| 3067 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3068 | msvc_x86_32_copts = ["/arch:AVX2"], |
| 3069 | msvc_x86_64_copts = ["/arch:AVX2"], |
| 3070 | x86_srcs = AVX2_UKERNELS, |
| 3071 | deps = [ |
| 3072 | ":tables", |
| 3073 | "@FP16", |
| 3074 | "@pthreadpool", |
| 3075 | ], |
| 3076 | ) |
| 3077 | |
| 3078 | xnnpack_cc_library( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3079 | name = "avx512f_ukernels", |
| 3080 | hdrs = INTERNAL_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3081 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3082 | gcc_x86_copts = ["-mavx512f"], |
| 3083 | mingw_copts = ["-fno-asynchronous-unwind-tables"], |
| 3084 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3085 | msvc_x86_32_copts = ["/arch:AVX512"], |
| 3086 | msvc_x86_64_copts = ["/arch:AVX512"], |
| 3087 | msys_copts = ["-fno-asynchronous-unwind-tables"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3088 | x86_srcs = AVX512F_UKERNELS, |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 3089 | deps = [ |
Marat Dukhan | 3a77ea7 | 2019-12-23 12:10:24 -0800 | [diff] [blame] | 3090 | ":tables", |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 3091 | "@FP16", |
| 3092 | "@pthreadpool", |
| 3093 | ], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3094 | ) |
| 3095 | |
| 3096 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3097 | name = "avx512f_ukernels_test_mode", |
| 3098 | hdrs = INTERNAL_HDRS, |
| 3099 | copts = [ |
| 3100 | "-UNDEBUG", |
| 3101 | "-DXNN_TEST_MODE=1", |
| 3102 | ], |
| 3103 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3104 | gcc_x86_copts = ["-mavx512f"], |
| 3105 | mingw_copts = ["-fno-asynchronous-unwind-tables"], |
| 3106 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3107 | msvc_x86_32_copts = ["/arch:AVX512"], |
| 3108 | msvc_x86_64_copts = ["/arch:AVX512"], |
| 3109 | msys_copts = ["-fno-asynchronous-unwind-tables"], |
| 3110 | x86_srcs = AVX512F_UKERNELS, |
| 3111 | deps = [ |
| 3112 | ":tables", |
| 3113 | "@FP16", |
| 3114 | "@pthreadpool", |
| 3115 | ], |
| 3116 | ) |
| 3117 | |
| 3118 | xnnpack_cc_library( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3119 | name = "asm_ukernels", |
| 3120 | hdrs = ["src/xnnpack/assembly.h"], |
| 3121 | aarch32_srcs = AARCH32_ASM_UKERNELS, |
Frank Barchard | 683f559 | 2020-04-10 00:48:26 -0700 | [diff] [blame] | 3122 | aarch64_copts = ["-march=armv8.2-a+fp16"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3123 | aarch64_srcs = AARCH64_ASM_UKERNELS, |
| 3124 | ) |
| 3125 | |
Marat Dukhan | 3b59de2 | 2020-06-03 20:15:19 -0700 | [diff] [blame] | 3126 | xnnpack_cc_library( |
| 3127 | name = "logging_utils", |
| 3128 | srcs = LOGGING_SRCS, |
| 3129 | hdrs = INTERNAL_HDRS + LOGGING_HDRS, |
| 3130 | copts = LOGGING_COPTS + [ |
| 3131 | "-Isrc", |
| 3132 | "-Iinclude", |
| 3133 | ] + select({ |
| 3134 | ":debug_build": [], |
| 3135 | "//conditions:default": xnnpack_min_size_copts(), |
| 3136 | }), |
| 3137 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3138 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3139 | visibility = xnnpack_visibility(), |
| 3140 | deps = [ |
| 3141 | "@FP16", |
| 3142 | "@clog", |
| 3143 | "@pthreadpool", |
| 3144 | ], |
| 3145 | ) |
| 3146 | |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3147 | xnnpack_aggregate_library( |
| 3148 | name = "ukernels", |
| 3149 | aarch32_deps = [ |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3150 | ":neon_ukernels", |
| 3151 | ":neonfma_ukernels", |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 3152 | ":neonv8_ukernels", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3153 | ":asm_ukernels", |
| 3154 | ], |
| 3155 | aarch64_deps = [ |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3156 | ":neon_ukernels", |
| 3157 | ":neonfma_ukernels", |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 3158 | ":neonv8_ukernels", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3159 | ":neonfp16arith_ukernels", |
| 3160 | ":asm_ukernels", |
| 3161 | ], |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3162 | generic_deps = [ |
| 3163 | ":scalar_ukernels", |
| 3164 | ], |
Marat Dukhan | 500b889 | 2020-04-15 17:09:50 -0700 | [diff] [blame] | 3165 | psimd_deps = [ |
Marat Dukhan | 8d3c07e | 2020-01-02 01:20:59 -0800 | [diff] [blame] | 3166 | ":psimd_fastmath_ukernels", |
| 3167 | ":psimd_accmath_ukernels", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3168 | ], |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3169 | wasm_deps = [ |
| 3170 | ":wasm_ukernels", |
| 3171 | ], |
| 3172 | wasmsimd_deps = [ |
| 3173 | ":wasm_ukernels", |
| 3174 | ], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3175 | x86_deps = [ |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3176 | ":sse2_ukernels", |
Marat Dukhan | fe7acb6 | 2020-03-09 19:30:05 -0700 | [diff] [blame] | 3177 | ":ssse3_ukernels", |
Marat Dukhan | 69c3f2c | 2019-11-06 12:30:01 -0800 | [diff] [blame] | 3178 | ":sse41_ukernels", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3179 | ":avx_ukernels", |
Marat Dukhan | 1566fee | 2020-08-02 21:55:41 -0700 | [diff] [blame] | 3180 | ":xop_ukernels", |
Marat Dukhan | fda12b8 | 2019-11-21 12:27:59 -0800 | [diff] [blame] | 3181 | ":fma3_ukernels", |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 3182 | ":avx2_ukernels", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3183 | ":avx512f_ukernels", |
| 3184 | ], |
| 3185 | ) |
| 3186 | |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3187 | xnnpack_aggregate_library( |
| 3188 | name = "ukernels_test_mode", |
| 3189 | aarch32_deps = [ |
| 3190 | ":neon_ukernels_test_mode", |
| 3191 | ":neonfma_ukernels_test_mode", |
| 3192 | ":neonv8_ukernels_test_mode", |
| 3193 | ":asm_ukernels", |
| 3194 | ], |
| 3195 | aarch64_deps = [ |
| 3196 | ":neon_ukernels_test_mode", |
| 3197 | ":neonfma_ukernels_test_mode", |
| 3198 | ":neonv8_ukernels_test_mode", |
| 3199 | ":neonfp16arith_ukernels_test_mode", |
| 3200 | ":asm_ukernels", |
| 3201 | ], |
| 3202 | generic_deps = [ |
| 3203 | ":scalar_ukernels_test_mode", |
| 3204 | ], |
| 3205 | psimd_deps = [ |
| 3206 | ":psimd_fastmath_ukernels_test_mode", |
| 3207 | ":psimd_accmath_ukernels_test_mode", |
| 3208 | ], |
| 3209 | wasm_deps = [ |
| 3210 | ":wasm_ukernels_test_mode", |
| 3211 | ], |
| 3212 | wasmsimd_deps = [ |
| 3213 | ":wasm_ukernels_test_mode", |
| 3214 | ], |
| 3215 | x86_deps = [ |
| 3216 | ":sse2_ukernels_test_mode", |
| 3217 | ":ssse3_ukernels_test_mode", |
| 3218 | ":sse41_ukernels_test_mode", |
| 3219 | ":avx_ukernels_test_mode", |
Marat Dukhan | 1566fee | 2020-08-02 21:55:41 -0700 | [diff] [blame] | 3220 | ":xop_ukernels_test_mode", |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3221 | ":fma3_ukernels_test_mode", |
| 3222 | ":avx2_ukernels_test_mode", |
| 3223 | ":avx512f_ukernels_test_mode", |
| 3224 | ], |
| 3225 | ) |
| 3226 | |
Marat Dukhan | 86df384 | 2020-06-17 14:03:31 -0700 | [diff] [blame] | 3227 | # This target must be compatible with Android NDK r17 and compile with Clang 6. |
| 3228 | # It is similar to :ukernels target, but excludes microkernels which require |
| 3229 | # NEON FP16 arithmetics, NEON Dot Product, and newer intrinsics. |
Marat Dukhan | ae046f5 | 2020-06-15 13:16:14 -0700 | [diff] [blame] | 3230 | xnnpack_aggregate_library( |
Marat Dukhan | 86df384 | 2020-06-17 14:03:31 -0700 | [diff] [blame] | 3231 | name = "ukernels_max_compatibility", |
Marat Dukhan | ae046f5 | 2020-06-15 13:16:14 -0700 | [diff] [blame] | 3232 | aarch32_deps = [ |
| 3233 | ":neon_ukernels", |
| 3234 | ":neonfma_ukernels", |
| 3235 | ":neonv8_ukernels", |
| 3236 | ":asm_ukernels", |
| 3237 | ], |
| 3238 | aarch64_deps = [ |
| 3239 | ":neon_ukernels", |
| 3240 | ":neonfma_ukernels", |
| 3241 | ":neonv8_ukernels", |
| 3242 | ":asm_ukernels", |
| 3243 | ], |
| 3244 | generic_deps = [ |
| 3245 | ":scalar_ukernels", |
| 3246 | ], |
| 3247 | psimd_deps = [ |
| 3248 | ":psimd_fastmath_ukernels", |
| 3249 | ":psimd_accmath_ukernels", |
| 3250 | ], |
| 3251 | wasm_deps = [ |
| 3252 | ":wasm_ukernels", |
| 3253 | ], |
| 3254 | wasmsimd_deps = [ |
| 3255 | ":wasm_ukernels", |
| 3256 | ], |
| 3257 | x86_deps = [ |
| 3258 | ":sse2_ukernels", |
| 3259 | ":ssse3_ukernels", |
| 3260 | ":sse41_ukernels", |
| 3261 | ":avx_ukernels", |
Marat Dukhan | 1566fee | 2020-08-02 21:55:41 -0700 | [diff] [blame] | 3262 | ":xop_ukernels", |
Marat Dukhan | ae046f5 | 2020-06-15 13:16:14 -0700 | [diff] [blame] | 3263 | ":fma3_ukernels", |
| 3264 | ":avx2_ukernels", |
| 3265 | ":avx512f_ukernels", |
| 3266 | ], |
| 3267 | ) |
| 3268 | |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3269 | xnnpack_cc_library( |
| 3270 | name = "im2col", |
| 3271 | srcs = ["src/im2col.c"], |
| 3272 | hdrs = [ |
| 3273 | "src/xnnpack/common.h", |
| 3274 | "src/xnnpack/im2col.h", |
| 3275 | ], |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3276 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3277 | msvc_copts = xnnpack_msvc_std_copts(), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3278 | ) |
| 3279 | |
| 3280 | xnnpack_cc_library( |
| 3281 | name = "indirection", |
| 3282 | srcs = ["src/indirection.c"], |
| 3283 | hdrs = INTERNAL_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3284 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3285 | msvc_copts = xnnpack_msvc_std_copts(), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3286 | deps = [ |
| 3287 | "@FP16", |
| 3288 | "@FXdiv", |
| 3289 | "@pthreadpool", |
| 3290 | ], |
| 3291 | ) |
| 3292 | |
| 3293 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3294 | name = "indirection_test_mode", |
| 3295 | srcs = ["src/indirection.c"], |
| 3296 | hdrs = INTERNAL_HDRS, |
| 3297 | copts = [ |
| 3298 | "-UNDEBUG", |
| 3299 | "-DXNN_TEST_MODE=1", |
| 3300 | ], |
| 3301 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3302 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3303 | deps = [ |
| 3304 | "@FP16", |
| 3305 | "@FXdiv", |
| 3306 | "@pthreadpool", |
| 3307 | ], |
| 3308 | ) |
| 3309 | |
| 3310 | xnnpack_cc_library( |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 3311 | name = "packing", |
| 3312 | srcs = ["src/packing.c"], |
| 3313 | hdrs = INTERNAL_HDRS, |
| 3314 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3315 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3316 | deps = [ |
| 3317 | "@FP16", |
| 3318 | "@FXdiv", |
| 3319 | "@pthreadpool", |
| 3320 | ], |
| 3321 | ) |
| 3322 | |
| 3323 | xnnpack_cc_library( |
| 3324 | name = "packing_test_mode", |
| 3325 | srcs = ["src/packing.c"], |
| 3326 | hdrs = INTERNAL_HDRS, |
| 3327 | copts = [ |
| 3328 | "-UNDEBUG", |
| 3329 | "-DXNN_TEST_MODE=1", |
| 3330 | ], |
| 3331 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3332 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3333 | deps = [ |
| 3334 | "@FP16", |
| 3335 | "@FXdiv", |
| 3336 | "@pthreadpool", |
| 3337 | ], |
| 3338 | ) |
| 3339 | |
| 3340 | xnnpack_cc_library( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3341 | name = "operator_run", |
| 3342 | srcs = ["src/operator-run.c"], |
Marat Dukhan | c8e00eb | 2019-10-04 14:55:26 -0700 | [diff] [blame] | 3343 | hdrs = INTERNAL_HDRS + LOGGING_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3344 | copts = LOGGING_COPTS + select({ |
Marat Dukhan | 05702cf | 2020-03-26 15:41:33 -0700 | [diff] [blame] | 3345 | ":xnn_enable_hmp_explicit_false": ["-DXNN_MAX_UARCH_TYPES=1"], |
| 3346 | "//conditions:default": [], |
| 3347 | }), |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3348 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3349 | msvc_copts = xnnpack_msvc_std_copts(), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3350 | deps = [ |
Marat Dukhan | 3b59de2 | 2020-06-03 20:15:19 -0700 | [diff] [blame] | 3351 | ":logging_utils", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3352 | "@FP16", |
| 3353 | "@FXdiv", |
| 3354 | "@clog", |
| 3355 | "@pthreadpool", |
| 3356 | ], |
| 3357 | ) |
| 3358 | |
Chao Mei | 6ddfc60 | 2020-05-13 22:29:36 -0700 | [diff] [blame] | 3359 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3360 | name = "operator_run_test_mode", |
| 3361 | srcs = ["src/operator-run.c"], |
| 3362 | hdrs = INTERNAL_HDRS + LOGGING_HDRS, |
| 3363 | copts = LOGGING_COPTS + [ |
| 3364 | "-UNDEBUG", |
| 3365 | "-DXNN_TEST_MODE=1", |
| 3366 | ] + select({ |
| 3367 | ":xnn_enable_hmp_explicit_false": ["-DXNN_MAX_UARCH_TYPES=1"], |
| 3368 | "//conditions:default": [], |
| 3369 | }), |
| 3370 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3371 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3372 | deps = [ |
Marat Dukhan | 3b59de2 | 2020-06-03 20:15:19 -0700 | [diff] [blame] | 3373 | ":logging_utils", |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3374 | "@FP16", |
| 3375 | "@FXdiv", |
| 3376 | "@clog", |
| 3377 | "@pthreadpool", |
| 3378 | ], |
| 3379 | ) |
| 3380 | |
| 3381 | xnnpack_cc_library( |
Chao Mei | 6ddfc60 | 2020-05-13 22:29:36 -0700 | [diff] [blame] | 3382 | name = "memory_planner", |
| 3383 | srcs = ["src/memory-planner.c"], |
| 3384 | hdrs = INTERNAL_HDRS, |
| 3385 | defines = select({ |
| 3386 | ":xnn_enable_memopt_explicit_true": ["XNN_ENABLE_MEMOPT=1"], |
| 3387 | ":xnn_enable_memopt_explicit_false": ["XNN_ENABLE_MEMOPT=0"], |
| 3388 | "//conditions:default": ["XNN_ENABLE_MEMOPT=1"], |
| 3389 | }), |
| 3390 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3391 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3392 | deps = [ |
Marat Dukhan | 3b59de2 | 2020-06-03 20:15:19 -0700 | [diff] [blame] | 3393 | ":logging_utils", |
Chao Mei | 6ddfc60 | 2020-05-13 22:29:36 -0700 | [diff] [blame] | 3394 | "@pthreadpool", |
| 3395 | ], |
| 3396 | ) |
| 3397 | |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3398 | xnnpack_cc_library( |
| 3399 | name = "memory_planner_test_mode", |
| 3400 | srcs = ["src/memory-planner.c"], |
| 3401 | hdrs = INTERNAL_HDRS, |
| 3402 | copts = [ |
| 3403 | "-UNDEBUG", |
| 3404 | "-DXNN_TEST_MODE=1", |
| 3405 | ], |
| 3406 | defines = select({ |
| 3407 | ":xnn_enable_memopt_explicit_true": ["XNN_ENABLE_MEMOPT=1"], |
| 3408 | ":xnn_enable_memopt_explicit_false": ["XNN_ENABLE_MEMOPT=0"], |
| 3409 | "//conditions:default": ["XNN_ENABLE_MEMOPT=1"], |
| 3410 | }), |
| 3411 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3412 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3413 | deps = [ |
Marat Dukhan | 3b59de2 | 2020-06-03 20:15:19 -0700 | [diff] [blame] | 3414 | ":logging_utils", |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3415 | "@pthreadpool", |
| 3416 | ], |
| 3417 | ) |
| 3418 | |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3419 | cc_library( |
| 3420 | name = "enable_assembly", |
| 3421 | defines = select({ |
| 3422 | ":xnn_enable_assembly_explicit_true": ["XNN_ENABLE_ASSEMBLY=1"], |
| 3423 | ":xnn_enable_assembly_explicit_false": ["XNN_ENABLE_ASSEMBLY=0"], |
Frank Barchard | 810171d | 2019-10-10 10:34:51 -0700 | [diff] [blame] | 3424 | "//conditions:default": ["XNN_ENABLE_ASSEMBLY=1"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3425 | }), |
| 3426 | ) |
| 3427 | |
Marat Dukhan | 9de90e0 | 2020-06-18 16:04:12 -0700 | [diff] [blame] | 3428 | cc_library( |
| 3429 | name = "enable_sparse", |
| 3430 | defines = select({ |
| 3431 | ":xnn_enable_sparse_explicit_true": ["XNN_ENABLE_SPARSE=1"], |
| 3432 | ":xnn_enable_sparse_explicit_false": ["XNN_ENABLE_SPARSE=0"], |
Marat Dukhan | 8b283aa | 2020-06-18 16:48:57 -0700 | [diff] [blame] | 3433 | "//conditions:default": ["XNN_ENABLE_SPARSE=0"], |
Marat Dukhan | 9de90e0 | 2020-06-18 16:04:12 -0700 | [diff] [blame] | 3434 | }), |
| 3435 | ) |
| 3436 | |
Marat Dukhan | cf056b2 | 2019-10-07 10:26:29 -0700 | [diff] [blame] | 3437 | xnnpack_cc_library( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3438 | name = "operators", |
| 3439 | srcs = OPERATOR_SRCS + [ |
Marat Dukhan | 04f03be | 2019-11-19 12:36:47 -0800 | [diff] [blame] | 3440 | "src/memory.c", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3441 | "src/operator-delete.c", |
Marat Dukhan | cf056b2 | 2019-10-07 10:26:29 -0700 | [diff] [blame] | 3442 | ], |
| 3443 | hdrs = INTERNAL_HDRS + LOGGING_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3444 | copts = LOGGING_COPTS + [ |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3445 | "-Isrc", |
| 3446 | "-Iinclude", |
| 3447 | ] + select({ |
| 3448 | ":debug_build": [], |
| 3449 | "//conditions:default": xnnpack_min_size_copts(), |
Marat Dukhan | 05702cf | 2020-03-26 15:41:33 -0700 | [diff] [blame] | 3450 | }) + select({ |
| 3451 | ":xnn_enable_hmp_explicit_false": ["-DXNN_MAX_UARCH_TYPES=1"], |
| 3452 | "//conditions:default": [], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3453 | }), |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3454 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3455 | msvc_copts = xnnpack_msvc_std_copts(), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3456 | deps = [ |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3457 | ":indirection", |
Marat Dukhan | 3b59de2 | 2020-06-03 20:15:19 -0700 | [diff] [blame] | 3458 | ":logging_utils", |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 3459 | ":packing", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3460 | "@FP16", |
| 3461 | "@FXdiv", |
| 3462 | "@clog", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3463 | "@pthreadpool", |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3464 | ], |
| 3465 | ) |
| 3466 | |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3467 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3468 | name = "operators_test_mode", |
| 3469 | srcs = OPERATOR_SRCS + [ |
| 3470 | "src/memory.c", |
| 3471 | "src/operator-delete.c", |
| 3472 | ], |
| 3473 | hdrs = INTERNAL_HDRS + LOGGING_HDRS, |
| 3474 | copts = LOGGING_COPTS + [ |
| 3475 | "-Isrc", |
| 3476 | "-Iinclude", |
| 3477 | "-UNDEBUG", |
| 3478 | "-DXNN_TEST_MODE=1", |
| 3479 | ] + select({ |
| 3480 | ":debug_build": [], |
| 3481 | "//conditions:default": xnnpack_min_size_copts(), |
| 3482 | }) + select({ |
| 3483 | ":xnn_enable_hmp_explicit_false": ["-DXNN_MAX_UARCH_TYPES=1"], |
| 3484 | "//conditions:default": [], |
| 3485 | }), |
| 3486 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3487 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3488 | deps = [ |
| 3489 | ":indirection_test_mode", |
Marat Dukhan | 3b59de2 | 2020-06-03 20:15:19 -0700 | [diff] [blame] | 3490 | ":logging_utils", |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 3491 | ":packing_test_mode", |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3492 | "@FP16", |
| 3493 | "@FXdiv", |
| 3494 | "@clog", |
| 3495 | "@pthreadpool", |
| 3496 | ], |
| 3497 | ) |
| 3498 | |
| 3499 | xnnpack_cc_library( |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3500 | name = "XNNPACK", |
| 3501 | srcs = [ |
| 3502 | "src/init.c", |
Marat Dukhan | ccfdbd1 | 2020-02-03 14:27:45 -0800 | [diff] [blame] | 3503 | "src/runtime.c", |
| 3504 | "src/subgraph.c", |
| 3505 | "src/tensor.c", |
Marat Dukhan | f03da0d | 2020-06-10 16:00:20 -0700 | [diff] [blame] | 3506 | ] + SUBGRAPH_SRCS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3507 | hdrs = ["include/xnnpack.h"], |
| 3508 | copts = LOGGING_COPTS + [ |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3509 | "-Isrc", |
| 3510 | "-Iinclude", |
| 3511 | ] + select({ |
| 3512 | ":debug_build": [], |
| 3513 | "//conditions:default": xnnpack_min_size_copts(), |
Marat Dukhan | 05702cf | 2020-03-26 15:41:33 -0700 | [diff] [blame] | 3514 | }) + select({ |
| 3515 | ":xnn_enable_hmp_explicit_false": ["-DXNN_MAX_UARCH_TYPES=1"], |
| 3516 | "//conditions:default": [], |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3517 | }), |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3518 | gcc_copts = xnnpack_gcc_std_copts(), |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3519 | includes = ["include"], |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3520 | msvc_copts = xnnpack_msvc_std_copts(), |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3521 | visibility = xnnpack_visibility(), |
| 3522 | deps = [ |
| 3523 | ":enable_assembly", |
Marat Dukhan | 9de90e0 | 2020-06-18 16:04:12 -0700 | [diff] [blame] | 3524 | ":enable_sparse", |
Marat Dukhan | 3b59de2 | 2020-06-03 20:15:19 -0700 | [diff] [blame] | 3525 | ":logging_utils", |
Chao Mei | 6ddfc60 | 2020-05-13 22:29:36 -0700 | [diff] [blame] | 3526 | ":memory_planner", |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3527 | ":operator_run", |
| 3528 | ":operators", |
Marat Dukhan | 3b59de2 | 2020-06-03 20:15:19 -0700 | [diff] [blame] | 3529 | ":ukernels", |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3530 | "@clog", |
Marat Dukhan | ab2946c | 2020-05-21 20:04:13 -0700 | [diff] [blame] | 3531 | "@FP16", |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3532 | "@pthreadpool", |
Marat Dukhan | d343c22 | 2019-10-07 09:22:14 -0700 | [diff] [blame] | 3533 | ] + select({ |
| 3534 | ":emscripten": [], |
| 3535 | "//conditions:default": ["@cpuinfo"], |
| 3536 | }), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3537 | ) |
| 3538 | |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3539 | xnnpack_cc_library( |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3540 | name = "XNNPACK_test_mode", |
| 3541 | srcs = [ |
| 3542 | "src/init.c", |
| 3543 | "src/runtime.c", |
| 3544 | "src/subgraph.c", |
| 3545 | "src/tensor.c", |
Marat Dukhan | f03da0d | 2020-06-10 16:00:20 -0700 | [diff] [blame] | 3546 | ] + SUBGRAPH_SRCS, |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3547 | hdrs = ["include/xnnpack.h"], |
| 3548 | copts = LOGGING_COPTS + [ |
| 3549 | "-Isrc", |
| 3550 | "-Iinclude", |
| 3551 | "-UNDEBUG", |
| 3552 | "-DXNN_TEST_MODE=1", |
| 3553 | ] + select({ |
| 3554 | ":debug_build": [], |
| 3555 | "//conditions:default": xnnpack_min_size_copts(), |
| 3556 | }) + select({ |
| 3557 | ":xnn_enable_hmp_explicit_false": ["-DXNN_MAX_UARCH_TYPES=1"], |
| 3558 | "//conditions:default": [], |
| 3559 | }), |
| 3560 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3561 | includes = ["include"], |
| 3562 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3563 | visibility = xnnpack_visibility(), |
| 3564 | deps = [ |
| 3565 | ":enable_assembly", |
Marat Dukhan | 9de90e0 | 2020-06-18 16:04:12 -0700 | [diff] [blame] | 3566 | ":enable_sparse", |
Marat Dukhan | 3b59de2 | 2020-06-03 20:15:19 -0700 | [diff] [blame] | 3567 | ":logging_utils", |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3568 | ":memory_planner_test_mode", |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3569 | ":operator_run_test_mode", |
| 3570 | ":operators_test_mode", |
Marat Dukhan | 3b59de2 | 2020-06-03 20:15:19 -0700 | [diff] [blame] | 3571 | ":ukernels_test_mode", |
Marat Dukhan | 33fcf78 | 2020-05-24 14:27:15 -0700 | [diff] [blame] | 3572 | "@clog", |
| 3573 | "@FP16", |
| 3574 | "@pthreadpool", |
| 3575 | ] + select({ |
| 3576 | ":emscripten": [], |
| 3577 | "//conditions:default": ["@cpuinfo"], |
| 3578 | }), |
| 3579 | ) |
| 3580 | |
| 3581 | xnnpack_cc_library( |
Marat Dukhan | ae046f5 | 2020-06-15 13:16:14 -0700 | [diff] [blame] | 3582 | name = "xnnpack_f32", |
| 3583 | srcs = [ |
| 3584 | "src/init.c", |
| 3585 | "src/runtime.c", |
| 3586 | "src/subgraph.c", |
| 3587 | "src/tensor.c", |
| 3588 | ] + SUBGRAPH_SRCS, |
| 3589 | hdrs = ["include/xnnpack.h"], |
| 3590 | copts = LOGGING_COPTS + [ |
| 3591 | "-Isrc", |
| 3592 | "-Iinclude", |
| 3593 | ] + select({ |
| 3594 | ":debug_build": [], |
| 3595 | "//conditions:default": xnnpack_min_size_copts(), |
| 3596 | }) + select({ |
| 3597 | ":xnn_enable_hmp_explicit_false": ["-DXNN_MAX_UARCH_TYPES=1"], |
| 3598 | "//conditions:default": [], |
| 3599 | }), |
| 3600 | defines = [ |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 3601 | "XNN_NO_QU8_OPERATORS", |
Marat Dukhan | ae046f5 | 2020-06-15 13:16:14 -0700 | [diff] [blame] | 3602 | "XNN_NO_U8_OPERATORS", |
| 3603 | "XNN_NO_X8_OPERATORS", |
| 3604 | "XNN_NO_F16_OPERATORS", |
| 3605 | "XNN_NO_X16_OPERATORS", |
| 3606 | ], |
| 3607 | gcc_copts = xnnpack_gcc_std_copts(), |
| 3608 | includes = ["include"], |
| 3609 | msvc_copts = xnnpack_msvc_std_copts(), |
| 3610 | visibility = xnnpack_visibility(), |
| 3611 | deps = [ |
| 3612 | ":enable_assembly", |
Marat Dukhan | 9de90e0 | 2020-06-18 16:04:12 -0700 | [diff] [blame] | 3613 | ":enable_sparse", |
Marat Dukhan | ae046f5 | 2020-06-15 13:16:14 -0700 | [diff] [blame] | 3614 | ":logging_utils", |
| 3615 | ":memory_planner", |
| 3616 | ":operator_run", |
| 3617 | ":operators", |
Marat Dukhan | 86df384 | 2020-06-17 14:03:31 -0700 | [diff] [blame] | 3618 | ":ukernels_max_compatibility", |
Marat Dukhan | ae046f5 | 2020-06-15 13:16:14 -0700 | [diff] [blame] | 3619 | "@clog", |
| 3620 | "@FP16", |
| 3621 | "@pthreadpool", |
| 3622 | ] + select({ |
| 3623 | ":emscripten": [], |
| 3624 | "//conditions:default": ["@cpuinfo"], |
| 3625 | }), |
| 3626 | ) |
| 3627 | |
| 3628 | xnnpack_cc_library( |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3629 | name = "xnnpack_operators_nhwc_f32", |
| 3630 | srcs = [ |
| 3631 | "src/init.c", |
| 3632 | ], |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3633 | hdrs = ["include/xnnpack.h"], |
| 3634 | copts = LOGGING_COPTS + [ |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3635 | "-Isrc", |
| 3636 | "-Iinclude", |
| 3637 | ] + select({ |
| 3638 | ":debug_build": [], |
| 3639 | "//conditions:default": xnnpack_min_size_copts(), |
Marat Dukhan | 05702cf | 2020-03-26 15:41:33 -0700 | [diff] [blame] | 3640 | }) + select({ |
| 3641 | ":xnn_enable_hmp_explicit_false": ["-DXNN_MAX_UARCH_TYPES=1"], |
| 3642 | "//conditions:default": [], |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3643 | }), |
| 3644 | defines = [ |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 3645 | "XNN_NO_QU8_OPERATORS", |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3646 | "XNN_NO_U8_OPERATORS", |
| 3647 | "XNN_NO_X8_OPERATORS", |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 3648 | "XNN_NO_NCHW_OPERATORS", |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3649 | ], |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3650 | gcc_copts = xnnpack_gcc_std_copts(), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3651 | includes = ["include"], |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3652 | msvc_copts = xnnpack_msvc_std_copts(), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3653 | visibility = xnnpack_visibility(), |
| 3654 | deps = [ |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3655 | ":enable_assembly", |
Marat Dukhan | 3b59de2 | 2020-06-03 20:15:19 -0700 | [diff] [blame] | 3656 | ":logging_utils", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3657 | ":operator_run", |
| 3658 | ":operators", |
Marat Dukhan | 3b59de2 | 2020-06-03 20:15:19 -0700 | [diff] [blame] | 3659 | ":ukernels", |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3660 | "@clog", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3661 | "@pthreadpool", |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 3662 | ] + select({ |
| 3663 | ":emscripten": [], |
| 3664 | "//conditions:default": ["@cpuinfo"], |
| 3665 | }), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3666 | ) |
| 3667 | |
Marat Dukhan | cf056b2 | 2019-10-07 10:26:29 -0700 | [diff] [blame] | 3668 | xnnpack_cc_library( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3669 | name = "bench_utils", |
| 3670 | srcs = ["bench/utils.cc"], |
| 3671 | hdrs = ["bench/utils.h"], |
Marat Dukhan | bad48fe | 2019-11-04 10:35:22 -0800 | [diff] [blame] | 3672 | deps = [ |
| 3673 | "@com_google_benchmark//:benchmark", |
| 3674 | "@cpuinfo", |
| 3675 | ], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3676 | ) |
| 3677 | |
Frank Barchard | 7e95597 | 2019-10-11 10:34:25 -0700 | [diff] [blame] | 3678 | ######################### Benchmarks for micro-kernels ######################### |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3679 | |
| 3680 | xnnpack_benchmark( |
Marat Dukhan | 595e170 | 2020-07-31 10:12:52 -0700 | [diff] [blame] | 3681 | name = "qs8_gemm_bench", |
| 3682 | srcs = [ |
| 3683 | "bench/gemm.h", |
| 3684 | "bench/qs8-gemm.cc", |
| 3685 | "src/xnnpack/AlignedAllocator.h", |
| 3686 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_BENCHMARK_HDRS, |
| 3687 | deps = MICROKERNEL_BENCHMARK_DEPS + [":packing"], |
| 3688 | ) |
| 3689 | |
| 3690 | xnnpack_benchmark( |
Marat Dukhan | 56bdd4a | 2020-08-03 19:47:04 -0700 | [diff] [blame] | 3691 | name = "qs8_requantization_bench", |
| 3692 | srcs = [ |
| 3693 | "bench/qs8-requantization.cc", |
| 3694 | "src/xnnpack/requantization-stubs.h", |
| 3695 | "src/xnnpack/AlignedAllocator.h", |
| 3696 | ] + MICROKERNEL_BENCHMARK_HDRS, |
| 3697 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3698 | ) |
| 3699 | |
| 3700 | xnnpack_benchmark( |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 3701 | name = "qu8_gemm_bench", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3702 | srcs = [ |
| 3703 | "bench/gemm.h", |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 3704 | "bench/qu8-gemm.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3705 | "src/xnnpack/AlignedAllocator.h", |
| 3706 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3707 | copts = xnnpack_optional_ruy_copts() + xnnpack_optional_gemmlowp_copts(), |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 3708 | 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] | 3709 | ) |
| 3710 | |
| 3711 | xnnpack_benchmark( |
Marat Dukhan | 5b69f8b | 2020-07-24 15:26:48 -0700 | [diff] [blame] | 3712 | name = "qu8_requantization_bench", |
| 3713 | srcs = [ |
| 3714 | "bench/qu8-requantization.cc", |
| 3715 | "src/xnnpack/requantization-stubs.h", |
| 3716 | "src/xnnpack/AlignedAllocator.h", |
| 3717 | ] + MICROKERNEL_BENCHMARK_HDRS, |
| 3718 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3719 | ) |
| 3720 | |
| 3721 | xnnpack_benchmark( |
Frank Barchard | 40d20fe | 2020-05-05 00:37:45 -0700 | [diff] [blame] | 3722 | name = "f16_igemm_bench", |
| 3723 | srcs = [ |
| 3724 | "bench/f16-igemm.cc", |
| 3725 | "bench/conv.h", |
| 3726 | "bench/google/conv.h", |
| 3727 | "src/xnnpack/AlignedAllocator.h", |
| 3728 | ] + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 3729 | deps = MICROKERNEL_BENCHMARK_DEPS + [ |
| 3730 | ":indirection", |
| 3731 | ":packing", |
| 3732 | ], |
Frank Barchard | 40d20fe | 2020-05-05 00:37:45 -0700 | [diff] [blame] | 3733 | ) |
| 3734 | |
| 3735 | xnnpack_benchmark( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3736 | name = "f16_gemm_bench", |
| 3737 | srcs = [ |
| 3738 | "bench/f16-gemm.cc", |
| 3739 | "bench/gemm.h", |
| 3740 | "src/xnnpack/AlignedAllocator.h", |
| 3741 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 3742 | deps = MICROKERNEL_BENCHMARK_DEPS + [ |
| 3743 | ":packing", |
| 3744 | ], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3745 | ) |
| 3746 | |
| 3747 | xnnpack_benchmark( |
Marat Dukhan | bdb56f5 | 2020-02-05 21:42:49 -0800 | [diff] [blame] | 3748 | name = "f16_spmm_bench", |
| 3749 | srcs = [ |
| 3750 | "bench/f16-spmm.cc", |
| 3751 | "bench/gemm.h", |
Marat Dukhan | bdb56f5 | 2020-02-05 21:42:49 -0800 | [diff] [blame] | 3752 | "src/xnnpack/AlignedAllocator.h", |
| 3753 | ] + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | bdb56f5 | 2020-02-05 21:42:49 -0800 | [diff] [blame] | 3754 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3755 | ) |
| 3756 | |
| 3757 | xnnpack_benchmark( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3758 | name = "f32_igemm_bench", |
| 3759 | srcs = [ |
| 3760 | "bench/f32-igemm.cc", |
| 3761 | "bench/conv.h", |
| 3762 | "src/xnnpack/AlignedAllocator.h", |
| 3763 | ] + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 3764 | deps = MICROKERNEL_BENCHMARK_DEPS + [ |
| 3765 | ":indirection", |
| 3766 | ":packing", |
| 3767 | ], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3768 | ) |
| 3769 | |
| 3770 | xnnpack_benchmark( |
Frank Barchard | c201006 | 2020-07-19 10:04:12 -0700 | [diff] [blame] | 3771 | name = "f16_relu_bench", |
| 3772 | srcs = [ |
| 3773 | "bench/f16-relu.cc", |
| 3774 | "src/xnnpack/AlignedAllocator.h", |
| 3775 | ] + MICROKERNEL_BENCHMARK_HDRS, |
| 3776 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3777 | ) |
| 3778 | |
| 3779 | xnnpack_benchmark( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3780 | name = "f32_conv_hwc_bench", |
| 3781 | srcs = [ |
| 3782 | "bench/f32-conv-hwc.cc", |
| 3783 | "bench/dconv.h", |
| 3784 | "src/xnnpack/AlignedAllocator.h", |
| 3785 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 3786 | deps = MICROKERNEL_BENCHMARK_DEPS + [ |
| 3787 | ":packing", |
| 3788 | ], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3789 | ) |
| 3790 | |
| 3791 | xnnpack_benchmark( |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 3792 | name = "f32_conv_hwc2chw_bench", |
Erich Elsen | 563df5f | 2019-10-23 08:02:21 -0700 | [diff] [blame] | 3793 | srcs = [ |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 3794 | "bench/f32-conv-hwc2chw.cc", |
Erich Elsen | 563df5f | 2019-10-23 08:02:21 -0700 | [diff] [blame] | 3795 | "bench/dconv.h", |
| 3796 | "src/xnnpack/AlignedAllocator.h", |
| 3797 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 3798 | deps = MICROKERNEL_BENCHMARK_DEPS + [ |
| 3799 | ":packing", |
| 3800 | ], |
Erich Elsen | 563df5f | 2019-10-23 08:02:21 -0700 | [diff] [blame] | 3801 | ) |
| 3802 | |
| 3803 | xnnpack_benchmark( |
Frank Barchard | 5a599a6 | 2020-06-04 20:12:44 -0700 | [diff] [blame] | 3804 | name = "f16_dwconv_bench", |
| 3805 | srcs = [ |
| 3806 | "bench/f16-dwconv.cc", |
| 3807 | "bench/dwconv.h", |
| 3808 | "bench/google/dwconv.h", |
| 3809 | "src/xnnpack/AlignedAllocator.h", |
| 3810 | ] + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 3811 | deps = MICROKERNEL_BENCHMARK_DEPS + [ |
| 3812 | ":indirection", |
| 3813 | ":packing", |
| 3814 | ], |
Frank Barchard | 5a599a6 | 2020-06-04 20:12:44 -0700 | [diff] [blame] | 3815 | ) |
| 3816 | |
| 3817 | xnnpack_benchmark( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3818 | name = "f32_dwconv_bench", |
| 3819 | srcs = [ |
| 3820 | "bench/f32-dwconv.cc", |
| 3821 | "bench/dwconv.h", |
| 3822 | "src/xnnpack/AlignedAllocator.h", |
| 3823 | ] + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 3824 | deps = MICROKERNEL_BENCHMARK_DEPS + [ |
| 3825 | ":indirection", |
| 3826 | ":packing", |
| 3827 | ], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3828 | ) |
| 3829 | |
| 3830 | xnnpack_benchmark( |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 3831 | name = "f32_dwconv_chw_bench", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3832 | srcs = [ |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 3833 | "bench/f32-dwconv-chw.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3834 | "bench/dwconv.h", |
| 3835 | "src/xnnpack/AlignedAllocator.h", |
| 3836 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 3837 | deps = MICROKERNEL_BENCHMARK_DEPS + [ |
| 3838 | ":indirection", |
| 3839 | ":packing", |
| 3840 | ], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3841 | ) |
| 3842 | |
| 3843 | xnnpack_benchmark( |
| 3844 | name = "f32_gemm_bench", |
| 3845 | srcs = [ |
| 3846 | "bench/f32-gemm.cc", |
| 3847 | "bench/gemm.h", |
| 3848 | "src/xnnpack/AlignedAllocator.h", |
| 3849 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3850 | copts = xnnpack_optional_ruy_copts(), |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 3851 | deps = MICROKERNEL_BENCHMARK_DEPS + [":packing"] + xnnpack_optional_ruy_deps(), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3852 | ) |
| 3853 | |
| 3854 | xnnpack_benchmark( |
Marat Dukhan | a11ca34 | 2020-06-25 23:45:07 -0700 | [diff] [blame] | 3855 | name = "f32_hswish_bench", |
| 3856 | srcs = [ |
| 3857 | "bench/f32-hswish.cc", |
| 3858 | "src/xnnpack/AlignedAllocator.h", |
| 3859 | ] + MICROKERNEL_BENCHMARK_HDRS, |
| 3860 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3861 | ) |
| 3862 | |
| 3863 | xnnpack_benchmark( |
Marat Dukhan | 4c4eb00 | 2019-12-08 21:27:49 -0800 | [diff] [blame] | 3864 | name = "f32_raddexpminusmax_bench", |
| 3865 | srcs = [ |
| 3866 | "bench/f32-raddexpminusmax.cc", |
| 3867 | "src/xnnpack/AlignedAllocator.h", |
| 3868 | ] + MICROKERNEL_BENCHMARK_HDRS, |
| 3869 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3870 | ) |
| 3871 | |
| 3872 | xnnpack_benchmark( |
| 3873 | name = "f32_raddextexp_bench", |
| 3874 | srcs = [ |
| 3875 | "bench/f32-raddextexp.cc", |
| 3876 | "src/xnnpack/AlignedAllocator.h", |
| 3877 | ] + MICROKERNEL_BENCHMARK_HDRS, |
| 3878 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3879 | ) |
| 3880 | |
| 3881 | xnnpack_benchmark( |
| 3882 | name = "f32_raddstoreexpminusmax_bench", |
| 3883 | srcs = [ |
| 3884 | "bench/f32-raddstoreexpminusmax.cc", |
| 3885 | "src/xnnpack/AlignedAllocator.h", |
| 3886 | ] + MICROKERNEL_BENCHMARK_HDRS, |
| 3887 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3888 | ) |
| 3889 | |
| 3890 | xnnpack_benchmark( |
Frank Barchard | 3c4a952 | 2020-07-18 16:11:22 -0700 | [diff] [blame] | 3891 | name = "f32_relu_bench", |
| 3892 | srcs = [ |
| 3893 | "bench/f32-relu.cc", |
| 3894 | "src/xnnpack/AlignedAllocator.h", |
| 3895 | ] + MICROKERNEL_BENCHMARK_HDRS, |
| 3896 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3897 | ) |
| 3898 | |
| 3899 | xnnpack_benchmark( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3900 | name = "f32_rmax_bench", |
| 3901 | srcs = [ |
| 3902 | "bench/f32-rmax.cc", |
| 3903 | "src/xnnpack/AlignedAllocator.h", |
| 3904 | ] + MICROKERNEL_BENCHMARK_HDRS, |
| 3905 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3906 | ) |
| 3907 | |
| 3908 | xnnpack_benchmark( |
Marat Dukhan | 14bec50 | 2019-11-18 11:35:31 -0800 | [diff] [blame] | 3909 | name = "f32_sigmoid_bench", |
| 3910 | srcs = [ |
| 3911 | "bench/f32-sigmoid.cc", |
| 3912 | "src/xnnpack/AlignedAllocator.h", |
| 3913 | ] + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | 14bec50 | 2019-11-18 11:35:31 -0800 | [diff] [blame] | 3914 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3915 | ) |
| 3916 | |
| 3917 | xnnpack_benchmark( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3918 | name = "f32_spmm_bench", |
| 3919 | srcs = [ |
| 3920 | "bench/f32-spmm.cc", |
| 3921 | "bench/gemm.h", |
| 3922 | "src/xnnpack/AlignedAllocator.h", |
| 3923 | ] + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3924 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3925 | ) |
| 3926 | |
| 3927 | xnnpack_benchmark( |
Marat Dukhan | fd8e689 | 2020-01-27 15:25:25 -0800 | [diff] [blame] | 3928 | name = "f32_softmax_bench", |
Marat Dukhan | 4a4a7fa | 2019-10-21 13:46:14 -0700 | [diff] [blame] | 3929 | srcs = [ |
Marat Dukhan | fd8e689 | 2020-01-27 15:25:25 -0800 | [diff] [blame] | 3930 | "bench/f32-softmax.cc", |
Marat Dukhan | 4a4a7fa | 2019-10-21 13:46:14 -0700 | [diff] [blame] | 3931 | ] + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 3932 | copts = xnnpack_optional_dnnl_copts(), |
Marat Dukhan | 8d3c693 | 2020-03-06 20:27:27 -0800 | [diff] [blame] | 3933 | deps = MICROKERNEL_BENCHMARK_DEPS + xnnpack_optional_dnnl_deps(), |
Marat Dukhan | 4a4a7fa | 2019-10-21 13:46:14 -0700 | [diff] [blame] | 3934 | ) |
| 3935 | |
| 3936 | xnnpack_benchmark( |
Marat Dukhan | 4c4eb00 | 2019-12-08 21:27:49 -0800 | [diff] [blame] | 3937 | name = "f32_vscaleexpminusmax_bench", |
| 3938 | srcs = [ |
| 3939 | "bench/f32-vscaleexpminusmax.cc", |
| 3940 | "src/xnnpack/AlignedAllocator.h", |
| 3941 | ] + MICROKERNEL_BENCHMARK_HDRS, |
| 3942 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3943 | ) |
| 3944 | |
| 3945 | xnnpack_benchmark( |
| 3946 | name = "f32_vscaleextexp_bench", |
| 3947 | srcs = [ |
| 3948 | "bench/f32-vscaleextexp.cc", |
| 3949 | "src/xnnpack/AlignedAllocator.h", |
| 3950 | ] + MICROKERNEL_BENCHMARK_HDRS, |
| 3951 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3952 | ) |
| 3953 | |
| 3954 | xnnpack_benchmark( |
Marat Dukhan | f4db2f3 | 2020-06-30 10:55:30 -0700 | [diff] [blame] | 3955 | name = "f32_vsqrt_bench", |
| 3956 | srcs = [ |
| 3957 | "bench/f32-vsqrt.cc", |
| 3958 | "src/xnnpack/AlignedAllocator.h", |
| 3959 | ] + MICROKERNEL_BENCHMARK_HDRS, |
| 3960 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3961 | ) |
| 3962 | |
| 3963 | xnnpack_benchmark( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3964 | name = "f32_im2col_gemm_bench", |
| 3965 | srcs = [ |
| 3966 | "bench/f32-im2col-gemm.cc", |
| 3967 | "bench/conv.h", |
| 3968 | "src/xnnpack/AlignedAllocator.h", |
| 3969 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 3970 | deps = MICROKERNEL_BENCHMARK_DEPS + [ |
| 3971 | ":im2col", |
| 3972 | ":packing", |
| 3973 | ], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3974 | ) |
| 3975 | |
Marat Dukhan | fe7acb6 | 2020-03-09 19:30:05 -0700 | [diff] [blame] | 3976 | xnnpack_benchmark( |
Marat Dukhan | ffbf96a | 2020-05-14 02:59:08 -0700 | [diff] [blame] | 3977 | name = "rounding_bench", |
| 3978 | srcs = [ |
| 3979 | "bench/rounding.cc", |
| 3980 | "src/xnnpack/math-stubs.h", |
| 3981 | "src/xnnpack/AlignedAllocator.h", |
| 3982 | ] + MICROKERNEL_BENCHMARK_HDRS, |
| 3983 | deps = MICROKERNEL_BENCHMARK_DEPS, |
| 3984 | ) |
| 3985 | |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3986 | ########################### Benchmarks for operators ########################### |
| 3987 | |
| 3988 | xnnpack_benchmark( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3989 | name = "average_pooling_bench", |
| 3990 | srcs = ["bench/average-pooling.cc"], |
Marat Dukhan | 7a16d8b | 2020-03-11 04:22:44 -0700 | [diff] [blame] | 3991 | copts = xnnpack_optional_tflite_copts(), |
Marat Dukhan | 8ea0b07 | 2020-04-23 16:12:18 -0700 | [diff] [blame] | 3992 | tags = ["nowin32"], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 3993 | deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 3994 | ) |
| 3995 | |
| 3996 | xnnpack_benchmark( |
Marat Dukhan | 8772714 | 2020-06-24 15:24:10 -0700 | [diff] [blame] | 3997 | name = "bankers_rounding_bench", |
| 3998 | srcs = ["bench/bankers-rounding.cc"], |
| 3999 | copts = xnnpack_optional_tflite_copts(), |
| 4000 | tags = ["nowin32"], |
| 4001 | deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(), |
| 4002 | ) |
| 4003 | |
| 4004 | xnnpack_benchmark( |
| 4005 | name = "ceiling_bench", |
| 4006 | srcs = ["bench/ceiling.cc"], |
| 4007 | copts = xnnpack_optional_tflite_copts(), |
| 4008 | tags = ["nowin32"], |
| 4009 | deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(), |
| 4010 | ) |
| 4011 | |
| 4012 | xnnpack_benchmark( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4013 | name = "channel_shuffle_bench", |
| 4014 | srcs = ["bench/channel-shuffle.cc"], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 4015 | deps = OPERATOR_BENCHMARK_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4016 | ) |
| 4017 | |
| 4018 | xnnpack_benchmark( |
| 4019 | name = "convolution_bench", |
| 4020 | srcs = ["bench/convolution.cc"], |
| 4021 | copts = xnnpack_optional_tflite_copts() + xnnpack_optional_armcl_copts(), |
Marat Dukhan | 8ea0b07 | 2020-04-23 16:12:18 -0700 | [diff] [blame] | 4022 | tags = ["nowin32"], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 4023 | deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps() + xnnpack_optional_armcl_deps(), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4024 | ) |
| 4025 | |
| 4026 | xnnpack_benchmark( |
| 4027 | name = "deconvolution_bench", |
| 4028 | srcs = ["bench/deconvolution.cc"], |
| 4029 | copts = xnnpack_optional_tflite_copts(), |
Marat Dukhan | 8ea0b07 | 2020-04-23 16:12:18 -0700 | [diff] [blame] | 4030 | tags = ["nowin32"], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 4031 | deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4032 | ) |
| 4033 | |
| 4034 | xnnpack_benchmark( |
Marat Dukhan | 8772714 | 2020-06-24 15:24:10 -0700 | [diff] [blame] | 4035 | name = "floor_bench", |
| 4036 | srcs = ["bench/floor.cc"], |
| 4037 | copts = xnnpack_optional_tflite_copts(), |
| 4038 | tags = ["nowin32"], |
| 4039 | deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(), |
| 4040 | ) |
| 4041 | |
| 4042 | xnnpack_benchmark( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4043 | name = "global_average_pooling_bench", |
| 4044 | srcs = ["bench/global-average-pooling.cc"], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 4045 | deps = OPERATOR_BENCHMARK_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4046 | ) |
| 4047 | |
| 4048 | xnnpack_benchmark( |
Marat Dukhan | ad35260 | 2020-06-25 21:50:54 -0700 | [diff] [blame] | 4049 | name = "hardswish_bench", |
| 4050 | srcs = ["bench/hardswish.cc"], |
| 4051 | copts = xnnpack_optional_tflite_copts(), |
| 4052 | tags = ["nowin32"], |
| 4053 | deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(), |
| 4054 | ) |
| 4055 | |
| 4056 | xnnpack_benchmark( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4057 | name = "max_pooling_bench", |
| 4058 | srcs = ["bench/max-pooling.cc"], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 4059 | deps = OPERATOR_BENCHMARK_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4060 | ) |
| 4061 | |
| 4062 | xnnpack_benchmark( |
| 4063 | name = "sigmoid_bench", |
| 4064 | srcs = ["bench/sigmoid.cc"], |
Marat Dukhan | c3b9e86 | 2019-11-17 13:18:54 -0800 | [diff] [blame] | 4065 | copts = xnnpack_optional_tflite_copts(), |
Marat Dukhan | ca2ba70 | 2020-04-24 01:31:47 -0700 | [diff] [blame] | 4066 | tags = ["nowin32"], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 4067 | deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4068 | ) |
| 4069 | |
| 4070 | xnnpack_benchmark( |
Marat Dukhan | 95b2243 | 2019-10-30 16:30:14 -0700 | [diff] [blame] | 4071 | name = "prelu_bench", |
| 4072 | srcs = ["bench/prelu.cc"], |
| 4073 | copts = xnnpack_optional_tflite_copts(), |
Marat Dukhan | 8ea0b07 | 2020-04-23 16:12:18 -0700 | [diff] [blame] | 4074 | tags = ["nowin32"], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 4075 | deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(), |
Marat Dukhan | 95b2243 | 2019-10-30 16:30:14 -0700 | [diff] [blame] | 4076 | ) |
| 4077 | |
| 4078 | xnnpack_benchmark( |
Marat Dukhan | fd8e689 | 2020-01-27 15:25:25 -0800 | [diff] [blame] | 4079 | name = "softmax_bench", |
| 4080 | srcs = ["bench/softmax.cc"], |
Marat Dukhan | 9c0db96 | 2020-01-28 12:30:14 -0800 | [diff] [blame] | 4081 | copts = xnnpack_optional_tflite_copts(), |
Marat Dukhan | ca2ba70 | 2020-04-24 01:31:47 -0700 | [diff] [blame] | 4082 | tags = ["nowin32"], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 4083 | deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(), |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4084 | ) |
| 4085 | |
Marat Dukhan | 8772714 | 2020-06-24 15:24:10 -0700 | [diff] [blame] | 4086 | xnnpack_benchmark( |
Marat Dukhan | 6804bbd | 2020-06-30 19:26:11 -0700 | [diff] [blame] | 4087 | name = "square_root_bench", |
| 4088 | srcs = ["bench/square-root.cc"], |
| 4089 | copts = xnnpack_optional_tflite_copts(), |
| 4090 | tags = ["nowin32"], |
| 4091 | deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(), |
| 4092 | ) |
| 4093 | |
| 4094 | xnnpack_benchmark( |
Marat Dukhan | 8772714 | 2020-06-24 15:24:10 -0700 | [diff] [blame] | 4095 | name = "truncation_bench", |
| 4096 | srcs = ["bench/truncation.cc"], |
| 4097 | deps = OPERATOR_BENCHMARK_DEPS, |
| 4098 | ) |
| 4099 | |
Marat Dukhan | c068bb6 | 2019-10-04 13:24:39 -0700 | [diff] [blame] | 4100 | ############################# End-to-end benchmarks ############################ |
| 4101 | |
| 4102 | cc_library( |
Marat Dukhan | 270a2c4 | 2020-06-26 16:45:52 -0700 | [diff] [blame] | 4103 | name = "fp32_mobilenet_v1", |
| 4104 | srcs = ["models/fp32-mobilenet-v1.cc"], |
Marat Dukhan | c068bb6 | 2019-10-04 13:24:39 -0700 | [diff] [blame] | 4105 | hdrs = ["models/models.h"], |
Marat Dukhan | a84e40b | 2019-12-11 15:38:03 -0800 | [diff] [blame] | 4106 | copts = xnnpack_std_cxxopts(), |
Marat Dukhan | c068bb6 | 2019-10-04 13:24:39 -0700 | [diff] [blame] | 4107 | linkstatic = True, |
| 4108 | deps = [ |
| 4109 | ":XNNPACK", |
| 4110 | "@pthreadpool", |
| 4111 | ], |
| 4112 | ) |
| 4113 | |
| 4114 | cc_library( |
Marat Dukhan | 270a2c4 | 2020-06-26 16:45:52 -0700 | [diff] [blame] | 4115 | name = "fp16_mobilenet_v1", |
| 4116 | srcs = ["models/fp16-mobilenet-v1.cc"], |
| 4117 | hdrs = ["models/models.h"], |
| 4118 | copts = xnnpack_std_cxxopts(), |
| 4119 | linkstatic = True, |
| 4120 | deps = [ |
| 4121 | ":XNNPACK", |
| 4122 | "@FP16", |
| 4123 | "@pthreadpool", |
| 4124 | ], |
| 4125 | ) |
| 4126 | |
| 4127 | cc_library( |
| 4128 | name = "fp32_mobilenet_v2", |
| 4129 | srcs = ["models/fp32-mobilenet-v2.cc"], |
Marat Dukhan | c068bb6 | 2019-10-04 13:24:39 -0700 | [diff] [blame] | 4130 | hdrs = ["models/models.h"], |
Marat Dukhan | a84e40b | 2019-12-11 15:38:03 -0800 | [diff] [blame] | 4131 | copts = xnnpack_std_cxxopts(), |
Marat Dukhan | c068bb6 | 2019-10-04 13:24:39 -0700 | [diff] [blame] | 4132 | linkstatic = True, |
| 4133 | deps = [ |
| 4134 | ":XNNPACK", |
| 4135 | "@pthreadpool", |
| 4136 | ], |
| 4137 | ) |
| 4138 | |
Marat Dukhan | c08cdf5 | 2019-12-09 09:17:51 -0800 | [diff] [blame] | 4139 | cc_library( |
Marat Dukhan | 270a2c4 | 2020-06-26 16:45:52 -0700 | [diff] [blame] | 4140 | name = "fp16_mobilenet_v2", |
| 4141 | srcs = ["models/fp16-mobilenet-v2.cc"], |
| 4142 | hdrs = ["models/models.h"], |
| 4143 | copts = xnnpack_std_cxxopts(), |
| 4144 | linkstatic = True, |
| 4145 | deps = [ |
| 4146 | ":XNNPACK", |
| 4147 | "@FP16", |
| 4148 | "@pthreadpool", |
| 4149 | ], |
| 4150 | ) |
| 4151 | |
| 4152 | cc_library( |
| 4153 | name = "fp32_mobilenet_v3_large", |
| 4154 | srcs = ["models/fp32-mobilenet-v3-large.cc"], |
Marat Dukhan | c08cdf5 | 2019-12-09 09:17:51 -0800 | [diff] [blame] | 4155 | hdrs = ["models/models.h"], |
Marat Dukhan | a84e40b | 2019-12-11 15:38:03 -0800 | [diff] [blame] | 4156 | copts = xnnpack_std_cxxopts(), |
Marat Dukhan | c08cdf5 | 2019-12-09 09:17:51 -0800 | [diff] [blame] | 4157 | linkstatic = True, |
| 4158 | deps = [ |
| 4159 | ":XNNPACK", |
| 4160 | "@pthreadpool", |
| 4161 | ], |
| 4162 | ) |
| 4163 | |
| 4164 | cc_library( |
Marat Dukhan | 270a2c4 | 2020-06-26 16:45:52 -0700 | [diff] [blame] | 4165 | name = "fp32_mobilenet_v3_small", |
| 4166 | srcs = ["models/fp32-mobilenet-v3-small.cc"], |
Marat Dukhan | c08cdf5 | 2019-12-09 09:17:51 -0800 | [diff] [blame] | 4167 | hdrs = ["models/models.h"], |
Marat Dukhan | a84e40b | 2019-12-11 15:38:03 -0800 | [diff] [blame] | 4168 | copts = xnnpack_std_cxxopts(), |
Marat Dukhan | c08cdf5 | 2019-12-09 09:17:51 -0800 | [diff] [blame] | 4169 | linkstatic = True, |
| 4170 | deps = [ |
| 4171 | ":XNNPACK", |
| 4172 | "@pthreadpool", |
| 4173 | ], |
| 4174 | ) |
| 4175 | |
Marat Dukhan | c068bb6 | 2019-10-04 13:24:39 -0700 | [diff] [blame] | 4176 | xnnpack_benchmark( |
Marat Dukhan | ef4416e | 2019-10-31 13:44:40 -0700 | [diff] [blame] | 4177 | name = "f32_dwconv_e2e_bench", |
Marat Dukhan | c08cdf5 | 2019-12-09 09:17:51 -0800 | [diff] [blame] | 4178 | srcs = [ |
| 4179 | "bench/f32-dwconv-e2e.cc", |
| 4180 | "bench/end2end.h", |
| 4181 | ] + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | ef4416e | 2019-10-31 13:44:40 -0700 | [diff] [blame] | 4182 | deps = MICROKERNEL_BENCHMARK_DEPS + [ |
| 4183 | ":XNNPACK", |
Marat Dukhan | 270a2c4 | 2020-06-26 16:45:52 -0700 | [diff] [blame] | 4184 | ":fp32_mobilenet_v1", |
| 4185 | ":fp32_mobilenet_v2", |
| 4186 | ":fp32_mobilenet_v3_large", |
| 4187 | ":fp32_mobilenet_v3_small", |
Marat Dukhan | ef4416e | 2019-10-31 13:44:40 -0700 | [diff] [blame] | 4188 | ], |
| 4189 | ) |
| 4190 | |
| 4191 | xnnpack_benchmark( |
Marat Dukhan | 5f18d26 | 2019-10-31 10:24:14 -0700 | [diff] [blame] | 4192 | name = "f32_gemm_e2e_bench", |
Marat Dukhan | c08cdf5 | 2019-12-09 09:17:51 -0800 | [diff] [blame] | 4193 | srcs = [ |
| 4194 | "bench/f32-gemm-e2e.cc", |
| 4195 | "bench/end2end.h", |
| 4196 | ] + MICROKERNEL_BENCHMARK_HDRS, |
Marat Dukhan | 5f18d26 | 2019-10-31 10:24:14 -0700 | [diff] [blame] | 4197 | deps = MICROKERNEL_BENCHMARK_DEPS + [ |
| 4198 | ":XNNPACK", |
Marat Dukhan | 270a2c4 | 2020-06-26 16:45:52 -0700 | [diff] [blame] | 4199 | ":fp32_mobilenet_v1", |
| 4200 | ":fp32_mobilenet_v2", |
| 4201 | ":fp32_mobilenet_v3_large", |
| 4202 | ":fp32_mobilenet_v3_small", |
Marat Dukhan | 5f18d26 | 2019-10-31 10:24:14 -0700 | [diff] [blame] | 4203 | ], |
| 4204 | ) |
| 4205 | |
| 4206 | xnnpack_benchmark( |
Marat Dukhan | c068bb6 | 2019-10-04 13:24:39 -0700 | [diff] [blame] | 4207 | name = "end2end_bench", |
| 4208 | srcs = ["bench/end2end.cc"], |
| 4209 | deps = [ |
| 4210 | ":XNNPACK", |
Frank Barchard | c712fa4 | 2019-10-31 14:00:21 -0700 | [diff] [blame] | 4211 | ":bench_utils", |
Marat Dukhan | 270a2c4 | 2020-06-26 16:45:52 -0700 | [diff] [blame] | 4212 | ":fp16_mobilenet_v1", |
| 4213 | ":fp16_mobilenet_v2", |
| 4214 | ":fp32_mobilenet_v1", |
| 4215 | ":fp32_mobilenet_v2", |
| 4216 | ":fp32_mobilenet_v3_large", |
| 4217 | ":fp32_mobilenet_v3_small", |
Marat Dukhan | c068bb6 | 2019-10-04 13:24:39 -0700 | [diff] [blame] | 4218 | "@pthreadpool", |
| 4219 | ], |
| 4220 | ) |
| 4221 | |
Marat Dukhan | 6adff4e | 2019-10-14 18:32:07 -0700 | [diff] [blame] | 4222 | #################### Accuracy evaluation for math functions #################### |
| 4223 | |
| 4224 | xnnpack_benchmark( |
| 4225 | name = "f32_exp_eval", |
| 4226 | srcs = [ |
| 4227 | "eval/f32-exp.cc", |
| 4228 | "src/xnnpack/AlignedAllocator.h", |
| 4229 | ] + ACCURACY_EVAL_HDRS, |
| 4230 | deps = ACCURACY_EVAL_DEPS, |
| 4231 | ) |
| 4232 | |
Marat Dukhan | 515c977 | 2019-10-17 18:07:57 -0700 | [diff] [blame] | 4233 | xnnpack_benchmark( |
| 4234 | name = "f32_expminus_eval", |
| 4235 | srcs = [ |
| 4236 | "eval/f32-expminus.cc", |
| 4237 | "src/xnnpack/AlignedAllocator.h", |
| 4238 | ] + ACCURACY_EVAL_HDRS, |
| 4239 | deps = ACCURACY_EVAL_DEPS, |
| 4240 | ) |
| 4241 | |
Marat Dukhan | 98ba441 | 2019-10-23 02:14:28 -0700 | [diff] [blame] | 4242 | xnnpack_benchmark( |
| 4243 | name = "f32_extexp_eval", |
| 4244 | srcs = [ |
| 4245 | "eval/f32-extexp.cc", |
| 4246 | "src/xnnpack/AlignedAllocator.h", |
| 4247 | ] + ACCURACY_EVAL_HDRS, |
| 4248 | deps = ACCURACY_EVAL_DEPS, |
| 4249 | ) |
| 4250 | |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 4251 | xnnpack_unit_test( |
| 4252 | name = "f32_roundne_eval", |
| 4253 | srcs = [ |
| 4254 | "eval/f32-roundne.cc", |
| 4255 | "src/xnnpack/AlignedAllocator.h", |
| 4256 | "src/xnnpack/math-stubs.h", |
| 4257 | ] + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | 22eed3d | 2020-05-11 20:13:37 -0700 | [diff] [blame] | 4258 | automatic = False, |
Marat Dukhan | 8853b82 | 2020-05-07 12:19:01 -0700 | [diff] [blame] | 4259 | deps = MICROKERNEL_TEST_DEPS, |
| 4260 | ) |
| 4261 | |
Marat Dukhan | 2dbb944 | 2020-05-12 20:43:43 -0700 | [diff] [blame] | 4262 | xnnpack_unit_test( |
Marat Dukhan | c9852ba | 2020-05-13 17:21:29 -0700 | [diff] [blame] | 4263 | name = "f32_roundd_eval", |
| 4264 | srcs = [ |
| 4265 | "eval/f32-roundd.cc", |
| 4266 | "src/xnnpack/AlignedAllocator.h", |
| 4267 | "src/xnnpack/math-stubs.h", |
| 4268 | ] + MICROKERNEL_TEST_HDRS, |
| 4269 | automatic = False, |
| 4270 | deps = MICROKERNEL_TEST_DEPS, |
| 4271 | ) |
| 4272 | |
| 4273 | xnnpack_unit_test( |
| 4274 | name = "f32_roundu_eval", |
| 4275 | srcs = [ |
| 4276 | "eval/f32-roundu.cc", |
| 4277 | "src/xnnpack/AlignedAllocator.h", |
| 4278 | "src/xnnpack/math-stubs.h", |
| 4279 | ] + MICROKERNEL_TEST_HDRS, |
| 4280 | automatic = False, |
| 4281 | deps = MICROKERNEL_TEST_DEPS, |
| 4282 | ) |
| 4283 | |
| 4284 | xnnpack_unit_test( |
Marat Dukhan | 2dbb944 | 2020-05-12 20:43:43 -0700 | [diff] [blame] | 4285 | name = "f32_roundz_eval", |
| 4286 | srcs = [ |
| 4287 | "eval/f32-roundz.cc", |
| 4288 | "src/xnnpack/AlignedAllocator.h", |
| 4289 | "src/xnnpack/math-stubs.h", |
| 4290 | ] + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | c9852ba | 2020-05-13 17:21:29 -0700 | [diff] [blame] | 4291 | automatic = False, |
Marat Dukhan | 2dbb944 | 2020-05-12 20:43:43 -0700 | [diff] [blame] | 4292 | deps = MICROKERNEL_TEST_DEPS, |
| 4293 | ) |
| 4294 | |
Marat Dukhan | 346a9e5 | 2019-11-15 09:06:30 -0800 | [diff] [blame] | 4295 | xnnpack_benchmark( |
| 4296 | name = "f32_sigmoid_eval", |
| 4297 | srcs = [ |
| 4298 | "eval/f32-sigmoid.cc", |
| 4299 | "src/xnnpack/AlignedAllocator.h", |
| 4300 | ] + ACCURACY_EVAL_HDRS, |
| 4301 | deps = ACCURACY_EVAL_DEPS, |
| 4302 | ) |
| 4303 | |
Marat Dukhan | 8400076 | 2020-06-29 18:38:43 -0700 | [diff] [blame] | 4304 | xnnpack_benchmark( |
| 4305 | name = "f32_sqrt_eval", |
| 4306 | srcs = [ |
| 4307 | "eval/f32-sqrt.cc", |
| 4308 | "src/xnnpack/AlignedAllocator.h", |
| 4309 | ] + ACCURACY_EVAL_HDRS, |
| 4310 | deps = ACCURACY_EVAL_DEPS + [ |
| 4311 | ":bench_utils", |
| 4312 | ], |
| 4313 | ) |
| 4314 | |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4315 | ######################### Unit tests for micro-kernels ######################### |
| 4316 | |
| 4317 | xnnpack_unit_test( |
Marat Dukhan | de06f49 | 2020-04-09 00:19:31 -0700 | [diff] [blame] | 4318 | name = "f16_gemm_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4319 | srcs = [ |
Marat Dukhan | de06f49 | 2020-04-09 00:19:31 -0700 | [diff] [blame] | 4320 | "test/f16-gemm-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4321 | "test/gemm-microkernel-tester.h", |
| 4322 | "src/xnnpack/AlignedAllocator.h", |
| 4323 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4324 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4325 | ) |
| 4326 | |
| 4327 | xnnpack_unit_test( |
Marat Dukhan | 355ab43 | 2020-04-09 19:01:52 -0700 | [diff] [blame] | 4328 | name = "f16_spmm_minmax_test", |
Marat Dukhan | bdb56f5 | 2020-02-05 21:42:49 -0800 | [diff] [blame] | 4329 | srcs = [ |
Marat Dukhan | 355ab43 | 2020-04-09 19:01:52 -0700 | [diff] [blame] | 4330 | "test/f16-spmm-minmax.cc", |
Marat Dukhan | bdb56f5 | 2020-02-05 21:42:49 -0800 | [diff] [blame] | 4331 | "test/spmm-microkernel-tester.h", |
| 4332 | "src/xnnpack/AlignedAllocator.h", |
| 4333 | ] + MICROKERNEL_TEST_HDRS, |
| 4334 | deps = MICROKERNEL_TEST_DEPS, |
| 4335 | ) |
| 4336 | |
| 4337 | xnnpack_unit_test( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4338 | name = "f32_argmaxpool_test", |
| 4339 | srcs = [ |
| 4340 | "test/f32-argmaxpool.cc", |
| 4341 | "test/argmaxpool-microkernel-tester.h", |
| 4342 | "src/xnnpack/AlignedAllocator.h", |
| 4343 | ] + MICROKERNEL_TEST_HDRS, |
| 4344 | deps = MICROKERNEL_TEST_DEPS, |
| 4345 | ) |
| 4346 | |
| 4347 | xnnpack_unit_test( |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 4348 | name = "f32_avgpool_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4349 | srcs = [ |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 4350 | "test/f32-avgpool-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4351 | "test/avgpool-microkernel-tester.h", |
| 4352 | "src/xnnpack/AlignedAllocator.h", |
| 4353 | ] + MICROKERNEL_TEST_HDRS, |
| 4354 | deps = MICROKERNEL_TEST_DEPS, |
| 4355 | ) |
| 4356 | |
| 4357 | xnnpack_unit_test( |
Marat Dukhan | 660fd19 | 2020-03-10 04:55:30 -0700 | [diff] [blame] | 4358 | name = "f32_ibilinear_test", |
Marat Dukhan | 35dacfb | 2019-11-07 19:18:16 -0800 | [diff] [blame] | 4359 | srcs = [ |
Marat Dukhan | 660fd19 | 2020-03-10 04:55:30 -0700 | [diff] [blame] | 4360 | "test/f32-ibilinear.cc", |
| 4361 | "test/ibilinear-microkernel-tester.h", |
Marat Dukhan | 35dacfb | 2019-11-07 19:18:16 -0800 | [diff] [blame] | 4362 | "src/xnnpack/AlignedAllocator.h", |
| 4363 | ] + MICROKERNEL_TEST_HDRS, |
| 4364 | deps = MICROKERNEL_TEST_DEPS, |
| 4365 | ) |
| 4366 | |
| 4367 | xnnpack_unit_test( |
Frank Barchard | b196659 | 2020-05-12 13:47:06 -0700 | [diff] [blame] | 4368 | name = "f16_clamp_test", |
| 4369 | srcs = [ |
| 4370 | "test/f16-clamp.cc", |
| 4371 | "test/clamp-microkernel-tester.h", |
| 4372 | ] + MICROKERNEL_TEST_HDRS, |
| 4373 | deps = MICROKERNEL_TEST_DEPS, |
| 4374 | ) |
| 4375 | |
| 4376 | xnnpack_unit_test( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4377 | name = "f32_clamp_test", |
| 4378 | srcs = [ |
| 4379 | "test/f32-clamp.cc", |
| 4380 | "test/clamp-microkernel-tester.h", |
| 4381 | ] + MICROKERNEL_TEST_HDRS, |
| 4382 | deps = MICROKERNEL_TEST_DEPS, |
| 4383 | ) |
| 4384 | |
| 4385 | xnnpack_unit_test( |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 4386 | name = "f32_igemm_test", |
| 4387 | srcs = [ |
| 4388 | "test/f32-igemm.cc", |
| 4389 | "test/gemm-microkernel-tester.h", |
| 4390 | "src/xnnpack/AlignedAllocator.h", |
| 4391 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4392 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 4393 | ) |
| 4394 | |
| 4395 | xnnpack_unit_test( |
Marat Dukhan | 467f636 | 2020-05-22 23:21:55 -0700 | [diff] [blame] | 4396 | name = "f32_igemm_relu_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4397 | srcs = [ |
Marat Dukhan | 467f636 | 2020-05-22 23:21:55 -0700 | [diff] [blame] | 4398 | "test/f32-igemm-relu.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4399 | "test/gemm-microkernel-tester.h", |
| 4400 | "src/xnnpack/AlignedAllocator.h", |
| 4401 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4402 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4403 | ) |
| 4404 | |
| 4405 | xnnpack_unit_test( |
Marat Dukhan | e207b7b | 2020-05-28 16:27:42 -0700 | [diff] [blame] | 4406 | name = "f32_igemm_minmax_test", |
| 4407 | srcs = [ |
| 4408 | "test/f32-igemm-minmax.cc", |
| 4409 | "test/gemm-microkernel-tester.h", |
| 4410 | "src/xnnpack/AlignedAllocator.h", |
| 4411 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4412 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | e207b7b | 2020-05-28 16:27:42 -0700 | [diff] [blame] | 4413 | ) |
| 4414 | |
| 4415 | xnnpack_unit_test( |
Frank Barchard | b0e4fae | 2020-05-04 15:27:51 -0700 | [diff] [blame] | 4416 | name = "f16_igemm_minmax_test", |
| 4417 | srcs = [ |
| 4418 | "test/f16-igemm-minmax.cc", |
| 4419 | "test/gemm-microkernel-tester.h", |
| 4420 | "src/xnnpack/AlignedAllocator.h", |
| 4421 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4422 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Frank Barchard | b0e4fae | 2020-05-04 15:27:51 -0700 | [diff] [blame] | 4423 | ) |
| 4424 | |
| 4425 | xnnpack_unit_test( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4426 | name = "f32_conv_hwc_test", |
| 4427 | srcs = [ |
| 4428 | "test/f32-conv-hwc.cc", |
| 4429 | "test/conv-hwc-microkernel-tester.h", |
| 4430 | "src/xnnpack/AlignedAllocator.h", |
| 4431 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4432 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4433 | ) |
| 4434 | |
| 4435 | xnnpack_unit_test( |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 4436 | name = "f32_conv_hwc2chw_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4437 | srcs = [ |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 4438 | "test/f32-conv-hwc2chw.cc", |
| 4439 | "test/conv-hwc2chw-microkernel-tester.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4440 | "src/xnnpack/AlignedAllocator.h", |
| 4441 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4442 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4443 | ) |
| 4444 | |
| 4445 | xnnpack_unit_test( |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 4446 | name = "f32_dwconv_test", |
| 4447 | srcs = [ |
| 4448 | "test/f32-dwconv.cc", |
| 4449 | "test/dwconv-microkernel-tester.h", |
| 4450 | "src/xnnpack/AlignedAllocator.h", |
| 4451 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4452 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 4453 | ) |
| 4454 | |
| 4455 | xnnpack_unit_test( |
Frank Barchard | 5a599a6 | 2020-06-04 20:12:44 -0700 | [diff] [blame] | 4456 | name = "f16_dwconv_minmax_test", |
| 4457 | srcs = [ |
| 4458 | "test/f16-dwconv-minmax.cc", |
| 4459 | "test/dwconv-microkernel-tester.h", |
| 4460 | "src/xnnpack/AlignedAllocator.h", |
| 4461 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4462 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Frank Barchard | 5a599a6 | 2020-06-04 20:12:44 -0700 | [diff] [blame] | 4463 | ) |
| 4464 | |
| 4465 | xnnpack_unit_test( |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 4466 | name = "f32_dwconv_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4467 | srcs = [ |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 4468 | "test/f32-dwconv-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4469 | "test/dwconv-microkernel-tester.h", |
| 4470 | "src/xnnpack/AlignedAllocator.h", |
| 4471 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4472 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4473 | ) |
| 4474 | |
| 4475 | xnnpack_unit_test( |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 4476 | name = "f32_dwconv_chw_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4477 | srcs = [ |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 4478 | "test/f32-dwconv-chw.cc", |
| 4479 | "test/dwconv-chw-microkernel-tester.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4480 | "src/xnnpack/AlignedAllocator.h", |
| 4481 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4482 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4483 | ) |
| 4484 | |
| 4485 | xnnpack_unit_test( |
Frank Barchard | 0bb49a7 | 2020-06-04 11:35:11 -0700 | [diff] [blame] | 4486 | name = "f16_gavgpool_minmax_test", |
| 4487 | srcs = [ |
| 4488 | "test/f16-gavgpool-minmax.cc", |
| 4489 | "test/gavgpool-microkernel-tester.h", |
| 4490 | "src/xnnpack/AlignedAllocator.h", |
| 4491 | ] + MICROKERNEL_TEST_HDRS, |
| 4492 | deps = MICROKERNEL_TEST_DEPS, |
| 4493 | ) |
| 4494 | |
| 4495 | xnnpack_unit_test( |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 4496 | name = "f32_gavgpool_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4497 | srcs = [ |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 4498 | "test/f32-gavgpool-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4499 | "test/gavgpool-microkernel-tester.h", |
| 4500 | "src/xnnpack/AlignedAllocator.h", |
| 4501 | ] + MICROKERNEL_TEST_HDRS, |
| 4502 | deps = MICROKERNEL_TEST_DEPS, |
| 4503 | ) |
| 4504 | |
| 4505 | xnnpack_unit_test( |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 4506 | name = "f32_gavgpool_cw_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4507 | srcs = [ |
Marat Dukhan | 1f29b80 | 2020-05-15 23:46:39 -0700 | [diff] [blame] | 4508 | "test/f32-gavgpool-cw.cc", |
| 4509 | "test/gavgpool-cw-microkernel-tester.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4510 | "src/xnnpack/AlignedAllocator.h", |
| 4511 | ] + MICROKERNEL_TEST_HDRS, |
| 4512 | deps = MICROKERNEL_TEST_DEPS, |
| 4513 | ) |
| 4514 | |
| 4515 | xnnpack_unit_test( |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 4516 | name = "f32_gemm_test", |
| 4517 | srcs = [ |
| 4518 | "test/f32-gemm.cc", |
| 4519 | "test/gemm-microkernel-tester.h", |
| 4520 | "src/xnnpack/AlignedAllocator.h", |
| 4521 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4522 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 163a7e6 | 2020-04-09 04:19:26 -0700 | [diff] [blame] | 4523 | ) |
| 4524 | |
| 4525 | xnnpack_unit_test( |
Marat Dukhan | 467f636 | 2020-05-22 23:21:55 -0700 | [diff] [blame] | 4526 | name = "f32_gemm_relu_test", |
| 4527 | srcs = [ |
| 4528 | "test/f32-gemm-relu.cc", |
| 4529 | "test/gemm-microkernel-tester.h", |
| 4530 | "src/xnnpack/AlignedAllocator.h", |
| 4531 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4532 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 467f636 | 2020-05-22 23:21:55 -0700 | [diff] [blame] | 4533 | ) |
| 4534 | |
| 4535 | xnnpack_unit_test( |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 4536 | name = "f32_gemm_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4537 | srcs = [ |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 4538 | "test/f32-gemm-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4539 | "test/gemm-microkernel-tester.h", |
| 4540 | "src/xnnpack/AlignedAllocator.h", |
| 4541 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4542 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4543 | ) |
| 4544 | |
| 4545 | xnnpack_unit_test( |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 4546 | name = "f32_gemminc_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4547 | srcs = [ |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 4548 | "test/f32-gemminc-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4549 | "test/gemm-microkernel-tester.h", |
| 4550 | "src/xnnpack/AlignedAllocator.h", |
| 4551 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4552 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4553 | ) |
| 4554 | |
| 4555 | xnnpack_unit_test( |
Frank Barchard | b196659 | 2020-05-12 13:47:06 -0700 | [diff] [blame] | 4556 | name = "f16_hswish_test", |
| 4557 | srcs = [ |
| 4558 | "test/f16-hswish.cc", |
| 4559 | "test/hswish-microkernel-tester.h", |
| 4560 | ] + MICROKERNEL_TEST_HDRS, |
| 4561 | deps = MICROKERNEL_TEST_DEPS, |
| 4562 | ) |
| 4563 | |
| 4564 | xnnpack_unit_test( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4565 | name = "f32_hswish_test", |
| 4566 | srcs = [ |
| 4567 | "test/f32-hswish.cc", |
| 4568 | "test/hswish-microkernel-tester.h", |
| 4569 | ] + MICROKERNEL_TEST_HDRS, |
| 4570 | deps = MICROKERNEL_TEST_DEPS, |
| 4571 | ) |
| 4572 | |
| 4573 | xnnpack_unit_test( |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 4574 | name = "f32_maxpool_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4575 | srcs = [ |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 4576 | "test/f32-maxpool-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4577 | "test/maxpool-microkernel-tester.h", |
| 4578 | ] + MICROKERNEL_TEST_HDRS, |
| 4579 | deps = MICROKERNEL_TEST_DEPS, |
| 4580 | ) |
| 4581 | |
| 4582 | xnnpack_unit_test( |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 4583 | name = "f32_pavgpool_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4584 | srcs = [ |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 4585 | "test/f32-pavgpool-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4586 | "test/avgpool-microkernel-tester.h", |
| 4587 | "src/xnnpack/AlignedAllocator.h", |
| 4588 | ] + MICROKERNEL_TEST_HDRS, |
| 4589 | deps = MICROKERNEL_TEST_DEPS, |
| 4590 | ) |
| 4591 | |
| 4592 | xnnpack_unit_test( |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 4593 | name = "f32_ppmm_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4594 | srcs = [ |
Marat Dukhan | 1c58711 | 2020-04-08 20:04:28 -0700 | [diff] [blame] | 4595 | "test/f32-ppmm-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4596 | "test/gemm-microkernel-tester.h", |
| 4597 | "src/xnnpack/AlignedAllocator.h", |
| 4598 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4599 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4600 | ) |
| 4601 | |
| 4602 | xnnpack_unit_test( |
Frank Barchard | b196659 | 2020-05-12 13:47:06 -0700 | [diff] [blame] | 4603 | name = "f16_prelu_test", |
| 4604 | srcs = [ |
| 4605 | "test/f16-prelu.cc", |
| 4606 | "test/prelu-microkernel-tester.h", |
| 4607 | "src/xnnpack/AlignedAllocator.h", |
| 4608 | ] + MICROKERNEL_TEST_HDRS, |
| 4609 | deps = MICROKERNEL_TEST_DEPS, |
| 4610 | ) |
| 4611 | |
| 4612 | xnnpack_unit_test( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4613 | name = "f32_prelu_test", |
| 4614 | srcs = [ |
| 4615 | "test/f32-prelu.cc", |
| 4616 | "test/prelu-microkernel-tester.h", |
| 4617 | "src/xnnpack/AlignedAllocator.h", |
| 4618 | ] + MICROKERNEL_TEST_HDRS, |
| 4619 | deps = MICROKERNEL_TEST_DEPS, |
| 4620 | ) |
| 4621 | |
| 4622 | xnnpack_unit_test( |
Marat Dukhan | 9757953 | 2019-10-18 16:40:39 -0700 | [diff] [blame] | 4623 | name = "f32_raddexpminusmax_test", |
| 4624 | srcs = [ |
| 4625 | "test/f32-raddexpminusmax.cc", |
| 4626 | "test/raddexpminusmax-microkernel-tester.h", |
| 4627 | ] + MICROKERNEL_TEST_HDRS, |
| 4628 | deps = MICROKERNEL_TEST_DEPS, |
| 4629 | ) |
| 4630 | |
| 4631 | xnnpack_unit_test( |
Marat Dukhan | 6f8d4d3 | 2019-10-25 17:07:09 -0700 | [diff] [blame] | 4632 | name = "f32_raddextexp_test", |
| 4633 | srcs = [ |
| 4634 | "test/f32-raddextexp.cc", |
| 4635 | "test/raddextexp-microkernel-tester.h", |
| 4636 | ] + MICROKERNEL_TEST_HDRS, |
| 4637 | deps = MICROKERNEL_TEST_DEPS, |
| 4638 | ) |
| 4639 | |
| 4640 | xnnpack_unit_test( |
Marat Dukhan | 9757953 | 2019-10-18 16:40:39 -0700 | [diff] [blame] | 4641 | name = "f32_raddstoreexpminusmax_test", |
| 4642 | srcs = [ |
| 4643 | "test/f32-raddstoreexpminusmax.cc", |
| 4644 | "test/raddstoreexpminusmax-microkernel-tester.h", |
| 4645 | ] + MICROKERNEL_TEST_HDRS, |
| 4646 | deps = MICROKERNEL_TEST_DEPS, |
| 4647 | ) |
| 4648 | |
| 4649 | xnnpack_unit_test( |
Frank Barchard | fb158e2 | 2020-07-15 16:10:10 -0700 | [diff] [blame] | 4650 | name = "f32_relu_test", |
| 4651 | srcs = [ |
| 4652 | "test/f32-relu.cc", |
| 4653 | "test/vunary-microkernel-tester.h", |
| 4654 | ] + MICROKERNEL_TEST_HDRS, |
| 4655 | deps = MICROKERNEL_TEST_DEPS, |
| 4656 | ) |
| 4657 | |
| 4658 | xnnpack_unit_test( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4659 | name = "f32_rmax_test", |
| 4660 | srcs = [ |
| 4661 | "test/f32-rmax.cc", |
| 4662 | "test/rmax-microkernel-tester.h", |
| 4663 | ] + MICROKERNEL_TEST_HDRS, |
| 4664 | deps = MICROKERNEL_TEST_DEPS, |
| 4665 | ) |
| 4666 | |
| 4667 | xnnpack_unit_test( |
Marat Dukhan | 346a9e5 | 2019-11-15 09:06:30 -0800 | [diff] [blame] | 4668 | name = "f32_sigmoid_test", |
| 4669 | srcs = [ |
| 4670 | "test/f32-sigmoid.cc", |
Marat Dukhan | 1e782c4 | 2019-11-21 17:02:40 -0800 | [diff] [blame] | 4671 | "test/vunary-microkernel-tester.h", |
Marat Dukhan | 346a9e5 | 2019-11-15 09:06:30 -0800 | [diff] [blame] | 4672 | ] + MICROKERNEL_TEST_HDRS, |
| 4673 | deps = MICROKERNEL_TEST_DEPS, |
| 4674 | ) |
| 4675 | |
| 4676 | xnnpack_unit_test( |
Marat Dukhan | 355ab43 | 2020-04-09 19:01:52 -0700 | [diff] [blame] | 4677 | name = "f32_spmm_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4678 | srcs = [ |
Marat Dukhan | 355ab43 | 2020-04-09 19:01:52 -0700 | [diff] [blame] | 4679 | "test/f32-spmm-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4680 | "test/spmm-microkernel-tester.h", |
| 4681 | "src/xnnpack/AlignedAllocator.h", |
| 4682 | ] + MICROKERNEL_TEST_HDRS, |
| 4683 | deps = MICROKERNEL_TEST_DEPS, |
| 4684 | ) |
| 4685 | |
| 4686 | xnnpack_unit_test( |
Frank Barchard | d793f6c | 2020-05-08 13:37:43 -0700 | [diff] [blame] | 4687 | name = "f16_vadd_minmax_test", |
| 4688 | srcs = [ |
| 4689 | "test/f16-vadd-minmax.cc", |
| 4690 | "test/vbinary-microkernel-tester.h", |
| 4691 | ] + MICROKERNEL_TEST_HDRS, |
| 4692 | deps = MICROKERNEL_TEST_DEPS, |
| 4693 | ) |
| 4694 | |
| 4695 | xnnpack_unit_test( |
| 4696 | name = "f16_vaddc_minmax_test", |
| 4697 | srcs = [ |
| 4698 | "test/f16-vaddc-minmax.cc", |
| 4699 | "test/vbinaryc-microkernel-tester.h", |
| 4700 | ] + MICROKERNEL_TEST_HDRS, |
| 4701 | deps = MICROKERNEL_TEST_DEPS, |
| 4702 | ) |
| 4703 | |
| 4704 | xnnpack_unit_test( |
| 4705 | name = "f16_vdiv_minmax_test", |
| 4706 | srcs = [ |
| 4707 | "test/f16-vdiv-minmax.cc", |
| 4708 | "test/vbinary-microkernel-tester.h", |
| 4709 | ] + MICROKERNEL_TEST_HDRS, |
| 4710 | deps = MICROKERNEL_TEST_DEPS, |
| 4711 | ) |
| 4712 | |
| 4713 | xnnpack_unit_test( |
| 4714 | name = "f16_vdivc_minmax_test", |
| 4715 | srcs = [ |
| 4716 | "test/f16-vdivc-minmax.cc", |
| 4717 | "test/vbinaryc-microkernel-tester.h", |
| 4718 | ] + MICROKERNEL_TEST_HDRS, |
| 4719 | deps = MICROKERNEL_TEST_DEPS, |
| 4720 | ) |
| 4721 | |
| 4722 | xnnpack_unit_test( |
| 4723 | name = "f16_vrdivc_minmax_test", |
| 4724 | srcs = [ |
| 4725 | "test/f16-vrdivc-minmax.cc", |
| 4726 | "test/vbinaryc-microkernel-tester.h", |
| 4727 | ] + MICROKERNEL_TEST_HDRS, |
| 4728 | deps = MICROKERNEL_TEST_DEPS, |
| 4729 | ) |
| 4730 | |
| 4731 | xnnpack_unit_test( |
| 4732 | name = "f16_vmax_test", |
| 4733 | srcs = [ |
| 4734 | "test/f16-vmax.cc", |
| 4735 | "test/vbinary-microkernel-tester.h", |
| 4736 | ] + MICROKERNEL_TEST_HDRS, |
| 4737 | deps = MICROKERNEL_TEST_DEPS, |
| 4738 | ) |
| 4739 | |
| 4740 | xnnpack_unit_test( |
| 4741 | name = "f16_vmaxc_test", |
| 4742 | srcs = [ |
| 4743 | "test/f16-vmaxc.cc", |
| 4744 | "test/vbinaryc-microkernel-tester.h", |
| 4745 | ] + MICROKERNEL_TEST_HDRS, |
| 4746 | deps = MICROKERNEL_TEST_DEPS, |
| 4747 | ) |
| 4748 | |
| 4749 | xnnpack_unit_test( |
| 4750 | name = "f16_vmin_test", |
| 4751 | srcs = [ |
| 4752 | "test/f16-vmin.cc", |
| 4753 | "test/vbinary-microkernel-tester.h", |
| 4754 | ] + MICROKERNEL_TEST_HDRS, |
| 4755 | deps = MICROKERNEL_TEST_DEPS, |
| 4756 | ) |
| 4757 | |
| 4758 | xnnpack_unit_test( |
| 4759 | name = "f16_vminc_test", |
| 4760 | srcs = [ |
| 4761 | "test/f16-vminc.cc", |
| 4762 | "test/vbinaryc-microkernel-tester.h", |
| 4763 | ] + MICROKERNEL_TEST_HDRS, |
| 4764 | deps = MICROKERNEL_TEST_DEPS, |
| 4765 | ) |
| 4766 | |
| 4767 | xnnpack_unit_test( |
| 4768 | name = "f16_vmul_minmax_test", |
| 4769 | srcs = [ |
| 4770 | "test/f16-vmul-minmax.cc", |
| 4771 | "test/vbinary-microkernel-tester.h", |
| 4772 | ] + MICROKERNEL_TEST_HDRS, |
| 4773 | deps = MICROKERNEL_TEST_DEPS, |
| 4774 | ) |
| 4775 | |
| 4776 | xnnpack_unit_test( |
| 4777 | name = "f16_vmulc_minmax_test", |
| 4778 | srcs = [ |
| 4779 | "test/f16-vmulc-minmax.cc", |
| 4780 | "test/vbinaryc-microkernel-tester.h", |
| 4781 | ] + MICROKERNEL_TEST_HDRS, |
| 4782 | deps = MICROKERNEL_TEST_DEPS, |
| 4783 | ) |
| 4784 | |
| 4785 | xnnpack_unit_test( |
| 4786 | name = "f16_vsub_minmax_test", |
| 4787 | srcs = [ |
| 4788 | "test/f16-vsub-minmax.cc", |
| 4789 | "test/vbinary-microkernel-tester.h", |
| 4790 | ] + MICROKERNEL_TEST_HDRS, |
| 4791 | deps = MICROKERNEL_TEST_DEPS, |
| 4792 | ) |
| 4793 | |
| 4794 | xnnpack_unit_test( |
| 4795 | name = "f16_vsubc_minmax_test", |
| 4796 | srcs = [ |
| 4797 | "test/f16-vsubc-minmax.cc", |
| 4798 | "test/vbinaryc-microkernel-tester.h", |
| 4799 | ] + MICROKERNEL_TEST_HDRS, |
| 4800 | deps = MICROKERNEL_TEST_DEPS, |
| 4801 | ) |
| 4802 | |
| 4803 | xnnpack_unit_test( |
| 4804 | name = "f16_vrsubc_minmax_test", |
| 4805 | srcs = [ |
| 4806 | "test/f16-vrsubc-minmax.cc", |
| 4807 | "test/vbinaryc-microkernel-tester.h", |
| 4808 | ] + MICROKERNEL_TEST_HDRS, |
| 4809 | deps = MICROKERNEL_TEST_DEPS, |
| 4810 | ) |
| 4811 | |
| 4812 | xnnpack_unit_test( |
Marat Dukhan | 5020b96 | 2020-06-08 13:30:10 -0700 | [diff] [blame] | 4813 | name = "f32_vabs_test", |
| 4814 | srcs = [ |
| 4815 | "test/f32-vabs.cc", |
| 4816 | "test/vunary-microkernel-tester.h", |
| 4817 | ] + MICROKERNEL_TEST_HDRS, |
| 4818 | deps = MICROKERNEL_TEST_DEPS, |
| 4819 | ) |
| 4820 | |
| 4821 | xnnpack_unit_test( |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 4822 | name = "f32_vadd_test", |
| 4823 | srcs = [ |
| 4824 | "test/f32-vadd.cc", |
| 4825 | "test/vbinary-microkernel-tester.h", |
| 4826 | ] + MICROKERNEL_TEST_HDRS, |
| 4827 | deps = MICROKERNEL_TEST_DEPS, |
| 4828 | ) |
| 4829 | |
| 4830 | xnnpack_unit_test( |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 4831 | name = "f32_vadd_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4832 | srcs = [ |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 4833 | "test/f32-vadd-minmax.cc", |
Marat Dukhan | 1e782c4 | 2019-11-21 17:02:40 -0800 | [diff] [blame] | 4834 | "test/vbinary-microkernel-tester.h", |
Marat Dukhan | c07cb7f | 2019-11-14 15:32:05 -0800 | [diff] [blame] | 4835 | ] + MICROKERNEL_TEST_HDRS, |
| 4836 | deps = MICROKERNEL_TEST_DEPS, |
| 4837 | ) |
| 4838 | |
| 4839 | xnnpack_unit_test( |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 4840 | name = "f32_vaddc_test", |
| 4841 | srcs = [ |
| 4842 | "test/f32-vaddc.cc", |
| 4843 | "test/vbinaryc-microkernel-tester.h", |
| 4844 | ] + MICROKERNEL_TEST_HDRS, |
| 4845 | deps = MICROKERNEL_TEST_DEPS, |
| 4846 | ) |
| 4847 | |
| 4848 | xnnpack_unit_test( |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 4849 | name = "f32_vaddc_minmax_test", |
Marat Dukhan | c07cb7f | 2019-11-14 15:32:05 -0800 | [diff] [blame] | 4850 | srcs = [ |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 4851 | "test/f32-vaddc-minmax.cc", |
Marat Dukhan | 1e782c4 | 2019-11-21 17:02:40 -0800 | [diff] [blame] | 4852 | "test/vbinaryc-microkernel-tester.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4853 | ] + MICROKERNEL_TEST_HDRS, |
| 4854 | deps = MICROKERNEL_TEST_DEPS, |
| 4855 | ) |
| 4856 | |
| 4857 | xnnpack_unit_test( |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 4858 | name = "f32_vdiv_test", |
| 4859 | srcs = [ |
| 4860 | "test/f32-vdiv.cc", |
| 4861 | "test/vbinary-microkernel-tester.h", |
| 4862 | ] + MICROKERNEL_TEST_HDRS, |
| 4863 | deps = MICROKERNEL_TEST_DEPS, |
| 4864 | ) |
| 4865 | |
| 4866 | xnnpack_unit_test( |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 4867 | name = "f32_vdiv_minmax_test", |
Marat Dukhan | 77ca630 | 2019-12-06 12:48:15 -0800 | [diff] [blame] | 4868 | srcs = [ |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 4869 | "test/f32-vdiv-minmax.cc", |
Marat Dukhan | 77ca630 | 2019-12-06 12:48:15 -0800 | [diff] [blame] | 4870 | "test/vbinary-microkernel-tester.h", |
| 4871 | ] + MICROKERNEL_TEST_HDRS, |
| 4872 | deps = MICROKERNEL_TEST_DEPS, |
| 4873 | ) |
| 4874 | |
| 4875 | xnnpack_unit_test( |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 4876 | name = "f32_vdivc_test", |
| 4877 | srcs = [ |
| 4878 | "test/f32-vdivc.cc", |
| 4879 | "test/vbinaryc-microkernel-tester.h", |
| 4880 | ] + MICROKERNEL_TEST_HDRS, |
| 4881 | deps = MICROKERNEL_TEST_DEPS, |
| 4882 | ) |
| 4883 | |
| 4884 | xnnpack_unit_test( |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 4885 | name = "f32_vdivc_minmax_test", |
Marat Dukhan | 77ca630 | 2019-12-06 12:48:15 -0800 | [diff] [blame] | 4886 | srcs = [ |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 4887 | "test/f32-vdivc-minmax.cc", |
Marat Dukhan | 77ca630 | 2019-12-06 12:48:15 -0800 | [diff] [blame] | 4888 | "test/vbinaryc-microkernel-tester.h", |
| 4889 | ] + MICROKERNEL_TEST_HDRS, |
| 4890 | deps = MICROKERNEL_TEST_DEPS, |
| 4891 | ) |
| 4892 | |
| 4893 | xnnpack_unit_test( |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 4894 | name = "f32_vrdivc_test", |
| 4895 | srcs = [ |
| 4896 | "test/f32-vrdivc.cc", |
| 4897 | "test/vbinaryc-microkernel-tester.h", |
| 4898 | ] + MICROKERNEL_TEST_HDRS, |
| 4899 | deps = MICROKERNEL_TEST_DEPS, |
| 4900 | ) |
| 4901 | |
| 4902 | xnnpack_unit_test( |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 4903 | name = "f32_vrdivc_minmax_test", |
Marat Dukhan | 77ca630 | 2019-12-06 12:48:15 -0800 | [diff] [blame] | 4904 | srcs = [ |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 4905 | "test/f32-vrdivc-minmax.cc", |
Marat Dukhan | 77ca630 | 2019-12-06 12:48:15 -0800 | [diff] [blame] | 4906 | "test/vbinaryc-microkernel-tester.h", |
| 4907 | ] + MICROKERNEL_TEST_HDRS, |
| 4908 | deps = MICROKERNEL_TEST_DEPS, |
| 4909 | ) |
| 4910 | |
| 4911 | xnnpack_unit_test( |
Marat Dukhan | 403b7d4 | 2019-12-05 12:49:11 -0800 | [diff] [blame] | 4912 | name = "f32_vmax_test", |
| 4913 | srcs = [ |
| 4914 | "test/f32-vmax.cc", |
| 4915 | "test/vbinary-microkernel-tester.h", |
| 4916 | ] + MICROKERNEL_TEST_HDRS, |
| 4917 | deps = MICROKERNEL_TEST_DEPS, |
| 4918 | ) |
| 4919 | |
| 4920 | xnnpack_unit_test( |
| 4921 | name = "f32_vmaxc_test", |
| 4922 | srcs = [ |
| 4923 | "test/f32-vmaxc.cc", |
| 4924 | "test/vbinaryc-microkernel-tester.h", |
| 4925 | ] + MICROKERNEL_TEST_HDRS, |
| 4926 | deps = MICROKERNEL_TEST_DEPS, |
| 4927 | ) |
| 4928 | |
| 4929 | xnnpack_unit_test( |
| 4930 | name = "f32_vmin_test", |
| 4931 | srcs = [ |
| 4932 | "test/f32-vmin.cc", |
| 4933 | "test/vbinary-microkernel-tester.h", |
| 4934 | ] + MICROKERNEL_TEST_HDRS, |
| 4935 | deps = MICROKERNEL_TEST_DEPS, |
| 4936 | ) |
| 4937 | |
| 4938 | xnnpack_unit_test( |
| 4939 | name = "f32_vminc_test", |
| 4940 | srcs = [ |
| 4941 | "test/f32-vminc.cc", |
| 4942 | "test/vbinaryc-microkernel-tester.h", |
| 4943 | ] + MICROKERNEL_TEST_HDRS, |
| 4944 | deps = MICROKERNEL_TEST_DEPS, |
| 4945 | ) |
| 4946 | |
| 4947 | xnnpack_unit_test( |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 4948 | name = "f32_vmul_test", |
| 4949 | srcs = [ |
| 4950 | "test/f32-vmul.cc", |
| 4951 | "test/vbinary-microkernel-tester.h", |
| 4952 | ] + MICROKERNEL_TEST_HDRS, |
| 4953 | deps = MICROKERNEL_TEST_DEPS, |
| 4954 | ) |
| 4955 | |
| 4956 | xnnpack_unit_test( |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 4957 | name = "f32_vmul_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4958 | srcs = [ |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 4959 | "test/f32-vmul-minmax.cc", |
Marat Dukhan | 1e782c4 | 2019-11-21 17:02:40 -0800 | [diff] [blame] | 4960 | "test/vbinary-microkernel-tester.h", |
Marat Dukhan | c07cb7f | 2019-11-14 15:32:05 -0800 | [diff] [blame] | 4961 | ] + MICROKERNEL_TEST_HDRS, |
| 4962 | deps = MICROKERNEL_TEST_DEPS, |
| 4963 | ) |
| 4964 | |
| 4965 | xnnpack_unit_test( |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 4966 | name = "f32_vmulc_test", |
| 4967 | srcs = [ |
| 4968 | "test/f32-vmulc.cc", |
| 4969 | "test/vbinaryc-microkernel-tester.h", |
| 4970 | ] + MICROKERNEL_TEST_HDRS, |
| 4971 | deps = MICROKERNEL_TEST_DEPS, |
| 4972 | ) |
| 4973 | |
| 4974 | xnnpack_unit_test( |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 4975 | name = "f32_vmulc_minmax_test", |
Marat Dukhan | c07cb7f | 2019-11-14 15:32:05 -0800 | [diff] [blame] | 4976 | srcs = [ |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 4977 | "test/f32-vmulc-minmax.cc", |
Marat Dukhan | 1e782c4 | 2019-11-21 17:02:40 -0800 | [diff] [blame] | 4978 | "test/vbinaryc-microkernel-tester.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4979 | ] + MICROKERNEL_TEST_HDRS, |
| 4980 | deps = MICROKERNEL_TEST_DEPS, |
| 4981 | ) |
| 4982 | |
| 4983 | xnnpack_unit_test( |
Frank Barchard | 2a1049c | 2020-06-03 02:31:27 -0700 | [diff] [blame] | 4984 | name = "f16_vmulcaddc_minmax_test", |
| 4985 | srcs = [ |
| 4986 | "test/f16-vmulcaddc-minmax.cc", |
| 4987 | "test/vmulcaddc-microkernel-tester.h", |
| 4988 | "src/xnnpack/AlignedAllocator.h", |
| 4989 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 4990 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Frank Barchard | 2a1049c | 2020-06-03 02:31:27 -0700 | [diff] [blame] | 4991 | ) |
| 4992 | |
| 4993 | xnnpack_unit_test( |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 4994 | name = "f32_vmulcaddc_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4995 | srcs = [ |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 4996 | "test/f32-vmulcaddc-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 4997 | "test/vmulcaddc-microkernel-tester.h", |
| 4998 | "src/xnnpack/AlignedAllocator.h", |
| 4999 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 5000 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5001 | ) |
| 5002 | |
| 5003 | xnnpack_unit_test( |
Marat Dukhan | 8cc7efe | 2020-06-10 16:24:27 -0700 | [diff] [blame] | 5004 | name = "f32_vlrelu_test", |
| 5005 | srcs = [ |
| 5006 | "test/f32-vlrelu.cc", |
| 5007 | "test/vunary-microkernel-tester.h", |
| 5008 | ] + MICROKERNEL_TEST_HDRS, |
| 5009 | deps = MICROKERNEL_TEST_DEPS, |
| 5010 | ) |
| 5011 | |
| 5012 | xnnpack_unit_test( |
Marat Dukhan | 5020b96 | 2020-06-08 13:30:10 -0700 | [diff] [blame] | 5013 | name = "f32_vneg_test", |
| 5014 | srcs = [ |
| 5015 | "test/f32-vneg.cc", |
| 5016 | "test/vunary-microkernel-tester.h", |
| 5017 | ] + MICROKERNEL_TEST_HDRS, |
| 5018 | deps = MICROKERNEL_TEST_DEPS, |
| 5019 | ) |
| 5020 | |
| 5021 | xnnpack_unit_test( |
Marat Dukhan | eecf8fd | 2020-06-09 08:59:37 -0700 | [diff] [blame] | 5022 | name = "f32_vrndne_test", |
| 5023 | srcs = [ |
| 5024 | "test/f32-vrndne.cc", |
| 5025 | "test/vunary-microkernel-tester.h", |
| 5026 | ] + MICROKERNEL_TEST_HDRS, |
| 5027 | deps = MICROKERNEL_TEST_DEPS, |
| 5028 | ) |
| 5029 | |
| 5030 | xnnpack_unit_test( |
| 5031 | name = "f32_vrndz_test", |
| 5032 | srcs = [ |
| 5033 | "test/f32-vrndz.cc", |
| 5034 | "test/vunary-microkernel-tester.h", |
| 5035 | ] + MICROKERNEL_TEST_HDRS, |
| 5036 | deps = MICROKERNEL_TEST_DEPS, |
| 5037 | ) |
| 5038 | |
| 5039 | xnnpack_unit_test( |
| 5040 | name = "f32_vrndu_test", |
| 5041 | srcs = [ |
| 5042 | "test/f32-vrndu.cc", |
| 5043 | "test/vunary-microkernel-tester.h", |
| 5044 | ] + MICROKERNEL_TEST_HDRS, |
| 5045 | deps = MICROKERNEL_TEST_DEPS, |
| 5046 | ) |
| 5047 | |
| 5048 | xnnpack_unit_test( |
| 5049 | name = "f32_vrndd_test", |
| 5050 | srcs = [ |
| 5051 | "test/f32-vrndd.cc", |
| 5052 | "test/vunary-microkernel-tester.h", |
| 5053 | ] + MICROKERNEL_TEST_HDRS, |
| 5054 | deps = MICROKERNEL_TEST_DEPS, |
| 5055 | ) |
| 5056 | |
| 5057 | xnnpack_unit_test( |
Marat Dukhan | 05ac8e3 | 2019-10-21 15:39:33 -0700 | [diff] [blame] | 5058 | name = "f32_vscale_test", |
| 5059 | srcs = [ |
| 5060 | "test/f32-vscale.cc", |
| 5061 | "test/vscale-microkernel-tester.h", |
| 5062 | ] + MICROKERNEL_TEST_HDRS, |
| 5063 | deps = MICROKERNEL_TEST_DEPS, |
| 5064 | ) |
| 5065 | |
| 5066 | xnnpack_unit_test( |
Marat Dukhan | 9757953 | 2019-10-18 16:40:39 -0700 | [diff] [blame] | 5067 | name = "f32_vscaleexpminusmax_test", |
| 5068 | srcs = [ |
| 5069 | "test/f32-vscaleexpminusmax.cc", |
| 5070 | "test/vscaleexpminusmax-microkernel-tester.h", |
| 5071 | ] + MICROKERNEL_TEST_HDRS, |
| 5072 | deps = MICROKERNEL_TEST_DEPS, |
| 5073 | ) |
| 5074 | |
| 5075 | xnnpack_unit_test( |
Marat Dukhan | 6f8d4d3 | 2019-10-25 17:07:09 -0700 | [diff] [blame] | 5076 | name = "f32_vscaleextexp_test", |
| 5077 | srcs = [ |
| 5078 | "test/f32-vscaleextexp.cc", |
| 5079 | "test/vscaleextexp-microkernel-tester.h", |
| 5080 | ] + MICROKERNEL_TEST_HDRS, |
| 5081 | deps = MICROKERNEL_TEST_DEPS, |
| 5082 | ) |
| 5083 | |
| 5084 | xnnpack_unit_test( |
Marat Dukhan | 5020b96 | 2020-06-08 13:30:10 -0700 | [diff] [blame] | 5085 | name = "f32_vsqr_test", |
| 5086 | srcs = [ |
| 5087 | "test/f32-vsqr.cc", |
| 5088 | "test/vunary-microkernel-tester.h", |
| 5089 | ] + MICROKERNEL_TEST_HDRS, |
| 5090 | deps = MICROKERNEL_TEST_DEPS, |
| 5091 | ) |
| 5092 | |
| 5093 | xnnpack_unit_test( |
Marat Dukhan | 13bafb0 | 2020-06-05 00:43:11 -0700 | [diff] [blame] | 5094 | name = "f32_vsqrdiff_test", |
| 5095 | srcs = [ |
| 5096 | "test/f32-vsqrdiff.cc", |
| 5097 | "test/vbinary-microkernel-tester.h", |
| 5098 | ] + MICROKERNEL_TEST_HDRS, |
| 5099 | deps = MICROKERNEL_TEST_DEPS, |
| 5100 | ) |
| 5101 | |
| 5102 | xnnpack_unit_test( |
| 5103 | name = "f32_vsqrdiffc_test", |
| 5104 | srcs = [ |
| 5105 | "test/f32-vsqrdiffc.cc", |
| 5106 | "test/vbinaryc-microkernel-tester.h", |
| 5107 | ] + MICROKERNEL_TEST_HDRS, |
| 5108 | deps = MICROKERNEL_TEST_DEPS, |
| 5109 | ) |
| 5110 | |
| 5111 | xnnpack_unit_test( |
Marat Dukhan | f4db2f3 | 2020-06-30 10:55:30 -0700 | [diff] [blame] | 5112 | name = "f32_vsqrt_test", |
| 5113 | srcs = [ |
| 5114 | "test/f32-vsqrt.cc", |
| 5115 | "test/vunary-microkernel-tester.h", |
| 5116 | ] + MICROKERNEL_TEST_HDRS, |
| 5117 | deps = MICROKERNEL_TEST_DEPS, |
| 5118 | ) |
| 5119 | |
| 5120 | xnnpack_unit_test( |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 5121 | name = "f32_vsub_test", |
| 5122 | srcs = [ |
| 5123 | "test/f32-vsub.cc", |
| 5124 | "test/vbinary-microkernel-tester.h", |
| 5125 | ] + MICROKERNEL_TEST_HDRS, |
| 5126 | deps = MICROKERNEL_TEST_DEPS, |
| 5127 | ) |
| 5128 | |
| 5129 | xnnpack_unit_test( |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 5130 | name = "f32_vsub_minmax_test", |
Marat Dukhan | 9757953 | 2019-10-18 16:40:39 -0700 | [diff] [blame] | 5131 | srcs = [ |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 5132 | "test/f32-vsub-minmax.cc", |
Marat Dukhan | 1e782c4 | 2019-11-21 17:02:40 -0800 | [diff] [blame] | 5133 | "test/vbinary-microkernel-tester.h", |
Marat Dukhan | c07cb7f | 2019-11-14 15:32:05 -0800 | [diff] [blame] | 5134 | ] + MICROKERNEL_TEST_HDRS, |
| 5135 | deps = MICROKERNEL_TEST_DEPS, |
| 5136 | ) |
| 5137 | |
| 5138 | xnnpack_unit_test( |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 5139 | name = "f32_vsubc_test", |
| 5140 | srcs = [ |
| 5141 | "test/f32-vsubc.cc", |
| 5142 | "test/vbinaryc-microkernel-tester.h", |
| 5143 | ] + MICROKERNEL_TEST_HDRS, |
| 5144 | deps = MICROKERNEL_TEST_DEPS, |
| 5145 | ) |
| 5146 | |
| 5147 | xnnpack_unit_test( |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 5148 | name = "f32_vsubc_minmax_test", |
Marat Dukhan | c07cb7f | 2019-11-14 15:32:05 -0800 | [diff] [blame] | 5149 | srcs = [ |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 5150 | "test/f32-vsubc-minmax.cc", |
Marat Dukhan | 1e782c4 | 2019-11-21 17:02:40 -0800 | [diff] [blame] | 5151 | "test/vbinaryc-microkernel-tester.h", |
Marat Dukhan | c07cb7f | 2019-11-14 15:32:05 -0800 | [diff] [blame] | 5152 | ] + MICROKERNEL_TEST_HDRS, |
| 5153 | deps = MICROKERNEL_TEST_DEPS, |
| 5154 | ) |
| 5155 | |
| 5156 | xnnpack_unit_test( |
Frank Barchard | d5b9f1c | 2020-07-01 15:00:19 -0700 | [diff] [blame] | 5157 | name = "f32_vrsubc_test", |
| 5158 | srcs = [ |
| 5159 | "test/f32-vrsubc.cc", |
| 5160 | "test/vbinaryc-microkernel-tester.h", |
| 5161 | ] + MICROKERNEL_TEST_HDRS, |
| 5162 | deps = MICROKERNEL_TEST_DEPS, |
| 5163 | ) |
| 5164 | |
| 5165 | xnnpack_unit_test( |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 5166 | name = "f32_vrsubc_minmax_test", |
Marat Dukhan | c07cb7f | 2019-11-14 15:32:05 -0800 | [diff] [blame] | 5167 | srcs = [ |
Marat Dukhan | 91cd2b7 | 2020-04-09 23:57:31 -0700 | [diff] [blame] | 5168 | "test/f32-vrsubc-minmax.cc", |
Marat Dukhan | 1e782c4 | 2019-11-21 17:02:40 -0800 | [diff] [blame] | 5169 | "test/vbinaryc-microkernel-tester.h", |
Marat Dukhan | 9757953 | 2019-10-18 16:40:39 -0700 | [diff] [blame] | 5170 | ] + MICROKERNEL_TEST_HDRS, |
| 5171 | deps = MICROKERNEL_TEST_DEPS, |
| 5172 | ) |
| 5173 | |
| 5174 | xnnpack_unit_test( |
Marat Dukhan | 595e170 | 2020-07-31 10:12:52 -0700 | [diff] [blame] | 5175 | name = "qs8_gemm_minmax_test", |
| 5176 | srcs = [ |
| 5177 | "test/qs8-gemm-minmax.cc", |
| 5178 | "test/gemm-microkernel-tester.h", |
| 5179 | "src/xnnpack/AlignedAllocator.h", |
| 5180 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
| 5181 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
| 5182 | ) |
| 5183 | |
| 5184 | xnnpack_unit_test( |
Marat Dukhan | f948068 | 2020-07-31 14:50:24 -0700 | [diff] [blame] | 5185 | name = "qs8_igemm_minmax_test", |
| 5186 | srcs = [ |
| 5187 | "test/qs8-igemm-minmax.cc", |
| 5188 | "test/gemm-microkernel-tester.h", |
| 5189 | "src/xnnpack/AlignedAllocator.h", |
| 5190 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
| 5191 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
| 5192 | ) |
| 5193 | |
| 5194 | xnnpack_unit_test( |
| 5195 | name = "qs8_requantization_test", |
| 5196 | srcs = [ |
| 5197 | "src/xnnpack/requantization-stubs.h", |
| 5198 | "test/qs8-requantization.cc", |
| 5199 | "test/requantization-tester.h", |
| 5200 | ] + MICROKERNEL_TEST_HDRS, |
| 5201 | deps = MICROKERNEL_TEST_DEPS, |
| 5202 | ) |
| 5203 | |
| 5204 | xnnpack_unit_test( |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 5205 | name = "qu8_avgpool_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5206 | srcs = [ |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 5207 | "test/qu8-avgpool-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5208 | "test/avgpool-microkernel-tester.h", |
| 5209 | "src/xnnpack/AlignedAllocator.h", |
| 5210 | ] + MICROKERNEL_TEST_HDRS, |
| 5211 | deps = MICROKERNEL_TEST_DEPS, |
| 5212 | ) |
| 5213 | |
| 5214 | xnnpack_unit_test( |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 5215 | name = "qu8_igemm_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5216 | srcs = [ |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 5217 | "test/qu8-igemm-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5218 | "test/gemm-microkernel-tester.h", |
| 5219 | "src/xnnpack/AlignedAllocator.h", |
| 5220 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 5221 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5222 | ) |
| 5223 | |
| 5224 | xnnpack_unit_test( |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 5225 | name = "qu8_dwconv_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5226 | srcs = [ |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 5227 | "test/qu8-dwconv-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5228 | "test/dwconv-microkernel-tester.h", |
| 5229 | "src/xnnpack/AlignedAllocator.h", |
| 5230 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 5231 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5232 | ) |
| 5233 | |
| 5234 | xnnpack_unit_test( |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 5235 | name = "qu8_gavgpool_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5236 | srcs = [ |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 5237 | "test/qu8-gavgpool-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5238 | "test/gavgpool-microkernel-tester.h", |
| 5239 | "src/xnnpack/AlignedAllocator.h", |
| 5240 | ] + MICROKERNEL_TEST_HDRS, |
| 5241 | deps = MICROKERNEL_TEST_DEPS, |
| 5242 | ) |
| 5243 | |
| 5244 | xnnpack_unit_test( |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 5245 | name = "qu8_gemm_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5246 | srcs = [ |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 5247 | "test/qu8-gemm-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5248 | "test/gemm-microkernel-tester.h", |
| 5249 | "src/xnnpack/AlignedAllocator.h", |
| 5250 | ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS, |
Marat Dukhan | ab58238 | 2020-07-06 13:32:08 -0700 | [diff] [blame] | 5251 | deps = MICROKERNEL_TEST_DEPS + [":packing"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5252 | ) |
| 5253 | |
| 5254 | xnnpack_unit_test( |
Marat Dukhan | 5b69f8b | 2020-07-24 15:26:48 -0700 | [diff] [blame] | 5255 | name = "qu8_requantization_test", |
| 5256 | srcs = [ |
| 5257 | "src/xnnpack/requantization-stubs.h", |
| 5258 | "test/qu8-requantization.cc", |
| 5259 | "test/requantization-tester.h", |
| 5260 | ] + MICROKERNEL_TEST_HDRS, |
| 5261 | deps = MICROKERNEL_TEST_DEPS, |
| 5262 | ) |
| 5263 | |
| 5264 | xnnpack_unit_test( |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 5265 | name = "qu8_vadd_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5266 | srcs = [ |
Marat Dukhan | 08b7a97 | 2020-07-14 18:17:29 -0700 | [diff] [blame] | 5267 | "test/qu8-vadd-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5268 | "test/vadd-microkernel-tester.h", |
| 5269 | ] + MICROKERNEL_TEST_HDRS, |
| 5270 | deps = MICROKERNEL_TEST_DEPS, |
| 5271 | ) |
| 5272 | |
| 5273 | xnnpack_unit_test( |
| 5274 | name = "u8_clamp_test", |
| 5275 | srcs = [ |
| 5276 | "test/u8-clamp.cc", |
| 5277 | "test/clamp-microkernel-tester.h", |
| 5278 | ] + MICROKERNEL_TEST_HDRS, |
| 5279 | deps = MICROKERNEL_TEST_DEPS, |
| 5280 | ) |
| 5281 | |
| 5282 | xnnpack_unit_test( |
| 5283 | name = "u8_lut32norm_test", |
| 5284 | srcs = [ |
| 5285 | "test/u8-lut32norm.cc", |
| 5286 | "test/lut-norm-microkernel-tester.h", |
| 5287 | ] + MICROKERNEL_TEST_HDRS, |
| 5288 | deps = MICROKERNEL_TEST_DEPS, |
| 5289 | ) |
| 5290 | |
| 5291 | xnnpack_unit_test( |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 5292 | name = "u8_maxpool_minmax_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5293 | srcs = [ |
Marat Dukhan | 9993660 | 2020-04-11 16:47:01 -0700 | [diff] [blame] | 5294 | "test/u8-maxpool-minmax.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5295 | "test/maxpool-microkernel-tester.h", |
| 5296 | ] + MICROKERNEL_TEST_HDRS, |
| 5297 | deps = MICROKERNEL_TEST_DEPS, |
| 5298 | ) |
| 5299 | |
| 5300 | xnnpack_unit_test( |
| 5301 | name = "u8_rmax_test", |
| 5302 | srcs = [ |
| 5303 | "test/u8-rmax.cc", |
| 5304 | "test/rmax-microkernel-tester.h", |
| 5305 | ] + MICROKERNEL_TEST_HDRS, |
| 5306 | deps = MICROKERNEL_TEST_DEPS, |
| 5307 | ) |
| 5308 | |
| 5309 | xnnpack_unit_test( |
Marat Dukhan | 3bb3bfc | 2020-05-19 17:42:46 -0700 | [diff] [blame] | 5310 | name = "x32_fill_test", |
| 5311 | srcs = [ |
| 5312 | "test/x32-fill.cc", |
| 5313 | "test/fill-microkernel-tester.h", |
| 5314 | ] + MICROKERNEL_TEST_HDRS, |
| 5315 | deps = MICROKERNEL_TEST_DEPS, |
| 5316 | ) |
| 5317 | |
| 5318 | xnnpack_unit_test( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5319 | name = "x32_packx_test", |
| 5320 | srcs = [ |
| 5321 | "test/x32-packx.cc", |
| 5322 | "test/pack-microkernel-tester.h", |
| 5323 | "src/xnnpack/AlignedAllocator.h", |
| 5324 | ] + MICROKERNEL_TEST_HDRS, |
| 5325 | deps = MICROKERNEL_TEST_DEPS, |
| 5326 | ) |
| 5327 | |
| 5328 | xnnpack_unit_test( |
| 5329 | name = "x32_pad_test", |
| 5330 | srcs = [ |
| 5331 | "test/x32-pad.cc", |
| 5332 | "test/pad-microkernel-tester.h", |
| 5333 | ] + MICROKERNEL_TEST_HDRS, |
| 5334 | deps = MICROKERNEL_TEST_DEPS, |
| 5335 | ) |
| 5336 | |
| 5337 | xnnpack_unit_test( |
| 5338 | name = "x32_unpool_test", |
| 5339 | srcs = [ |
| 5340 | "test/x32-unpool.cc", |
| 5341 | "test/unpool-microkernel-tester.h", |
| 5342 | ] + MICROKERNEL_TEST_HDRS, |
| 5343 | deps = MICROKERNEL_TEST_DEPS, |
| 5344 | ) |
| 5345 | |
| 5346 | xnnpack_unit_test( |
| 5347 | name = "x32_zip_test", |
| 5348 | srcs = [ |
| 5349 | "test/x32-zip.cc", |
| 5350 | "test/zip-microkernel-tester.h", |
| 5351 | ] + MICROKERNEL_TEST_HDRS, |
| 5352 | deps = MICROKERNEL_TEST_DEPS, |
| 5353 | ) |
| 5354 | |
| 5355 | xnnpack_unit_test( |
| 5356 | name = "x8_lut_test", |
| 5357 | srcs = [ |
| 5358 | "test/x8-lut.cc", |
| 5359 | "test/lut-microkernel-tester.h", |
| 5360 | ] + MICROKERNEL_TEST_HDRS, |
| 5361 | deps = MICROKERNEL_TEST_DEPS, |
| 5362 | ) |
| 5363 | |
| 5364 | xnnpack_unit_test( |
| 5365 | name = "x8_zip_test", |
| 5366 | srcs = [ |
| 5367 | "test/x8-zip.cc", |
| 5368 | "test/zip-microkernel-tester.h", |
| 5369 | ] + MICROKERNEL_TEST_HDRS, |
| 5370 | deps = MICROKERNEL_TEST_DEPS, |
| 5371 | ) |
| 5372 | |
Marat Dukhan | 20c3b92 | 2020-03-10 03:45:06 -0700 | [diff] [blame] | 5373 | ########################## Size tests for the library ######################### |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5374 | |
| 5375 | xnnpack_binary( |
Marat Dukhan | 20c3b92 | 2020-03-10 03:45:06 -0700 | [diff] [blame] | 5376 | name = "operator_size_test", |
| 5377 | srcs = ["test/operator-size.c"], |
Marat Dukhan | 8fe54e4 | 2019-10-10 14:12:59 -0700 | [diff] [blame] | 5378 | deps = [":xnnpack_operators_nhwc_f32"], |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5379 | ) |
| 5380 | |
Marat Dukhan | 20c3b92 | 2020-03-10 03:45:06 -0700 | [diff] [blame] | 5381 | xnnpack_binary( |
| 5382 | name = "subgraph_size_test", |
| 5383 | srcs = ["test/subgraph-size.c"], |
| 5384 | deps = [":XNNPACK"], |
| 5385 | ) |
| 5386 | |
| 5387 | ########################### Unit tests for operators ########################## |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5388 | |
| 5389 | xnnpack_unit_test( |
Marat Dukhan | 5020b96 | 2020-06-08 13:30:10 -0700 | [diff] [blame] | 5390 | name = "abs_nc_test", |
| 5391 | srcs = [ |
| 5392 | "test/abs-nc.cc", |
| 5393 | "test/abs-operator-tester.h", |
| 5394 | ], |
| 5395 | deps = OPERATOR_TEST_DEPS, |
| 5396 | ) |
| 5397 | |
| 5398 | xnnpack_unit_test( |
Marat Dukhan | b1a0fc3 | 2019-12-02 19:32:02 -0800 | [diff] [blame] | 5399 | name = "add_nd_test", |
| 5400 | srcs = [ |
| 5401 | "test/add-nd.cc", |
| 5402 | "test/binary-elementwise-operator-tester.h", |
| 5403 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5404 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | b1a0fc3 | 2019-12-02 19:32:02 -0800 | [diff] [blame] | 5405 | ) |
| 5406 | |
| 5407 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5408 | name = "argmax_pooling_nhwc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5409 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5410 | "test/argmax-pooling-nhwc.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5411 | "test/argmax-pooling-operator-tester.h", |
| 5412 | ] + OPERATOR_TEST_PARAMS_HDRS, |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5413 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5414 | ) |
| 5415 | |
| 5416 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5417 | name = "average_pooling_nhwc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5418 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5419 | "test/average-pooling-nhwc.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5420 | "test/average-pooling-operator-tester.h", |
| 5421 | ] + OPERATOR_TEST_PARAMS_HDRS, |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5422 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5423 | ) |
| 5424 | |
| 5425 | xnnpack_unit_test( |
Marat Dukhan | 64e5251 | 2020-06-09 13:41:16 -0700 | [diff] [blame] | 5426 | name = "bankers_rounding_nc_test", |
| 5427 | srcs = [ |
| 5428 | "test/bankers-rounding-nc.cc", |
| 5429 | "test/bankers-rounding-operator-tester.h", |
| 5430 | ], |
| 5431 | deps = OPERATOR_TEST_DEPS, |
| 5432 | ) |
| 5433 | |
| 5434 | xnnpack_unit_test( |
| 5435 | name = "ceiling_nc_test", |
| 5436 | srcs = [ |
| 5437 | "test/ceiling-nc.cc", |
| 5438 | "test/ceiling-operator-tester.h", |
| 5439 | ], |
| 5440 | deps = OPERATOR_TEST_DEPS, |
| 5441 | ) |
| 5442 | |
| 5443 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5444 | name = "channel_shuffle_nc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5445 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5446 | "test/channel-shuffle-nc.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5447 | "test/channel-shuffle-operator-tester.h", |
| 5448 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5449 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5450 | ) |
| 5451 | |
| 5452 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5453 | name = "clamp_nc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5454 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5455 | "test/clamp-nc.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5456 | "test/clamp-operator-tester.h", |
| 5457 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5458 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5459 | ) |
| 5460 | |
| 5461 | xnnpack_unit_test( |
Marat Dukhan | 065b11e | 2020-05-22 09:49:41 -0700 | [diff] [blame] | 5462 | name = "constant_pad_nd_test", |
| 5463 | srcs = [ |
| 5464 | "test/constant-pad-nd.cc", |
| 5465 | "test/constant-pad-operator-tester.h", |
| 5466 | ], |
| 5467 | deps = OPERATOR_TEST_DEPS, |
| 5468 | ) |
| 5469 | |
| 5470 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5471 | name = "convolution_nhwc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5472 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5473 | "test/convolution-nhwc.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5474 | "test/convolution-operator-tester.h", |
| 5475 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5476 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5477 | ) |
| 5478 | |
| 5479 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5480 | name = "convolution_nchw_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5481 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5482 | "test/convolution-nchw.cc", |
| 5483 | "test/convolution-operator-tester.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5484 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5485 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5486 | ) |
| 5487 | |
| 5488 | xnnpack_unit_test( |
Marat Dukhan | 4e21b27 | 2020-06-04 18:45:01 -0700 | [diff] [blame] | 5489 | name = "copy_nc_test", |
| 5490 | srcs = [ |
| 5491 | "test/copy-nc.cc", |
| 5492 | "test/copy-operator-tester.h", |
| 5493 | ], |
| 5494 | deps = OPERATOR_TEST_DEPS, |
| 5495 | ) |
| 5496 | |
| 5497 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5498 | name = "deconvolution_nhwc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5499 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5500 | "test/deconvolution-nhwc.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5501 | "test/deconvolution-operator-tester.h", |
| 5502 | ] + OPERATOR_TEST_PARAMS_HDRS, |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5503 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5504 | ) |
| 5505 | |
| 5506 | xnnpack_unit_test( |
Marat Dukhan | 6918050 | 2019-12-06 15:00:31 -0800 | [diff] [blame] | 5507 | name = "divide_nd_test", |
| 5508 | srcs = [ |
| 5509 | "test/binary-elementwise-operator-tester.h", |
| 5510 | "test/divide-nd.cc", |
| 5511 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5512 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 6918050 | 2019-12-06 15:00:31 -0800 | [diff] [blame] | 5513 | ) |
| 5514 | |
| 5515 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5516 | name = "fully_connected_nc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5517 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5518 | "test/fully-connected-nc.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5519 | "test/fully-connected-operator-tester.h", |
| 5520 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5521 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5522 | ) |
| 5523 | |
| 5524 | xnnpack_unit_test( |
Marat Dukhan | 64e5251 | 2020-06-09 13:41:16 -0700 | [diff] [blame] | 5525 | name = "floor_nc_test", |
| 5526 | srcs = [ |
| 5527 | "test/floor-nc.cc", |
| 5528 | "test/floor-operator-tester.h", |
| 5529 | ], |
| 5530 | deps = OPERATOR_TEST_DEPS, |
| 5531 | ) |
| 5532 | |
| 5533 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5534 | name = "global_average_pooling_nwc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5535 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5536 | "test/global-average-pooling-nwc.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5537 | "test/global-average-pooling-operator-tester.h", |
Marat Dukhan | ef61d02 | 2020-06-19 13:54:49 -0700 | [diff] [blame] | 5538 | ] + OPERATOR_TEST_PARAMS_HDRS, |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5539 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5540 | ) |
| 5541 | |
| 5542 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5543 | name = "global_average_pooling_ncw_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5544 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5545 | "test/global-average-pooling-ncw.cc", |
| 5546 | "test/global-average-pooling-operator-tester.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5547 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5548 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5549 | ) |
| 5550 | |
| 5551 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5552 | name = "hardswish_nc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5553 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5554 | "test/hardswish-nc.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5555 | "test/hardswish-operator-tester.h", |
| 5556 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5557 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5558 | ) |
| 5559 | |
| 5560 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5561 | name = "leaky_relu_nc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5562 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5563 | "test/leaky-relu-nc.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5564 | "test/leaky-relu-operator-tester.h", |
| 5565 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5566 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5567 | ) |
| 5568 | |
| 5569 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5570 | name = "max_pooling_nhwc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5571 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5572 | "test/max-pooling-nhwc.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5573 | "test/max-pooling-operator-tester.h", |
| 5574 | ] + OPERATOR_TEST_PARAMS_HDRS, |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5575 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5576 | ) |
| 5577 | |
| 5578 | xnnpack_unit_test( |
Marat Dukhan | 79e7f84 | 2019-12-05 14:35:50 -0800 | [diff] [blame] | 5579 | name = "maximum_nd_test", |
| 5580 | srcs = [ |
| 5581 | "test/binary-elementwise-operator-tester.h", |
| 5582 | "test/maximum-nd.cc", |
| 5583 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5584 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 79e7f84 | 2019-12-05 14:35:50 -0800 | [diff] [blame] | 5585 | ) |
| 5586 | |
| 5587 | xnnpack_unit_test( |
| 5588 | name = "minimum_nd_test", |
| 5589 | srcs = [ |
| 5590 | "test/binary-elementwise-operator-tester.h", |
| 5591 | "test/minimum-nd.cc", |
| 5592 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5593 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 79e7f84 | 2019-12-05 14:35:50 -0800 | [diff] [blame] | 5594 | ) |
| 5595 | |
| 5596 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5597 | name = "multiply_nd_test", |
Marat Dukhan | ca2733c | 2019-11-15 23:21:17 -0800 | [diff] [blame] | 5598 | srcs = [ |
Marat Dukhan | b1a0fc3 | 2019-12-02 19:32:02 -0800 | [diff] [blame] | 5599 | "test/binary-elementwise-operator-tester.h", |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5600 | "test/multiply-nd.cc", |
Marat Dukhan | ca2733c | 2019-11-15 23:21:17 -0800 | [diff] [blame] | 5601 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5602 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | ca2733c | 2019-11-15 23:21:17 -0800 | [diff] [blame] | 5603 | ) |
| 5604 | |
| 5605 | xnnpack_unit_test( |
Marat Dukhan | 5020b96 | 2020-06-08 13:30:10 -0700 | [diff] [blame] | 5606 | name = "negate_nc_test", |
| 5607 | srcs = [ |
| 5608 | "test/negate-nc.cc", |
| 5609 | "test/negate-operator-tester.h", |
| 5610 | ], |
| 5611 | deps = OPERATOR_TEST_DEPS, |
| 5612 | ) |
| 5613 | |
| 5614 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5615 | name = "prelu_nc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5616 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5617 | "test/prelu-nc.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5618 | "test/prelu-operator-tester.h", |
| 5619 | ] + OPERATOR_TEST_PARAMS_HDRS, |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5620 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5621 | ) |
| 5622 | |
| 5623 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5624 | name = "resize_bilinear_nhwc_test", |
Marat Dukhan | 6972249 | 2019-11-11 19:55:50 -0800 | [diff] [blame] | 5625 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5626 | "test/resize-bilinear-nhwc.cc", |
Marat Dukhan | 6972249 | 2019-11-11 19:55:50 -0800 | [diff] [blame] | 5627 | "test/resize-bilinear-operator-tester.h", |
| 5628 | ] + OPERATOR_TEST_PARAMS_HDRS, |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5629 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 6972249 | 2019-11-11 19:55:50 -0800 | [diff] [blame] | 5630 | ) |
| 5631 | |
| 5632 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5633 | name = "sigmoid_nc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5634 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5635 | "test/sigmoid-nc.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5636 | "test/sigmoid-operator-tester.h", |
| 5637 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5638 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5639 | ) |
| 5640 | |
| 5641 | xnnpack_unit_test( |
Marat Dukhan | fd8e689 | 2020-01-27 15:25:25 -0800 | [diff] [blame] | 5642 | name = "softmax_nc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5643 | srcs = [ |
Marat Dukhan | fd8e689 | 2020-01-27 15:25:25 -0800 | [diff] [blame] | 5644 | "test/softmax-nc.cc", |
| 5645 | "test/softmax-operator-tester.h", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5646 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5647 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5648 | ) |
| 5649 | |
| 5650 | xnnpack_unit_test( |
Marat Dukhan | 5020b96 | 2020-06-08 13:30:10 -0700 | [diff] [blame] | 5651 | name = "square_nc_test", |
| 5652 | srcs = [ |
| 5653 | "test/square-nc.cc", |
| 5654 | "test/square-operator-tester.h", |
| 5655 | ], |
| 5656 | deps = OPERATOR_TEST_DEPS, |
| 5657 | ) |
| 5658 | |
| 5659 | xnnpack_unit_test( |
Marat Dukhan | 6804bbd | 2020-06-30 19:26:11 -0700 | [diff] [blame] | 5660 | name = "square_root_nc_test", |
| 5661 | srcs = [ |
| 5662 | "test/square-root-nc.cc", |
| 5663 | "test/square-root-operator-tester.h", |
| 5664 | ], |
| 5665 | deps = OPERATOR_TEST_DEPS, |
| 5666 | ) |
| 5667 | |
| 5668 | xnnpack_unit_test( |
Marat Dukhan | f739926 | 2020-06-05 10:58:44 -0700 | [diff] [blame] | 5669 | name = "squared_difference_nd_test", |
| 5670 | srcs = [ |
| 5671 | "test/binary-elementwise-operator-tester.h", |
| 5672 | "test/squared-difference-nd.cc", |
| 5673 | ], |
| 5674 | deps = OPERATOR_TEST_DEPS, |
| 5675 | ) |
| 5676 | |
| 5677 | xnnpack_unit_test( |
Marat Dukhan | 05f3f6d | 2019-12-03 15:13:53 -0800 | [diff] [blame] | 5678 | name = "subtract_nd_test", |
| 5679 | srcs = [ |
| 5680 | "test/binary-elementwise-operator-tester.h", |
| 5681 | "test/subtract-nd.cc", |
| 5682 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5683 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 05f3f6d | 2019-12-03 15:13:53 -0800 | [diff] [blame] | 5684 | ) |
| 5685 | |
| 5686 | xnnpack_unit_test( |
Marat Dukhan | 64e5251 | 2020-06-09 13:41:16 -0700 | [diff] [blame] | 5687 | name = "truncation_nc_test", |
| 5688 | srcs = [ |
| 5689 | "test/truncation-nc.cc", |
| 5690 | "test/truncation-operator-tester.h", |
| 5691 | ], |
| 5692 | deps = OPERATOR_TEST_DEPS, |
| 5693 | ) |
| 5694 | |
| 5695 | xnnpack_unit_test( |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5696 | name = "unpooling_nhwc_test", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5697 | srcs = [ |
Marat Dukhan | efc47b8 | 2019-11-18 09:25:38 -0800 | [diff] [blame] | 5698 | "test/unpooling-nhwc.cc", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5699 | "test/unpooling-operator-tester.h", |
| 5700 | ], |
Marat Dukhan | 1b35463 | 2020-03-23 12:50:22 -0700 | [diff] [blame] | 5701 | deps = OPERATOR_TEST_DEPS, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5702 | ) |
| 5703 | |
Chao Mei | 6ddfc60 | 2020-05-13 22:29:36 -0700 | [diff] [blame] | 5704 | ############################### Misc unit tests ############################### |
| 5705 | |
| 5706 | xnnpack_unit_test( |
| 5707 | name = "memory_planner_test", |
| 5708 | srcs = [ |
| 5709 | "test/memory-planner-test.cc", |
| 5710 | ], |
| 5711 | deps = [ |
| 5712 | ":XNNPACK", |
| 5713 | ":memory_planner", |
| 5714 | ], |
| 5715 | ) |
| 5716 | |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5717 | ############################# Build configurations ############################# |
| 5718 | |
Marat Dukhan | b864235 | 2019-10-30 15:43:02 -0700 | [diff] [blame] | 5719 | # Enables usage of assembly kernels. |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5720 | config_setting( |
Marat Dukhan | b864235 | 2019-10-30 15:43:02 -0700 | [diff] [blame] | 5721 | name = "xnn_enable_assembly_explicit_true", |
| 5722 | define_values = {"xnn_enable_assembly": "true"}, |
| 5723 | ) |
| 5724 | |
| 5725 | # Disables usage of assembly kernels. |
| 5726 | config_setting( |
| 5727 | name = "xnn_enable_assembly_explicit_false", |
| 5728 | define_values = {"xnn_enable_assembly": "false"}, |
| 5729 | ) |
| 5730 | |
Marat Dukhan | 9de90e0 | 2020-06-18 16:04:12 -0700 | [diff] [blame] | 5731 | # Enables usage of sparse inference. |
| 5732 | config_setting( |
| 5733 | name = "xnn_enable_sparse_explicit_true", |
| 5734 | define_values = {"xnn_enable_sparse": "true"}, |
| 5735 | ) |
| 5736 | |
| 5737 | # Disables usage of sparse inference. |
| 5738 | config_setting( |
| 5739 | name = "xnn_enable_sparse_explicit_false", |
| 5740 | define_values = {"xnn_enable_sparse": "false"}, |
| 5741 | ) |
| 5742 | |
Marat Dukhan | 05702cf | 2020-03-26 15:41:33 -0700 | [diff] [blame] | 5743 | # Disables usage of HMP-aware optimizations. |
| 5744 | config_setting( |
| 5745 | name = "xnn_enable_hmp_explicit_false", |
| 5746 | define_values = {"xnn_enable_hmp": "false"}, |
| 5747 | ) |
| 5748 | |
Chao Mei | 6ddfc60 | 2020-05-13 22:29:36 -0700 | [diff] [blame] | 5749 | # Enable usage of optimized memory allocation |
| 5750 | config_setting( |
| 5751 | name = "xnn_enable_memopt_explicit_true", |
| 5752 | define_values = {"xnnpack_enable_memopt": "true"}, |
| 5753 | ) |
| 5754 | |
| 5755 | # Disable usage of optimized memory allocation |
| 5756 | config_setting( |
| 5757 | name = "xnn_enable_memopt_explicit_false", |
| 5758 | define_values = {"xnnpack_enable_memopt": "false"}, |
| 5759 | ) |
| 5760 | |
Marat Dukhan | b864235 | 2019-10-30 15:43:02 -0700 | [diff] [blame] | 5761 | # Builds with -c dbg |
| 5762 | config_setting( |
| 5763 | name = "debug_build", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5764 | values = { |
Marat Dukhan | b864235 | 2019-10-30 15:43:02 -0700 | [diff] [blame] | 5765 | "compilation_mode": "dbg", |
| 5766 | }, |
| 5767 | ) |
| 5768 | |
| 5769 | # Builds with -c opt |
| 5770 | config_setting( |
| 5771 | name = "optimized_build", |
| 5772 | values = { |
| 5773 | "compilation_mode": "opt", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5774 | }, |
| 5775 | ) |
| 5776 | |
| 5777 | config_setting( |
Marat Dukhan | b864235 | 2019-10-30 15:43:02 -0700 | [diff] [blame] | 5778 | name = "linux_k8", |
| 5779 | values = {"cpu": "k8"}, |
| 5780 | ) |
| 5781 | |
| 5782 | config_setting( |
Marat Dukhan | 582094e | 2020-04-30 17:21:25 -0700 | [diff] [blame] | 5783 | name = "linux_arm", |
| 5784 | values = {"cpu": "arm"}, |
Marat Dukhan | 4e45e66 | 2019-10-03 15:40:24 -0700 | [diff] [blame] | 5785 | ) |
| 5786 | |
| 5787 | config_setting( |
Marat Dukhan | f0bd4de | 2020-06-15 15:53:19 -0700 | [diff] [blame] | 5788 | name = "linux_armeabi", |
| 5789 | values = {"cpu": "armeabi"}, |
| 5790 | ) |
| 5791 | |
| 5792 | config_setting( |
Terry Heo | 68eef3f | 2020-04-13 22:53:52 -0700 | [diff] [blame] | 5793 | name = "linux_armhf", |
| 5794 | values = {"cpu": "armhf"}, |
| 5795 | ) |
| 5796 | |
| 5797 | config_setting( |
Marat Dukhan | a720e93 | 2020-06-10 13:01:11 -0700 | [diff] [blame] | 5798 | name = "linux_armv7a", |
| 5799 | values = {"cpu": "armv7a"}, |
| 5800 | ) |
| 5801 | |
| 5802 | config_setting( |
Marat Dukhan | 582094e | 2020-04-30 17:21:25 -0700 | [diff] [blame] | 5803 | name = "linux_aarch64", |
| 5804 | values = {"cpu": "aarch64"}, |
| 5805 | ) |
| 5806 | |
| 5807 | config_setting( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5808 | name = "android", |
| 5809 | values = {"crosstool_top": "//external:android/crosstool"}, |
| 5810 | ) |
| 5811 | |
| 5812 | config_setting( |
| 5813 | name = "android_armv7", |
| 5814 | values = { |
| 5815 | "crosstool_top": "//external:android/crosstool", |
| 5816 | "cpu": "armeabi-v7a", |
| 5817 | }, |
| 5818 | ) |
| 5819 | |
| 5820 | config_setting( |
| 5821 | name = "android_arm64", |
| 5822 | values = { |
| 5823 | "crosstool_top": "//external:android/crosstool", |
| 5824 | "cpu": "arm64-v8a", |
| 5825 | }, |
| 5826 | ) |
| 5827 | |
| 5828 | config_setting( |
| 5829 | name = "android_x86", |
| 5830 | values = { |
| 5831 | "crosstool_top": "//external:android/crosstool", |
| 5832 | "cpu": "x86", |
| 5833 | }, |
| 5834 | ) |
| 5835 | |
| 5836 | config_setting( |
| 5837 | name = "android_x86_64", |
| 5838 | values = { |
| 5839 | "crosstool_top": "//external:android/crosstool", |
| 5840 | "cpu": "x86_64", |
| 5841 | }, |
| 5842 | ) |
| 5843 | |
| 5844 | config_setting( |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 5845 | name = "windows_x86_64", |
| 5846 | values = {"cpu": "x64_windows"}, |
Marat Dukhan | 9fe932e | 2020-04-11 17:14:15 -0700 | [diff] [blame] | 5847 | ) |
| 5848 | |
| 5849 | config_setting( |
Marat Dukhan | 10a3808 | 2020-04-17 03:58:35 -0700 | [diff] [blame] | 5850 | name = "windows_x86_64_clang", |
| 5851 | values = { |
| 5852 | "compiler": "clang-cl", |
| 5853 | "cpu": "x64_windows", |
| 5854 | }, |
| 5855 | ) |
| 5856 | |
| 5857 | config_setting( |
| 5858 | name = "windows_x86_64_mingw", |
| 5859 | values = { |
| 5860 | "compiler": "mingw-gcc", |
| 5861 | "cpu": "x64_windows", |
| 5862 | }, |
| 5863 | ) |
| 5864 | |
| 5865 | config_setting( |
| 5866 | name = "windows_x86_64_msys", |
| 5867 | values = { |
| 5868 | "compiler": "msys-gcc", |
| 5869 | "cpu": "x64_windows", |
| 5870 | }, |
Marat Dukhan | 9fe932e | 2020-04-11 17:14:15 -0700 | [diff] [blame] | 5871 | ) |
| 5872 | |
| 5873 | config_setting( |
Marat Dukhan | 885ca24 | 2019-10-07 09:17:32 -0700 | [diff] [blame] | 5874 | name = "macos_x86_64", |
| 5875 | values = { |
| 5876 | "apple_platform_type": "macos", |
| 5877 | "cpu": "darwin", |
| 5878 | }, |
| 5879 | ) |
| 5880 | |
| 5881 | config_setting( |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5882 | name = "emscripten", |
Marat Dukhan | 1a729ec | 2019-10-07 09:31:44 -0700 | [diff] [blame] | 5883 | values = {"crosstool_top": "//toolchain:emscripten"}, |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5884 | ) |
| 5885 | |
| 5886 | config_setting( |
| 5887 | name = "emscripten_wasm", |
| 5888 | values = { |
Marat Dukhan | 1a729ec | 2019-10-07 09:31:44 -0700 | [diff] [blame] | 5889 | "crosstool_top": "//toolchain:emscripten", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5890 | "cpu": "wasm", |
| 5891 | }, |
| 5892 | ) |
| 5893 | |
| 5894 | config_setting( |
| 5895 | name = "emscripten_wasmsimd", |
| 5896 | values = { |
Marat Dukhan | 1a729ec | 2019-10-07 09:31:44 -0700 | [diff] [blame] | 5897 | "crosstool_top": "//toolchain:emscripten", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5898 | "cpu": "wasm", |
Marat Dukhan | 81c6260 | 2020-05-29 13:22:49 -0700 | [diff] [blame] | 5899 | "copt": "-msimd128", |
Marat Dukhan | 08c4a43 | 2019-10-03 09:29:21 -0700 | [diff] [blame] | 5900 | }, |
| 5901 | ) |
| 5902 | |
| 5903 | config_setting( |
Marat Dukhan | 1498d1d | 2020-02-11 20:00:05 -0800 | [diff] [blame] | 5904 | name = "ios_armv7", |
| 5905 | values = { |
Marat Dukhan | f85fc33 | 2020-02-13 00:05:20 -0800 | [diff] [blame] | 5906 | "apple_platform_type": "ios", |
Marat Dukhan | 1498d1d | 2020-02-11 20:00:05 -0800 | [diff] [blame] | 5907 | "cpu": "ios_armv7", |
| 5908 | }, |
| 5909 | ) |
| 5910 | |
| 5911 | config_setting( |
| 5912 | name = "ios_arm64", |
| 5913 | values = { |
Marat Dukhan | f85fc33 | 2020-02-13 00:05:20 -0800 | [diff] [blame] | 5914 | "apple_platform_type": "ios", |
Marat Dukhan | 1498d1d | 2020-02-11 20:00:05 -0800 | [diff] [blame] | 5915 | "cpu": "ios_arm64", |
| 5916 | }, |
| 5917 | ) |
| 5918 | |
| 5919 | config_setting( |
| 5920 | name = "ios_arm64e", |
| 5921 | values = { |
Marat Dukhan | f85fc33 | 2020-02-13 00:05:20 -0800 | [diff] [blame] | 5922 | "apple_platform_type": "ios", |
Marat Dukhan | 1498d1d | 2020-02-11 20:00:05 -0800 | [diff] [blame] | 5923 | "cpu": "ios_arm64e", |
| 5924 | }, |
| 5925 | ) |
| 5926 | |
| 5927 | config_setting( |
| 5928 | name = "ios_x86", |
| 5929 | values = { |
Marat Dukhan | f85fc33 | 2020-02-13 00:05:20 -0800 | [diff] [blame] | 5930 | "apple_platform_type": "ios", |
Marat Dukhan | 1498d1d | 2020-02-11 20:00:05 -0800 | [diff] [blame] | 5931 | "cpu": "ios_i386", |
| 5932 | }, |
| 5933 | ) |
| 5934 | |
| 5935 | config_setting( |
| 5936 | name = "ios_x86_64", |
| 5937 | values = { |
Marat Dukhan | f85fc33 | 2020-02-13 00:05:20 -0800 | [diff] [blame] | 5938 | "apple_platform_type": "ios", |
Marat Dukhan | 1498d1d | 2020-02-11 20:00:05 -0800 | [diff] [blame] | 5939 | "cpu": "ios_x86_64", |
| 5940 | }, |
| 5941 | ) |
| 5942 | |
| 5943 | config_setting( |
| 5944 | name = "watchos_armv7k", |
| 5945 | values = { |
Marat Dukhan | f85fc33 | 2020-02-13 00:05:20 -0800 | [diff] [blame] | 5946 | "apple_platform_type": "watchos", |
Marat Dukhan | 1498d1d | 2020-02-11 20:00:05 -0800 | [diff] [blame] | 5947 | "cpu": "watchos_armv7k", |
| 5948 | }, |
| 5949 | ) |
| 5950 | |
| 5951 | config_setting( |
| 5952 | name = "watchos_arm64_32", |
| 5953 | values = { |
Marat Dukhan | f85fc33 | 2020-02-13 00:05:20 -0800 | [diff] [blame] | 5954 | "apple_platform_type": "watchos", |
Marat Dukhan | 1498d1d | 2020-02-11 20:00:05 -0800 | [diff] [blame] | 5955 | "cpu": "watchos_arm64_32", |
| 5956 | }, |
| 5957 | ) |
| 5958 | |
| 5959 | config_setting( |
| 5960 | name = "watchos_x86", |
| 5961 | values = { |
Marat Dukhan | f85fc33 | 2020-02-13 00:05:20 -0800 | [diff] [blame] | 5962 | "apple_platform_type": "watchos", |
Marat Dukhan | 1498d1d | 2020-02-11 20:00:05 -0800 | [diff] [blame] | 5963 | "cpu": "watchos_i386", |
| 5964 | }, |
| 5965 | ) |
| 5966 | |
| 5967 | config_setting( |
| 5968 | name = "watchos_x86_64", |
| 5969 | values = { |
Marat Dukhan | f85fc33 | 2020-02-13 00:05:20 -0800 | [diff] [blame] | 5970 | "apple_platform_type": "watchos", |
Marat Dukhan | 1498d1d | 2020-02-11 20:00:05 -0800 | [diff] [blame] | 5971 | "cpu": "watchos_x86_64", |
| 5972 | }, |
| 5973 | ) |
| 5974 | |
| 5975 | config_setting( |
| 5976 | name = "tvos_arm64", |
| 5977 | values = { |
Marat Dukhan | f85fc33 | 2020-02-13 00:05:20 -0800 | [diff] [blame] | 5978 | "apple_platform_type": "tvos", |
Marat Dukhan | 1498d1d | 2020-02-11 20:00:05 -0800 | [diff] [blame] | 5979 | "cpu": "tvos_arm64", |
| 5980 | }, |
| 5981 | ) |
| 5982 | |
| 5983 | config_setting( |
| 5984 | name = "tvos_x86_64", |
| 5985 | values = { |
Marat Dukhan | f85fc33 | 2020-02-13 00:05:20 -0800 | [diff] [blame] | 5986 | "apple_platform_type": "tvos", |
Marat Dukhan | 1498d1d | 2020-02-11 20:00:05 -0800 | [diff] [blame] | 5987 | "cpu": "tvos_x86_64", |
| 5988 | }, |
| 5989 | ) |