blob: b1f3b66b8c4408f68f704db3171ea3b16ad945e7 [file] [log] [blame]
Frank Barchard1a953052020-11-16 18:44:58 -08001# Copyright 2020 Google LLC
Marat Dukhan08c4a432019-10-03 09:29:21 -07002#
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 Dukhan10a38082020-04-17 03:58:35 -07009load(":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 Dukhan69c3f2c2019-11-06 12:30:01 -080010
Marat Dukhan08c4a432019-10-03 09:29:21 -070011licenses(["notice"])
12
13exports_files(["LICENSE"])
14
Marat Dukhan1b354632020-03-23 12:50:22 -070015OPERATOR_BENCHMARK_DEPS = [
16 ":XNNPACK",
17 ":bench_utils",
18 "@cpuinfo",
Frank Barchard0c849732020-06-12 13:31:32 -070019 "@FP16",
Marat Dukhan1b354632020-03-23 12:50:22 -070020 "@pthreadpool",
21]
22
Marat Dukhan08c4a432019-10-03 09:29:21 -070023MICROKERNEL_BENCHMARK_DEPS = [
24 ":ukernels",
25 ":bench_utils",
Frank Barchard7e955972019-10-11 10:34:25 -070026 ":enable_assembly",
Marat Dukhan08c4a432019-10-03 09:29:21 -070027 "@cpuinfo",
28 "@FP16",
29 "@pthreadpool",
30]
31
Marat Dukhan6adff4e2019-10-14 18:32:07 -070032ACCURACY_EVAL_DEPS = [
33 ":XNNPACK",
34 ":ukernels",
35 "@FP16",
36 "@pthreadpool",
37]
38
Marat Dukhan08c4a432019-10-03 09:29:21 -070039MICROKERNEL_TEST_DEPS = [
Marat Dukhan33fcf782020-05-24 14:27:15 -070040 ":ukernels_test_mode",
Frank Barchard7e955972019-10-11 10:34:25 -070041 ":enable_assembly",
Marat Dukhan08c4a432019-10-03 09:29:21 -070042 "@cpuinfo",
43 "@FP16",
44 "@pthreadpool",
45]
46
Marat Dukhan1b354632020-03-23 12:50:22 -070047OPERATOR_TEST_DEPS = [
Marat Dukhan33fcf782020-05-24 14:27:15 -070048 ":XNNPACK_test_mode",
Marat Dukhan1b354632020-03-23 12:50:22 -070049 "@pthreadpool",
50 "@FP16",
51]
52
Marat Dukhan08c4a432019-10-03 09:29:21 -070053OPERATOR_SRCS = [
Marat Dukhane8265432020-04-28 18:42:59 -070054 "src/operators/argmax-pooling-nhwc.c",
55 "src/operators/average-pooling-nhwc.c",
56 "src/operators/binary-elementwise-nd.c",
Marat Dukhane8265432020-04-28 18:42:59 -070057 "src/operators/channel-shuffle-nc.c",
Marat Dukhan065b11e2020-05-22 09:49:41 -070058 "src/operators/constant-pad-nd.c",
Marat Dukhane8265432020-04-28 18:42:59 -070059 "src/operators/convolution-nchw.c",
60 "src/operators/convolution-nhwc.c",
61 "src/operators/deconvolution-nhwc.c",
Marat Dukhan13b68f22020-11-12 11:55:19 -080062 "src/operators/depth-to-space-nchw2nhwc.c",
Marat Dukhan0e521172020-11-25 13:10:04 -080063 "src/operators/depth-to-space-nhwc.c",
Marat Dukhane8265432020-04-28 18:42:59 -070064 "src/operators/fully-connected-nc.c",
65 "src/operators/global-average-pooling-ncw.c",
66 "src/operators/global-average-pooling-nwc.c",
Marat Dukhane8265432020-04-28 18:42:59 -070067 "src/operators/leaky-relu-nc.c",
68 "src/operators/max-pooling-nhwc.c",
69 "src/operators/prelu-nc.c",
Artsiom Ablavatski97918102020-10-27 15:52:59 -070070 "src/operators/resize-bilinear-nchw.c",
Marat Dukhane8265432020-04-28 18:42:59 -070071 "src/operators/resize-bilinear-nhwc.c",
72 "src/operators/sigmoid-nc.c",
73 "src/operators/softmax-nc.c",
Marat Dukhanc3065f52020-06-04 13:33:32 -070074 "src/operators/unary-elementwise-nc.c",
Marat Dukhane8265432020-04-28 18:42:59 -070075 "src/operators/unpooling-nhwc.c",
Marat Dukhan08c4a432019-10-03 09:29:21 -070076]
77
Marat Dukhan95e8b7a2020-06-03 12:46:26 -070078SUBGRAPH_SRCS = [
Marat Dukhan5fab4092020-06-10 01:28:28 -070079 "src/subgraph/abs.c",
Marat Dukhan95e8b7a2020-06-03 12:46:26 -070080 "src/subgraph/add2.c",
81 "src/subgraph/argmax-pooling-2d.c",
82 "src/subgraph/average-pooling-2d.c",
Marat Dukhan5fab4092020-06-10 01:28:28 -070083 "src/subgraph/bankers-rounding.c",
84 "src/subgraph/ceiling.c",
Marat Dukhan95e8b7a2020-06-03 12:46:26 -070085 "src/subgraph/clamp.c",
86 "src/subgraph/convolution-2d.c",
87 "src/subgraph/deconvolution-2d.c",
Artsiom Ablavatskibbe85062020-11-05 14:07:37 -080088 "src/subgraph/depth-to-space.c",
Frank Barchard9cef5ea2020-11-18 14:52:08 -080089 "src/subgraph/depthwise-convolution-2d.c",
Marat Dukhan9d3a4592020-06-05 16:52:42 -070090 "src/subgraph/divide.c",
Marat Dukhana1600202020-12-01 22:17:16 -080091 "src/subgraph/elu.c",
Marat Dukhan5fab4092020-06-10 01:28:28 -070092 "src/subgraph/floor.c",
Frank Barchard04336c12020-10-22 16:48:55 -070093 "src/subgraph/fully-connected.c",
Marat Dukhana059b7d2020-06-11 11:41:27 -070094 "src/subgraph/global-average-pooling-2d.c",
Marat Dukhan95e8b7a2020-06-03 12:46:26 -070095 "src/subgraph/hardswish.c",
Marat Dukhan5bbebac2020-06-10 19:42:15 -070096 "src/subgraph/leaky-relu.c",
Marat Dukhan95e8b7a2020-06-03 12:46:26 -070097 "src/subgraph/max-pooling-2d.c",
Marat Dukhan9d3a4592020-06-05 16:52:42 -070098 "src/subgraph/maximum2.c",
99 "src/subgraph/minimum2.c",
Marat Dukhan95e8b7a2020-06-03 12:46:26 -0700100 "src/subgraph/multiply2.c",
Marat Dukhan5fab4092020-06-10 01:28:28 -0700101 "src/subgraph/negate.c",
Marat Dukhan95e8b7a2020-06-03 12:46:26 -0700102 "src/subgraph/prelu.c",
103 "src/subgraph/sigmoid.c",
104 "src/subgraph/softmax.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700105 "src/subgraph/square-root.c",
106 "src/subgraph/square.c",
107 "src/subgraph/squared-difference.c",
Marat Dukhan95e8b7a2020-06-03 12:46:26 -0700108 "src/subgraph/static-constant-pad.c",
Marat Dukhand27202d2020-07-09 23:43:40 -0700109 "src/subgraph/static-reshape.c",
Marat Dukhanaff24e22020-07-23 01:43:58 -0700110 "src/subgraph/static-resize-bilinear-2d.c",
Marat Dukhan9d3a4592020-06-05 16:52:42 -0700111 "src/subgraph/subtract.c",
Marat Dukhan95e8b7a2020-06-03 12:46:26 -0700112 "src/subgraph/unpooling-2d.c",
113]
114
Marat Dukhan3a77ea72019-12-23 12:10:24 -0800115TABLE_SRCS = [
116 "src/tables/exp2-k-over-64.c",
117 "src/tables/exp2-k-over-2048.c",
Marat Dukhande390d42020-11-29 19:32:18 -0800118 "src/tables/exp2minus-k-over-4.c",
119 "src/tables/exp2minus-k-over-8.c",
Marat Dukhanc60742b2020-11-23 12:33:27 -0800120 "src/tables/exp2minus-k-over-16.c",
Marat Dukhan1f256fc2020-09-24 21:27:14 -0700121 "src/tables/exp2minus-k-over-64.c",
122 "src/tables/exp2minus-k-over-2048.c",
Marat Dukhan3a77ea72019-12-23 12:10:24 -0800123]
124
Marat Dukhan08c4a432019-10-03 09:29:21 -0700125SCALAR_UKERNELS = [
Marat Dukhan329da642019-11-19 21:44:39 -0800126 "src/f32-argmaxpool/4x-scalar-c1.c",
Marat Dukhan1e782c42019-11-21 17:02:40 -0800127 "src/f32-argmaxpool/9p8x-scalar-c1.c",
Marat Dukhan329da642019-11-19 21:44:39 -0800128 "src/f32-argmaxpool/9x-scalar-c1.c",
Marat Dukhan99936602020-04-11 16:47:01 -0700129 "src/f32-avgpool/9p8x-minmax-scalar-c1.c",
130 "src/f32-avgpool/9x-minmax-scalar-c1.c",
Marat Dukhan5c5fa962020-03-10 18:38:33 -0700131 "src/f32-clamp/gen/scalar-x1.c",
132 "src/f32-clamp/gen/scalar-x2.c",
133 "src/f32-clamp/gen/scalar-x4.c",
Frank Barchardc9c320e2020-08-07 22:12:46 -0700134 "src/f32-conv-hwc/3x3s2p0p1c3x4-scalar-1x1.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700135 "src/f32-conv-hwc/3x3s2p1c3x4-scalar-1x1.c",
Marat Dukhan1f29b802020-05-15 23:46:39 -0700136 "src/f32-conv-hwc2chw/3x3s2p1c3x4-scalar-1x1.c",
Frank Barchardc9c320e2020-08-07 22:12:46 -0700137 "src/f32-dwconv/gen/up1x4-minmax-scalar-acc2.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700138 "src/f32-dwconv/gen/up1x4-minmax-scalar.c",
139 "src/f32-dwconv/gen/up1x4-scalar-acc2.c",
140 "src/f32-dwconv/gen/up1x4-scalar.c",
Frank Barchardc9c320e2020-08-07 22:12:46 -0700141 "src/f32-dwconv/gen/up1x9-minmax-scalar-acc2.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700142 "src/f32-dwconv/gen/up1x9-minmax-scalar.c",
143 "src/f32-dwconv/gen/up1x9-scalar-acc2.c",
144 "src/f32-dwconv/gen/up1x9-scalar.c",
Frank Barchardc9c320e2020-08-07 22:12:46 -0700145 "src/f32-dwconv/gen/up1x25-minmax-scalar-acc2.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700146 "src/f32-dwconv/gen/up1x25-minmax-scalar.c",
147 "src/f32-dwconv/gen/up1x25-scalar-acc2.c",
148 "src/f32-dwconv/gen/up1x25-scalar.c",
Frank Barchardc9c320e2020-08-07 22:12:46 -0700149 "src/f32-dwconv/gen/up2x4-minmax-scalar-acc2.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700150 "src/f32-dwconv/gen/up2x4-minmax-scalar.c",
151 "src/f32-dwconv/gen/up2x4-scalar-acc2.c",
152 "src/f32-dwconv/gen/up2x4-scalar.c",
Frank Barchardc9c320e2020-08-07 22:12:46 -0700153 "src/f32-dwconv/gen/up2x9-minmax-scalar-acc2.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700154 "src/f32-dwconv/gen/up2x9-minmax-scalar.c",
155 "src/f32-dwconv/gen/up2x9-scalar-acc2.c",
156 "src/f32-dwconv/gen/up2x9-scalar.c",
Frank Barchardc9c320e2020-08-07 22:12:46 -0700157 "src/f32-dwconv/gen/up2x25-minmax-scalar-acc2.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700158 "src/f32-dwconv/gen/up2x25-minmax-scalar.c",
159 "src/f32-dwconv/gen/up2x25-scalar-acc2.c",
160 "src/f32-dwconv/gen/up2x25-scalar.c",
Frank Barchard35db7d02020-10-26 13:37:34 -0700161 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-scalar-1x1-acc2.c",
162 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-scalar-1x1-acc3.c",
163 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-scalar-1x1-acc4.c",
Marat Dukhan91249d22020-10-24 12:02:51 -0700164 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-scalar-1x1.c",
Frank Barchard35db7d02020-10-26 13:37:34 -0700165 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-scalar-2x1-acc2.c",
Marat Dukhan91249d22020-10-24 12:02:51 -0700166 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-scalar-2x1.c",
167 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-scalar-3x1.c",
168 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-scalar-4x1.c",
169 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-scalar-5x1.c",
170 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-scalar-6x1.c",
Marat Dukhancf5b3c32020-10-25 19:21:10 -0700171 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-scalar-1x1-acc2.c",
172 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-scalar-1x1-acc3.c",
173 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-scalar-1x1-acc4.c",
Frank Barchard35db7d02020-10-26 13:37:34 -0700174 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-scalar-1x1.c",
Marat Dukhancf5b3c32020-10-25 19:21:10 -0700175 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-scalar-2x1-acc2.c",
Frank Barchard35db7d02020-10-26 13:37:34 -0700176 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-scalar-2x1.c",
177 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-scalar-3x1.c",
178 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-scalar-4x1.c",
Marat Dukhanc4efb002020-10-25 23:14:47 -0700179 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-scalar-1x1-acc2.c",
180 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-scalar-1x1-acc3.c",
181 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-scalar-1x1-acc4.c",
182 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-scalar-1x1-acc5.c",
Frank Barchard35db7d02020-10-26 13:37:34 -0700183 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-scalar-1x1.c",
Marat Dukhanc4efb002020-10-25 23:14:47 -0700184 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-scalar-2x1-acc2.c",
185 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-scalar-2x1-acc3.c",
Frank Barchard35db7d02020-10-26 13:37:34 -0700186 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-scalar-2x1.c",
Marat Dukhanc4efb002020-10-25 23:14:47 -0700187 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-scalar-3x1-acc2.c",
Frank Barchard35db7d02020-10-26 13:37:34 -0700188 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-scalar-3x1.c",
Marat Dukhan29c0c332020-10-28 22:11:00 -0700189 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-scalar-1x1-acc2.c",
190 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-scalar-1x1-acc3.c",
191 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-scalar-1x1-acc4.c",
192 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-scalar-1x1-acc5.c",
193 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-scalar-1x1.c",
194 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-scalar-2x1-acc2.c",
195 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-scalar-2x1-acc3.c",
196 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-scalar-2x1.c",
197 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-scalar-3x1-acc2.c",
198 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-scalar-3x1.c",
Marat Dukhan1f29b802020-05-15 23:46:39 -0700199 "src/f32-gavgpool-cw/scalar-x1.c",
Marat Dukhan99936602020-04-11 16:47:01 -0700200 "src/f32-gavgpool/7p7x-minmax-scalar-c1.c",
201 "src/f32-gavgpool/7x-minmax-scalar-c1.c",
Frank Barchardc9c320e2020-08-07 22:12:46 -0700202 "src/f32-gemm/gen-inc/1x4inc-minmax-scalar.c",
203 "src/f32-gemm/gen-inc/2x4inc-minmax-scalar.c",
204 "src/f32-gemm/gen-inc/4x4inc-minmax-scalar.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700205 "src/f32-gemm/gen/1x4-minmax-scalar.c",
206 "src/f32-gemm/gen/1x4-relu-scalar.c",
207 "src/f32-gemm/gen/1x4-scalar.c",
208 "src/f32-gemm/gen/2x4-minmax-scalar.c",
209 "src/f32-gemm/gen/2x4-relu-scalar.c",
210 "src/f32-gemm/gen/2x4-scalar.c",
211 "src/f32-gemm/gen/4x2-minmax-scalar.c",
212 "src/f32-gemm/gen/4x2-relu-scalar.c",
213 "src/f32-gemm/gen/4x2-scalar.c",
214 "src/f32-gemm/gen/4x4-minmax-scalar.c",
215 "src/f32-gemm/gen/4x4-relu-scalar.c",
216 "src/f32-gemm/gen/4x4-scalar.c",
Marat Dukhanefaac272020-07-16 16:58:07 -0700217 "src/f32-hswish/gen/hswish-scalar-x1.c",
218 "src/f32-hswish/gen/hswish-scalar-x2.c",
219 "src/f32-hswish/gen/hswish-scalar-x4.c",
XNNPACK Team21432672020-10-19 19:58:48 -0700220 "src/f32-ibilinear-chw/gen/scalar-p1.c",
221 "src/f32-ibilinear-chw/gen/scalar-p2.c",
222 "src/f32-ibilinear-chw/gen/scalar-p4.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700223 "src/f32-ibilinear/gen/scalar-c1.c",
224 "src/f32-ibilinear/gen/scalar-c2.c",
225 "src/f32-ibilinear/gen/scalar-c4.c",
Marat Dukhan1c587112020-04-08 20:04:28 -0700226 "src/f32-igemm/gen/1x4-minmax-scalar.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700227 "src/f32-igemm/gen/1x4-relu-scalar.c",
228 "src/f32-igemm/gen/1x4-scalar.c",
Marat Dukhan1c587112020-04-08 20:04:28 -0700229 "src/f32-igemm/gen/2x4-minmax-scalar.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700230 "src/f32-igemm/gen/2x4-relu-scalar.c",
231 "src/f32-igemm/gen/2x4-scalar.c",
Marat Dukhan1c587112020-04-08 20:04:28 -0700232 "src/f32-igemm/gen/4x2-minmax-scalar.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700233 "src/f32-igemm/gen/4x2-relu-scalar.c",
234 "src/f32-igemm/gen/4x2-scalar.c",
Marat Dukhan1c587112020-04-08 20:04:28 -0700235 "src/f32-igemm/gen/4x4-minmax-scalar.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700236 "src/f32-igemm/gen/4x4-relu-scalar.c",
237 "src/f32-igemm/gen/4x4-scalar.c",
Marat Dukhan99936602020-04-11 16:47:01 -0700238 "src/f32-maxpool/9p8x-minmax-scalar-c1.c",
239 "src/f32-pavgpool/9p8x-minmax-scalar-c1.c",
240 "src/f32-pavgpool/9x-minmax-scalar-c1.c",
Marat Dukhan1c587112020-04-08 20:04:28 -0700241 "src/f32-ppmm/gen/2x4-minmax-scalar.c",
242 "src/f32-ppmm/gen/3x3-minmax-scalar.c",
243 "src/f32-ppmm/gen/4x2-minmax-scalar.c",
244 "src/f32-ppmm/gen/4x4-minmax-scalar.c",
Marat Dukhan40a672f2019-11-25 03:08:22 -0800245 "src/f32-prelu/gen/scalar-2x1.c",
246 "src/f32-prelu/gen/scalar-2x4.c",
Marat Dukhanf46f6752020-01-21 11:03:49 -0800247 "src/f32-raddstoreexpminusmax/gen/scalar-lut64-p2-x1.c",
Marat Dukhanf46f6752020-01-21 11:03:49 -0800248 "src/f32-raddstoreexpminusmax/gen/scalar-lut64-p2-x2-acc2.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700249 "src/f32-raddstoreexpminusmax/gen/scalar-lut64-p2-x2.c",
Marat Dukhanf46f6752020-01-21 11:03:49 -0800250 "src/f32-raddstoreexpminusmax/gen/scalar-lut64-p2-x4-acc2.c",
251 "src/f32-raddstoreexpminusmax/gen/scalar-lut64-p2-x4-acc4.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700252 "src/f32-raddstoreexpminusmax/gen/scalar-lut64-p2-x4.c",
Marat Dukhanf46f6752020-01-21 11:03:49 -0800253 "src/f32-raddstoreexpminusmax/gen/scalar-p5-x1.c",
Marat Dukhanf46f6752020-01-21 11:03:49 -0800254 "src/f32-raddstoreexpminusmax/gen/scalar-p5-x2-acc2.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700255 "src/f32-raddstoreexpminusmax/gen/scalar-p5-x2.c",
Marat Dukhanf46f6752020-01-21 11:03:49 -0800256 "src/f32-raddstoreexpminusmax/gen/scalar-p5-x4-acc2.c",
257 "src/f32-raddstoreexpminusmax/gen/scalar-p5-x4-acc4.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700258 "src/f32-raddstoreexpminusmax/gen/scalar-p5-x4.c",
Frank Barchardfb158e22020-07-15 16:10:10 -0700259 "src/f32-relu/gen/scalar-x1.c",
260 "src/f32-relu/gen/scalar-x2.c",
261 "src/f32-relu/gen/scalar-x4.c",
Frank Barchard37297a62020-08-27 12:15:10 -0700262 "src/f32-relu/gen/scalar-x8.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700263 "src/f32-rmax/scalar.c",
Marat Dukhan3a77ea72019-12-23 12:10:24 -0800264 "src/f32-sigmoid/gen/scalar-lut64-p2-div-x1.c",
265 "src/f32-sigmoid/gen/scalar-lut64-p2-div-x2.c",
266 "src/f32-sigmoid/gen/scalar-lut64-p2-div-x4.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700267 "src/f32-sigmoid/gen/scalar-lut2048-p1-div-x1.c",
268 "src/f32-sigmoid/gen/scalar-lut2048-p1-div-x2.c",
269 "src/f32-sigmoid/gen/scalar-lut2048-p1-div-x4.c",
Marat Dukhan3a77ea72019-12-23 12:10:24 -0800270 "src/f32-sigmoid/gen/scalar-p5-div-x1.c",
271 "src/f32-sigmoid/gen/scalar-p5-div-x2.c",
272 "src/f32-sigmoid/gen/scalar-p5-div-x4.c",
Marat Dukhan355ab432020-04-09 19:01:52 -0700273 "src/f32-spmm/gen/1x1-minmax-scalar-pipelined.c",
274 "src/f32-spmm/gen/1x1-minmax-scalar.c",
275 "src/f32-spmm/gen/2x1-minmax-scalar-pipelined.c",
276 "src/f32-spmm/gen/2x1-minmax-scalar.c",
277 "src/f32-spmm/gen/4x1-minmax-scalar-pipelined.c",
278 "src/f32-spmm/gen/4x1-minmax-scalar.c",
279 "src/f32-spmm/gen/8x1-minmax-scalar-pipelined.c",
280 "src/f32-spmm/gen/8x1-minmax-scalar.c",
281 "src/f32-spmm/gen/8x2-minmax-scalar.c",
282 "src/f32-spmm/gen/8x4-minmax-scalar.c",
Marat Dukhan91cd2b72020-04-09 23:57:31 -0700283 "src/f32-vbinary/gen/vadd-minmax-scalar-x1.c",
284 "src/f32-vbinary/gen/vadd-minmax-scalar-x2.c",
285 "src/f32-vbinary/gen/vadd-minmax-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700286 "src/f32-vbinary/gen/vadd-minmax-scalar-x8.c",
Frank Barchard674778d2020-08-08 10:17:25 -0700287 "src/f32-vbinary/gen/vadd-relu-scalar-x1.c",
288 "src/f32-vbinary/gen/vadd-relu-scalar-x2.c",
289 "src/f32-vbinary/gen/vadd-relu-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700290 "src/f32-vbinary/gen/vadd-relu-scalar-x8.c",
Frank Barchard8e229db2020-07-06 23:31:35 -0700291 "src/f32-vbinary/gen/vadd-scalar-x1.c",
292 "src/f32-vbinary/gen/vadd-scalar-x2.c",
293 "src/f32-vbinary/gen/vadd-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700294 "src/f32-vbinary/gen/vadd-scalar-x8.c",
Marat Dukhan91cd2b72020-04-09 23:57:31 -0700295 "src/f32-vbinary/gen/vaddc-minmax-scalar-x1.c",
296 "src/f32-vbinary/gen/vaddc-minmax-scalar-x2.c",
297 "src/f32-vbinary/gen/vaddc-minmax-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700298 "src/f32-vbinary/gen/vaddc-minmax-scalar-x8.c",
Frank Barchard674778d2020-08-08 10:17:25 -0700299 "src/f32-vbinary/gen/vaddc-relu-scalar-x1.c",
300 "src/f32-vbinary/gen/vaddc-relu-scalar-x2.c",
301 "src/f32-vbinary/gen/vaddc-relu-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700302 "src/f32-vbinary/gen/vaddc-relu-scalar-x8.c",
Frank Barchard8e229db2020-07-06 23:31:35 -0700303 "src/f32-vbinary/gen/vaddc-scalar-x1.c",
304 "src/f32-vbinary/gen/vaddc-scalar-x2.c",
305 "src/f32-vbinary/gen/vaddc-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700306 "src/f32-vbinary/gen/vaddc-scalar-x8.c",
Marat Dukhan91cd2b72020-04-09 23:57:31 -0700307 "src/f32-vbinary/gen/vdiv-minmax-scalar-x1.c",
308 "src/f32-vbinary/gen/vdiv-minmax-scalar-x2.c",
309 "src/f32-vbinary/gen/vdiv-minmax-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700310 "src/f32-vbinary/gen/vdiv-minmax-scalar-x8.c",
Frank Barchard674778d2020-08-08 10:17:25 -0700311 "src/f32-vbinary/gen/vdiv-relu-scalar-x1.c",
312 "src/f32-vbinary/gen/vdiv-relu-scalar-x2.c",
313 "src/f32-vbinary/gen/vdiv-relu-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700314 "src/f32-vbinary/gen/vdiv-relu-scalar-x8.c",
Frank Barchard8e229db2020-07-06 23:31:35 -0700315 "src/f32-vbinary/gen/vdiv-scalar-x1.c",
316 "src/f32-vbinary/gen/vdiv-scalar-x2.c",
317 "src/f32-vbinary/gen/vdiv-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700318 "src/f32-vbinary/gen/vdiv-scalar-x8.c",
Marat Dukhan91cd2b72020-04-09 23:57:31 -0700319 "src/f32-vbinary/gen/vdivc-minmax-scalar-x1.c",
320 "src/f32-vbinary/gen/vdivc-minmax-scalar-x2.c",
321 "src/f32-vbinary/gen/vdivc-minmax-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700322 "src/f32-vbinary/gen/vdivc-minmax-scalar-x8.c",
Frank Barchard674778d2020-08-08 10:17:25 -0700323 "src/f32-vbinary/gen/vdivc-relu-scalar-x1.c",
324 "src/f32-vbinary/gen/vdivc-relu-scalar-x2.c",
325 "src/f32-vbinary/gen/vdivc-relu-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700326 "src/f32-vbinary/gen/vdivc-relu-scalar-x8.c",
Frank Barchard8e229db2020-07-06 23:31:35 -0700327 "src/f32-vbinary/gen/vdivc-scalar-x1.c",
328 "src/f32-vbinary/gen/vdivc-scalar-x2.c",
329 "src/f32-vbinary/gen/vdivc-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700330 "src/f32-vbinary/gen/vdivc-scalar-x8.c",
Marat Dukhan403b7d42019-12-05 12:49:11 -0800331 "src/f32-vbinary/gen/vmax-scalar-x1.c",
332 "src/f32-vbinary/gen/vmax-scalar-x2.c",
333 "src/f32-vbinary/gen/vmax-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700334 "src/f32-vbinary/gen/vmax-scalar-x8.c",
Marat Dukhan403b7d42019-12-05 12:49:11 -0800335 "src/f32-vbinary/gen/vmaxc-scalar-x1.c",
336 "src/f32-vbinary/gen/vmaxc-scalar-x2.c",
337 "src/f32-vbinary/gen/vmaxc-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700338 "src/f32-vbinary/gen/vmaxc-scalar-x8.c",
Marat Dukhan403b7d42019-12-05 12:49:11 -0800339 "src/f32-vbinary/gen/vmin-scalar-x1.c",
340 "src/f32-vbinary/gen/vmin-scalar-x2.c",
341 "src/f32-vbinary/gen/vmin-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700342 "src/f32-vbinary/gen/vmin-scalar-x8.c",
Marat Dukhan403b7d42019-12-05 12:49:11 -0800343 "src/f32-vbinary/gen/vminc-scalar-x1.c",
344 "src/f32-vbinary/gen/vminc-scalar-x2.c",
345 "src/f32-vbinary/gen/vminc-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700346 "src/f32-vbinary/gen/vminc-scalar-x8.c",
Marat Dukhan91cd2b72020-04-09 23:57:31 -0700347 "src/f32-vbinary/gen/vmul-minmax-scalar-x1.c",
348 "src/f32-vbinary/gen/vmul-minmax-scalar-x2.c",
349 "src/f32-vbinary/gen/vmul-minmax-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700350 "src/f32-vbinary/gen/vmul-minmax-scalar-x8.c",
Frank Barchard674778d2020-08-08 10:17:25 -0700351 "src/f32-vbinary/gen/vmul-relu-scalar-x1.c",
352 "src/f32-vbinary/gen/vmul-relu-scalar-x2.c",
353 "src/f32-vbinary/gen/vmul-relu-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700354 "src/f32-vbinary/gen/vmul-relu-scalar-x8.c",
Frank Barchard8e229db2020-07-06 23:31:35 -0700355 "src/f32-vbinary/gen/vmul-scalar-x1.c",
356 "src/f32-vbinary/gen/vmul-scalar-x2.c",
357 "src/f32-vbinary/gen/vmul-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700358 "src/f32-vbinary/gen/vmul-scalar-x8.c",
Marat Dukhan91cd2b72020-04-09 23:57:31 -0700359 "src/f32-vbinary/gen/vmulc-minmax-scalar-x1.c",
360 "src/f32-vbinary/gen/vmulc-minmax-scalar-x2.c",
361 "src/f32-vbinary/gen/vmulc-minmax-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700362 "src/f32-vbinary/gen/vmulc-minmax-scalar-x8.c",
Frank Barchard674778d2020-08-08 10:17:25 -0700363 "src/f32-vbinary/gen/vmulc-relu-scalar-x1.c",
364 "src/f32-vbinary/gen/vmulc-relu-scalar-x2.c",
365 "src/f32-vbinary/gen/vmulc-relu-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700366 "src/f32-vbinary/gen/vmulc-relu-scalar-x8.c",
Frank Barchard8e229db2020-07-06 23:31:35 -0700367 "src/f32-vbinary/gen/vmulc-scalar-x1.c",
368 "src/f32-vbinary/gen/vmulc-scalar-x2.c",
369 "src/f32-vbinary/gen/vmulc-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700370 "src/f32-vbinary/gen/vmulc-scalar-x8.c",
Marat Dukhan91cd2b72020-04-09 23:57:31 -0700371 "src/f32-vbinary/gen/vrdivc-minmax-scalar-x1.c",
372 "src/f32-vbinary/gen/vrdivc-minmax-scalar-x2.c",
373 "src/f32-vbinary/gen/vrdivc-minmax-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700374 "src/f32-vbinary/gen/vrdivc-minmax-scalar-x8.c",
Frank Barchard674778d2020-08-08 10:17:25 -0700375 "src/f32-vbinary/gen/vrdivc-relu-scalar-x1.c",
376 "src/f32-vbinary/gen/vrdivc-relu-scalar-x2.c",
377 "src/f32-vbinary/gen/vrdivc-relu-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700378 "src/f32-vbinary/gen/vrdivc-relu-scalar-x8.c",
Frank Barchard8e229db2020-07-06 23:31:35 -0700379 "src/f32-vbinary/gen/vrdivc-scalar-x1.c",
380 "src/f32-vbinary/gen/vrdivc-scalar-x2.c",
381 "src/f32-vbinary/gen/vrdivc-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700382 "src/f32-vbinary/gen/vrdivc-scalar-x8.c",
Marat Dukhan91cd2b72020-04-09 23:57:31 -0700383 "src/f32-vbinary/gen/vrsubc-minmax-scalar-x1.c",
384 "src/f32-vbinary/gen/vrsubc-minmax-scalar-x2.c",
385 "src/f32-vbinary/gen/vrsubc-minmax-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700386 "src/f32-vbinary/gen/vrsubc-minmax-scalar-x8.c",
Frank Barchard674778d2020-08-08 10:17:25 -0700387 "src/f32-vbinary/gen/vrsubc-relu-scalar-x1.c",
388 "src/f32-vbinary/gen/vrsubc-relu-scalar-x2.c",
389 "src/f32-vbinary/gen/vrsubc-relu-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700390 "src/f32-vbinary/gen/vrsubc-relu-scalar-x8.c",
Frank Barchard8e229db2020-07-06 23:31:35 -0700391 "src/f32-vbinary/gen/vrsubc-scalar-x1.c",
392 "src/f32-vbinary/gen/vrsubc-scalar-x2.c",
393 "src/f32-vbinary/gen/vrsubc-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700394 "src/f32-vbinary/gen/vrsubc-scalar-x8.c",
Marat Dukhan13bafb02020-06-05 00:43:11 -0700395 "src/f32-vbinary/gen/vsqrdiff-scalar-x1.c",
396 "src/f32-vbinary/gen/vsqrdiff-scalar-x2.c",
397 "src/f32-vbinary/gen/vsqrdiff-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700398 "src/f32-vbinary/gen/vsqrdiff-scalar-x8.c",
Marat Dukhan13bafb02020-06-05 00:43:11 -0700399 "src/f32-vbinary/gen/vsqrdiffc-scalar-x1.c",
400 "src/f32-vbinary/gen/vsqrdiffc-scalar-x2.c",
401 "src/f32-vbinary/gen/vsqrdiffc-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700402 "src/f32-vbinary/gen/vsqrdiffc-scalar-x8.c",
Marat Dukhan91cd2b72020-04-09 23:57:31 -0700403 "src/f32-vbinary/gen/vsub-minmax-scalar-x1.c",
404 "src/f32-vbinary/gen/vsub-minmax-scalar-x2.c",
405 "src/f32-vbinary/gen/vsub-minmax-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700406 "src/f32-vbinary/gen/vsub-minmax-scalar-x8.c",
Frank Barchard674778d2020-08-08 10:17:25 -0700407 "src/f32-vbinary/gen/vsub-relu-scalar-x1.c",
408 "src/f32-vbinary/gen/vsub-relu-scalar-x2.c",
409 "src/f32-vbinary/gen/vsub-relu-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700410 "src/f32-vbinary/gen/vsub-relu-scalar-x8.c",
Frank Barchard8e229db2020-07-06 23:31:35 -0700411 "src/f32-vbinary/gen/vsub-scalar-x1.c",
412 "src/f32-vbinary/gen/vsub-scalar-x2.c",
413 "src/f32-vbinary/gen/vsub-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700414 "src/f32-vbinary/gen/vsub-scalar-x8.c",
Marat Dukhan91cd2b72020-04-09 23:57:31 -0700415 "src/f32-vbinary/gen/vsubc-minmax-scalar-x1.c",
416 "src/f32-vbinary/gen/vsubc-minmax-scalar-x2.c",
417 "src/f32-vbinary/gen/vsubc-minmax-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700418 "src/f32-vbinary/gen/vsubc-minmax-scalar-x8.c",
Frank Barchard674778d2020-08-08 10:17:25 -0700419 "src/f32-vbinary/gen/vsubc-relu-scalar-x1.c",
420 "src/f32-vbinary/gen/vsubc-relu-scalar-x2.c",
421 "src/f32-vbinary/gen/vsubc-relu-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700422 "src/f32-vbinary/gen/vsubc-relu-scalar-x8.c",
Frank Barchard8e229db2020-07-06 23:31:35 -0700423 "src/f32-vbinary/gen/vsubc-scalar-x1.c",
424 "src/f32-vbinary/gen/vsubc-scalar-x2.c",
425 "src/f32-vbinary/gen/vsubc-scalar-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700426 "src/f32-vbinary/gen/vsubc-scalar-x8.c",
Marat Dukhaned6baaf2020-12-01 15:07:08 -0800427 "src/f32-velu/gen/velu-scalar-rr2-lut16-p3-x1.c",
428 "src/f32-velu/gen/velu-scalar-rr2-lut16-p3-x2.c",
429 "src/f32-velu/gen/velu-scalar-rr2-lut16-p3-x3.c",
430 "src/f32-velu/gen/velu-scalar-rr2-lut16-p3-x4.c",
431 "src/f32-velu/gen/velu-scalar-rr2-lut16-p3-x5.c",
432 "src/f32-velu/gen/velu-scalar-rr2-lut16-p3-x6.c",
433 "src/f32-velu/gen/velu-scalar-rr2-p6-x1.c",
434 "src/f32-velu/gen/velu-scalar-rr2-p6-x2.c",
435 "src/f32-velu/gen/velu-scalar-rr2-p6-x3.c",
436 "src/f32-velu/gen/velu-scalar-rr2-p6-x4.c",
437 "src/f32-velu/gen/velu-scalar-rr2-p6-x5.c",
438 "src/f32-velu/gen/velu-scalar-rr2-p6-x6.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700439 "src/f32-vlrelu/gen/vlrelu-scalar-x1.c",
440 "src/f32-vlrelu/gen/vlrelu-scalar-x2.c",
441 "src/f32-vlrelu/gen/vlrelu-scalar-x4.c",
Marat Dukhan99936602020-04-11 16:47:01 -0700442 "src/f32-vmulcaddc/gen/c1-minmax-scalar-2x.c",
443 "src/f32-vmulcaddc/gen/c2-minmax-scalar-2x.c",
444 "src/f32-vmulcaddc/gen/c4-minmax-scalar-2x.c",
Marat Dukhaneecf8fd2020-06-09 08:59:37 -0700445 "src/f32-vrnd/gen/vrndd-scalar-libm-x1.c",
446 "src/f32-vrnd/gen/vrndd-scalar-libm-x2.c",
447 "src/f32-vrnd/gen/vrndd-scalar-libm-x4.c",
Frank Barchardc9c320e2020-08-07 22:12:46 -0700448 "src/f32-vrnd/gen/vrndne-scalar-libm-x1.c",
449 "src/f32-vrnd/gen/vrndne-scalar-libm-x2.c",
450 "src/f32-vrnd/gen/vrndne-scalar-libm-x4.c",
451 "src/f32-vrnd/gen/vrndu-scalar-libm-x1.c",
452 "src/f32-vrnd/gen/vrndu-scalar-libm-x2.c",
453 "src/f32-vrnd/gen/vrndu-scalar-libm-x4.c",
454 "src/f32-vrnd/gen/vrndz-scalar-libm-x1.c",
455 "src/f32-vrnd/gen/vrndz-scalar-libm-x2.c",
456 "src/f32-vrnd/gen/vrndz-scalar-libm-x4.c",
Marat Dukhanf4db2f32020-06-30 10:55:30 -0700457 "src/f32-vsqrt/gen/scalar-sqrt-x1.c",
458 "src/f32-vsqrt/gen/scalar-sqrt-x2.c",
459 "src/f32-vsqrt/gen/scalar-sqrt-x4.c",
Marat Dukhan5020b962020-06-08 13:30:10 -0700460 "src/f32-vunary/gen/vabs-scalar-x1.c",
461 "src/f32-vunary/gen/vabs-scalar-x2.c",
462 "src/f32-vunary/gen/vabs-scalar-x4.c",
463 "src/f32-vunary/gen/vneg-scalar-x1.c",
464 "src/f32-vunary/gen/vneg-scalar-x2.c",
465 "src/f32-vunary/gen/vneg-scalar-x4.c",
466 "src/f32-vunary/gen/vsqr-scalar-x1.c",
467 "src/f32-vunary/gen/vsqr-scalar-x2.c",
468 "src/f32-vunary/gen/vsqr-scalar-x4.c",
Marat Dukhande390d42020-11-29 19:32:18 -0800469 "src/math/expm1minus-scalar-rr2-lut4-p4.c",
470 "src/math/expm1minus-scalar-rr2-lut8-p3.c",
471 "src/math/expm1minus-scalar-rr2-lut8-p4.c",
Marat Dukhanc60742b2020-11-23 12:33:27 -0800472 "src/math/expm1minus-scalar-rr2-lut16-p3.c",
473 "src/math/expm1minus-scalar-rr2-lut16-p4.c",
474 "src/math/expm1minus-scalar-rr2-p5.c",
475 "src/math/expm1minus-scalar-rr2-p6.c",
Frank Barchard22136062020-11-24 18:44:46 -0800476 "src/math/expminus-scalar-rr2-lut64-p2.c",
477 "src/math/expminus-scalar-rr2-lut2048-p1.c",
478 "src/math/expminus-scalar-rr2-p5.c",
Marat Dukhanc9852ba2020-05-13 17:21:29 -0700479 "src/math/roundd-scalar-addsub.c",
480 "src/math/roundd-scalar-cvt.c",
Marat Dukhanffbf96a2020-05-14 02:59:08 -0700481 "src/math/roundd-scalar-floor.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700482 "src/math/roundne-scalar-addsub.c",
483 "src/math/roundne-scalar-nearbyint.c",
484 "src/math/roundne-scalar-rint.c",
Marat Dukhanc9852ba2020-05-13 17:21:29 -0700485 "src/math/roundu-scalar-addsub.c",
Marat Dukhanffbf96a2020-05-14 02:59:08 -0700486 "src/math/roundu-scalar-ceil.c",
Marat Dukhanc9852ba2020-05-13 17:21:29 -0700487 "src/math/roundu-scalar-cvt.c",
Marat Dukhan2dbb9442020-05-12 20:43:43 -0700488 "src/math/roundz-scalar-addsub.c",
489 "src/math/roundz-scalar-cvt.c",
Marat Dukhanffbf96a2020-05-14 02:59:08 -0700490 "src/math/roundz-scalar-trunc.c",
Marat Dukhanf8475d62020-09-17 15:01:43 -0700491 "src/math/sigmoid-scalar-rr2-lut64-p2-div.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700492 "src/math/sigmoid-scalar-rr2-lut2048-p1-div.c",
Marat Dukhanf8475d62020-09-17 15:01:43 -0700493 "src/math/sigmoid-scalar-rr2-p5-div.c",
Frank Barchardc9c320e2020-08-07 22:12:46 -0700494 "src/qs8-gemm/gen/8x8c4-minmax-scalar.c",
495 "src/qs8-gemm/gen/12x4c4-minmax-scalar.c",
Marat Dukhan2e23d2b2020-07-29 16:01:37 -0700496 "src/qs8-requantization/fp32-scalar-lrintf.c",
497 "src/qs8-requantization/fp32-scalar-magic.c",
498 "src/qs8-requantization/precise-scalar-signed64.c",
499 "src/qs8-requantization/precise-scalar-unsigned32.c",
500 "src/qs8-requantization/precise-scalar-unsigned64.c",
501 "src/qs8-requantization/q31-scalar.c",
Marat Dukhan08b7a972020-07-14 18:17:29 -0700502 "src/qu8-avgpool/9p8x-minmax-scalar-c1.c",
503 "src/qu8-avgpool/9x-minmax-scalar-c1.c",
504 "src/qu8-dwconv/up1x9-minmax-scalar.c",
505 "src/qu8-gavgpool/7p7x-minmax-scalar-c1.c",
506 "src/qu8-gavgpool/7x-minmax-scalar-c1.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700507 "src/qu8-gemm/2x2-minmax-scalar.c",
Frank Barchardc9c320e2020-08-07 22:12:46 -0700508 "src/qu8-gemm/gen/8x8c4-minmax-scalar.c",
509 "src/qu8-gemm/gen/12x4c4-minmax-scalar.c",
Marat Dukhan08b7a972020-07-14 18:17:29 -0700510 "src/qu8-igemm/2x2-minmax-scalar.c",
Marat Dukhan5b69f8b2020-07-24 15:26:48 -0700511 "src/qu8-requantization/fp32-scalar-lrintf.c",
512 "src/qu8-requantization/fp32-scalar-magic.c",
513 "src/qu8-requantization/precise-scalar-signed64.c",
514 "src/qu8-requantization/precise-scalar-unsigned32.c",
515 "src/qu8-requantization/precise-scalar-unsigned64.c",
516 "src/qu8-requantization/q31-scalar.c",
Marat Dukhan08b7a972020-07-14 18:17:29 -0700517 "src/qu8-vadd/minmax-scalar.c",
Marat Dukhan5c5fa962020-03-10 18:38:33 -0700518 "src/u8-clamp/scalar-x4.c",
Marat Dukhan08c4a432019-10-03 09:29:21 -0700519 "src/u8-lut32norm/scalar.c",
Marat Dukhan99936602020-04-11 16:47:01 -0700520 "src/u8-maxpool/9p8x-minmax-scalar-c1.c",
Marat Dukhan08c4a432019-10-03 09:29:21 -0700521 "src/u8-rmax/scalar.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700522 "src/x8-lut/scalar.c",
523 "src/x8-zip/x2-scalar.c",
524 "src/x8-zip/x3-scalar.c",
525 "src/x8-zip/x4-scalar.c",
526 "src/x8-zip/xm-scalar.c",
Marat Dukhanad71b9a2020-11-20 00:01:51 -0800527 "src/x32-depthtospace2d-chw2hwc/scalar.c",
Marat Dukhan3bb3bfc2020-05-19 17:42:46 -0700528 "src/x32-fill/scalar-float.c",
529 "src/x32-fill/scalar-int.c",
Marat Dukhan08c4a432019-10-03 09:29:21 -0700530 "src/x32-packx/x2-scalar.c",
531 "src/x32-packx/x3-scalar.c",
532 "src/x32-packx/x4-scalar.c",
Marat Dukhan63523d42020-05-22 17:07:33 -0700533 "src/x32-pad/scalar-float.c",
Frank Barchardc9c320e2020-08-07 22:12:46 -0700534 "src/x32-pad/scalar-int.c",
Marat Dukhan08c4a432019-10-03 09:29:21 -0700535 "src/x32-unpool/scalar.c",
536 "src/x32-zip/x2-scalar.c",
537 "src/x32-zip/x3-scalar.c",
538 "src/x32-zip/x4-scalar.c",
539 "src/x32-zip/xm-scalar.c",
Marat Dukhan048931b2020-11-24 20:53:54 -0800540 "src/xx-copy/memcpy.c",
Marat Dukhan08c4a432019-10-03 09:29:21 -0700541]
542
Marat Dukhan436ebe62019-12-04 15:10:12 -0800543WASM_UKERNELS = [
Marat Dukhan99936602020-04-11 16:47:01 -0700544 "src/f32-avgpool/9p8x-minmax-wasm-c1.c",
545 "src/f32-avgpool/9x-minmax-wasm-c1.c",
Marat Dukhan5c5fa962020-03-10 18:38:33 -0700546 "src/f32-clamp/gen/wasm-x1.c",
547 "src/f32-clamp/gen/wasm-x2.c",
548 "src/f32-clamp/gen/wasm-x4.c",
Marat Dukhan1c587112020-04-08 20:04:28 -0700549 "src/f32-dwconv/gen/up1x4-minmax-wasm-acc2.c",
550 "src/f32-dwconv/gen/up1x4-minmax-wasm.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700551 "src/f32-dwconv/gen/up1x4-wasm-acc2.c",
552 "src/f32-dwconv/gen/up1x4-wasm.c",
Marat Dukhan1c587112020-04-08 20:04:28 -0700553 "src/f32-dwconv/gen/up1x9-minmax-wasm-acc2.c",
554 "src/f32-dwconv/gen/up1x9-minmax-wasm.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700555 "src/f32-dwconv/gen/up1x9-wasm-acc2.c",
556 "src/f32-dwconv/gen/up1x9-wasm.c",
Marat Dukhan163a7e62020-04-09 04:19:26 -0700557 "src/f32-dwconv/gen/up1x25-minmax-wasm-acc2.c",
558 "src/f32-dwconv/gen/up1x25-minmax-wasm.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700559 "src/f32-dwconv/gen/up1x25-wasm-acc2.c",
560 "src/f32-dwconv/gen/up1x25-wasm.c",
Marat Dukhan1c587112020-04-08 20:04:28 -0700561 "src/f32-dwconv/gen/up2x4-minmax-wasm-acc2.c",
562 "src/f32-dwconv/gen/up2x4-minmax-wasm.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700563 "src/f32-dwconv/gen/up2x4-wasm-acc2.c",
564 "src/f32-dwconv/gen/up2x4-wasm.c",
Marat Dukhan1c587112020-04-08 20:04:28 -0700565 "src/f32-dwconv/gen/up2x9-minmax-wasm-acc2.c",
566 "src/f32-dwconv/gen/up2x9-minmax-wasm.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700567 "src/f32-dwconv/gen/up2x9-wasm-acc2.c",
568 "src/f32-dwconv/gen/up2x9-wasm.c",
Marat Dukhan163a7e62020-04-09 04:19:26 -0700569 "src/f32-dwconv/gen/up2x25-minmax-wasm-acc2.c",
570 "src/f32-dwconv/gen/up2x25-minmax-wasm.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700571 "src/f32-dwconv/gen/up2x25-wasm-acc2.c",
572 "src/f32-dwconv/gen/up2x25-wasm.c",
Marat Dukhan99936602020-04-11 16:47:01 -0700573 "src/f32-gavgpool/7p7x-minmax-wasm-c1.c",
574 "src/f32-gavgpool/7x-minmax-wasm-c1.c",
Marat Dukhan1c587112020-04-08 20:04:28 -0700575 "src/f32-gemm/gen-inc/1x4inc-minmax-wasm.c",
576 "src/f32-gemm/gen-inc/2x4inc-minmax-wasm.c",
577 "src/f32-gemm/gen-inc/4x4inc-minmax-wasm.c",
578 "src/f32-gemm/gen/1x4-minmax-wasm.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700579 "src/f32-gemm/gen/1x4-relu-wasm.c",
580 "src/f32-gemm/gen/1x4-wasm.c",
Marat Dukhan1c587112020-04-08 20:04:28 -0700581 "src/f32-gemm/gen/2x4-minmax-wasm.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700582 "src/f32-gemm/gen/2x4-relu-wasm.c",
583 "src/f32-gemm/gen/2x4-wasm.c",
Marat Dukhan1c587112020-04-08 20:04:28 -0700584 "src/f32-gemm/gen/4x2-minmax-wasm.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700585 "src/f32-gemm/gen/4x2-relu-wasm.c",
586 "src/f32-gemm/gen/4x2-wasm.c",
Marat Dukhan1c587112020-04-08 20:04:28 -0700587 "src/f32-gemm/gen/4x4-minmax-wasm.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700588 "src/f32-gemm/gen/4x4-relu-wasm.c",
589 "src/f32-gemm/gen/4x4-wasm.c",
Marat Dukhanefaac272020-07-16 16:58:07 -0700590 "src/f32-hswish/gen/hswish-wasm-x1.c",
591 "src/f32-hswish/gen/hswish-wasm-x2.c",
592 "src/f32-hswish/gen/hswish-wasm-x4.c",
Marat Dukhan1c587112020-04-08 20:04:28 -0700593 "src/f32-igemm/gen/1x4-minmax-wasm.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700594 "src/f32-igemm/gen/1x4-relu-wasm.c",
595 "src/f32-igemm/gen/1x4-wasm.c",
Marat Dukhan1c587112020-04-08 20:04:28 -0700596 "src/f32-igemm/gen/2x4-minmax-wasm.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700597 "src/f32-igemm/gen/2x4-relu-wasm.c",
598 "src/f32-igemm/gen/2x4-wasm.c",
Marat Dukhan1c587112020-04-08 20:04:28 -0700599 "src/f32-igemm/gen/4x2-minmax-wasm.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700600 "src/f32-igemm/gen/4x2-relu-wasm.c",
601 "src/f32-igemm/gen/4x2-wasm.c",
Marat Dukhan1c587112020-04-08 20:04:28 -0700602 "src/f32-igemm/gen/4x4-minmax-wasm.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700603 "src/f32-igemm/gen/4x4-relu-wasm.c",
604 "src/f32-igemm/gen/4x4-wasm.c",
Marat Dukhan99936602020-04-11 16:47:01 -0700605 "src/f32-maxpool/9p8x-minmax-wasm-c1.c",
606 "src/f32-pavgpool/9p8x-minmax-wasm-c1.c",
607 "src/f32-pavgpool/9x-minmax-wasm-c1.c",
Marat Dukhan7c1f8082020-06-25 13:26:20 -0700608 "src/f32-prelu/gen/wasm-2x1.c",
609 "src/f32-prelu/gen/wasm-2x4.c",
Frank Barchardfb158e22020-07-15 16:10:10 -0700610 "src/f32-relu/gen/wasm-x1.c",
611 "src/f32-relu/gen/wasm-x2.c",
612 "src/f32-relu/gen/wasm-x4.c",
Frank Barchard37297a62020-08-27 12:15:10 -0700613 "src/f32-relu/gen/wasm-x8.c",
Marat Dukhan91cd2b72020-04-09 23:57:31 -0700614 "src/f32-vbinary/gen/vadd-minmax-wasm-x1.c",
615 "src/f32-vbinary/gen/vadd-minmax-wasm-x2.c",
616 "src/f32-vbinary/gen/vadd-minmax-wasm-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700617 "src/f32-vbinary/gen/vadd-minmax-wasm-x8.c",
Frank Barchard674778d2020-08-08 10:17:25 -0700618 "src/f32-vbinary/gen/vadd-relu-wasm-x1.c",
619 "src/f32-vbinary/gen/vadd-relu-wasm-x2.c",
620 "src/f32-vbinary/gen/vadd-relu-wasm-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700621 "src/f32-vbinary/gen/vadd-relu-wasm-x8.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700622 "src/f32-vbinary/gen/vaddc-minmax-wasm-x1.c",
623 "src/f32-vbinary/gen/vaddc-minmax-wasm-x2.c",
624 "src/f32-vbinary/gen/vaddc-minmax-wasm-x4.c",
625 "src/f32-vbinary/gen/vaddc-minmax-wasm-x8.c",
Frank Barchard674778d2020-08-08 10:17:25 -0700626 "src/f32-vbinary/gen/vaddc-relu-wasm-x1.c",
627 "src/f32-vbinary/gen/vaddc-relu-wasm-x2.c",
628 "src/f32-vbinary/gen/vaddc-relu-wasm-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700629 "src/f32-vbinary/gen/vaddc-relu-wasm-x8.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700630 "src/f32-vbinary/gen/vdiv-minmax-wasm-x1.c",
631 "src/f32-vbinary/gen/vdiv-minmax-wasm-x2.c",
632 "src/f32-vbinary/gen/vdiv-minmax-wasm-x4.c",
633 "src/f32-vbinary/gen/vdiv-minmax-wasm-x8.c",
Frank Barchard674778d2020-08-08 10:17:25 -0700634 "src/f32-vbinary/gen/vdiv-relu-wasm-x1.c",
635 "src/f32-vbinary/gen/vdiv-relu-wasm-x2.c",
636 "src/f32-vbinary/gen/vdiv-relu-wasm-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700637 "src/f32-vbinary/gen/vdiv-relu-wasm-x8.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700638 "src/f32-vbinary/gen/vdivc-minmax-wasm-x1.c",
639 "src/f32-vbinary/gen/vdivc-minmax-wasm-x2.c",
640 "src/f32-vbinary/gen/vdivc-minmax-wasm-x4.c",
641 "src/f32-vbinary/gen/vdivc-minmax-wasm-x8.c",
Frank Barchard674778d2020-08-08 10:17:25 -0700642 "src/f32-vbinary/gen/vdivc-relu-wasm-x1.c",
643 "src/f32-vbinary/gen/vdivc-relu-wasm-x2.c",
644 "src/f32-vbinary/gen/vdivc-relu-wasm-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700645 "src/f32-vbinary/gen/vdivc-relu-wasm-x8.c",
Marat Dukhan403b7d42019-12-05 12:49:11 -0800646 "src/f32-vbinary/gen/vmax-wasm-x1.c",
647 "src/f32-vbinary/gen/vmax-wasm-x2.c",
648 "src/f32-vbinary/gen/vmax-wasm-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700649 "src/f32-vbinary/gen/vmax-wasm-x8.c",
Marat Dukhan403b7d42019-12-05 12:49:11 -0800650 "src/f32-vbinary/gen/vmaxc-wasm-x1.c",
651 "src/f32-vbinary/gen/vmaxc-wasm-x2.c",
652 "src/f32-vbinary/gen/vmaxc-wasm-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700653 "src/f32-vbinary/gen/vmaxc-wasm-x8.c",
Marat Dukhan403b7d42019-12-05 12:49:11 -0800654 "src/f32-vbinary/gen/vmin-wasm-x1.c",
655 "src/f32-vbinary/gen/vmin-wasm-x2.c",
656 "src/f32-vbinary/gen/vmin-wasm-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700657 "src/f32-vbinary/gen/vmin-wasm-x8.c",
Marat Dukhan403b7d42019-12-05 12:49:11 -0800658 "src/f32-vbinary/gen/vminc-wasm-x1.c",
659 "src/f32-vbinary/gen/vminc-wasm-x2.c",
660 "src/f32-vbinary/gen/vminc-wasm-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700661 "src/f32-vbinary/gen/vminc-wasm-x8.c",
Marat Dukhan91cd2b72020-04-09 23:57:31 -0700662 "src/f32-vbinary/gen/vmul-minmax-wasm-x1.c",
663 "src/f32-vbinary/gen/vmul-minmax-wasm-x2.c",
664 "src/f32-vbinary/gen/vmul-minmax-wasm-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700665 "src/f32-vbinary/gen/vmul-minmax-wasm-x8.c",
Frank Barchard674778d2020-08-08 10:17:25 -0700666 "src/f32-vbinary/gen/vmul-relu-wasm-x1.c",
667 "src/f32-vbinary/gen/vmul-relu-wasm-x2.c",
668 "src/f32-vbinary/gen/vmul-relu-wasm-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700669 "src/f32-vbinary/gen/vmul-relu-wasm-x8.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700670 "src/f32-vbinary/gen/vmulc-minmax-wasm-x1.c",
671 "src/f32-vbinary/gen/vmulc-minmax-wasm-x2.c",
672 "src/f32-vbinary/gen/vmulc-minmax-wasm-x4.c",
673 "src/f32-vbinary/gen/vmulc-minmax-wasm-x8.c",
Frank Barchard674778d2020-08-08 10:17:25 -0700674 "src/f32-vbinary/gen/vmulc-relu-wasm-x1.c",
675 "src/f32-vbinary/gen/vmulc-relu-wasm-x2.c",
676 "src/f32-vbinary/gen/vmulc-relu-wasm-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700677 "src/f32-vbinary/gen/vmulc-relu-wasm-x8.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700678 "src/f32-vbinary/gen/vrdivc-minmax-wasm-x1.c",
679 "src/f32-vbinary/gen/vrdivc-minmax-wasm-x2.c",
680 "src/f32-vbinary/gen/vrdivc-minmax-wasm-x4.c",
681 "src/f32-vbinary/gen/vrdivc-minmax-wasm-x8.c",
Frank Barchard674778d2020-08-08 10:17:25 -0700682 "src/f32-vbinary/gen/vrdivc-relu-wasm-x1.c",
683 "src/f32-vbinary/gen/vrdivc-relu-wasm-x2.c",
684 "src/f32-vbinary/gen/vrdivc-relu-wasm-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700685 "src/f32-vbinary/gen/vrdivc-relu-wasm-x8.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700686 "src/f32-vbinary/gen/vrsubc-minmax-wasm-x1.c",
687 "src/f32-vbinary/gen/vrsubc-minmax-wasm-x2.c",
688 "src/f32-vbinary/gen/vrsubc-minmax-wasm-x4.c",
689 "src/f32-vbinary/gen/vrsubc-minmax-wasm-x8.c",
Frank Barchard674778d2020-08-08 10:17:25 -0700690 "src/f32-vbinary/gen/vrsubc-relu-wasm-x1.c",
691 "src/f32-vbinary/gen/vrsubc-relu-wasm-x2.c",
692 "src/f32-vbinary/gen/vrsubc-relu-wasm-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700693 "src/f32-vbinary/gen/vrsubc-relu-wasm-x8.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700694 "src/f32-vbinary/gen/vsub-minmax-wasm-x1.c",
695 "src/f32-vbinary/gen/vsub-minmax-wasm-x2.c",
696 "src/f32-vbinary/gen/vsub-minmax-wasm-x4.c",
697 "src/f32-vbinary/gen/vsub-minmax-wasm-x8.c",
Frank Barchard674778d2020-08-08 10:17:25 -0700698 "src/f32-vbinary/gen/vsub-relu-wasm-x1.c",
699 "src/f32-vbinary/gen/vsub-relu-wasm-x2.c",
700 "src/f32-vbinary/gen/vsub-relu-wasm-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700701 "src/f32-vbinary/gen/vsub-relu-wasm-x8.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700702 "src/f32-vbinary/gen/vsubc-minmax-wasm-x1.c",
703 "src/f32-vbinary/gen/vsubc-minmax-wasm-x2.c",
704 "src/f32-vbinary/gen/vsubc-minmax-wasm-x4.c",
705 "src/f32-vbinary/gen/vsubc-minmax-wasm-x8.c",
Frank Barchard674778d2020-08-08 10:17:25 -0700706 "src/f32-vbinary/gen/vsubc-relu-wasm-x1.c",
707 "src/f32-vbinary/gen/vsubc-relu-wasm-x2.c",
708 "src/f32-vbinary/gen/vsubc-relu-wasm-x4.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -0700709 "src/f32-vbinary/gen/vsubc-relu-wasm-x8.c",
Marat Dukhaned6baaf2020-12-01 15:07:08 -0800710 "src/f32-velu/gen/velu-wasm-rr2-lut16-p3-x1.c",
711 "src/f32-velu/gen/velu-wasm-rr2-lut16-p3-x2.c",
712 "src/f32-velu/gen/velu-wasm-rr2-lut16-p3-x3.c",
713 "src/f32-velu/gen/velu-wasm-rr2-lut16-p3-x4.c",
714 "src/f32-velu/gen/velu-wasm-rr2-lut16-p3-x5.c",
715 "src/f32-velu/gen/velu-wasm-rr2-lut16-p3-x6.c",
716 "src/f32-velu/gen/velu-wasm-rr2-p6-x1.c",
717 "src/f32-velu/gen/velu-wasm-rr2-p6-x2.c",
718 "src/f32-velu/gen/velu-wasm-rr2-p6-x3.c",
719 "src/f32-velu/gen/velu-wasm-rr2-p6-x4.c",
720 "src/f32-velu/gen/velu-wasm-rr2-p6-x5.c",
721 "src/f32-velu/gen/velu-wasm-rr2-p6-x6.c",
Marat Dukhan19dd91d2020-07-16 11:12:44 -0700722 "src/f32-vlrelu/gen/vlrelu-wasm-x1.c",
723 "src/f32-vlrelu/gen/vlrelu-wasm-x2.c",
724 "src/f32-vlrelu/gen/vlrelu-wasm-x4.c",
Marat Dukhan99936602020-04-11 16:47:01 -0700725 "src/f32-vmulcaddc/gen/c1-minmax-wasm-2x.c",
726 "src/f32-vmulcaddc/gen/c2-minmax-wasm-2x.c",
727 "src/f32-vmulcaddc/gen/c4-minmax-wasm-2x.c",
Marat Dukhan436ebe62019-12-04 15:10:12 -0800728]
729
Marat Dukhan290055c2020-06-09 12:24:29 -0700730WASMSIMD_UKERNELS = [
Marat Dukhan40f05522020-07-16 22:33:12 -0700731 "src/f32-argmaxpool/4x-wasmsimd-c4.c",
732 "src/f32-argmaxpool/9p8x-wasmsimd-c4.c",
733 "src/f32-argmaxpool/9x-wasmsimd-c4.c",
Marat Dukhan3b7432d2020-07-16 17:46:32 -0700734 "src/f32-avgpool/9p8x-minmax-wasmsimd-arm-c4.c",
735 "src/f32-avgpool/9p8x-minmax-wasmsimd-x86-c4.c",
736 "src/f32-avgpool/9x-minmax-wasmsimd-arm-c4.c",
737 "src/f32-avgpool/9x-minmax-wasmsimd-x86-c4.c",
Marat Dukhan3fa52c82020-07-08 12:54:33 -0700738 "src/f32-clamp/gen/wasmsimd-arm-x4.c",
739 "src/f32-clamp/gen/wasmsimd-arm-x8.c",
740 "src/f32-clamp/gen/wasmsimd-x86-x4.c",
741 "src/f32-clamp/gen/wasmsimd-x86-x8.c",
Frank Barchard22136062020-11-24 18:44:46 -0800742 "src/f32-conv-hwc2chw/3x3s2p1c3x4-wasmsimd-2x2.c",
Frank Barchard0725b8d2020-12-07 11:07:35 -0800743 "src/f32-dwconv/gen/up4x4-minmax-wasmsimd-arm-acc2.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700744 "src/f32-dwconv/gen/up4x4-minmax-wasmsimd-arm.c",
Frank Barchard0725b8d2020-12-07 11:07:35 -0800745 "src/f32-dwconv/gen/up4x4-minmax-wasmsimd-x86-acc2.c",
Marat Dukhanac014d72020-06-16 08:36:47 -0700746 "src/f32-dwconv/gen/up4x4-minmax-wasmsimd-x86.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700747 "src/f32-dwconv/gen/up4x4-wasmsimd.c",
Frank Barchard0725b8d2020-12-07 11:07:35 -0800748 "src/f32-dwconv/gen/up4x9-minmax-wasmsimd-arm-acc2.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700749 "src/f32-dwconv/gen/up4x9-minmax-wasmsimd-arm.c",
Frank Barchard0725b8d2020-12-07 11:07:35 -0800750 "src/f32-dwconv/gen/up4x9-minmax-wasmsimd-x86-acc2.c",
Marat Dukhanac014d72020-06-16 08:36:47 -0700751 "src/f32-dwconv/gen/up4x9-minmax-wasmsimd-x86.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700752 "src/f32-dwconv/gen/up4x9-wasmsimd.c",
Frank Barchard0725b8d2020-12-07 11:07:35 -0800753 "src/f32-dwconv/gen/up4x25-minmax-wasmsimd-arm-acc2.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700754 "src/f32-dwconv/gen/up4x25-minmax-wasmsimd-arm.c",
Frank Barchard0725b8d2020-12-07 11:07:35 -0800755 "src/f32-dwconv/gen/up4x25-minmax-wasmsimd-x86-acc2.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700756 "src/f32-dwconv/gen/up4x25-minmax-wasmsimd-x86.c",
757 "src/f32-dwconv/gen/up4x25-wasmsimd.c",
Frank Barchard0725b8d2020-12-07 11:07:35 -0800758 "src/f32-dwconv/gen/up8x4-minmax-wasmsimd-arm-acc2.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700759 "src/f32-dwconv/gen/up8x4-minmax-wasmsimd-arm.c",
Frank Barchard0725b8d2020-12-07 11:07:35 -0800760 "src/f32-dwconv/gen/up8x4-minmax-wasmsimd-x86-acc2.c",
Marat Dukhanac014d72020-06-16 08:36:47 -0700761 "src/f32-dwconv/gen/up8x4-minmax-wasmsimd-x86.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700762 "src/f32-dwconv/gen/up8x4-wasmsimd.c",
Frank Barchard0725b8d2020-12-07 11:07:35 -0800763 "src/f32-dwconv/gen/up8x9-minmax-wasmsimd-arm-acc2.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700764 "src/f32-dwconv/gen/up8x9-minmax-wasmsimd-arm.c",
Frank Barchard0725b8d2020-12-07 11:07:35 -0800765 "src/f32-dwconv/gen/up8x9-minmax-wasmsimd-x86-acc2.c",
Marat Dukhanac014d72020-06-16 08:36:47 -0700766 "src/f32-dwconv/gen/up8x9-minmax-wasmsimd-x86.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700767 "src/f32-dwconv/gen/up8x9-wasmsimd.c",
Frank Barchard0725b8d2020-12-07 11:07:35 -0800768 "src/f32-dwconv/gen/up8x25-minmax-wasmsimd-arm-acc2.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700769 "src/f32-dwconv/gen/up8x25-minmax-wasmsimd-arm.c",
Frank Barchard0725b8d2020-12-07 11:07:35 -0800770 "src/f32-dwconv/gen/up8x25-minmax-wasmsimd-x86-acc2.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700771 "src/f32-dwconv/gen/up8x25-minmax-wasmsimd-x86.c",
772 "src/f32-dwconv/gen/up8x25-wasmsimd.c",
Frank Barchard412e2f42020-12-11 11:40:50 -0800773 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-arm-loadsplat-1x4-acc2.c",
774 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-arm-loadsplat-1x4-acc3.c",
775 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-arm-loadsplat-1x4-acc4.c",
776 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-arm-loadsplat-1x4.c",
777 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-arm-loadsplat-2x4-acc2.c",
778 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-arm-loadsplat-2x4.c",
779 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-arm-loadsplat-3x4.c",
780 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-arm-loadsplat-4x4.c",
781 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-arm-loadsplat-5x4.c",
782 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-arm-loadsplat-6x4.c",
Frank Barchard02bb4292020-12-15 18:25:32 -0800783 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-arm-splat-1x4-acc2.c",
784 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-arm-splat-1x4-acc3.c",
785 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-arm-splat-1x4-acc4.c",
786 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-arm-splat-1x4.c",
787 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-arm-splat-2x4-acc2.c",
788 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-arm-splat-2x4.c",
789 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-arm-splat-3x4.c",
790 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-arm-splat-4x4.c",
791 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-arm-splat-5x4.c",
792 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-arm-splat-6x4.c",
Frank Barchard412e2f42020-12-11 11:40:50 -0800793 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-x86-loadsplat-1x4-acc2.c",
794 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-x86-loadsplat-1x4-acc3.c",
795 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-x86-loadsplat-1x4-acc4.c",
796 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-x86-loadsplat-1x4.c",
797 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-x86-loadsplat-2x4-acc2.c",
798 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-x86-loadsplat-2x4.c",
799 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-x86-loadsplat-3x4.c",
800 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-x86-loadsplat-4x4.c",
801 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-x86-loadsplat-5x4.c",
802 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-x86-loadsplat-6x4.c",
Frank Barchard02bb4292020-12-15 18:25:32 -0800803 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-x86-splat-1x4-acc2.c",
804 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-x86-splat-1x4-acc3.c",
805 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-x86-splat-1x4-acc4.c",
806 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-x86-splat-1x4.c",
807 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-x86-splat-2x4-acc2.c",
808 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-x86-splat-2x4.c",
809 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-x86-splat-3x4.c",
810 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-x86-splat-4x4.c",
811 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-x86-splat-5x4.c",
812 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-wasmsimd-x86-splat-6x4.c",
Frank Barchardc5704bf2020-12-21 23:09:00 -0800813 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-arm-loadsplat-1x4-acc2.c",
814 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-arm-loadsplat-1x4-acc3.c",
815 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-arm-loadsplat-1x4-acc4.c",
816 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-arm-loadsplat-1x4.c",
817 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-arm-loadsplat-2x4-acc2.c",
818 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-arm-loadsplat-2x4.c",
819 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-arm-loadsplat-3x4.c",
820 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-arm-loadsplat-4x4.c",
Frank Barchard412e2f42020-12-11 11:40:50 -0800821 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-arm-splat-1x4-acc2.c",
822 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-arm-splat-1x4-acc3.c",
823 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-arm-splat-1x4-acc4.c",
824 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-arm-splat-1x4.c",
825 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-arm-splat-2x4-acc2.c",
826 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-arm-splat-2x4.c",
827 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-arm-splat-3x4.c",
828 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-arm-splat-4x4.c",
Frank Barchardcadd4222021-01-20 16:27:25 -0800829 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-x86-loadsplat-1x4-acc2.c",
830 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-x86-loadsplat-1x4-acc3.c",
831 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-x86-loadsplat-1x4-acc4.c",
832 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-x86-loadsplat-1x4.c",
833 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-x86-loadsplat-2x4-acc2.c",
834 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-x86-loadsplat-2x4.c",
835 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-x86-loadsplat-3x4.c",
836 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-x86-loadsplat-4x4.c",
Frank Barchard412e2f42020-12-11 11:40:50 -0800837 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-x86-splat-1x4-acc2.c",
838 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-x86-splat-1x4-acc3.c",
839 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-x86-splat-1x4-acc4.c",
840 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-x86-splat-1x4.c",
841 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-x86-splat-2x4-acc2.c",
842 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-x86-splat-2x4.c",
843 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-x86-splat-3x4.c",
844 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-wasmsimd-x86-splat-4x4.c",
Frank Barchardb20dcd62020-12-15 16:46:14 -0800845 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-arm-loadsplat-1x4-acc2.c",
846 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-arm-loadsplat-1x4-acc3.c",
847 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-arm-loadsplat-1x4-acc4.c",
848 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-arm-loadsplat-1x4-acc5.c",
849 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-arm-loadsplat-1x4.c",
850 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-arm-loadsplat-2x4-acc2.c",
851 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-arm-loadsplat-2x4-acc3.c",
852 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-arm-loadsplat-2x4.c",
853 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-arm-loadsplat-3x4-acc2.c",
854 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-arm-loadsplat-3x4.c",
855 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-arm-loadsplat-4x4-acc2.c",
856 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-arm-loadsplat-4x4.c",
857 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-arm-loadsplat-5x4.c",
Frank Barchard412e2f42020-12-11 11:40:50 -0800858 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-arm-splat-1x4-acc2.c",
859 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-arm-splat-1x4-acc3.c",
860 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-arm-splat-1x4-acc4.c",
861 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-arm-splat-1x4-acc5.c",
862 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-arm-splat-1x4.c",
863 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-arm-splat-2x4-acc2.c",
864 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-arm-splat-2x4-acc3.c",
865 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-arm-splat-2x4.c",
866 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-arm-splat-3x4-acc2.c",
867 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-arm-splat-3x4.c",
868 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-arm-splat-4x4-acc2.c",
869 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-arm-splat-4x4.c",
870 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-arm-splat-5x4.c",
Frank Barchardb20dcd62020-12-15 16:46:14 -0800871 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-x86-loadsplat-1x4-acc2.c",
872 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-x86-loadsplat-1x4-acc3.c",
873 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-x86-loadsplat-1x4-acc4.c",
874 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-x86-loadsplat-1x4-acc5.c",
875 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-x86-loadsplat-1x4.c",
876 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-x86-loadsplat-2x4-acc2.c",
877 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-x86-loadsplat-2x4-acc3.c",
878 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-x86-loadsplat-2x4.c",
879 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-x86-loadsplat-3x4-acc2.c",
880 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-x86-loadsplat-3x4.c",
881 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-x86-loadsplat-4x4-acc2.c",
882 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-x86-loadsplat-4x4.c",
883 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-x86-loadsplat-5x4.c",
Frank Barchard412e2f42020-12-11 11:40:50 -0800884 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-x86-splat-1x4-acc2.c",
885 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-x86-splat-1x4-acc3.c",
886 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-x86-splat-1x4-acc4.c",
887 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-x86-splat-1x4-acc5.c",
888 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-x86-splat-1x4.c",
889 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-x86-splat-2x4-acc2.c",
890 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-x86-splat-2x4-acc3.c",
891 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-x86-splat-2x4.c",
892 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-x86-splat-3x4-acc2.c",
893 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-x86-splat-3x4.c",
894 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-x86-splat-4x4-acc2.c",
895 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-x86-splat-4x4.c",
896 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-wasmsimd-x86-splat-5x4.c",
Frank Barchardc6889b32020-12-21 11:27:22 -0800897 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-arm-loadsplat-1x4-acc2.c",
898 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-arm-loadsplat-1x4-acc3.c",
899 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-arm-loadsplat-1x4-acc4.c",
900 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-arm-loadsplat-1x4-acc5.c",
901 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-arm-loadsplat-1x4.c",
902 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-arm-loadsplat-2x4-acc2.c",
903 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-arm-loadsplat-2x4-acc3.c",
904 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-arm-loadsplat-2x4.c",
905 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-arm-loadsplat-3x4-acc2.c",
906 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-arm-loadsplat-3x4.c",
Frank Barchard412e2f42020-12-11 11:40:50 -0800907 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-arm-splat-1x4-acc2.c",
908 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-arm-splat-1x4-acc3.c",
909 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-arm-splat-1x4-acc4.c",
910 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-arm-splat-1x4-acc5.c",
911 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-arm-splat-1x4.c",
912 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-arm-splat-2x4-acc2.c",
913 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-arm-splat-2x4-acc3.c",
914 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-arm-splat-2x4.c",
915 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-arm-splat-3x4-acc2.c",
916 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-arm-splat-3x4.c",
Frank Barchardc6889b32020-12-21 11:27:22 -0800917 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-x86-loadsplat-1x4-acc2.c",
918 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-x86-loadsplat-1x4-acc3.c",
919 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-x86-loadsplat-1x4-acc4.c",
920 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-x86-loadsplat-1x4-acc5.c",
921 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-x86-loadsplat-1x4.c",
922 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-x86-loadsplat-2x4-acc2.c",
923 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-x86-loadsplat-2x4-acc3.c",
924 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-x86-loadsplat-2x4.c",
925 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-x86-loadsplat-3x4-acc2.c",
926 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-x86-loadsplat-3x4.c",
Frank Barchard412e2f42020-12-11 11:40:50 -0800927 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-x86-splat-1x4-acc2.c",
928 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-x86-splat-1x4-acc3.c",
929 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-x86-splat-1x4-acc4.c",
930 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-x86-splat-1x4-acc5.c",
931 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-x86-splat-1x4.c",
932 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-x86-splat-2x4-acc2.c",
933 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-x86-splat-2x4-acc3.c",
934 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-x86-splat-2x4.c",
935 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-x86-splat-3x4-acc2.c",
936 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-wasmsimd-x86-splat-3x4.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700937 "src/f32-gavgpool-cw/wasmsimd-arm-x4.c",
938 "src/f32-gavgpool-cw/wasmsimd-x86-x4.c",
Marat Dukhanc6016802020-07-16 18:51:28 -0700939 "src/f32-gavgpool/7p7x-minmax-wasmsimd-arm-c4.c",
940 "src/f32-gavgpool/7p7x-minmax-wasmsimd-x86-c4.c",
941 "src/f32-gavgpool/7x-minmax-wasmsimd-arm-c4.c",
942 "src/f32-gavgpool/7x-minmax-wasmsimd-x86-c4.c",
Frank Barchard0725b8d2020-12-07 11:07:35 -0800943 "src/f32-gemm/gen-inc/1x8inc-minmax-wasmsimd-arm-loadsplat.c",
944 "src/f32-gemm/gen-inc/1x8inc-minmax-wasmsimd-arm-splat.c",
945 "src/f32-gemm/gen-inc/1x8inc-minmax-wasmsimd-x86-loadsplat.c",
946 "src/f32-gemm/gen-inc/1x8inc-minmax-wasmsimd-x86-splat.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700947 "src/f32-gemm/gen-inc/1x8s4inc-minmax-wasmsimd-arm.c",
948 "src/f32-gemm/gen-inc/1x8s4inc-minmax-wasmsimd-x86.c",
Frank Barchard0725b8d2020-12-07 11:07:35 -0800949 "src/f32-gemm/gen-inc/3x8inc-minmax-wasmsimd-arm-loadsplat.c",
950 "src/f32-gemm/gen-inc/3x8inc-minmax-wasmsimd-arm-splat.c",
951 "src/f32-gemm/gen-inc/3x8inc-minmax-wasmsimd-x86-loadsplat.c",
952 "src/f32-gemm/gen-inc/3x8inc-minmax-wasmsimd-x86-splat.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700953 "src/f32-gemm/gen-inc/3x8s4inc-minmax-wasmsimd-arm.c",
954 "src/f32-gemm/gen-inc/3x8s4inc-minmax-wasmsimd-x86.c",
Frank Barchard0725b8d2020-12-07 11:07:35 -0800955 "src/f32-gemm/gen-inc/4x8inc-minmax-wasmsimd-arm-loadsplat.c",
956 "src/f32-gemm/gen-inc/4x8inc-minmax-wasmsimd-arm-splat.c",
957 "src/f32-gemm/gen-inc/4x8inc-minmax-wasmsimd-x86-loadsplat.c",
958 "src/f32-gemm/gen-inc/4x8inc-minmax-wasmsimd-x86-splat.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700959 "src/f32-gemm/gen-inc/4x8s4inc-minmax-wasmsimd-arm.c",
960 "src/f32-gemm/gen-inc/4x8s4inc-minmax-wasmsimd-x86.c",
Frank Barchard0725b8d2020-12-07 11:07:35 -0800961 "src/f32-gemm/gen-inc/5x8inc-minmax-wasmsimd-arm-loadsplat.c",
962 "src/f32-gemm/gen-inc/5x8inc-minmax-wasmsimd-arm-splat.c",
963 "src/f32-gemm/gen-inc/5x8inc-minmax-wasmsimd-x86-loadsplat.c",
964 "src/f32-gemm/gen-inc/5x8inc-minmax-wasmsimd-x86-splat.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700965 "src/f32-gemm/gen-inc/5x8s4inc-minmax-wasmsimd-arm.c",
966 "src/f32-gemm/gen-inc/5x8s4inc-minmax-wasmsimd-x86.c",
Frank Barchard0725b8d2020-12-07 11:07:35 -0800967 "src/f32-gemm/gen-inc/6x8inc-minmax-wasmsimd-arm-loadsplat.c",
968 "src/f32-gemm/gen-inc/6x8inc-minmax-wasmsimd-arm-splat.c",
969 "src/f32-gemm/gen-inc/6x8inc-minmax-wasmsimd-x86-loadsplat.c",
970 "src/f32-gemm/gen-inc/6x8inc-minmax-wasmsimd-x86-splat.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700971 "src/f32-gemm/gen-inc/6x8s4inc-minmax-wasmsimd-arm.c",
972 "src/f32-gemm/gen-inc/6x8s4inc-minmax-wasmsimd-x86.c",
Frank Barchard0725b8d2020-12-07 11:07:35 -0800973 "src/f32-gemm/gen/1x8-minmax-wasmsimd-arm-loadsplat.c",
974 "src/f32-gemm/gen/1x8-minmax-wasmsimd-arm-splat.c",
975 "src/f32-gemm/gen/1x8-minmax-wasmsimd-x86-loadsplat.c",
976 "src/f32-gemm/gen/1x8-minmax-wasmsimd-x86-splat.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700977 "src/f32-gemm/gen/1x8-relu-wasmsimd-splat.c",
978 "src/f32-gemm/gen/1x8-wasmsimd-splat.c",
979 "src/f32-gemm/gen/1x8s4-minmax-wasmsimd-arm.c",
980 "src/f32-gemm/gen/1x8s4-minmax-wasmsimd-x86.c",
Frank Barchard0725b8d2020-12-07 11:07:35 -0800981 "src/f32-gemm/gen/3x8-minmax-wasmsimd-arm-loadsplat.c",
982 "src/f32-gemm/gen/3x8-minmax-wasmsimd-arm-splat.c",
983 "src/f32-gemm/gen/3x8-minmax-wasmsimd-x86-loadsplat.c",
984 "src/f32-gemm/gen/3x8-minmax-wasmsimd-x86-splat.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700985 "src/f32-gemm/gen/3x8s4-minmax-wasmsimd-arm.c",
986 "src/f32-gemm/gen/3x8s4-minmax-wasmsimd-x86.c",
987 "src/f32-gemm/gen/4x2c4-minmax-wasmsimd-arm.c",
988 "src/f32-gemm/gen/4x2c4-minmax-wasmsimd-x86.c",
989 "src/f32-gemm/gen/4x2c4-relu-wasmsimd.c",
990 "src/f32-gemm/gen/4x2c4-wasmsimd.c",
Frank Barchard0725b8d2020-12-07 11:07:35 -0800991 "src/f32-gemm/gen/4x8-minmax-wasmsimd-arm-loadsplat.c",
992 "src/f32-gemm/gen/4x8-minmax-wasmsimd-arm-splat.c",
993 "src/f32-gemm/gen/4x8-minmax-wasmsimd-x86-loadsplat.c",
994 "src/f32-gemm/gen/4x8-minmax-wasmsimd-x86-splat.c",
Frank Barchard04336c12020-10-22 16:48:55 -0700995 "src/f32-gemm/gen/4x8-relu-wasmsimd-splat.c",
996 "src/f32-gemm/gen/4x8-wasmsimd-splat.c",
997 "src/f32-gemm/gen/4x8s4-minmax-wasmsimd-arm.c",
998 "src/f32-gemm/gen/4x8s4-minmax-wasmsimd-x86.c",
Frank Barchard0725b8d2020-12-07 11:07:35 -0800999 "src/f32-gemm/gen/5x8-minmax-wasmsimd-arm-loadsplat.c",
1000 "src/f32-gemm/gen/5x8-minmax-wasmsimd-arm-splat.c",
1001 "src/f32-gemm/gen/5x8-minmax-wasmsimd-x86-loadsplat.c",
1002 "src/f32-gemm/gen/5x8-minmax-wasmsimd-x86-splat.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001003 "src/f32-gemm/gen/5x8-relu-wasmsimd-splat.c",
1004 "src/f32-gemm/gen/5x8-wasmsimd-splat.c",
1005 "src/f32-gemm/gen/5x8s4-minmax-wasmsimd-arm.c",
1006 "src/f32-gemm/gen/5x8s4-minmax-wasmsimd-x86.c",
Frank Barchard0725b8d2020-12-07 11:07:35 -08001007 "src/f32-gemm/gen/6x8-minmax-wasmsimd-arm-loadsplat.c",
1008 "src/f32-gemm/gen/6x8-minmax-wasmsimd-arm-splat.c",
1009 "src/f32-gemm/gen/6x8-minmax-wasmsimd-x86-loadsplat.c",
1010 "src/f32-gemm/gen/6x8-minmax-wasmsimd-x86-splat.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001011 "src/f32-gemm/gen/6x8s4-minmax-wasmsimd-arm.c",
1012 "src/f32-gemm/gen/6x8s4-minmax-wasmsimd-x86.c",
Marat Dukhanefaac272020-07-16 16:58:07 -07001013 "src/f32-hswish/gen/hswish-wasmsimd-x4.c",
1014 "src/f32-hswish/gen/hswish-wasmsimd-x8.c",
1015 "src/f32-hswish/gen/hswish-wasmsimd-x16.c",
XNNPACK Team965272b2020-10-23 21:10:15 -07001016 "src/f32-ibilinear-chw/gen/wasmsimd-p4.c",
1017 "src/f32-ibilinear-chw/gen/wasmsimd-p8.c",
Frank Barchard35db7d02020-10-26 13:37:34 -07001018 "src/f32-ibilinear/gen/wasmsimd-c4.c",
1019 "src/f32-ibilinear/gen/wasmsimd-c8.c",
Frank Barchard0725b8d2020-12-07 11:07:35 -08001020 "src/f32-igemm/gen/1x8-minmax-wasmsimd-arm-loadsplat.c",
1021 "src/f32-igemm/gen/1x8-minmax-wasmsimd-arm-splat.c",
1022 "src/f32-igemm/gen/1x8-minmax-wasmsimd-x86-loadsplat.c",
1023 "src/f32-igemm/gen/1x8-minmax-wasmsimd-x86-splat.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001024 "src/f32-igemm/gen/1x8-relu-wasmsimd-splat.c",
1025 "src/f32-igemm/gen/1x8-wasmsimd-splat.c",
1026 "src/f32-igemm/gen/1x8s4-minmax-wasmsimd-arm.c",
1027 "src/f32-igemm/gen/1x8s4-minmax-wasmsimd-x86.c",
Frank Barchard0725b8d2020-12-07 11:07:35 -08001028 "src/f32-igemm/gen/3x8-minmax-wasmsimd-arm-loadsplat.c",
1029 "src/f32-igemm/gen/3x8-minmax-wasmsimd-arm-splat.c",
1030 "src/f32-igemm/gen/3x8-minmax-wasmsimd-x86-loadsplat.c",
1031 "src/f32-igemm/gen/3x8-minmax-wasmsimd-x86-splat.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001032 "src/f32-igemm/gen/3x8s4-minmax-wasmsimd-arm.c",
1033 "src/f32-igemm/gen/3x8s4-minmax-wasmsimd-x86.c",
1034 "src/f32-igemm/gen/4x2c4-minmax-wasmsimd-arm.c",
1035 "src/f32-igemm/gen/4x2c4-minmax-wasmsimd-x86.c",
1036 "src/f32-igemm/gen/4x2c4-relu-wasmsimd.c",
1037 "src/f32-igemm/gen/4x2c4-wasmsimd.c",
Frank Barchard0725b8d2020-12-07 11:07:35 -08001038 "src/f32-igemm/gen/4x8-minmax-wasmsimd-arm-loadsplat.c",
1039 "src/f32-igemm/gen/4x8-minmax-wasmsimd-arm-splat.c",
1040 "src/f32-igemm/gen/4x8-minmax-wasmsimd-x86-loadsplat.c",
1041 "src/f32-igemm/gen/4x8-minmax-wasmsimd-x86-splat.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001042 "src/f32-igemm/gen/4x8-relu-wasmsimd-splat.c",
1043 "src/f32-igemm/gen/4x8-wasmsimd-splat.c",
1044 "src/f32-igemm/gen/4x8s4-minmax-wasmsimd-arm.c",
1045 "src/f32-igemm/gen/4x8s4-minmax-wasmsimd-x86.c",
Frank Barchard0725b8d2020-12-07 11:07:35 -08001046 "src/f32-igemm/gen/5x8-minmax-wasmsimd-arm-loadsplat.c",
1047 "src/f32-igemm/gen/5x8-minmax-wasmsimd-arm-splat.c",
1048 "src/f32-igemm/gen/5x8-minmax-wasmsimd-x86-loadsplat.c",
1049 "src/f32-igemm/gen/5x8-minmax-wasmsimd-x86-splat.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001050 "src/f32-igemm/gen/5x8-relu-wasmsimd-splat.c",
1051 "src/f32-igemm/gen/5x8-wasmsimd-splat.c",
1052 "src/f32-igemm/gen/5x8s4-minmax-wasmsimd-arm.c",
1053 "src/f32-igemm/gen/5x8s4-minmax-wasmsimd-x86.c",
Frank Barchard0725b8d2020-12-07 11:07:35 -08001054 "src/f32-igemm/gen/6x8-minmax-wasmsimd-arm-loadsplat.c",
1055 "src/f32-igemm/gen/6x8-minmax-wasmsimd-arm-splat.c",
1056 "src/f32-igemm/gen/6x8-minmax-wasmsimd-x86-loadsplat.c",
1057 "src/f32-igemm/gen/6x8-minmax-wasmsimd-x86-splat.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001058 "src/f32-igemm/gen/6x8s4-minmax-wasmsimd-arm.c",
1059 "src/f32-igemm/gen/6x8s4-minmax-wasmsimd-x86.c",
Marat Dukhanf6e24802020-07-08 22:20:40 -07001060 "src/f32-maxpool/9p8x-minmax-wasmsimd-arm-c4.c",
1061 "src/f32-maxpool/9p8x-minmax-wasmsimd-x86-c4.c",
Marat Dukhan1483c532020-07-16 18:08:19 -07001062 "src/f32-pavgpool/9p8x-minmax-wasmsimd-arm-c4.c",
1063 "src/f32-pavgpool/9p8x-minmax-wasmsimd-x86-c4.c",
1064 "src/f32-pavgpool/9x-minmax-wasmsimd-arm-c4.c",
1065 "src/f32-pavgpool/9x-minmax-wasmsimd-x86-c4.c",
Frank Barchard0725b8d2020-12-07 11:07:35 -08001066 "src/f32-ppmm/gen/4x8-minmax-wasmsimd-arm-splat.c",
1067 "src/f32-ppmm/gen/4x8-minmax-wasmsimd-x86-splat.c",
Frank Barcharda5316982020-07-23 13:19:28 -07001068 "src/f32-prelu/gen/wasmsimd-bitselect-1x4.c",
1069 "src/f32-prelu/gen/wasmsimd-bitselect-1x8.c",
1070 "src/f32-prelu/gen/wasmsimd-bitselect-1x16.c",
Marat Dukhan195f8eb2020-06-25 12:50:57 -07001071 "src/f32-prelu/gen/wasmsimd-bitselect-2x4.c",
1072 "src/f32-prelu/gen/wasmsimd-bitselect-2x8.c",
Frank Barcharda5316982020-07-23 13:19:28 -07001073 "src/f32-prelu/gen/wasmsimd-bitselect-2x16.c",
1074 "src/f32-prelu/gen/wasmsimd-bitselect-4x4.c",
1075 "src/f32-prelu/gen/wasmsimd-bitselect-4x8.c",
1076 "src/f32-prelu/gen/wasmsimd-bitselect-4x16.c",
1077 "src/f32-prelu/gen/wasmsimd-minmax-1x4.c",
1078 "src/f32-prelu/gen/wasmsimd-minmax-1x8.c",
1079 "src/f32-prelu/gen/wasmsimd-minmax-1x16.c",
Marat Dukhan195f8eb2020-06-25 12:50:57 -07001080 "src/f32-prelu/gen/wasmsimd-minmax-2x4.c",
1081 "src/f32-prelu/gen/wasmsimd-minmax-2x8.c",
Frank Barcharda5316982020-07-23 13:19:28 -07001082 "src/f32-prelu/gen/wasmsimd-minmax-2x16.c",
1083 "src/f32-prelu/gen/wasmsimd-minmax-4x4.c",
1084 "src/f32-prelu/gen/wasmsimd-minmax-4x8.c",
1085 "src/f32-prelu/gen/wasmsimd-minmax-4x16.c",
Marat Dukhan52238f02020-07-16 15:30:28 -07001086 "src/f32-raddstoreexpminusmax/gen/wasmsimd-p5-x4.c",
Marat Dukhan52238f02020-07-16 15:30:28 -07001087 "src/f32-raddstoreexpminusmax/gen/wasmsimd-p5-x8-acc2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001088 "src/f32-raddstoreexpminusmax/gen/wasmsimd-p5-x8.c",
Marat Dukhan52238f02020-07-16 15:30:28 -07001089 "src/f32-raddstoreexpminusmax/gen/wasmsimd-p5-x12-acc2.c",
1090 "src/f32-raddstoreexpminusmax/gen/wasmsimd-p5-x12-acc3.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001091 "src/f32-raddstoreexpminusmax/gen/wasmsimd-p5-x12.c",
Marat Dukhan52238f02020-07-16 15:30:28 -07001092 "src/f32-raddstoreexpminusmax/gen/wasmsimd-p5-x16-acc2.c",
1093 "src/f32-raddstoreexpminusmax/gen/wasmsimd-p5-x16-acc4.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001094 "src/f32-raddstoreexpminusmax/gen/wasmsimd-p5-x16.c",
Marat Dukhan52238f02020-07-16 15:30:28 -07001095 "src/f32-raddstoreexpminusmax/gen/wasmsimd-p5-x20-acc2.c",
1096 "src/f32-raddstoreexpminusmax/gen/wasmsimd-p5-x20-acc5.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001097 "src/f32-raddstoreexpminusmax/gen/wasmsimd-p5-x20.c",
Frank Barchardfb158e22020-07-15 16:10:10 -07001098 "src/f32-relu/gen/wasmsimd-x4.c",
1099 "src/f32-relu/gen/wasmsimd-x8.c",
Frank Barchard37297a62020-08-27 12:15:10 -07001100 "src/f32-relu/gen/wasmsimd-x16.c",
Marat Dukhan8c417962020-07-08 12:27:50 -07001101 "src/f32-rmax/wasmsimd-arm.c",
1102 "src/f32-rmax/wasmsimd-x86.c",
Marat Dukhand187a5b2020-07-20 01:07:17 -07001103 "src/f32-sigmoid/gen/wasmsimd-lut64-p2-div-x4.c",
1104 "src/f32-sigmoid/gen/wasmsimd-lut64-p2-div-x8.c",
1105 "src/f32-sigmoid/gen/wasmsimd-lut64-p2-div-x12.c",
1106 "src/f32-sigmoid/gen/wasmsimd-lut64-p2-div-x16.c",
1107 "src/f32-sigmoid/gen/wasmsimd-lut64-p2-div-x20.c",
1108 "src/f32-sigmoid/gen/wasmsimd-lut64-p2-div-x24.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001109 "src/f32-sigmoid/gen/wasmsimd-p5-div-x4.c",
1110 "src/f32-sigmoid/gen/wasmsimd-p5-div-x8.c",
1111 "src/f32-sigmoid/gen/wasmsimd-p5-div-x12.c",
1112 "src/f32-sigmoid/gen/wasmsimd-p5-div-x16.c",
1113 "src/f32-sigmoid/gen/wasmsimd-p5-div-x20.c",
1114 "src/f32-sigmoid/gen/wasmsimd-p5-div-x24.c",
Frank Barchard8ef44cd2020-11-03 12:30:23 -08001115 "src/f32-spmm/gen/4x1-minmax-wasmsimd-arm-pipelined-x2.c",
1116 "src/f32-spmm/gen/4x1-minmax-wasmsimd-arm-pipelined.c",
Frank Barchardbeca6522020-10-30 22:34:35 -07001117 "src/f32-spmm/gen/4x1-minmax-wasmsimd-arm-x2.c",
1118 "src/f32-spmm/gen/4x1-minmax-wasmsimd-arm-x4.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001119 "src/f32-spmm/gen/4x1-minmax-wasmsimd-arm.c",
Frank Barchard8ef44cd2020-11-03 12:30:23 -08001120 "src/f32-spmm/gen/4x1-minmax-wasmsimd-x86-pipelined-x2.c",
1121 "src/f32-spmm/gen/4x1-minmax-wasmsimd-x86-pipelined.c",
Frank Barchardbeca6522020-10-30 22:34:35 -07001122 "src/f32-spmm/gen/4x1-minmax-wasmsimd-x86-x2.c",
1123 "src/f32-spmm/gen/4x1-minmax-wasmsimd-x86-x4.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001124 "src/f32-spmm/gen/4x1-minmax-wasmsimd-x86.c",
Frank Barchard8ef44cd2020-11-03 12:30:23 -08001125 "src/f32-spmm/gen/8x1-minmax-wasmsimd-arm-pipelined-x2.c",
1126 "src/f32-spmm/gen/8x1-minmax-wasmsimd-arm-pipelined.c",
Frank Barchardbeca6522020-10-30 22:34:35 -07001127 "src/f32-spmm/gen/8x1-minmax-wasmsimd-arm-x2.c",
1128 "src/f32-spmm/gen/8x1-minmax-wasmsimd-arm-x4.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001129 "src/f32-spmm/gen/8x1-minmax-wasmsimd-arm.c",
Frank Barchard8ef44cd2020-11-03 12:30:23 -08001130 "src/f32-spmm/gen/8x1-minmax-wasmsimd-x86-pipelined-x2.c",
1131 "src/f32-spmm/gen/8x1-minmax-wasmsimd-x86-pipelined.c",
Frank Barchardbeca6522020-10-30 22:34:35 -07001132 "src/f32-spmm/gen/8x1-minmax-wasmsimd-x86-x2.c",
1133 "src/f32-spmm/gen/8x1-minmax-wasmsimd-x86-x4.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001134 "src/f32-spmm/gen/8x1-minmax-wasmsimd-x86.c",
Frank Barchard8ef44cd2020-11-03 12:30:23 -08001135 "src/f32-spmm/gen/16x1-minmax-wasmsimd-arm-pipelined-x2.c",
1136 "src/f32-spmm/gen/16x1-minmax-wasmsimd-arm-pipelined.c",
Frank Barchardbeca6522020-10-30 22:34:35 -07001137 "src/f32-spmm/gen/16x1-minmax-wasmsimd-arm-x2.c",
1138 "src/f32-spmm/gen/16x1-minmax-wasmsimd-arm-x4.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001139 "src/f32-spmm/gen/16x1-minmax-wasmsimd-arm.c",
Frank Barchard8ef44cd2020-11-03 12:30:23 -08001140 "src/f32-spmm/gen/16x1-minmax-wasmsimd-x86-pipelined-x2.c",
1141 "src/f32-spmm/gen/16x1-minmax-wasmsimd-x86-pipelined.c",
Frank Barchardbeca6522020-10-30 22:34:35 -07001142 "src/f32-spmm/gen/16x1-minmax-wasmsimd-x86-x2.c",
1143 "src/f32-spmm/gen/16x1-minmax-wasmsimd-x86-x4.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001144 "src/f32-spmm/gen/16x1-minmax-wasmsimd-x86.c",
Frank Barchard8ef44cd2020-11-03 12:30:23 -08001145 "src/f32-spmm/gen/32x1-minmax-wasmsimd-arm-pipelined-x2.c",
1146 "src/f32-spmm/gen/32x1-minmax-wasmsimd-arm-pipelined.c",
Frank Barchardbeca6522020-10-30 22:34:35 -07001147 "src/f32-spmm/gen/32x1-minmax-wasmsimd-arm-x2.c",
1148 "src/f32-spmm/gen/32x1-minmax-wasmsimd-arm-x4.c",
Frank Barchard846c0c62020-10-26 15:01:39 -07001149 "src/f32-spmm/gen/32x1-minmax-wasmsimd-arm.c",
Frank Barchard8ef44cd2020-11-03 12:30:23 -08001150 "src/f32-spmm/gen/32x1-minmax-wasmsimd-x86-pipelined-x2.c",
1151 "src/f32-spmm/gen/32x1-minmax-wasmsimd-x86-pipelined.c",
Frank Barchardbeca6522020-10-30 22:34:35 -07001152 "src/f32-spmm/gen/32x1-minmax-wasmsimd-x86-x2.c",
1153 "src/f32-spmm/gen/32x1-minmax-wasmsimd-x86-x4.c",
Frank Barchard846c0c62020-10-26 15:01:39 -07001154 "src/f32-spmm/gen/32x1-minmax-wasmsimd-x86.c",
Marat Dukhan93d1ba12020-06-26 12:33:35 -07001155 "src/f32-vbinary/gen/vadd-minmax-wasmsimd-arm-x4.c",
1156 "src/f32-vbinary/gen/vadd-minmax-wasmsimd-arm-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001157 "src/f32-vbinary/gen/vadd-minmax-wasmsimd-arm-x16.c",
Marat Dukhan93d1ba12020-06-26 12:33:35 -07001158 "src/f32-vbinary/gen/vadd-minmax-wasmsimd-x86-x4.c",
1159 "src/f32-vbinary/gen/vadd-minmax-wasmsimd-x86-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001160 "src/f32-vbinary/gen/vadd-minmax-wasmsimd-x86-x16.c",
Frank Barchard674778d2020-08-08 10:17:25 -07001161 "src/f32-vbinary/gen/vadd-relu-wasmsimd-x4.c",
1162 "src/f32-vbinary/gen/vadd-relu-wasmsimd-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001163 "src/f32-vbinary/gen/vadd-relu-wasmsimd-x16.c",
Frank Barchardd5b9f1c2020-07-01 15:00:19 -07001164 "src/f32-vbinary/gen/vadd-wasmsimd-x4.c",
1165 "src/f32-vbinary/gen/vadd-wasmsimd-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001166 "src/f32-vbinary/gen/vadd-wasmsimd-x16.c",
Marat Dukhan0e97d6f2020-06-26 19:35:09 -07001167 "src/f32-vbinary/gen/vaddc-minmax-wasmsimd-arm-x4.c",
1168 "src/f32-vbinary/gen/vaddc-minmax-wasmsimd-arm-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001169 "src/f32-vbinary/gen/vaddc-minmax-wasmsimd-arm-x16.c",
Marat Dukhan0e97d6f2020-06-26 19:35:09 -07001170 "src/f32-vbinary/gen/vaddc-minmax-wasmsimd-x86-x4.c",
1171 "src/f32-vbinary/gen/vaddc-minmax-wasmsimd-x86-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001172 "src/f32-vbinary/gen/vaddc-minmax-wasmsimd-x86-x16.c",
Frank Barchard674778d2020-08-08 10:17:25 -07001173 "src/f32-vbinary/gen/vaddc-relu-wasmsimd-x4.c",
1174 "src/f32-vbinary/gen/vaddc-relu-wasmsimd-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001175 "src/f32-vbinary/gen/vaddc-relu-wasmsimd-x16.c",
Frank Barchardd5b9f1c2020-07-01 15:00:19 -07001176 "src/f32-vbinary/gen/vaddc-wasmsimd-x4.c",
1177 "src/f32-vbinary/gen/vaddc-wasmsimd-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001178 "src/f32-vbinary/gen/vaddc-wasmsimd-x16.c",
Marat Dukhan93d1ba12020-06-26 12:33:35 -07001179 "src/f32-vbinary/gen/vdiv-minmax-wasmsimd-arm-x4.c",
1180 "src/f32-vbinary/gen/vdiv-minmax-wasmsimd-arm-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001181 "src/f32-vbinary/gen/vdiv-minmax-wasmsimd-arm-x16.c",
Marat Dukhan93d1ba12020-06-26 12:33:35 -07001182 "src/f32-vbinary/gen/vdiv-minmax-wasmsimd-x86-x4.c",
1183 "src/f32-vbinary/gen/vdiv-minmax-wasmsimd-x86-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001184 "src/f32-vbinary/gen/vdiv-minmax-wasmsimd-x86-x16.c",
Frank Barchard674778d2020-08-08 10:17:25 -07001185 "src/f32-vbinary/gen/vdiv-relu-wasmsimd-x4.c",
1186 "src/f32-vbinary/gen/vdiv-relu-wasmsimd-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001187 "src/f32-vbinary/gen/vdiv-relu-wasmsimd-x16.c",
Frank Barchardd5b9f1c2020-07-01 15:00:19 -07001188 "src/f32-vbinary/gen/vdiv-wasmsimd-x4.c",
1189 "src/f32-vbinary/gen/vdiv-wasmsimd-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001190 "src/f32-vbinary/gen/vdiv-wasmsimd-x16.c",
Marat Dukhan0e97d6f2020-06-26 19:35:09 -07001191 "src/f32-vbinary/gen/vdivc-minmax-wasmsimd-arm-x4.c",
1192 "src/f32-vbinary/gen/vdivc-minmax-wasmsimd-arm-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001193 "src/f32-vbinary/gen/vdivc-minmax-wasmsimd-arm-x16.c",
Marat Dukhan0e97d6f2020-06-26 19:35:09 -07001194 "src/f32-vbinary/gen/vdivc-minmax-wasmsimd-x86-x4.c",
1195 "src/f32-vbinary/gen/vdivc-minmax-wasmsimd-x86-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001196 "src/f32-vbinary/gen/vdivc-minmax-wasmsimd-x86-x16.c",
Frank Barchard674778d2020-08-08 10:17:25 -07001197 "src/f32-vbinary/gen/vdivc-relu-wasmsimd-x4.c",
1198 "src/f32-vbinary/gen/vdivc-relu-wasmsimd-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001199 "src/f32-vbinary/gen/vdivc-relu-wasmsimd-x16.c",
Frank Barchardd5b9f1c2020-07-01 15:00:19 -07001200 "src/f32-vbinary/gen/vdivc-wasmsimd-x4.c",
1201 "src/f32-vbinary/gen/vdivc-wasmsimd-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001202 "src/f32-vbinary/gen/vdivc-wasmsimd-x16.c",
Marat Dukhan93d1ba12020-06-26 12:33:35 -07001203 "src/f32-vbinary/gen/vmax-wasmsimd-arm-x4.c",
1204 "src/f32-vbinary/gen/vmax-wasmsimd-arm-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001205 "src/f32-vbinary/gen/vmax-wasmsimd-arm-x16.c",
Marat Dukhan93d1ba12020-06-26 12:33:35 -07001206 "src/f32-vbinary/gen/vmax-wasmsimd-x86-x4.c",
1207 "src/f32-vbinary/gen/vmax-wasmsimd-x86-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001208 "src/f32-vbinary/gen/vmax-wasmsimd-x86-x16.c",
Marat Dukhan0e97d6f2020-06-26 19:35:09 -07001209 "src/f32-vbinary/gen/vmaxc-wasmsimd-arm-x4.c",
1210 "src/f32-vbinary/gen/vmaxc-wasmsimd-arm-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001211 "src/f32-vbinary/gen/vmaxc-wasmsimd-arm-x16.c",
Marat Dukhan0e97d6f2020-06-26 19:35:09 -07001212 "src/f32-vbinary/gen/vmaxc-wasmsimd-x86-x4.c",
1213 "src/f32-vbinary/gen/vmaxc-wasmsimd-x86-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001214 "src/f32-vbinary/gen/vmaxc-wasmsimd-x86-x16.c",
Marat Dukhan93d1ba12020-06-26 12:33:35 -07001215 "src/f32-vbinary/gen/vmin-wasmsimd-arm-x4.c",
1216 "src/f32-vbinary/gen/vmin-wasmsimd-arm-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001217 "src/f32-vbinary/gen/vmin-wasmsimd-arm-x16.c",
Marat Dukhan93d1ba12020-06-26 12:33:35 -07001218 "src/f32-vbinary/gen/vmin-wasmsimd-x86-x4.c",
1219 "src/f32-vbinary/gen/vmin-wasmsimd-x86-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001220 "src/f32-vbinary/gen/vmin-wasmsimd-x86-x16.c",
Marat Dukhan0e97d6f2020-06-26 19:35:09 -07001221 "src/f32-vbinary/gen/vminc-wasmsimd-arm-x4.c",
1222 "src/f32-vbinary/gen/vminc-wasmsimd-arm-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001223 "src/f32-vbinary/gen/vminc-wasmsimd-arm-x16.c",
Marat Dukhan0e97d6f2020-06-26 19:35:09 -07001224 "src/f32-vbinary/gen/vminc-wasmsimd-x86-x4.c",
1225 "src/f32-vbinary/gen/vminc-wasmsimd-x86-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001226 "src/f32-vbinary/gen/vminc-wasmsimd-x86-x16.c",
Marat Dukhan93d1ba12020-06-26 12:33:35 -07001227 "src/f32-vbinary/gen/vmul-minmax-wasmsimd-arm-x4.c",
1228 "src/f32-vbinary/gen/vmul-minmax-wasmsimd-arm-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001229 "src/f32-vbinary/gen/vmul-minmax-wasmsimd-arm-x16.c",
Marat Dukhan93d1ba12020-06-26 12:33:35 -07001230 "src/f32-vbinary/gen/vmul-minmax-wasmsimd-x86-x4.c",
1231 "src/f32-vbinary/gen/vmul-minmax-wasmsimd-x86-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001232 "src/f32-vbinary/gen/vmul-minmax-wasmsimd-x86-x16.c",
Frank Barchard674778d2020-08-08 10:17:25 -07001233 "src/f32-vbinary/gen/vmul-relu-wasmsimd-x4.c",
1234 "src/f32-vbinary/gen/vmul-relu-wasmsimd-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001235 "src/f32-vbinary/gen/vmul-relu-wasmsimd-x16.c",
Frank Barchardd5b9f1c2020-07-01 15:00:19 -07001236 "src/f32-vbinary/gen/vmul-wasmsimd-x4.c",
1237 "src/f32-vbinary/gen/vmul-wasmsimd-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001238 "src/f32-vbinary/gen/vmul-wasmsimd-x16.c",
Marat Dukhan0e97d6f2020-06-26 19:35:09 -07001239 "src/f32-vbinary/gen/vmulc-minmax-wasmsimd-arm-x4.c",
1240 "src/f32-vbinary/gen/vmulc-minmax-wasmsimd-arm-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001241 "src/f32-vbinary/gen/vmulc-minmax-wasmsimd-arm-x16.c",
Marat Dukhan0e97d6f2020-06-26 19:35:09 -07001242 "src/f32-vbinary/gen/vmulc-minmax-wasmsimd-x86-x4.c",
1243 "src/f32-vbinary/gen/vmulc-minmax-wasmsimd-x86-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001244 "src/f32-vbinary/gen/vmulc-minmax-wasmsimd-x86-x16.c",
Frank Barchard674778d2020-08-08 10:17:25 -07001245 "src/f32-vbinary/gen/vmulc-relu-wasmsimd-x4.c",
1246 "src/f32-vbinary/gen/vmulc-relu-wasmsimd-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001247 "src/f32-vbinary/gen/vmulc-relu-wasmsimd-x16.c",
Frank Barchardd5b9f1c2020-07-01 15:00:19 -07001248 "src/f32-vbinary/gen/vmulc-wasmsimd-x4.c",
1249 "src/f32-vbinary/gen/vmulc-wasmsimd-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001250 "src/f32-vbinary/gen/vmulc-wasmsimd-x16.c",
Marat Dukhan0e97d6f2020-06-26 19:35:09 -07001251 "src/f32-vbinary/gen/vrdivc-minmax-wasmsimd-arm-x4.c",
1252 "src/f32-vbinary/gen/vrdivc-minmax-wasmsimd-arm-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001253 "src/f32-vbinary/gen/vrdivc-minmax-wasmsimd-arm-x16.c",
Marat Dukhan0e97d6f2020-06-26 19:35:09 -07001254 "src/f32-vbinary/gen/vrdivc-minmax-wasmsimd-x86-x4.c",
1255 "src/f32-vbinary/gen/vrdivc-minmax-wasmsimd-x86-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001256 "src/f32-vbinary/gen/vrdivc-minmax-wasmsimd-x86-x16.c",
Frank Barchard674778d2020-08-08 10:17:25 -07001257 "src/f32-vbinary/gen/vrdivc-relu-wasmsimd-x4.c",
1258 "src/f32-vbinary/gen/vrdivc-relu-wasmsimd-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001259 "src/f32-vbinary/gen/vrdivc-relu-wasmsimd-x16.c",
Frank Barchardd5b9f1c2020-07-01 15:00:19 -07001260 "src/f32-vbinary/gen/vrdivc-wasmsimd-x4.c",
1261 "src/f32-vbinary/gen/vrdivc-wasmsimd-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001262 "src/f32-vbinary/gen/vrdivc-wasmsimd-x16.c",
Marat Dukhan0e97d6f2020-06-26 19:35:09 -07001263 "src/f32-vbinary/gen/vrsubc-minmax-wasmsimd-arm-x4.c",
1264 "src/f32-vbinary/gen/vrsubc-minmax-wasmsimd-arm-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001265 "src/f32-vbinary/gen/vrsubc-minmax-wasmsimd-arm-x16.c",
Marat Dukhan0e97d6f2020-06-26 19:35:09 -07001266 "src/f32-vbinary/gen/vrsubc-minmax-wasmsimd-x86-x4.c",
1267 "src/f32-vbinary/gen/vrsubc-minmax-wasmsimd-x86-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001268 "src/f32-vbinary/gen/vrsubc-minmax-wasmsimd-x86-x16.c",
Frank Barchard674778d2020-08-08 10:17:25 -07001269 "src/f32-vbinary/gen/vrsubc-relu-wasmsimd-x4.c",
1270 "src/f32-vbinary/gen/vrsubc-relu-wasmsimd-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001271 "src/f32-vbinary/gen/vrsubc-relu-wasmsimd-x16.c",
Frank Barchardd5b9f1c2020-07-01 15:00:19 -07001272 "src/f32-vbinary/gen/vrsubc-wasmsimd-x4.c",
1273 "src/f32-vbinary/gen/vrsubc-wasmsimd-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001274 "src/f32-vbinary/gen/vrsubc-wasmsimd-x16.c",
Marat Dukhan93d1ba12020-06-26 12:33:35 -07001275 "src/f32-vbinary/gen/vsqrdiff-wasmsimd-x4.c",
1276 "src/f32-vbinary/gen/vsqrdiff-wasmsimd-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001277 "src/f32-vbinary/gen/vsqrdiff-wasmsimd-x16.c",
Marat Dukhan0e97d6f2020-06-26 19:35:09 -07001278 "src/f32-vbinary/gen/vsqrdiffc-wasmsimd-x4.c",
1279 "src/f32-vbinary/gen/vsqrdiffc-wasmsimd-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001280 "src/f32-vbinary/gen/vsqrdiffc-wasmsimd-x16.c",
Marat Dukhan93d1ba12020-06-26 12:33:35 -07001281 "src/f32-vbinary/gen/vsub-minmax-wasmsimd-arm-x4.c",
1282 "src/f32-vbinary/gen/vsub-minmax-wasmsimd-arm-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001283 "src/f32-vbinary/gen/vsub-minmax-wasmsimd-arm-x16.c",
Marat Dukhan93d1ba12020-06-26 12:33:35 -07001284 "src/f32-vbinary/gen/vsub-minmax-wasmsimd-x86-x4.c",
1285 "src/f32-vbinary/gen/vsub-minmax-wasmsimd-x86-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001286 "src/f32-vbinary/gen/vsub-minmax-wasmsimd-x86-x16.c",
Frank Barchard674778d2020-08-08 10:17:25 -07001287 "src/f32-vbinary/gen/vsub-relu-wasmsimd-x4.c",
1288 "src/f32-vbinary/gen/vsub-relu-wasmsimd-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001289 "src/f32-vbinary/gen/vsub-relu-wasmsimd-x16.c",
Frank Barchardd5b9f1c2020-07-01 15:00:19 -07001290 "src/f32-vbinary/gen/vsub-wasmsimd-x4.c",
1291 "src/f32-vbinary/gen/vsub-wasmsimd-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001292 "src/f32-vbinary/gen/vsub-wasmsimd-x16.c",
Marat Dukhan0e97d6f2020-06-26 19:35:09 -07001293 "src/f32-vbinary/gen/vsubc-minmax-wasmsimd-arm-x4.c",
1294 "src/f32-vbinary/gen/vsubc-minmax-wasmsimd-arm-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001295 "src/f32-vbinary/gen/vsubc-minmax-wasmsimd-arm-x16.c",
Marat Dukhan0e97d6f2020-06-26 19:35:09 -07001296 "src/f32-vbinary/gen/vsubc-minmax-wasmsimd-x86-x4.c",
1297 "src/f32-vbinary/gen/vsubc-minmax-wasmsimd-x86-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001298 "src/f32-vbinary/gen/vsubc-minmax-wasmsimd-x86-x16.c",
Frank Barchard674778d2020-08-08 10:17:25 -07001299 "src/f32-vbinary/gen/vsubc-relu-wasmsimd-x4.c",
1300 "src/f32-vbinary/gen/vsubc-relu-wasmsimd-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001301 "src/f32-vbinary/gen/vsubc-relu-wasmsimd-x16.c",
Frank Barchardd5b9f1c2020-07-01 15:00:19 -07001302 "src/f32-vbinary/gen/vsubc-wasmsimd-x4.c",
1303 "src/f32-vbinary/gen/vsubc-wasmsimd-x8.c",
Frank Barchard9c7308f2020-08-31 17:03:01 -07001304 "src/f32-vbinary/gen/vsubc-wasmsimd-x16.c",
Marat Dukhaned6baaf2020-12-01 15:07:08 -08001305 "src/f32-velu/gen/velu-wasmsimd-arm-rr2-lut16-p3-x4.c",
1306 "src/f32-velu/gen/velu-wasmsimd-arm-rr2-lut16-p3-x8.c",
1307 "src/f32-velu/gen/velu-wasmsimd-arm-rr2-lut16-p3-x12.c",
1308 "src/f32-velu/gen/velu-wasmsimd-arm-rr2-lut16-p3-x16.c",
1309 "src/f32-velu/gen/velu-wasmsimd-arm-rr2-lut16-p3-x20.c",
1310 "src/f32-velu/gen/velu-wasmsimd-arm-rr2-lut16-p3-x24.c",
Marat Dukhaned6baaf2020-12-01 15:07:08 -08001311 "src/f32-velu/gen/velu-wasmsimd-arm-rr2-p6-x4.c",
1312 "src/f32-velu/gen/velu-wasmsimd-arm-rr2-p6-x8.c",
1313 "src/f32-velu/gen/velu-wasmsimd-arm-rr2-p6-x12.c",
1314 "src/f32-velu/gen/velu-wasmsimd-arm-rr2-p6-x16.c",
1315 "src/f32-velu/gen/velu-wasmsimd-arm-rr2-p6-x20.c",
1316 "src/f32-velu/gen/velu-wasmsimd-arm-rr2-p6-x24.c",
Frank Barcharde7223ee2020-12-04 19:04:01 -08001317 "src/f32-velu/gen/velu-wasmsimd-x86-rr2-lut16-p3-x4.c",
1318 "src/f32-velu/gen/velu-wasmsimd-x86-rr2-lut16-p3-x8.c",
1319 "src/f32-velu/gen/velu-wasmsimd-x86-rr2-lut16-p3-x12.c",
1320 "src/f32-velu/gen/velu-wasmsimd-x86-rr2-lut16-p3-x16.c",
1321 "src/f32-velu/gen/velu-wasmsimd-x86-rr2-lut16-p3-x20.c",
1322 "src/f32-velu/gen/velu-wasmsimd-x86-rr2-lut16-p3-x24.c",
Marat Dukhaned6baaf2020-12-01 15:07:08 -08001323 "src/f32-velu/gen/velu-wasmsimd-x86-rr2-p6-x4.c",
1324 "src/f32-velu/gen/velu-wasmsimd-x86-rr2-p6-x8.c",
1325 "src/f32-velu/gen/velu-wasmsimd-x86-rr2-p6-x12.c",
1326 "src/f32-velu/gen/velu-wasmsimd-x86-rr2-p6-x16.c",
1327 "src/f32-velu/gen/velu-wasmsimd-x86-rr2-p6-x20.c",
1328 "src/f32-velu/gen/velu-wasmsimd-x86-rr2-p6-x24.c",
Marat Dukhan19dd91d2020-07-16 11:12:44 -07001329 "src/f32-vlrelu/gen/vlrelu-wasmsimd-bitselect-x4.c",
1330 "src/f32-vlrelu/gen/vlrelu-wasmsimd-bitselect-x8.c",
1331 "src/f32-vlrelu/gen/vlrelu-wasmsimd-minmax-x4.c",
1332 "src/f32-vlrelu/gen/vlrelu-wasmsimd-minmax-x8.c",
Marat Dukhand816f622020-07-15 10:14:39 -07001333 "src/f32-vmulcaddc/gen/c4-minmax-wasmsimd-arm-2x.c",
Marat Dukhand816f622020-07-15 10:14:39 -07001334 "src/f32-vmulcaddc/gen/c4-minmax-wasmsimd-x86-2x.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001335 "src/f32-vmulcaddc/gen/c8-minmax-wasmsimd-arm-2x.c",
Marat Dukhand816f622020-07-15 10:14:39 -07001336 "src/f32-vmulcaddc/gen/c8-minmax-wasmsimd-x86-2x.c",
Marat Dukhanb82b2cd2020-07-16 02:23:42 -07001337 "src/f32-vrnd/gen/vrndd-wasmsimd-addsub-x4.c",
1338 "src/f32-vrnd/gen/vrndd-wasmsimd-addsub-x8.c",
1339 "src/f32-vrnd/gen/vrndd-wasmsimd-cvt-x4.c",
1340 "src/f32-vrnd/gen/vrndd-wasmsimd-cvt-x8.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001341 "src/f32-vrnd/gen/vrndne-wasmsimd-addsub-x4.c",
1342 "src/f32-vrnd/gen/vrndne-wasmsimd-addsub-x8.c",
1343 "src/f32-vrnd/gen/vrndu-wasmsimd-addsub-x4.c",
1344 "src/f32-vrnd/gen/vrndu-wasmsimd-addsub-x8.c",
1345 "src/f32-vrnd/gen/vrndu-wasmsimd-cvt-x4.c",
1346 "src/f32-vrnd/gen/vrndu-wasmsimd-cvt-x8.c",
1347 "src/f32-vrnd/gen/vrndz-wasmsimd-addsub-x4.c",
1348 "src/f32-vrnd/gen/vrndz-wasmsimd-addsub-x8.c",
1349 "src/f32-vrnd/gen/vrndz-wasmsimd-cvt-x4.c",
1350 "src/f32-vrnd/gen/vrndz-wasmsimd-cvt-x8.c",
Marat Dukhanf4db2f32020-06-30 10:55:30 -07001351 "src/f32-vsqrt/gen/wasmsimd-sqrt-x4.c",
1352 "src/f32-vsqrt/gen/wasmsimd-sqrt-x8.c",
Marat Dukhan37c83512020-06-29 13:25:53 -07001353 "src/f32-vunary/gen/vabs-wasmsimd-x4.c",
1354 "src/f32-vunary/gen/vabs-wasmsimd-x8.c",
1355 "src/f32-vunary/gen/vneg-wasmsimd-x4.c",
1356 "src/f32-vunary/gen/vneg-wasmsimd-x8.c",
1357 "src/f32-vunary/gen/vsqr-wasmsimd-x4.c",
1358 "src/f32-vunary/gen/vsqr-wasmsimd-x8.c",
Marat Dukhande390d42020-11-29 19:32:18 -08001359 "src/math/expm1minus-wasmsimd-rr2-lut16-p3-andnot.c",
1360 "src/math/expm1minus-wasmsimd-rr2-lut16-p3-max.c",
1361 "src/math/expm1minus-wasmsimd-rr2-p6-andnot.c",
1362 "src/math/expm1minus-wasmsimd-rr2-p6-max.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001363 "src/math/roundd-wasmsimd-addsub.c",
1364 "src/math/roundd-wasmsimd-cvt.c",
1365 "src/math/roundne-wasmsimd-addsub.c",
1366 "src/math/roundu-wasmsimd-addsub.c",
1367 "src/math/roundu-wasmsimd-cvt.c",
1368 "src/math/roundz-wasmsimd-addsub.c",
1369 "src/math/roundz-wasmsimd-cvt.c",
1370 "src/math/sigmoid-wasmsimd-rr2-lut64-p2-div.c",
1371 "src/math/sigmoid-wasmsimd-rr2-p5-div.c",
Marat Dukhancc8f34c2020-08-05 16:36:38 -07001372 "src/qs8-dwconv/gen/up8x9-minmax-wasmsimd-mul16.c",
1373 "src/qs8-dwconv/gen/up16x9-minmax-wasmsimd-mul16.c",
1374 "src/qs8-dwconv/gen/up24x9-minmax-wasmsimd-mul16.c",
Marat Dukhanb5e3d172020-08-06 13:29:53 -07001375 "src/qs8-gavgpool/gen/7p7x-minmax-wasmsimd-c8-acc2.c",
1376 "src/qs8-gavgpool/gen/7p7x-minmax-wasmsimd-c16-acc2.c",
1377 "src/qs8-gavgpool/gen/7p7x-minmax-wasmsimd-c24-acc2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001378 "src/qs8-gavgpool/gen/7x-minmax-wasmsimd-c8-acc2.c",
1379 "src/qs8-gavgpool/gen/7x-minmax-wasmsimd-c16-acc2.c",
1380 "src/qs8-gavgpool/gen/7x-minmax-wasmsimd-c24-acc2.c",
Marat Dukhan27203da2020-08-05 15:19:03 -07001381 "src/qs8-gemm/gen/1x4c8-minmax-wasmsimd-ld64.c",
Marat Dukhan27203da2020-08-05 15:19:03 -07001382 "src/qs8-gemm/gen/1x4c8-minmax-wasmsimd-ld128.c",
Marat Dukhan27203da2020-08-05 15:19:03 -07001383 "src/qs8-gemm/gen/1x4c8-xw-minmax-wasmsimd.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001384 "src/qs8-gemm/gen/2x4c8-minmax-wasmsimd-ld64.c",
1385 "src/qs8-gemm/gen/2x4c8-minmax-wasmsimd-ld128.c",
Marat Dukhan27203da2020-08-05 15:19:03 -07001386 "src/qs8-gemm/gen/2x4c8-xw-minmax-wasmsimd.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001387 "src/qs8-gemm/gen/3x4c8-minmax-wasmsimd-ld64.c",
1388 "src/qs8-gemm/gen/3x4c8-minmax-wasmsimd-ld128.c",
Marat Dukhan27203da2020-08-05 15:19:03 -07001389 "src/qs8-gemm/gen/3x4c8-xw-minmax-wasmsimd.c",
1390 "src/qs8-igemm/gen/1x4c8-minmax-wasmsimd-ld64.c",
Marat Dukhan27203da2020-08-05 15:19:03 -07001391 "src/qs8-igemm/gen/1x4c8-minmax-wasmsimd-ld128.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001392 "src/qs8-igemm/gen/2x4c8-minmax-wasmsimd-ld64.c",
Marat Dukhan27203da2020-08-05 15:19:03 -07001393 "src/qs8-igemm/gen/2x4c8-minmax-wasmsimd-ld128.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001394 "src/qs8-igemm/gen/3x4c8-minmax-wasmsimd-ld64.c",
Marat Dukhan27203da2020-08-05 15:19:03 -07001395 "src/qs8-igemm/gen/3x4c8-minmax-wasmsimd-ld128.c",
Marat Dukhan2e23d2b2020-07-29 16:01:37 -07001396 "src/qs8-requantization/fp32-wasmsimd.c",
Marat Dukhan138560c2020-08-03 18:57:34 -07001397 "src/qs8-requantization/q31-wasmsimd.c",
Marat Dukhan5df27f82020-09-02 23:59:21 -07001398 "src/qs8-vadd/gen/minmax-wasmsimd-x8.c",
1399 "src/qs8-vadd/gen/minmax-wasmsimd-x16.c",
1400 "src/qs8-vadd/gen/minmax-wasmsimd-x24.c",
1401 "src/qs8-vadd/gen/minmax-wasmsimd-x32.c",
1402 "src/qs8-vaddc/gen/minmax-wasmsimd-x8.c",
1403 "src/qs8-vaddc/gen/minmax-wasmsimd-x16.c",
1404 "src/qs8-vaddc/gen/minmax-wasmsimd-x24.c",
1405 "src/qs8-vaddc/gen/minmax-wasmsimd-x32.c",
Marat Dukhan5b69f8b2020-07-24 15:26:48 -07001406 "src/qu8-requantization/fp32-wasmsimd.c",
Marat Dukhan22de5e72020-08-03 21:53:18 -07001407 "src/qu8-requantization/q31-wasmsimd.c",
Marat Dukhan8ee37012020-07-16 13:17:13 -07001408 "src/x32-fill/wasmsimd.c",
Marat Dukhan66d99e92020-07-16 12:56:21 -07001409 "src/x32-packx/x4-wasmsimd.c",
Marat Dukhan9306ae02020-07-16 15:51:13 -07001410 "src/x32-pad/wasmsimd.c",
Marat Dukhan9d4bfa22020-07-16 19:07:04 -07001411 "src/x32-unpool/wasmsimd.c",
Marat Dukhane3b78762020-07-16 20:02:58 -07001412 "src/x32-zip/x2-wasmsimd.c",
1413 "src/x32-zip/x3-wasmsimd.c",
1414 "src/x32-zip/x4-wasmsimd.c",
1415 "src/x32-zip/xm-wasmsimd.c",
Marat Dukhan290055c2020-06-09 12:24:29 -07001416]
1417
Marat Dukhan08c4a432019-10-03 09:29:21 -07001418# ISA-specific micro-kernels
1419NEON_UKERNELS = [
Marat Dukhanef25c6d2020-07-24 00:59:40 -07001420 "src/f32-argmaxpool/4x-neon-c4.c",
1421 "src/f32-argmaxpool/9p8x-neon-c4.c",
1422 "src/f32-argmaxpool/9x-neon-c4.c",
Marat Dukhan99936602020-04-11 16:47:01 -07001423 "src/f32-avgpool/9p8x-minmax-neon-c4.c",
1424 "src/f32-avgpool/9x-minmax-neon-c4.c",
Marat Dukhan5c5fa962020-03-10 18:38:33 -07001425 "src/f32-clamp/gen/neon-x4.c",
1426 "src/f32-clamp/gen/neon-x8.c",
Marat Dukhan56b10cd2020-05-18 09:35:49 -07001427 "src/f32-conv-hwc/gen/3x3s2p0p1c3x4-neon-2x1.c",
Marat Dukhance7a3f82020-05-17 21:46:44 -07001428 "src/f32-conv-hwc/gen/3x3s2p0p1c3x4-neon-2x2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001429 "src/f32-conv-hwc/gen/3x3s2p0p1c3x8-neon-2x1.c",
Marat Dukhance7a3f82020-05-17 21:46:44 -07001430 "src/f32-conv-hwc/gen/3x3s2p0p1c3x8-neon-2x2.c",
Marat Dukhan56b10cd2020-05-18 09:35:49 -07001431 "src/f32-conv-hwc/gen/3x3s2p1c3x4-neon-2x1.c",
Marat Dukhance7a3f82020-05-17 21:46:44 -07001432 "src/f32-conv-hwc/gen/3x3s2p1c3x4-neon-2x2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001433 "src/f32-conv-hwc/gen/3x3s2p1c3x8-neon-2x1.c",
Marat Dukhance7a3f82020-05-17 21:46:44 -07001434 "src/f32-conv-hwc/gen/3x3s2p1c3x8-neon-2x2.c",
Marat Dukhanc7634882020-12-07 15:11:12 -08001435 "src/f32-conv-hwc2chw/3x3s2p1c3x4-neon-2x2.c",
Marat Dukhanf5425ea2020-04-24 01:46:00 -07001436 "src/f32-dwconv/gen/up4x4-minmax-neon-acc2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001437 "src/f32-dwconv/gen/up4x4-minmax-neon.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07001438 "src/f32-dwconv/gen/up4x9-minmax-neon-acc2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001439 "src/f32-dwconv/gen/up4x9-minmax-neon.c",
Marat Dukhanf5425ea2020-04-24 01:46:00 -07001440 "src/f32-dwconv/gen/up4x25-minmax-neon-acc2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001441 "src/f32-dwconv/gen/up4x25-minmax-neon.c",
1442 "src/f32-dwconv/gen/up8x4-minmax-neon-acc2.c",
1443 "src/f32-dwconv/gen/up8x4-minmax-neon.c",
1444 "src/f32-dwconv/gen/up8x9-minmax-neon-acc2.c",
1445 "src/f32-dwconv/gen/up8x9-minmax-neon.c",
Marat Dukhanf5425ea2020-04-24 01:46:00 -07001446 "src/f32-dwconv/gen/up8x25-minmax-neon-acc2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001447 "src/f32-dwconv/gen/up8x25-minmax-neon.c",
Frank Barchard35db7d02020-10-26 13:37:34 -07001448 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-neon-1x4-acc2.c",
1449 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-neon-1x4-acc3.c",
1450 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-neon-1x4-acc4.c",
Marat Dukhanc581e482020-10-24 01:28:11 -07001451 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-neon-1x4.c",
Frank Barchard35db7d02020-10-26 13:37:34 -07001452 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-neon-2x4-acc2.c",
Marat Dukhanc581e482020-10-24 01:28:11 -07001453 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-neon-2x4.c",
1454 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-neon-3x4.c",
1455 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-neon-4x4.c",
1456 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-neon-5x4.c",
1457 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-neon-6x4.c",
Marat Dukhan82f0c322020-10-25 19:17:35 -07001458 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-neon-1x4-acc2.c",
1459 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-neon-1x4-acc3.c",
1460 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-neon-1x4-acc4.c",
Frank Barchard35db7d02020-10-26 13:37:34 -07001461 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-neon-1x4.c",
Marat Dukhan82f0c322020-10-25 19:17:35 -07001462 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-neon-2x4-acc2.c",
Frank Barchard35db7d02020-10-26 13:37:34 -07001463 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-neon-2x4.c",
1464 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-neon-3x4.c",
1465 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-neon-4x4.c",
Marat Dukhan149f0ea2020-10-26 12:50:33 -07001466 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-neon-1x4-acc2.c",
1467 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-neon-1x4-acc3.c",
1468 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-neon-1x4-acc4.c",
1469 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-neon-1x4-acc5.c",
Frank Barchard35db7d02020-10-26 13:37:34 -07001470 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-neon-1x4.c",
Marat Dukhan149f0ea2020-10-26 12:50:33 -07001471 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-neon-2x4-acc2.c",
1472 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-neon-2x4-acc3.c",
Frank Barchard35db7d02020-10-26 13:37:34 -07001473 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-neon-2x4.c",
Marat Dukhan149f0ea2020-10-26 12:50:33 -07001474 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-neon-3x4-acc2.c",
Frank Barchard35db7d02020-10-26 13:37:34 -07001475 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-neon-3x4.c",
Marat Dukhan149f0ea2020-10-26 12:50:33 -07001476 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-neon-4x4-acc2.c",
Frank Barchard35db7d02020-10-26 13:37:34 -07001477 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-neon-4x4.c",
1478 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-neon-5x4.c",
Marat Dukhan30d4b252020-10-29 16:33:22 -07001479 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-neon-1x4-acc2.c",
1480 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-neon-1x4-acc3.c",
1481 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-neon-1x4-acc4.c",
1482 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-neon-1x4-acc5.c",
1483 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-neon-1x4.c",
1484 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-neon-2x4-acc2.c",
1485 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-neon-2x4-acc3.c",
1486 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-neon-2x4.c",
Marat Dukhan30d4b252020-10-29 16:33:22 -07001487 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-neon-3x4-acc2.c",
Frank Barchardbeca6522020-10-30 22:34:35 -07001488 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-neon-3x4.c",
Marat Dukhan1f29b802020-05-15 23:46:39 -07001489 "src/f32-gavgpool-cw/neon-x4.c",
Marat Dukhan99936602020-04-11 16:47:01 -07001490 "src/f32-gavgpool/7p7x-minmax-neon-c4.c",
1491 "src/f32-gavgpool/7x-minmax-neon-c4.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07001492 "src/f32-gemm/gen-inc/1x8inc-minmax-neon-dup-ld64.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001493 "src/f32-gemm/gen-inc/1x8inc-minmax-neon-lane-ld64.c",
1494 "src/f32-gemm/gen-inc/1x8s4inc-minmax-neon.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07001495 "src/f32-gemm/gen-inc/4x8inc-minmax-neon-dup-ld64.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001496 "src/f32-gemm/gen-inc/4x8inc-minmax-neon-dup-ld128.c",
1497 "src/f32-gemm/gen-inc/4x8inc-minmax-neon-lane-ld64.c",
1498 "src/f32-gemm/gen-inc/4x8inc-minmax-neon-lane-ld128.c",
1499 "src/f32-gemm/gen-inc/4x8s4inc-minmax-neon.c",
1500 "src/f32-gemm/gen-inc/5x8inc-minmax-neon-lane-ld64.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07001501 "src/f32-gemm/gen-inc/6x8inc-minmax-neon-dup-ld64.c",
1502 "src/f32-gemm/gen-inc/6x8inc-minmax-neon-dup-ld128.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001503 "src/f32-gemm/gen-inc/6x8inc-minmax-neon-lane-ld64.c",
1504 "src/f32-gemm/gen-inc/6x8inc-minmax-neon-lane-ld128.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07001505 "src/f32-gemm/gen-inc/6x8s4inc-minmax-neon.c",
1506 "src/f32-gemm/gen-inc/8x8s4inc-minmax-neon.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001507 "src/f32-gemm/gen/1x8-minmax-neon-dup-ld64.c",
1508 "src/f32-gemm/gen/1x8-minmax-neon-lane-ld64.c",
1509 "src/f32-gemm/gen/1x8s4-minmax-neon.c",
1510 "src/f32-gemm/gen/4x2-minmax-neon-lane-ld64.c",
1511 "src/f32-gemm/gen/4x8-minmax-neon-dup-ld64.c",
1512 "src/f32-gemm/gen/4x8-minmax-neon-dup-ld128.c",
1513 "src/f32-gemm/gen/4x8-minmax-neon-lane-ld64.c",
1514 "src/f32-gemm/gen/4x8-minmax-neon-lane-ld128.c",
1515 "src/f32-gemm/gen/4x8s4-minmax-neon.c",
1516 "src/f32-gemm/gen/5x8-minmax-neon-lane-ld64.c",
1517 "src/f32-gemm/gen/6x8-minmax-neon-dup-ld64.c",
1518 "src/f32-gemm/gen/6x8-minmax-neon-dup-ld128.c",
1519 "src/f32-gemm/gen/6x8-minmax-neon-lane-ld64.c",
1520 "src/f32-gemm/gen/6x8-minmax-neon-lane-ld128.c",
1521 "src/f32-gemm/gen/6x8s4-minmax-neon.c",
1522 "src/f32-gemm/gen/8x8s4-minmax-neon.c",
Marat Dukhanefaac272020-07-16 16:58:07 -07001523 "src/f32-hswish/gen/hswish-neon-x4.c",
1524 "src/f32-hswish/gen/hswish-neon-x8.c",
1525 "src/f32-hswish/gen/hswish-neon-x16.c",
Artsiom Ablavatski2202c812021-01-22 14:16:43 -08001526 "src/f32-ibilinear-chw/gen/neon-p4.c",
1527 "src/f32-ibilinear-chw/gen/neon-p8.c",
Frank Barchard8247e212021-02-03 18:12:33 -08001528 "src/f32-ibilinear/gen/neon-c4.c",
1529 "src/f32-ibilinear/gen/neon-c8.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001530 "src/f32-igemm/gen/1x8-minmax-neon-dup-ld64.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07001531 "src/f32-igemm/gen/1x8-minmax-neon-lane-ld64.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001532 "src/f32-igemm/gen/1x8s4-minmax-neon.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07001533 "src/f32-igemm/gen/4x2-minmax-neon-lane-ld64.c",
1534 "src/f32-igemm/gen/4x4-minmax-neon-lane-ld64.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07001535 "src/f32-igemm/gen/4x8-minmax-neon-dup-ld64.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001536 "src/f32-igemm/gen/4x8-minmax-neon-dup-ld128.c",
1537 "src/f32-igemm/gen/4x8-minmax-neon-lane-ld64.c",
1538 "src/f32-igemm/gen/4x8-minmax-neon-lane-ld128.c",
1539 "src/f32-igemm/gen/4x8s4-minmax-neon.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07001540 "src/f32-igemm/gen/6x8-minmax-neon-dup-ld64.c",
1541 "src/f32-igemm/gen/6x8-minmax-neon-dup-ld128.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001542 "src/f32-igemm/gen/6x8-minmax-neon-lane-ld64.c",
1543 "src/f32-igemm/gen/6x8-minmax-neon-lane-ld128.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07001544 "src/f32-igemm/gen/6x8s4-minmax-neon.c",
1545 "src/f32-igemm/gen/8x8s4-minmax-neon.c",
Marat Dukhan99936602020-04-11 16:47:01 -07001546 "src/f32-maxpool/9p8x-minmax-neon-c4.c",
1547 "src/f32-pavgpool/9p8x-minmax-neon-c4.c",
1548 "src/f32-pavgpool/9x-minmax-neon-c4.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07001549 "src/f32-ppmm/gen/4x8-minmax-neon.c",
1550 "src/f32-ppmm/gen/8x8-minmax-neon.c",
Frank Barcharda5316982020-07-23 13:19:28 -07001551 "src/f32-prelu/gen/neon-1x4.c",
1552 "src/f32-prelu/gen/neon-1x8.c",
1553 "src/f32-prelu/gen/neon-1x16.c",
Marat Dukhan40a672f2019-11-25 03:08:22 -08001554 "src/f32-prelu/gen/neon-2x4.c",
1555 "src/f32-prelu/gen/neon-2x8.c",
Frank Barcharda5316982020-07-23 13:19:28 -07001556 "src/f32-prelu/gen/neon-2x16.c",
1557 "src/f32-prelu/gen/neon-4x4.c",
1558 "src/f32-prelu/gen/neon-4x8.c",
1559 "src/f32-prelu/gen/neon-4x16.c",
Marat Dukhan8137e4c2020-01-25 12:56:58 -08001560 "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x4.c",
Marat Dukhan8137e4c2020-01-25 12:56:58 -08001561 "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x8-acc2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001562 "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x8.c",
Marat Dukhan8137e4c2020-01-25 12:56:58 -08001563 "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x12-acc2.c",
1564 "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x12-acc3.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001565 "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x12.c",
Marat Dukhan8137e4c2020-01-25 12:56:58 -08001566 "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x16-acc2.c",
1567 "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x16-acc4.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001568 "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x16.c",
Marat Dukhan8137e4c2020-01-25 12:56:58 -08001569 "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x20-acc2.c",
1570 "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x20-acc5.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001571 "src/f32-raddstoreexpminusmax/gen/neon-lut64-p2-x20.c",
1572 "src/f32-raddstoreexpminusmax/gen/neon-p5-x4.c",
1573 "src/f32-raddstoreexpminusmax/gen/neon-p5-x8-acc2.c",
1574 "src/f32-raddstoreexpminusmax/gen/neon-p5-x8.c",
1575 "src/f32-raddstoreexpminusmax/gen/neon-p5-x12-acc2.c",
1576 "src/f32-raddstoreexpminusmax/gen/neon-p5-x12-acc3.c",
1577 "src/f32-raddstoreexpminusmax/gen/neon-p5-x12.c",
1578 "src/f32-raddstoreexpminusmax/gen/neon-p5-x16-acc2.c",
1579 "src/f32-raddstoreexpminusmax/gen/neon-p5-x16-acc4.c",
1580 "src/f32-raddstoreexpminusmax/gen/neon-p5-x16.c",
1581 "src/f32-raddstoreexpminusmax/gen/neon-p5-x20-acc2.c",
1582 "src/f32-raddstoreexpminusmax/gen/neon-p5-x20-acc5.c",
1583 "src/f32-raddstoreexpminusmax/gen/neon-p5-x20.c",
Frank Barchardfb158e22020-07-15 16:10:10 -07001584 "src/f32-relu/gen/neon-x4.c",
1585 "src/f32-relu/gen/neon-x8.c",
Marat Dukhan08c4a432019-10-03 09:29:21 -07001586 "src/f32-rmax/neon.c",
Marat Dukhan4a24a582020-01-06 13:30:00 -08001587 "src/f32-sigmoid/gen/neon-rr2-lut64-p2-nr2recps-x4.c",
1588 "src/f32-sigmoid/gen/neon-rr2-lut64-p2-nr2recps-x8.c",
1589 "src/f32-sigmoid/gen/neon-rr2-lut64-p2-nr2recps-x12.c",
1590 "src/f32-sigmoid/gen/neon-rr2-lut64-p2-nr2recps-x16.c",
1591 "src/f32-sigmoid/gen/neon-rr2-lut64-p2-nr2recps-x20.c",
1592 "src/f32-sigmoid/gen/neon-rr2-lut64-p2-nr2recps-x24.c",
1593 "src/f32-sigmoid/gen/neon-rr2-lut2048-p1-nr2recps-x4.c",
1594 "src/f32-sigmoid/gen/neon-rr2-lut2048-p1-nr2recps-x8.c",
1595 "src/f32-sigmoid/gen/neon-rr2-lut2048-p1-nr2recps-x12.c",
1596 "src/f32-sigmoid/gen/neon-rr2-lut2048-p1-nr2recps-x16.c",
1597 "src/f32-sigmoid/gen/neon-rr2-lut2048-p1-nr2recps-x20.c",
1598 "src/f32-sigmoid/gen/neon-rr2-lut2048-p1-nr2recps-x24.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001599 "src/f32-sigmoid/gen/neon-rr2-p5-nr2recps-x4.c",
1600 "src/f32-sigmoid/gen/neon-rr2-p5-nr2recps-x8.c",
1601 "src/f32-sigmoid/gen/neon-rr2-p5-nr2recps-x12.c",
1602 "src/f32-sigmoid/gen/neon-rr2-p5-nr2recps-x16.c",
1603 "src/f32-sigmoid/gen/neon-rr2-p5-nr2recps-x20.c",
1604 "src/f32-sigmoid/gen/neon-rr2-p5-nr2recps-x24.c",
Marat Dukhan5b86c432020-12-06 19:15:03 -08001605 "src/f32-spmm/gen/4x1-minmax-neon-pipelined.c",
1606 "src/f32-spmm/gen/4x1-minmax-neon-x2.c",
1607 "src/f32-spmm/gen/4x1-minmax-neon.c",
1608 "src/f32-spmm/gen/8x1-minmax-neon-pipelined.c",
1609 "src/f32-spmm/gen/8x1-minmax-neon-x2.c",
1610 "src/f32-spmm/gen/8x1-minmax-neon.c",
1611 "src/f32-spmm/gen/12x1-minmax-neon.c",
1612 "src/f32-spmm/gen/16x1-minmax-neon-pipelined.c",
1613 "src/f32-spmm/gen/16x1-minmax-neon-x2.c",
1614 "src/f32-spmm/gen/16x1-minmax-neon.c",
1615 "src/f32-spmm/gen/32x1-minmax-neon-pipelined.c",
1616 "src/f32-spmm/gen/32x1-minmax-neon-x2.c",
1617 "src/f32-spmm/gen/32x1-minmax-neon.c",
Marat Dukhan91cd2b72020-04-09 23:57:31 -07001618 "src/f32-vbinary/gen/vadd-minmax-neon-x4.c",
1619 "src/f32-vbinary/gen/vadd-minmax-neon-x8.c",
1620 "src/f32-vbinary/gen/vaddc-minmax-neon-x4.c",
1621 "src/f32-vbinary/gen/vaddc-minmax-neon-x8.c",
Marat Dukhan403b7d42019-12-05 12:49:11 -08001622 "src/f32-vbinary/gen/vmax-neon-x4.c",
1623 "src/f32-vbinary/gen/vmax-neon-x8.c",
1624 "src/f32-vbinary/gen/vmaxc-neon-x4.c",
1625 "src/f32-vbinary/gen/vmaxc-neon-x8.c",
1626 "src/f32-vbinary/gen/vmin-neon-x4.c",
1627 "src/f32-vbinary/gen/vmin-neon-x8.c",
1628 "src/f32-vbinary/gen/vminc-neon-x4.c",
1629 "src/f32-vbinary/gen/vminc-neon-x8.c",
Marat Dukhan91cd2b72020-04-09 23:57:31 -07001630 "src/f32-vbinary/gen/vmul-minmax-neon-x4.c",
1631 "src/f32-vbinary/gen/vmul-minmax-neon-x8.c",
1632 "src/f32-vbinary/gen/vmulc-minmax-neon-x4.c",
1633 "src/f32-vbinary/gen/vmulc-minmax-neon-x8.c",
1634 "src/f32-vbinary/gen/vrsubc-minmax-neon-x4.c",
1635 "src/f32-vbinary/gen/vrsubc-minmax-neon-x8.c",
Marat Dukhan13bafb02020-06-05 00:43:11 -07001636 "src/f32-vbinary/gen/vsqrdiff-neon-x4.c",
1637 "src/f32-vbinary/gen/vsqrdiff-neon-x8.c",
1638 "src/f32-vbinary/gen/vsqrdiffc-neon-x4.c",
1639 "src/f32-vbinary/gen/vsqrdiffc-neon-x8.c",
Marat Dukhan91cd2b72020-04-09 23:57:31 -07001640 "src/f32-vbinary/gen/vsub-minmax-neon-x4.c",
1641 "src/f32-vbinary/gen/vsub-minmax-neon-x8.c",
1642 "src/f32-vbinary/gen/vsubc-minmax-neon-x4.c",
1643 "src/f32-vbinary/gen/vsubc-minmax-neon-x8.c",
Marat Dukhaned6baaf2020-12-01 15:07:08 -08001644 "src/f32-velu/gen/velu-neon-rr2-lut16-p3-x4.c",
1645 "src/f32-velu/gen/velu-neon-rr2-lut16-p3-x8.c",
1646 "src/f32-velu/gen/velu-neon-rr2-lut16-p3-x12.c",
1647 "src/f32-velu/gen/velu-neon-rr2-lut16-p3-x16.c",
1648 "src/f32-velu/gen/velu-neon-rr2-lut16-p3-x20.c",
1649 "src/f32-velu/gen/velu-neon-rr2-lut16-p3-x24.c",
1650 "src/f32-velu/gen/velu-neon-rr2-p6-x4.c",
1651 "src/f32-velu/gen/velu-neon-rr2-p6-x8.c",
1652 "src/f32-velu/gen/velu-neon-rr2-p6-x12.c",
1653 "src/f32-velu/gen/velu-neon-rr2-p6-x16.c",
1654 "src/f32-velu/gen/velu-neon-rr2-p6-x20.c",
1655 "src/f32-velu/gen/velu-neon-rr2-p6-x24.c",
Marat Dukhan19dd91d2020-07-16 11:12:44 -07001656 "src/f32-vlrelu/gen/vlrelu-neon-x4.c",
1657 "src/f32-vlrelu/gen/vlrelu-neon-x8.c",
Marat Dukhan99936602020-04-11 16:47:01 -07001658 "src/f32-vmulcaddc/gen/c4-minmax-neon-2x.c",
1659 "src/f32-vmulcaddc/gen/c8-minmax-neon-2x.c",
Marat Dukhaneecf8fd2020-06-09 08:59:37 -07001660 "src/f32-vrnd/gen/vrndd-neon-x4.c",
1661 "src/f32-vrnd/gen/vrndd-neon-x8.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001662 "src/f32-vrnd/gen/vrndne-neon-x4.c",
1663 "src/f32-vrnd/gen/vrndne-neon-x8.c",
1664 "src/f32-vrnd/gen/vrndu-neon-x4.c",
1665 "src/f32-vrnd/gen/vrndu-neon-x8.c",
1666 "src/f32-vrnd/gen/vrndz-neon-x4.c",
1667 "src/f32-vrnd/gen/vrndz-neon-x8.c",
Marat Dukhan5020b962020-06-08 13:30:10 -07001668 "src/f32-vunary/gen/vabs-neon-x4.c",
1669 "src/f32-vunary/gen/vabs-neon-x8.c",
1670 "src/f32-vunary/gen/vneg-neon-x4.c",
1671 "src/f32-vunary/gen/vneg-neon-x8.c",
1672 "src/f32-vunary/gen/vsqr-neon-x4.c",
1673 "src/f32-vunary/gen/vsqr-neon-x8.c",
Marat Dukhande390d42020-11-29 19:32:18 -08001674 "src/math/expm1minus-neon-rr2-lut16-p3.c",
1675 "src/math/expm1minus-neon-rr2-p6.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001676 "src/math/roundd-neon-addsub.c",
1677 "src/math/roundd-neon-cvt.c",
1678 "src/math/roundne-neon-addsub.c",
1679 "src/math/roundu-neon-addsub.c",
1680 "src/math/roundu-neon-cvt.c",
1681 "src/math/roundz-neon-addsub.c",
1682 "src/math/roundz-neon-cvt.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001683 "src/math/sigmoid-neon-rr2-lut64-p2-nr2recps.c",
1684 "src/math/sigmoid-neon-rr2-lut2048-p1-nr2recps.c",
1685 "src/math/sigmoid-neon-rr2-p5-nr2recps.c",
1686 "src/math/sqrt-neon-nr1rsqrts.c",
1687 "src/math/sqrt-neon-nr2rsqrts.c",
1688 "src/math/sqrt-neon-nr3rsqrts.c",
Marat Dukhan023bcf92020-08-10 12:40:50 -07001689 "src/qs8-dwconv/gen/up8x9-minmax-neon-mul16.c",
1690 "src/qs8-dwconv/gen/up16x9-minmax-neon-mul16.c",
1691 "src/qs8-dwconv/gen/up24x9-minmax-neon-mul16.c",
1692 "src/qs8-dwconv/gen/up32x9-minmax-neon-mul16.c",
Marat Dukhan281262d2020-08-10 13:23:21 -07001693 "src/qs8-gavgpool/gen/7p7x-minmax-neon-c8-acc2.c",
1694 "src/qs8-gavgpool/gen/7p7x-minmax-neon-c16-acc2.c",
1695 "src/qs8-gavgpool/gen/7p7x-minmax-neon-c24-acc2.c",
1696 "src/qs8-gavgpool/gen/7p7x-minmax-neon-c32-acc2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001697 "src/qs8-gavgpool/gen/7x-minmax-neon-c8-acc2.c",
1698 "src/qs8-gavgpool/gen/7x-minmax-neon-c16-acc2.c",
1699 "src/qs8-gavgpool/gen/7x-minmax-neon-c24-acc2.c",
1700 "src/qs8-gavgpool/gen/7x-minmax-neon-c32-acc2.c",
Frank Barchardec0bf142021-01-15 10:14:05 -08001701 "src/qs8-gemm/gen/1x8-minmax-neon-mlal-lane.c",
Frank Barchardec0bf142021-01-15 10:14:05 -08001702 "src/qs8-gemm/gen/1x8-minmax-neon-mull-addw-dup.c",
Frank Barchard8247e212021-02-03 18:12:33 -08001703 "src/qs8-gemm/gen/1x8c2-minmax-neon-mlal-padal-dup.c",
Frank Barchard2302ffd2021-01-22 14:08:02 -08001704 "src/qs8-gemm/gen/1x8c2-minmax-neon-mull-padal-dup.c",
Frank Barchard8247e212021-02-03 18:12:33 -08001705 "src/qs8-gemm/gen/1x8c8-minmax-neon-mull-padal.c",
Frank Barchardcadd4222021-01-20 16:27:25 -08001706 "src/qs8-gemm/gen/1x16-minmax-neon-mlal-lane.c",
1707 "src/qs8-gemm/gen/1x16-minmax-neon-mull-addw-dup.c",
Frank Barchard8247e212021-02-03 18:12:33 -08001708 "src/qs8-gemm/gen/1x16c2-minmax-neon-mlal-padal-dup.c",
Frank Barchard2302ffd2021-01-22 14:08:02 -08001709 "src/qs8-gemm/gen/1x16c2-minmax-neon-mull-padal-dup.c",
Frank Barchard8247e212021-02-03 18:12:33 -08001710 "src/qs8-gemm/gen/1x16c8-minmax-neon-mull-padal.c",
Frank Barchardcadd4222021-01-20 16:27:25 -08001711 "src/qs8-gemm/gen/2x8-minmax-neon-mlal-lane.c",
Frank Barchardec0bf142021-01-15 10:14:05 -08001712 "src/qs8-gemm/gen/2x8-minmax-neon-mull-addw-dup.c",
Frank Barchard8247e212021-02-03 18:12:33 -08001713 "src/qs8-gemm/gen/2x8c2-minmax-neon-mlal-padal-dup.c",
Frank Barchard2302ffd2021-01-22 14:08:02 -08001714 "src/qs8-gemm/gen/2x8c2-minmax-neon-mull-padal-dup.c",
Frank Barchard8247e212021-02-03 18:12:33 -08001715 "src/qs8-gemm/gen/2x8c8-minmax-neon-mull-padal.c",
Frank Barchardcadd4222021-01-20 16:27:25 -08001716 "src/qs8-gemm/gen/2x16-minmax-neon-mlal-lane.c",
1717 "src/qs8-gemm/gen/2x16-minmax-neon-mull-addw-dup.c",
Frank Barchard8247e212021-02-03 18:12:33 -08001718 "src/qs8-gemm/gen/2x16c2-minmax-neon-mlal-padal-dup.c",
Frank Barchard2302ffd2021-01-22 14:08:02 -08001719 "src/qs8-gemm/gen/2x16c2-minmax-neon-mull-padal-dup.c",
Frank Barchard8247e212021-02-03 18:12:33 -08001720 "src/qs8-gemm/gen/2x16c8-minmax-neon-mull-padal.c",
Frank Barchard2302ffd2021-01-22 14:08:02 -08001721 "src/qs8-gemm/gen/3x8-minmax-neon-mlal-lane.c",
1722 "src/qs8-gemm/gen/3x8-minmax-neon-mull-addw-dup.c",
Frank Barchard8247e212021-02-03 18:12:33 -08001723 "src/qs8-gemm/gen/3x8c2-minmax-neon-mlal-padal-dup.c",
Frank Barchard2302ffd2021-01-22 14:08:02 -08001724 "src/qs8-gemm/gen/3x8c2-minmax-neon-mull-padal-dup.c",
Frank Barchard8247e212021-02-03 18:12:33 -08001725 "src/qs8-gemm/gen/3x8c8-minmax-neon-mull-padal.c",
1726 "src/qs8-gemm/gen/3x16-minmax-neon-mlal-lane.c",
1727 "src/qs8-gemm/gen/3x16-minmax-neon-mull-addw-dup.c",
1728 "src/qs8-gemm/gen/3x16c2-minmax-neon-mlal-padal-dup.c",
1729 "src/qs8-gemm/gen/3x16c2-minmax-neon-mull-padal-dup.c",
1730 "src/qs8-gemm/gen/3x16c8-minmax-neon-mull-padal.c",
Frank Barchardcadd4222021-01-20 16:27:25 -08001731 "src/qs8-gemm/gen/4x8-minmax-neon-mlal-lane.c",
Frank Barchardec0bf142021-01-15 10:14:05 -08001732 "src/qs8-gemm/gen/4x8-minmax-neon-mull-addw-dup.c",
Frank Barchard8247e212021-02-03 18:12:33 -08001733 "src/qs8-gemm/gen/4x8c2-minmax-neon-mlal-padal-dup.c",
Frank Barchard2302ffd2021-01-22 14:08:02 -08001734 "src/qs8-gemm/gen/4x8c2-minmax-neon-mull-padal-dup.c",
Frank Barchard8247e212021-02-03 18:12:33 -08001735 "src/qs8-gemm/gen/4x8c8-minmax-neon-mull-padal.c",
Frank Barchardcadd4222021-01-20 16:27:25 -08001736 "src/qs8-gemm/gen/4x16-minmax-neon-mlal-lane.c",
1737 "src/qs8-gemm/gen/4x16-minmax-neon-mull-addw-dup.c",
Frank Barchard8247e212021-02-03 18:12:33 -08001738 "src/qs8-gemm/gen/4x16c2-minmax-neon-mlal-padal-dup.c",
Frank Barchard2302ffd2021-01-22 14:08:02 -08001739 "src/qs8-gemm/gen/4x16c2-minmax-neon-mull-padal-dup.c",
Frank Barchard58990122021-01-29 16:09:56 -08001740 "src/qs8-gemm/gen/4x16c8-minmax-neon-mull-padal.c",
Frank Barchardec0bf142021-01-15 10:14:05 -08001741 "src/qs8-igemm/gen/1x8-minmax-neon-mlal-lane.c",
Frank Barchardcadd4222021-01-20 16:27:25 -08001742 "src/qs8-igemm/gen/1x16-minmax-neon-mlal-lane.c",
Frank Barchardec0bf142021-01-15 10:14:05 -08001743 "src/qs8-igemm/gen/2x8-minmax-neon-mlal-lane.c",
Frank Barchardcadd4222021-01-20 16:27:25 -08001744 "src/qs8-igemm/gen/2x16-minmax-neon-mlal-lane.c",
Frank Barchardec0bf142021-01-15 10:14:05 -08001745 "src/qs8-igemm/gen/3x8-minmax-neon-mlal-lane.c",
Frank Barchardcadd4222021-01-20 16:27:25 -08001746 "src/qs8-igemm/gen/3x16-minmax-neon-mlal-lane.c",
Frank Barchardec0bf142021-01-15 10:14:05 -08001747 "src/qs8-igemm/gen/4x8-minmax-neon-mlal-lane.c",
Frank Barchardcadd4222021-01-20 16:27:25 -08001748 "src/qs8-igemm/gen/4x16-minmax-neon-mlal-lane.c",
Marat Dukhan2e23d2b2020-07-29 16:01:37 -07001749 "src/qs8-requantization/fp32-neon.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001750 "src/qs8-requantization/precise-neon.c",
Marat Dukhan2e23d2b2020-07-29 16:01:37 -07001751 "src/qs8-requantization/q31-neon.c",
Marat Dukhanba7b2792020-09-02 14:26:45 -07001752 "src/qs8-vadd/gen/minmax-neon-ld64-x8.c",
1753 "src/qs8-vadd/gen/minmax-neon-ld64-x16.c",
1754 "src/qs8-vadd/gen/minmax-neon-ld64-x24.c",
1755 "src/qs8-vadd/gen/minmax-neon-ld64-x32.c",
1756 "src/qs8-vaddc/gen/minmax-neon-ld64-x8.c",
1757 "src/qs8-vaddc/gen/minmax-neon-ld64-x16.c",
1758 "src/qs8-vaddc/gen/minmax-neon-ld64-x24.c",
1759 "src/qs8-vaddc/gen/minmax-neon-ld64-x32.c",
Marat Dukhan08b7a972020-07-14 18:17:29 -07001760 "src/qu8-avgpool/9p8x-minmax-neon-c8.c",
1761 "src/qu8-avgpool/9x-minmax-neon-c8.c",
1762 "src/qu8-dwconv/up8x9-minmax-neon.c",
1763 "src/qu8-gavgpool/7p7x-minmax-neon-c8.c",
1764 "src/qu8-gavgpool/7x-minmax-neon-c8.c",
1765 "src/qu8-gemm/4x8-minmax-neon.c",
1766 "src/qu8-gemm/8x8-minmax-neon.c",
1767 "src/qu8-igemm/4x8-minmax-neon.c",
1768 "src/qu8-igemm/8x8-minmax-neon.c",
Marat Dukhan5b69f8b2020-07-24 15:26:48 -07001769 "src/qu8-requantization/fp32-neon.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001770 "src/qu8-requantization/precise-neon.c",
Marat Dukhan5b69f8b2020-07-24 15:26:48 -07001771 "src/qu8-requantization/q31-neon.c",
Marat Dukhan08b7a972020-07-14 18:17:29 -07001772 "src/qu8-vadd/minmax-neon.c",
Marat Dukhan5c5fa962020-03-10 18:38:33 -07001773 "src/u8-clamp/neon-x64.c",
Marat Dukhan99936602020-04-11 16:47:01 -07001774 "src/u8-maxpool/9p8x-minmax-neon-c16.c",
Marat Dukhan08c4a432019-10-03 09:29:21 -07001775 "src/u8-rmax/neon.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001776 "src/x8-zip/x2-neon.c",
1777 "src/x8-zip/x3-neon.c",
1778 "src/x8-zip/x4-neon.c",
1779 "src/x8-zip/xm-neon.c",
Marat Dukhan3bb3bfc2020-05-19 17:42:46 -07001780 "src/x32-fill/neon.c",
Marat Dukhan08c4a432019-10-03 09:29:21 -07001781 "src/x32-packx/x4-neon-st4.c",
Marat Dukhan63523d42020-05-22 17:07:33 -07001782 "src/x32-pad/neon.c",
Marat Dukhan57dccd82020-04-14 00:53:10 -07001783 "src/x32-unpool/neon.c",
Marat Dukhan08c4a432019-10-03 09:29:21 -07001784 "src/x32-zip/x2-neon.c",
1785 "src/x32-zip/x3-neon.c",
1786 "src/x32-zip/x4-neon.c",
1787 "src/x32-zip/xm-neon.c",
Marat Dukhan08c4a432019-10-03 09:29:21 -07001788]
1789
1790NEONFMA_UKERNELS = [
Frank Barchard04336c12020-10-22 16:48:55 -07001791 "src/f32-dwconv/gen/up4x4-minmax-neonfma-acc2.c",
1792 "src/f32-dwconv/gen/up4x4-minmax-neonfma.c",
1793 "src/f32-dwconv/gen/up4x9-minmax-neonfma-acc2.c",
1794 "src/f32-dwconv/gen/up4x9-minmax-neonfma.c",
1795 "src/f32-dwconv/gen/up4x25-minmax-neonfma-acc2.c",
1796 "src/f32-dwconv/gen/up4x25-minmax-neonfma.c",
1797 "src/f32-dwconv/gen/up8x4-minmax-neonfma-acc2.c",
1798 "src/f32-dwconv/gen/up8x4-minmax-neonfma.c",
1799 "src/f32-dwconv/gen/up8x9-minmax-neonfma-acc2.c",
1800 "src/f32-dwconv/gen/up8x9-minmax-neonfma.c",
1801 "src/f32-dwconv/gen/up8x25-minmax-neonfma-acc2.c",
1802 "src/f32-dwconv/gen/up8x25-minmax-neonfma.c",
1803 "src/f32-gemm/gen-inc/1x8inc-minmax-neonfma-dup-ld64.c",
1804 "src/f32-gemm/gen-inc/1x8s4inc-minmax-neonfma.c",
1805 "src/f32-gemm/gen-inc/4x8inc-minmax-neonfma-dup-ld64.c",
1806 "src/f32-gemm/gen-inc/4x8inc-minmax-neonfma-dup-ld128.c",
1807 "src/f32-gemm/gen-inc/4x8s4inc-minmax-neonfma.c",
1808 "src/f32-gemm/gen-inc/6x8inc-minmax-neonfma-dup-ld64.c",
1809 "src/f32-gemm/gen-inc/6x8inc-minmax-neonfma-dup-ld128.c",
1810 "src/f32-gemm/gen-inc/6x8s4inc-minmax-neonfma.c",
1811 "src/f32-gemm/gen-inc/8x8s4inc-minmax-neonfma.c",
1812 "src/f32-gemm/gen/1x8-minmax-neonfma-dup-ld64.c",
1813 "src/f32-gemm/gen/1x8s4-minmax-neonfma.c",
1814 "src/f32-gemm/gen/4x8-minmax-neonfma-dup-ld64.c",
1815 "src/f32-gemm/gen/4x8-minmax-neonfma-dup-ld128.c",
1816 "src/f32-gemm/gen/4x8s4-minmax-neonfma.c",
1817 "src/f32-gemm/gen/6x8-minmax-neonfma-dup-ld64.c",
1818 "src/f32-gemm/gen/6x8-minmax-neonfma-dup-ld128.c",
1819 "src/f32-gemm/gen/6x8s4-minmax-neonfma.c",
1820 "src/f32-gemm/gen/8x8s4-minmax-neonfma.c",
Artsiom Ablavatski2202c812021-01-22 14:16:43 -08001821 "src/f32-ibilinear-chw/gen/neonfma-p4.c",
1822 "src/f32-ibilinear-chw/gen/neonfma-p8.c",
Frank Barchard8247e212021-02-03 18:12:33 -08001823 "src/f32-ibilinear/gen/neonfma-c4.c",
1824 "src/f32-ibilinear/gen/neonfma-c8.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07001825 "src/f32-igemm/gen/1x8-minmax-neonfma-dup-ld64.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001826 "src/f32-igemm/gen/1x8s4-minmax-neonfma.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07001827 "src/f32-igemm/gen/4x8-minmax-neonfma-dup-ld64.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001828 "src/f32-igemm/gen/4x8-minmax-neonfma-dup-ld128.c",
1829 "src/f32-igemm/gen/4x8s4-minmax-neonfma.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07001830 "src/f32-igemm/gen/6x8-minmax-neonfma-dup-ld64.c",
1831 "src/f32-igemm/gen/6x8-minmax-neonfma-dup-ld128.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07001832 "src/f32-igemm/gen/6x8s4-minmax-neonfma.c",
1833 "src/f32-igemm/gen/8x8s4-minmax-neonfma.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07001834 "src/f32-ppmm/gen/4x8-minmax-neonfma.c",
1835 "src/f32-ppmm/gen/8x8-minmax-neonfma.c",
Marat Dukhan8137e4c2020-01-25 12:56:58 -08001836 "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x4.c",
Marat Dukhan8137e4c2020-01-25 12:56:58 -08001837 "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x8-acc2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001838 "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x8.c",
Marat Dukhan8137e4c2020-01-25 12:56:58 -08001839 "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x12-acc2.c",
1840 "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x12-acc3.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001841 "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x12.c",
Marat Dukhan8137e4c2020-01-25 12:56:58 -08001842 "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x16-acc2.c",
1843 "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x16-acc4.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001844 "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x16.c",
Marat Dukhan8137e4c2020-01-25 12:56:58 -08001845 "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x20-acc2.c",
1846 "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x20-acc5.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001847 "src/f32-raddstoreexpminusmax/gen/neonfma-lut64-p2-x20.c",
1848 "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x4.c",
1849 "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x8-acc2.c",
1850 "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x8.c",
1851 "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x12-acc2.c",
1852 "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x12-acc3.c",
1853 "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x12.c",
1854 "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x16-acc2.c",
1855 "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x16-acc4.c",
1856 "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x16.c",
1857 "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x20-acc2.c",
1858 "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x20-acc5.c",
1859 "src/f32-raddstoreexpminusmax/gen/neonfma-p5-x20.c",
Marat Dukhan4a24a582020-01-06 13:30:00 -08001860 "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr1recps1fma-x4.c",
1861 "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr1recps1fma-x8.c",
1862 "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr1recps1fma-x12.c",
1863 "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr1recps1fma-x16.c",
1864 "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr1recps1fma-x20.c",
1865 "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr1recps1fma-x24.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001866 "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2fma-x4.c",
1867 "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2fma-x8.c",
1868 "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2fma-x12.c",
1869 "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2fma-x16.c",
1870 "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2fma-x20.c",
1871 "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2fma-x24.c",
Marat Dukhan4a24a582020-01-06 13:30:00 -08001872 "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2recps-x4.c",
1873 "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2recps-x8.c",
1874 "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2recps-x12.c",
1875 "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2recps-x16.c",
1876 "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2recps-x20.c",
1877 "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-nr2recps-x24.c",
Marat Dukhan4a24a582020-01-06 13:30:00 -08001878 "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr1recps1fma-x4.c",
1879 "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr1recps1fma-x8.c",
1880 "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr1recps1fma-x12.c",
1881 "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr1recps1fma-x16.c",
1882 "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr1recps1fma-x20.c",
1883 "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr1recps1fma-x24.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001884 "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2fma-x4.c",
1885 "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2fma-x8.c",
1886 "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2fma-x12.c",
1887 "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2fma-x16.c",
1888 "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2fma-x20.c",
1889 "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2fma-x24.c",
Marat Dukhan4a24a582020-01-06 13:30:00 -08001890 "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2recps-x4.c",
1891 "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2recps-x8.c",
1892 "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2recps-x12.c",
1893 "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2recps-x16.c",
1894 "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2recps-x20.c",
1895 "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-nr2recps-x24.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001896 "src/f32-sigmoid/gen/neonfma-rr1-p5-nr1recps1fma-x4.c",
1897 "src/f32-sigmoid/gen/neonfma-rr1-p5-nr1recps1fma-x8.c",
1898 "src/f32-sigmoid/gen/neonfma-rr1-p5-nr1recps1fma-x12.c",
1899 "src/f32-sigmoid/gen/neonfma-rr1-p5-nr1recps1fma-x16.c",
1900 "src/f32-sigmoid/gen/neonfma-rr1-p5-nr1recps1fma-x20.c",
1901 "src/f32-sigmoid/gen/neonfma-rr1-p5-nr1recps1fma-x24.c",
1902 "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2fma-x4.c",
1903 "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2fma-x8.c",
1904 "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2fma-x12.c",
1905 "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2fma-x16.c",
1906 "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2fma-x20.c",
1907 "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2fma-x24.c",
1908 "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2recps-x4.c",
1909 "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2recps-x8.c",
1910 "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2recps-x12.c",
1911 "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2recps-x16.c",
1912 "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2recps-x20.c",
1913 "src/f32-sigmoid/gen/neonfma-rr1-p5-nr2recps-x24.c",
Marat Dukhan2fa7a0c2020-12-06 19:09:02 -08001914 "src/f32-spmm/gen/4x1-minmax-neonfma-pipelined.c",
1915 "src/f32-spmm/gen/4x1-minmax-neonfma-x2.c",
1916 "src/f32-spmm/gen/4x1-minmax-neonfma.c",
1917 "src/f32-spmm/gen/8x1-minmax-neonfma-pipelined.c",
1918 "src/f32-spmm/gen/8x1-minmax-neonfma-x2.c",
1919 "src/f32-spmm/gen/8x1-minmax-neonfma.c",
1920 "src/f32-spmm/gen/12x1-minmax-neonfma.c",
1921 "src/f32-spmm/gen/16x1-minmax-neonfma-pipelined.c",
1922 "src/f32-spmm/gen/16x1-minmax-neonfma-x2.c",
1923 "src/f32-spmm/gen/16x1-minmax-neonfma.c",
1924 "src/f32-spmm/gen/32x1-minmax-neonfma-pipelined.c",
1925 "src/f32-spmm/gen/32x1-minmax-neonfma-x2.c",
1926 "src/f32-spmm/gen/32x1-minmax-neonfma.c",
Marat Dukhaned6baaf2020-12-01 15:07:08 -08001927 "src/f32-velu/gen/velu-neonfma-rr1-lut16-p3-x4.c",
1928 "src/f32-velu/gen/velu-neonfma-rr1-lut16-p3-x8.c",
1929 "src/f32-velu/gen/velu-neonfma-rr1-lut16-p3-x12.c",
1930 "src/f32-velu/gen/velu-neonfma-rr1-lut16-p3-x16.c",
1931 "src/f32-velu/gen/velu-neonfma-rr1-lut16-p3-x20.c",
1932 "src/f32-velu/gen/velu-neonfma-rr1-lut16-p3-x24.c",
1933 "src/f32-velu/gen/velu-neonfma-rr1-p6-x4.c",
1934 "src/f32-velu/gen/velu-neonfma-rr1-p6-x8.c",
1935 "src/f32-velu/gen/velu-neonfma-rr1-p6-x12.c",
1936 "src/f32-velu/gen/velu-neonfma-rr1-p6-x16.c",
1937 "src/f32-velu/gen/velu-neonfma-rr1-p6-x20.c",
1938 "src/f32-velu/gen/velu-neonfma-rr1-p6-x24.c",
Marat Dukhan99936602020-04-11 16:47:01 -07001939 "src/f32-vmulcaddc/gen/c4-minmax-neonfma-2x.c",
1940 "src/f32-vmulcaddc/gen/c8-minmax-neonfma-2x.c",
Marat Dukhanf4db2f32020-06-30 10:55:30 -07001941 "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x4.c",
1942 "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x8.c",
1943 "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x12.c",
1944 "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x16.c",
1945 "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x20.c",
1946 "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x24.c",
1947 "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x28.c",
1948 "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x32.c",
1949 "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x36.c",
1950 "src/f32-vsqrt/gen/neonfma-nr1rsqrts1fma1adj-x40.c",
1951 "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x4.c",
1952 "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x8.c",
1953 "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x12.c",
1954 "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x16.c",
1955 "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x20.c",
1956 "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x24.c",
1957 "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x28.c",
1958 "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x32.c",
1959 "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x36.c",
1960 "src/f32-vsqrt/gen/neonfma-nr2fma1adj-x40.c",
Marat Dukhanb7633f22020-11-20 16:34:56 -08001961 "src/math/exp-neonfma-rr2-lut64-p2.c",
1962 "src/math/exp-neonfma-rr2-p5.c",
Frank Barcharde7223ee2020-12-04 19:04:01 -08001963 "src/math/expm1minus-neonfma-rr1-lut16-p3.c",
1964 "src/math/expm1minus-neonfma-rr1-p6.c",
Marat Dukhan9dd119a2020-11-20 18:20:04 -08001965 "src/math/expminus-neonfma-rr2-lut64-p2.c",
1966 "src/math/expminus-neonfma-rr2-lut2048-p1.c",
1967 "src/math/expminus-neonfma-rr2-p5.c",
Marat Dukhan77221d32020-01-06 10:04:39 -08001968 "src/math/sigmoid-neonfma-rr1-lut64-p2-nr1recps1fma.c",
1969 "src/math/sigmoid-neonfma-rr1-lut64-p2-nr2fma.c",
1970 "src/math/sigmoid-neonfma-rr1-lut64-p2-nr2recps.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001971 "src/math/sigmoid-neonfma-rr1-lut2048-p1-nr1recps1fma.c",
1972 "src/math/sigmoid-neonfma-rr1-lut2048-p1-nr2fma.c",
1973 "src/math/sigmoid-neonfma-rr1-lut2048-p1-nr2recps.c",
Marat Dukhan77221d32020-01-06 10:04:39 -08001974 "src/math/sigmoid-neonfma-rr1-p5-nr1recps1fma.c",
1975 "src/math/sigmoid-neonfma-rr1-p5-nr2fma.c",
1976 "src/math/sigmoid-neonfma-rr1-p5-nr2recps.c",
Marat Dukhan77221d32020-01-06 10:04:39 -08001977 "src/math/sigmoid-neonfma-rr2-lut64-p2-nr1recps1fma.c",
1978 "src/math/sigmoid-neonfma-rr2-lut64-p2-nr2fma.c",
1979 "src/math/sigmoid-neonfma-rr2-lut64-p2-nr2recps.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001980 "src/math/sigmoid-neonfma-rr2-lut2048-p1-nr1recps1fma.c",
1981 "src/math/sigmoid-neonfma-rr2-lut2048-p1-nr2fma.c",
1982 "src/math/sigmoid-neonfma-rr2-lut2048-p1-nr2recps.c",
Marat Dukhan77221d32020-01-06 10:04:39 -08001983 "src/math/sigmoid-neonfma-rr2-p5-nr1recps1fma.c",
1984 "src/math/sigmoid-neonfma-rr2-p5-nr2fma.c",
1985 "src/math/sigmoid-neonfma-rr2-p5-nr2recps.c",
Marat Dukhan84000762020-06-29 18:38:43 -07001986 "src/math/sqrt-neonfma-nr1fma.c",
Marat Dukhan84000762020-06-29 18:38:43 -07001987 "src/math/sqrt-neonfma-nr1rsqrts1fma1adj.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001988 "src/math/sqrt-neonfma-nr2fma.c",
1989 "src/math/sqrt-neonfma-nr2fma1adj.c",
1990 "src/math/sqrt-neonfma-nr3fma.c",
Marat Dukhan08c4a432019-10-03 09:29:21 -07001991]
1992
1993AARCH64_NEONFMA_UKERNELS = [
Marat Dukhan56b10cd2020-05-18 09:35:49 -07001994 "src/f32-conv-hwc/gen/3x3s2p0p1c3x4-neonfma-2x1.c",
Marat Dukhance7a3f82020-05-17 21:46:44 -07001995 "src/f32-conv-hwc/gen/3x3s2p0p1c3x4-neonfma-2x2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07001996 "src/f32-conv-hwc/gen/3x3s2p0p1c3x8-neonfma-2x1.c",
Marat Dukhance7a3f82020-05-17 21:46:44 -07001997 "src/f32-conv-hwc/gen/3x3s2p0p1c3x8-neonfma-2x2.c",
Marat Dukhan56b10cd2020-05-18 09:35:49 -07001998 "src/f32-conv-hwc/gen/3x3s2p1c3x4-neonfma-2x1.c",
Marat Dukhance7a3f82020-05-17 21:46:44 -07001999 "src/f32-conv-hwc/gen/3x3s2p1c3x4-neonfma-2x2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002000 "src/f32-conv-hwc/gen/3x3s2p1c3x8-neonfma-2x1.c",
Marat Dukhance7a3f82020-05-17 21:46:44 -07002001 "src/f32-conv-hwc/gen/3x3s2p1c3x8-neonfma-2x2.c",
Marat Dukhan1f29b802020-05-15 23:46:39 -07002002 "src/f32-conv-hwc2chw/3x3s2p1c3x4-neonfma-2x2.c",
Frank Barchard35db7d02020-10-26 13:37:34 -07002003 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-neonfma-1x4-acc2.c",
2004 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-neonfma-1x4-acc3.c",
2005 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-neonfma-1x4-acc4.c",
Marat Dukhan1268a242020-10-24 00:36:32 -07002006 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-neonfma-1x4.c",
Frank Barchard35db7d02020-10-26 13:37:34 -07002007 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-neonfma-2x4-acc2.c",
Marat Dukhan1268a242020-10-24 00:36:32 -07002008 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-neonfma-2x4.c",
2009 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-neonfma-3x4.c",
2010 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-neonfma-4x4.c",
2011 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-neonfma-5x4.c",
2012 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-neonfma-6x4.c",
Marat Dukhan82f0c322020-10-25 19:17:35 -07002013 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-neonfma-1x4-acc2.c",
2014 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-neonfma-1x4-acc3.c",
2015 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-neonfma-1x4-acc4.c",
Frank Barchard35db7d02020-10-26 13:37:34 -07002016 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-neonfma-1x4.c",
Marat Dukhan82f0c322020-10-25 19:17:35 -07002017 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-neonfma-2x4-acc2.c",
Frank Barchard35db7d02020-10-26 13:37:34 -07002018 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-neonfma-2x4.c",
2019 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-neonfma-3x4.c",
2020 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-neonfma-4x4.c",
Marat Dukhan149f0ea2020-10-26 12:50:33 -07002021 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-neonfma-1x4-acc2.c",
2022 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-neonfma-1x4-acc3.c",
2023 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-neonfma-1x4-acc4.c",
2024 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-neonfma-1x4-acc5.c",
Frank Barchard35db7d02020-10-26 13:37:34 -07002025 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-neonfma-1x4.c",
Marat Dukhan149f0ea2020-10-26 12:50:33 -07002026 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-neonfma-2x4-acc2.c",
2027 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-neonfma-2x4-acc3.c",
Frank Barchard35db7d02020-10-26 13:37:34 -07002028 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-neonfma-2x4.c",
Marat Dukhan149f0ea2020-10-26 12:50:33 -07002029 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-neonfma-3x4-acc2.c",
Frank Barchard35db7d02020-10-26 13:37:34 -07002030 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-neonfma-3x4.c",
Marat Dukhan149f0ea2020-10-26 12:50:33 -07002031 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-neonfma-4x4-acc2.c",
Frank Barchard35db7d02020-10-26 13:37:34 -07002032 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-neonfma-4x4.c",
2033 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-neonfma-5x4.c",
Marat Dukhan30d4b252020-10-29 16:33:22 -07002034 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-neonfma-1x4-acc2.c",
2035 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-neonfma-1x4-acc3.c",
2036 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-neonfma-1x4-acc4.c",
2037 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-neonfma-1x4-acc5.c",
2038 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-neonfma-1x4.c",
2039 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-neonfma-2x4-acc2.c",
2040 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-neonfma-2x4-acc3.c",
2041 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-neonfma-2x4.c",
Marat Dukhan30d4b252020-10-29 16:33:22 -07002042 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-neonfma-3x4-acc2.c",
Frank Barchardbeca6522020-10-30 22:34:35 -07002043 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-neonfma-3x4.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002044 "src/f32-gemm/gen-inc/1x8inc-minmax-neonfma-lane-ld64.c",
2045 "src/f32-gemm/gen-inc/4x8inc-minmax-neonfma-lane-ld64.c",
2046 "src/f32-gemm/gen-inc/4x8inc-minmax-neonfma-lane-ld128.c",
2047 "src/f32-gemm/gen-inc/5x8inc-minmax-neonfma-lane-ld64.c",
2048 "src/f32-gemm/gen-inc/6x8inc-minmax-neonfma-lane-ld64.c",
2049 "src/f32-gemm/gen-inc/6x8inc-minmax-neonfma-lane-ld128.c",
2050 "src/f32-gemm/gen/1x8-minmax-neonfma-lane-ld64.c",
2051 "src/f32-gemm/gen/4x2-minmax-neonfma-lane-ld64.c",
2052 "src/f32-gemm/gen/4x8-minmax-neonfma-lane-ld64.c",
2053 "src/f32-gemm/gen/4x8-minmax-neonfma-lane-ld128.c",
2054 "src/f32-gemm/gen/5x8-minmax-neonfma-lane-ld64.c",
2055 "src/f32-gemm/gen/6x8-minmax-neonfma-lane-ld64.c",
2056 "src/f32-gemm/gen/6x8-minmax-neonfma-lane-ld128.c",
2057 "src/f32-igemm/gen/1x8-minmax-neonfma-lane-ld64.c",
2058 "src/f32-igemm/gen/4x2-minmax-neonfma-lane-ld64.c",
2059 "src/f32-igemm/gen/4x4-minmax-neonfma-lane-ld64.c",
2060 "src/f32-igemm/gen/4x8-minmax-neonfma-lane-ld64.c",
2061 "src/f32-igemm/gen/4x8-minmax-neonfma-lane-ld128.c",
2062 "src/f32-igemm/gen/6x8-minmax-neonfma-lane-ld64.c",
2063 "src/f32-igemm/gen/6x8-minmax-neonfma-lane-ld128.c",
Marat Dukhan4a24a582020-01-06 13:30:00 -08002064 "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-div-x4.c",
2065 "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-div-x8.c",
2066 "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-div-x12.c",
2067 "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-div-x16.c",
2068 "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-div-x20.c",
2069 "src/f32-sigmoid/gen/neonfma-rr1-lut64-p2-div-x24.c",
2070 "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-div-x4.c",
2071 "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-div-x8.c",
2072 "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-div-x12.c",
2073 "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-div-x16.c",
2074 "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-div-x20.c",
2075 "src/f32-sigmoid/gen/neonfma-rr1-lut2048-p1-div-x24.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002076 "src/f32-sigmoid/gen/neonfma-rr1-p5-div-x4.c",
2077 "src/f32-sigmoid/gen/neonfma-rr1-p5-div-x8.c",
2078 "src/f32-sigmoid/gen/neonfma-rr1-p5-div-x12.c",
2079 "src/f32-sigmoid/gen/neonfma-rr1-p5-div-x16.c",
2080 "src/f32-sigmoid/gen/neonfma-rr1-p5-div-x20.c",
2081 "src/f32-sigmoid/gen/neonfma-rr1-p5-div-x24.c",
Marat Dukhan355ab432020-04-09 19:01:52 -07002082 "src/f32-spmm/gen/4x2-minmax-neonfma.c",
2083 "src/f32-spmm/gen/4x4-minmax-neonfma.c",
Marat Dukhan355ab432020-04-09 19:01:52 -07002084 "src/f32-spmm/gen/8x2-minmax-neonfma.c",
2085 "src/f32-spmm/gen/8x4-minmax-neonfma.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002086 "src/f32-spmm/gen/12x2-minmax-neonfma.c",
2087 "src/f32-spmm/gen/12x4-minmax-neonfma.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002088 "src/f32-spmm/gen/16x2-minmax-neonfma.c",
2089 "src/f32-spmm/gen/16x4-minmax-neonfma.c",
Frank Barchard846c0c62020-10-26 15:01:39 -07002090 "src/f32-spmm/gen/32x2-minmax-neonfma.c",
2091 "src/f32-spmm/gen/32x4-minmax-neonfma.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002092 "src/f32-vbinary/gen/vdiv-minmax-neon-x4.c",
2093 "src/f32-vbinary/gen/vdiv-minmax-neon-x8.c",
2094 "src/f32-vbinary/gen/vdivc-minmax-neon-x4.c",
2095 "src/f32-vbinary/gen/vdivc-minmax-neon-x8.c",
2096 "src/f32-vbinary/gen/vrdivc-minmax-neon-x4.c",
2097 "src/f32-vbinary/gen/vrdivc-minmax-neon-x8.c",
Marat Dukhanf4db2f32020-06-30 10:55:30 -07002098 "src/f32-vsqrt/gen/neon-sqrt-x4.c",
2099 "src/f32-vsqrt/gen/neon-sqrt-x8.c",
Marat Dukhan77221d32020-01-06 10:04:39 -08002100 "src/math/sigmoid-neonfma-rr1-lut64-p2-div.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002101 "src/math/sigmoid-neonfma-rr1-lut2048-p1-div.c",
Marat Dukhan77221d32020-01-06 10:04:39 -08002102 "src/math/sigmoid-neonfma-rr1-p5-div.c",
Marat Dukhan77221d32020-01-06 10:04:39 -08002103 "src/math/sigmoid-neonfma-rr2-lut64-p2-div.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002104 "src/math/sigmoid-neonfma-rr2-lut2048-p1-div.c",
Marat Dukhan77221d32020-01-06 10:04:39 -08002105 "src/math/sigmoid-neonfma-rr2-p5-div.c",
Marat Dukhan08c4a432019-10-03 09:29:21 -07002106]
2107
Marat Dukhan8853b822020-05-07 12:19:01 -07002108NEONV8_UKERNELS = [
Marat Dukhaneecf8fd2020-06-09 08:59:37 -07002109 "src/f32-vrnd/gen/vrndd-neonv8-x4.c",
2110 "src/f32-vrnd/gen/vrndd-neonv8-x8.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002111 "src/f32-vrnd/gen/vrndne-neonv8-x4.c",
2112 "src/f32-vrnd/gen/vrndne-neonv8-x8.c",
2113 "src/f32-vrnd/gen/vrndu-neonv8-x4.c",
2114 "src/f32-vrnd/gen/vrndu-neonv8-x8.c",
2115 "src/f32-vrnd/gen/vrndz-neonv8-x4.c",
2116 "src/f32-vrnd/gen/vrndz-neonv8-x8.c",
Marat Dukhanc9852ba2020-05-13 17:21:29 -07002117 "src/math/roundd-neonv8.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002118 "src/math/roundne-neonv8.c",
Marat Dukhanc9852ba2020-05-13 17:21:29 -07002119 "src/math/roundu-neonv8.c",
Marat Dukhan2dbb9442020-05-12 20:43:43 -07002120 "src/math/roundz-neonv8.c",
Marat Dukhan8853b822020-05-07 12:19:01 -07002121]
2122
Marat Dukhan08c4a432019-10-03 09:29:21 -07002123AARCH64_NEONFP16ARITH_UKERNELS = [
Frank Barchardb1966592020-05-12 13:47:06 -07002124 "src/f16-clamp/gen/neonfp16arith-x8.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002125 "src/f16-clamp/gen/neonfp16arith-x16.c",
Frank Barchard5a599a62020-06-04 20:12:44 -07002126 "src/f16-dwconv/gen/up8x4-minmax-neonfp16arith-acc2.c",
2127 "src/f16-dwconv/gen/up8x4-minmax-neonfp16arith.c",
2128 "src/f16-dwconv/gen/up8x9-minmax-neonfp16arith-acc2.c",
2129 "src/f16-dwconv/gen/up8x9-minmax-neonfp16arith.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002130 "src/f16-dwconv/gen/up8x25-minmax-neonfp16arith-acc2.c",
2131 "src/f16-dwconv/gen/up8x25-minmax-neonfp16arith.c",
2132 "src/f16-dwconv/gen/up16x4-minmax-neonfp16arith-acc2.c",
2133 "src/f16-dwconv/gen/up16x4-minmax-neonfp16arith.c",
2134 "src/f16-dwconv/gen/up16x9-minmax-neonfp16arith-acc2.c",
2135 "src/f16-dwconv/gen/up16x9-minmax-neonfp16arith.c",
2136 "src/f16-dwconv/gen/up16x25-minmax-neonfp16arith-acc2.c",
2137 "src/f16-dwconv/gen/up16x25-minmax-neonfp16arith.c",
Frank Barchard0bb49a72020-06-04 11:35:11 -07002138 "src/f16-gavgpool/7p7x-minmax-neonfp16arith-c8.c",
2139 "src/f16-gavgpool/7x-minmax-neonfp16arith-c8.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002140 "src/f16-gemm/gen-inc/1x8inc-minmax-neonfp16arith-ld64.c",
2141 "src/f16-gemm/gen-inc/1x16inc-minmax-neonfp16arith-ld64.c",
2142 "src/f16-gemm/gen-inc/4x8inc-minmax-neonfp16arith-ld64.c",
2143 "src/f16-gemm/gen-inc/4x16inc-minmax-neonfp16arith-ld64.c",
2144 "src/f16-gemm/gen-inc/6x8inc-minmax-neonfp16arith-ld64.c",
2145 "src/f16-gemm/gen-inc/6x16inc-minmax-neonfp16arith-ld64.c",
2146 "src/f16-gemm/gen-inc/8x8inc-minmax-neonfp16arith-ld64.c",
2147 "src/f16-gemm/gen-inc/8x16inc-minmax-neonfp16arith-ld64.c",
2148 "src/f16-gemm/gen/1x8-minmax-neonfp16arith-ld64.c",
2149 "src/f16-gemm/gen/1x16-minmax-neonfp16arith-ld64.c",
2150 "src/f16-gemm/gen/4x8-minmax-neonfp16arith-ld64.c",
2151 "src/f16-gemm/gen/4x16-minmax-neonfp16arith-ld64.c",
2152 "src/f16-gemm/gen/6x8-minmax-neonfp16arith-ld64.c",
2153 "src/f16-gemm/gen/6x16-minmax-neonfp16arith-ld64.c",
2154 "src/f16-gemm/gen/8x8-minmax-neonfp16arith-ld64.c",
2155 "src/f16-gemm/gen/8x16-minmax-neonfp16arith-ld64.c",
Marat Dukhanefaac272020-07-16 16:58:07 -07002156 "src/f16-hswish/gen/hswish-neonfp16arith-x8.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002157 "src/f16-hswish/gen/hswish-neonfp16arith-x16.c",
2158 "src/f16-igemm/gen/1x8-minmax-neonfp16arith-ld64.c",
2159 "src/f16-igemm/gen/1x16-minmax-neonfp16arith-ld64.c",
2160 "src/f16-igemm/gen/4x8-minmax-neonfp16arith-ld64.c",
2161 "src/f16-igemm/gen/4x16-minmax-neonfp16arith-ld64.c",
2162 "src/f16-igemm/gen/6x8-minmax-neonfp16arith-ld64.c",
2163 "src/f16-igemm/gen/6x16-minmax-neonfp16arith-ld64.c",
2164 "src/f16-igemm/gen/8x8-minmax-neonfp16arith-ld64.c",
2165 "src/f16-igemm/gen/8x16-minmax-neonfp16arith-ld64.c",
Frank Barchardb1966592020-05-12 13:47:06 -07002166 "src/f16-prelu/gen/neonfp16arith-2x8.c",
Frank Barcharda5316982020-07-23 13:19:28 -07002167 "src/f16-prelu/gen/neonfp16arith-2x16.c",
Frank Barchardfb158e22020-07-15 16:10:10 -07002168 "src/f16-relu/gen/neonfp16arith-x8.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002169 "src/f16-relu/gen/neonfp16arith-x16.c",
Frank Barchardbeca6522020-10-30 22:34:35 -07002170 "src/f16-spmm/gen/8x1-minmax-neonfp16arith-x2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002171 "src/f16-spmm/gen/8x1-minmax-neonfp16arith.c",
Frank Barchardbeca6522020-10-30 22:34:35 -07002172 "src/f16-spmm/gen/16x1-minmax-neonfp16arith-x2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002173 "src/f16-spmm/gen/16x1-minmax-neonfp16arith.c",
Frank Barchardbeca6522020-10-30 22:34:35 -07002174 "src/f16-spmm/gen/24x1-minmax-neonfp16arith-x2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002175 "src/f16-spmm/gen/24x1-minmax-neonfp16arith.c",
Frank Barchardbeca6522020-10-30 22:34:35 -07002176 "src/f16-spmm/gen/32x1-minmax-neonfp16arith-x2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002177 "src/f16-spmm/gen/32x1-minmax-neonfp16arith.c",
2178 "src/f16-vbinary/gen/vadd-minmax-neonfp16arith-x8.c",
2179 "src/f16-vbinary/gen/vadd-minmax-neonfp16arith-x16.c",
2180 "src/f16-vbinary/gen/vaddc-minmax-neonfp16arith-x8.c",
2181 "src/f16-vbinary/gen/vaddc-minmax-neonfp16arith-x16.c",
2182 "src/f16-vbinary/gen/vdiv-minmax-neonfp16arith-x8.c",
2183 "src/f16-vbinary/gen/vdiv-minmax-neonfp16arith-x16.c",
2184 "src/f16-vbinary/gen/vdivc-minmax-neonfp16arith-x8.c",
2185 "src/f16-vbinary/gen/vdivc-minmax-neonfp16arith-x16.c",
2186 "src/f16-vbinary/gen/vmax-neonfp16arith-x8.c",
2187 "src/f16-vbinary/gen/vmax-neonfp16arith-x16.c",
2188 "src/f16-vbinary/gen/vmaxc-neonfp16arith-x8.c",
2189 "src/f16-vbinary/gen/vmaxc-neonfp16arith-x16.c",
2190 "src/f16-vbinary/gen/vmin-neonfp16arith-x8.c",
2191 "src/f16-vbinary/gen/vmin-neonfp16arith-x16.c",
2192 "src/f16-vbinary/gen/vminc-neonfp16arith-x8.c",
2193 "src/f16-vbinary/gen/vminc-neonfp16arith-x16.c",
2194 "src/f16-vbinary/gen/vmul-minmax-neonfp16arith-x8.c",
2195 "src/f16-vbinary/gen/vmul-minmax-neonfp16arith-x16.c",
2196 "src/f16-vbinary/gen/vmulc-minmax-neonfp16arith-x8.c",
2197 "src/f16-vbinary/gen/vmulc-minmax-neonfp16arith-x16.c",
2198 "src/f16-vbinary/gen/vrdivc-minmax-neonfp16arith-x8.c",
2199 "src/f16-vbinary/gen/vrdivc-minmax-neonfp16arith-x16.c",
2200 "src/f16-vbinary/gen/vrsubc-minmax-neonfp16arith-x8.c",
2201 "src/f16-vbinary/gen/vrsubc-minmax-neonfp16arith-x16.c",
2202 "src/f16-vbinary/gen/vsub-minmax-neonfp16arith-x8.c",
2203 "src/f16-vbinary/gen/vsub-minmax-neonfp16arith-x16.c",
2204 "src/f16-vbinary/gen/vsubc-minmax-neonfp16arith-x8.c",
2205 "src/f16-vbinary/gen/vsubc-minmax-neonfp16arith-x16.c",
2206 "src/f16-vmulcaddc/gen/c8-minmax-neonfp16arith-2x.c",
2207 "src/f16-vmulcaddc/gen/c16-minmax-neonfp16arith-2x.c",
Marat Dukhan08c4a432019-10-03 09:29:21 -07002208]
2209
Benoit Jacoba9644732020-08-13 12:48:55 -07002210NEONDOT_UKERNELS = [
Marat Dukhand4c83032020-09-09 23:20:12 -07002211 "src/qs8-gemm/gen/1x8c4-minmax-neondot.c",
Marat Dukhand4c83032020-09-09 23:20:12 -07002212 "src/qs8-gemm/gen/1x16c4-minmax-neondot.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002213 "src/qs8-gemm/gen/4x8c4-minmax-neondot.c",
Benoit Jacoba9644732020-08-13 12:48:55 -07002214 "src/qs8-gemm/gen/4x16c4-minmax-neondot.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002215 "src/qs8-gemm/gen/6x8c4-minmax-neondot.c",
Frank Barchard2fa17452020-09-22 09:51:46 -07002216 "src/qs8-gemm/gen/6x16c4-minmax-neondot.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002217 "src/qs8-gemm/gen/8x8c4-minmax-neondot.c",
Frank Barcharda48848f2020-09-24 00:59:24 -07002218 "src/qs8-gemm/gen/8x16c4-minmax-neondot.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002219 "src/qs8-gemm/gen/12x8c4-minmax-neondot.c",
Marat Dukhand4c83032020-09-09 23:20:12 -07002220 "src/qs8-igemm/gen/1x8c4-minmax-neondot.c",
Marat Dukhand4c83032020-09-09 23:20:12 -07002221 "src/qs8-igemm/gen/1x16c4-minmax-neondot.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002222 "src/qs8-igemm/gen/4x8c4-minmax-neondot.c",
Benoit Jacoba05487f2020-08-14 13:37:21 -07002223 "src/qs8-igemm/gen/4x16c4-minmax-neondot.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002224 "src/qs8-igemm/gen/6x8c4-minmax-neondot.c",
Frank Barchard2fa17452020-09-22 09:51:46 -07002225 "src/qs8-igemm/gen/6x16c4-minmax-neondot.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002226 "src/qs8-igemm/gen/8x8c4-minmax-neondot.c",
Frank Barcharda48848f2020-09-24 00:59:24 -07002227 "src/qs8-igemm/gen/8x16c4-minmax-neondot.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002228 "src/qs8-igemm/gen/12x8c4-minmax-neondot.c",
Benoit Jacoba9644732020-08-13 12:48:55 -07002229]
2230
Marat Dukhan08c4a432019-10-03 09:29:21 -07002231SSE_UKERNELS = [
Marat Dukhan99936602020-04-11 16:47:01 -07002232 "src/f32-avgpool/9p8x-minmax-sse-c4.c",
2233 "src/f32-avgpool/9x-minmax-sse-c4.c",
Marat Dukhan5c5fa962020-03-10 18:38:33 -07002234 "src/f32-clamp/gen/sse-x4.c",
2235 "src/f32-clamp/gen/sse-x8.c",
Erich Elsenb1233402020-06-08 15:53:15 -07002236 "src/f32-conv-hwc2chw/3x3s2p1c3x4-sse-1x1.c",
2237 "src/f32-conv-hwc2chw/3x3s2p1c3x4-sse-2x2.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07002238 "src/f32-dwconv/gen/up4x4-minmax-sse-acc2.c",
2239 "src/f32-dwconv/gen/up4x4-minmax-sse.c",
2240 "src/f32-dwconv/gen/up4x9-minmax-sse-acc2.c",
2241 "src/f32-dwconv/gen/up4x9-minmax-sse.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002242 "src/f32-dwconv/gen/up4x25-minmax-sse-acc2.c",
2243 "src/f32-dwconv/gen/up4x25-minmax-sse.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07002244 "src/f32-dwconv/gen/up8x4-minmax-sse-acc2.c",
2245 "src/f32-dwconv/gen/up8x4-minmax-sse.c",
2246 "src/f32-dwconv/gen/up8x9-minmax-sse-acc2.c",
2247 "src/f32-dwconv/gen/up8x9-minmax-sse.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002248 "src/f32-dwconv/gen/up8x25-minmax-sse-acc2.c",
2249 "src/f32-dwconv/gen/up8x25-minmax-sse.c",
Frank Barchard35db7d02020-10-26 13:37:34 -07002250 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-sse-1x4-acc2.c",
2251 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-sse-1x4-acc3.c",
2252 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-sse-1x4-acc4.c",
Marat Dukhan470078a2020-10-23 22:36:52 -07002253 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-sse-1x4.c",
Frank Barchard35db7d02020-10-26 13:37:34 -07002254 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-sse-2x4-acc2.c",
Marat Dukhan470078a2020-10-23 22:36:52 -07002255 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-sse-2x4.c",
2256 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-sse-3x4.c",
2257 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-sse-4x4.c",
2258 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-sse-5x4.c",
2259 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-sse-6x4.c",
Marat Dukhan0ff97182020-10-25 19:14:03 -07002260 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-sse-1x4-acc2.c",
2261 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-sse-1x4-acc3.c",
2262 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-sse-1x4-acc4.c",
Frank Barchard35db7d02020-10-26 13:37:34 -07002263 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-sse-1x4.c",
Marat Dukhan0ff97182020-10-25 19:14:03 -07002264 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-sse-2x4-acc2.c",
Frank Barchard35db7d02020-10-26 13:37:34 -07002265 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-sse-2x4.c",
2266 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-sse-3x4.c",
2267 "src/f32-dwconv2d-chw/gen/3x3s2p1-minmax-sse-4x4.c",
Marat Dukhand0503892020-10-30 08:22:04 -07002268 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-sse-1x4-acc2.c",
2269 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-sse-1x4-acc3.c",
2270 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-sse-1x4-acc4.c",
2271 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-sse-1x4-acc5.c",
2272 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-sse-1x4.c",
2273 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-sse-2x4-acc2.c",
2274 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-sse-2x4-acc3.c",
2275 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-sse-2x4.c",
2276 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-sse-3x4-acc2.c",
2277 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-sse-3x4.c",
2278 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-sse-4x4-acc2.c",
2279 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-sse-4x4.c",
2280 "src/f32-dwconv2d-chw/gen/5x5p2-minmax-sse-5x4.c",
Marat Dukhanccca2142020-10-30 17:32:45 -07002281 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-sse-1x4-acc2.c",
2282 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-sse-1x4-acc3.c",
2283 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-sse-1x4-acc4.c",
2284 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-sse-1x4-acc5.c",
2285 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-sse-1x4.c",
2286 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-sse-2x4-acc2.c",
2287 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-sse-2x4-acc3.c",
2288 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-sse-2x4.c",
Marat Dukhanccca2142020-10-30 17:32:45 -07002289 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-sse-3x4-acc2.c",
Frank Barchard8ef44cd2020-11-03 12:30:23 -08002290 "src/f32-dwconv2d-chw/gen/5x5s2p2-minmax-sse-3x4.c",
Marat Dukhan1f29b802020-05-15 23:46:39 -07002291 "src/f32-gavgpool-cw/sse-x4.c",
Marat Dukhan99936602020-04-11 16:47:01 -07002292 "src/f32-gavgpool/7p7x-minmax-sse-c4.c",
2293 "src/f32-gavgpool/7x-minmax-sse-c4.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002294 "src/f32-gemm/gen-inc/1x8inc-minmax-sse-dup.c",
2295 "src/f32-gemm/gen-inc/1x8inc-minmax-sse-load1.c",
2296 "src/f32-gemm/gen-inc/1x8s4inc-minmax-sse.c",
Marat Dukhan802fcae2020-12-11 14:37:25 -08002297 "src/f32-gemm/gen-inc/3x8inc-minmax-sse-dup.c",
2298 "src/f32-gemm/gen-inc/3x8inc-minmax-sse-load1.c",
2299 "src/f32-gemm/gen-inc/3x8s4inc-minmax-sse.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002300 "src/f32-gemm/gen-inc/4x8inc-minmax-sse-dup.c",
2301 "src/f32-gemm/gen-inc/4x8inc-minmax-sse-load1.c",
2302 "src/f32-gemm/gen-inc/4x8s4inc-minmax-sse.c",
Marat Dukhan802fcae2020-12-11 14:37:25 -08002303 "src/f32-gemm/gen-inc/5x8inc-minmax-sse-dup.c",
2304 "src/f32-gemm/gen-inc/5x8inc-minmax-sse-load1.c",
2305 "src/f32-gemm/gen-inc/5x8s4inc-minmax-sse.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07002306 "src/f32-gemm/gen/1x8-minmax-sse-dup.c",
2307 "src/f32-gemm/gen/1x8-minmax-sse-load1.c",
2308 "src/f32-gemm/gen/1x8s4-minmax-sse.c",
Marat Dukhan802fcae2020-12-11 14:37:25 -08002309 "src/f32-gemm/gen/3x8-minmax-sse-dup.c",
2310 "src/f32-gemm/gen/3x8-minmax-sse-load1.c",
2311 "src/f32-gemm/gen/3x8s4-minmax-sse.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07002312 "src/f32-gemm/gen/4x2c4-minmax-sse.c",
2313 "src/f32-gemm/gen/4x8-minmax-sse-dup.c",
2314 "src/f32-gemm/gen/4x8-minmax-sse-load1.c",
2315 "src/f32-gemm/gen/4x8s4-minmax-sse.c",
Marat Dukhan802fcae2020-12-11 14:37:25 -08002316 "src/f32-gemm/gen/5x8-minmax-sse-dup.c",
2317 "src/f32-gemm/gen/5x8-minmax-sse-load1.c",
2318 "src/f32-gemm/gen/5x8s4-minmax-sse.c",
Marat Dukhanefaac272020-07-16 16:58:07 -07002319 "src/f32-hswish/gen/hswish-sse-x4.c",
2320 "src/f32-hswish/gen/hswish-sse-x8.c",
Marat Dukhan660fd192020-03-10 04:55:30 -07002321 "src/f32-ibilinear/gen/sse-c4.c",
2322 "src/f32-ibilinear/gen/sse-c8.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07002323 "src/f32-igemm/gen/1x8-minmax-sse-dup.c",
2324 "src/f32-igemm/gen/1x8-minmax-sse-load1.c",
2325 "src/f32-igemm/gen/1x8s4-minmax-sse.c",
Marat Dukhan802fcae2020-12-11 14:37:25 -08002326 "src/f32-igemm/gen/3x8-minmax-sse-dup.c",
2327 "src/f32-igemm/gen/3x8-minmax-sse-load1.c",
2328 "src/f32-igemm/gen/3x8s4-minmax-sse.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07002329 "src/f32-igemm/gen/4x2c4-minmax-sse.c",
2330 "src/f32-igemm/gen/4x8-minmax-sse-dup.c",
2331 "src/f32-igemm/gen/4x8-minmax-sse-load1.c",
2332 "src/f32-igemm/gen/4x8s4-minmax-sse.c",
Marat Dukhan802fcae2020-12-11 14:37:25 -08002333 "src/f32-igemm/gen/5x8-minmax-sse-dup.c",
2334 "src/f32-igemm/gen/5x8-minmax-sse-load1.c",
2335 "src/f32-igemm/gen/5x8s4-minmax-sse.c",
Marat Dukhan99936602020-04-11 16:47:01 -07002336 "src/f32-maxpool/9p8x-minmax-sse-c4.c",
2337 "src/f32-pavgpool/9p8x-minmax-sse-c4.c",
2338 "src/f32-pavgpool/9x-minmax-sse-c4.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07002339 "src/f32-ppmm/gen/4x8-minmax-sse.c",
Marat Dukhan39b5e942020-06-24 15:03:48 -07002340 "src/f32-prelu/gen/sse-2x4.c",
2341 "src/f32-prelu/gen/sse-2x8.c",
Frank Barchardfb158e22020-07-15 16:10:10 -07002342 "src/f32-relu/gen/sse-x4.c",
2343 "src/f32-relu/gen/sse-x8.c",
Marat Dukhan08c4a432019-10-03 09:29:21 -07002344 "src/f32-rmax/sse.c",
Marat Dukhan355ab432020-04-09 19:01:52 -07002345 "src/f32-spmm/gen/4x1-minmax-sse.c",
2346 "src/f32-spmm/gen/8x1-minmax-sse.c",
Erich Elsen6e80fdc2020-06-09 15:35:37 -07002347 "src/f32-spmm/gen/16x1-minmax-sse.c",
Frank Barchard846c0c62020-10-26 15:01:39 -07002348 "src/f32-spmm/gen/32x1-minmax-sse.c",
Marat Dukhan91cd2b72020-04-09 23:57:31 -07002349 "src/f32-vbinary/gen/vadd-minmax-sse-x4.c",
2350 "src/f32-vbinary/gen/vadd-minmax-sse-x8.c",
2351 "src/f32-vbinary/gen/vaddc-minmax-sse-x4.c",
2352 "src/f32-vbinary/gen/vaddc-minmax-sse-x8.c",
2353 "src/f32-vbinary/gen/vdiv-minmax-sse-x4.c",
2354 "src/f32-vbinary/gen/vdiv-minmax-sse-x8.c",
2355 "src/f32-vbinary/gen/vdivc-minmax-sse-x4.c",
2356 "src/f32-vbinary/gen/vdivc-minmax-sse-x8.c",
Marat Dukhan403b7d42019-12-05 12:49:11 -08002357 "src/f32-vbinary/gen/vmax-sse-x4.c",
2358 "src/f32-vbinary/gen/vmax-sse-x8.c",
2359 "src/f32-vbinary/gen/vmaxc-sse-x4.c",
2360 "src/f32-vbinary/gen/vmaxc-sse-x8.c",
2361 "src/f32-vbinary/gen/vmin-sse-x4.c",
2362 "src/f32-vbinary/gen/vmin-sse-x8.c",
2363 "src/f32-vbinary/gen/vminc-sse-x4.c",
2364 "src/f32-vbinary/gen/vminc-sse-x8.c",
Marat Dukhan91cd2b72020-04-09 23:57:31 -07002365 "src/f32-vbinary/gen/vmul-minmax-sse-x4.c",
2366 "src/f32-vbinary/gen/vmul-minmax-sse-x8.c",
2367 "src/f32-vbinary/gen/vmulc-minmax-sse-x4.c",
2368 "src/f32-vbinary/gen/vmulc-minmax-sse-x8.c",
2369 "src/f32-vbinary/gen/vrdivc-minmax-sse-x4.c",
2370 "src/f32-vbinary/gen/vrdivc-minmax-sse-x8.c",
2371 "src/f32-vbinary/gen/vrsubc-minmax-sse-x4.c",
2372 "src/f32-vbinary/gen/vrsubc-minmax-sse-x8.c",
Marat Dukhan13bafb02020-06-05 00:43:11 -07002373 "src/f32-vbinary/gen/vsqrdiff-sse-x4.c",
2374 "src/f32-vbinary/gen/vsqrdiff-sse-x8.c",
2375 "src/f32-vbinary/gen/vsqrdiffc-sse-x4.c",
2376 "src/f32-vbinary/gen/vsqrdiffc-sse-x8.c",
Marat Dukhan91cd2b72020-04-09 23:57:31 -07002377 "src/f32-vbinary/gen/vsub-minmax-sse-x4.c",
2378 "src/f32-vbinary/gen/vsub-minmax-sse-x8.c",
2379 "src/f32-vbinary/gen/vsubc-minmax-sse-x4.c",
2380 "src/f32-vbinary/gen/vsubc-minmax-sse-x8.c",
Marat Dukhan19dd91d2020-07-16 11:12:44 -07002381 "src/f32-vlrelu/gen/vlrelu-sse-x4.c",
2382 "src/f32-vlrelu/gen/vlrelu-sse-x8.c",
Marat Dukhan99936602020-04-11 16:47:01 -07002383 "src/f32-vmulcaddc/gen/c4-minmax-sse-2x.c",
2384 "src/f32-vmulcaddc/gen/c8-minmax-sse-2x.c",
Marat Dukhanf4db2f32020-06-30 10:55:30 -07002385 "src/f32-vsqrt/gen/sse-sqrt-x4.c",
2386 "src/f32-vsqrt/gen/sse-sqrt-x8.c",
Marat Dukhan5020b962020-06-08 13:30:10 -07002387 "src/f32-vunary/gen/vabs-sse-x4.c",
2388 "src/f32-vunary/gen/vabs-sse-x8.c",
2389 "src/f32-vunary/gen/vneg-sse-x4.c",
2390 "src/f32-vunary/gen/vneg-sse-x8.c",
2391 "src/f32-vunary/gen/vsqr-sse-x4.c",
2392 "src/f32-vunary/gen/vsqr-sse-x8.c",
Marat Dukhanc9852ba2020-05-13 17:21:29 -07002393 "src/math/roundd-sse-addsub.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002394 "src/math/roundne-sse-addsub.c",
Marat Dukhanc9852ba2020-05-13 17:21:29 -07002395 "src/math/roundu-sse-addsub.c",
Marat Dukhan2dbb9442020-05-12 20:43:43 -07002396 "src/math/roundz-sse-addsub.c",
Marat Dukhan84000762020-06-29 18:38:43 -07002397 "src/math/sqrt-sse-hh1mac.c",
2398 "src/math/sqrt-sse-nr1mac.c",
2399 "src/math/sqrt-sse-nr2mac.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002400 "src/x32-fill/sse.c",
2401 "src/x32-packx/x4-sse.c",
2402 "src/x32-pad/sse.c",
Marat Dukhan08c4a432019-10-03 09:29:21 -07002403]
2404
2405SSE2_UKERNELS = [
Marat Dukhan329da642019-11-19 21:44:39 -08002406 "src/f32-argmaxpool/4x-sse2-c4.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002407 "src/f32-argmaxpool/9p8x-sse2-c4.c",
Marat Dukhan329da642019-11-19 21:44:39 -08002408 "src/f32-argmaxpool/9x-sse2-c4.c",
Marat Dukhan802fcae2020-12-11 14:37:25 -08002409 "src/f32-gemm/gen-inc/1x8inc-minmax-sse2-dup.c",
2410 "src/f32-gemm/gen-inc/3x8inc-minmax-sse2-dup.c",
2411 "src/f32-gemm/gen-inc/4x8inc-minmax-sse2-dup.c",
2412 "src/f32-gemm/gen-inc/5x8inc-minmax-sse2-dup.c",
2413 "src/f32-gemm/gen/1x8-minmax-sse2-dup.c",
2414 "src/f32-gemm/gen/3x8-minmax-sse2-dup.c",
2415 "src/f32-gemm/gen/4x8-minmax-sse2-dup.c",
2416 "src/f32-gemm/gen/5x8-minmax-sse2-dup.c",
2417 "src/f32-igemm/gen/1x8-minmax-sse2-dup.c",
2418 "src/f32-igemm/gen/3x8-minmax-sse2-dup.c",
2419 "src/f32-igemm/gen/4x8-minmax-sse2-dup.c",
2420 "src/f32-igemm/gen/5x8-minmax-sse2-dup.c",
Marat Dukhan40a672f2019-11-25 03:08:22 -08002421 "src/f32-prelu/gen/sse2-2x4.c",
2422 "src/f32-prelu/gen/sse2-2x8.c",
Marat Dukhanb39689d2020-01-24 13:32:20 -08002423 "src/f32-raddstoreexpminusmax/gen/sse2-p5-x4.c",
Marat Dukhanb39689d2020-01-24 13:32:20 -08002424 "src/f32-raddstoreexpminusmax/gen/sse2-p5-x8-acc2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002425 "src/f32-raddstoreexpminusmax/gen/sse2-p5-x8.c",
Marat Dukhanb39689d2020-01-24 13:32:20 -08002426 "src/f32-raddstoreexpminusmax/gen/sse2-p5-x12-acc2.c",
2427 "src/f32-raddstoreexpminusmax/gen/sse2-p5-x12-acc3.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002428 "src/f32-raddstoreexpminusmax/gen/sse2-p5-x12.c",
Marat Dukhanb39689d2020-01-24 13:32:20 -08002429 "src/f32-raddstoreexpminusmax/gen/sse2-p5-x16-acc2.c",
2430 "src/f32-raddstoreexpminusmax/gen/sse2-p5-x16-acc4.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002431 "src/f32-raddstoreexpminusmax/gen/sse2-p5-x16.c",
Marat Dukhanb39689d2020-01-24 13:32:20 -08002432 "src/f32-raddstoreexpminusmax/gen/sse2-p5-x20-acc2.c",
2433 "src/f32-raddstoreexpminusmax/gen/sse2-p5-x20-acc5.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002434 "src/f32-raddstoreexpminusmax/gen/sse2-p5-x20.c",
Marat Dukhand243c1a2020-09-17 18:48:10 -07002435 "src/f32-sigmoid/gen/sse2-lut64-p2-div-x4.c",
2436 "src/f32-sigmoid/gen/sse2-lut64-p2-div-x8.c",
2437 "src/f32-sigmoid/gen/sse2-lut64-p2-div-x12.c",
2438 "src/f32-sigmoid/gen/sse2-lut64-p2-div-x16.c",
2439 "src/f32-sigmoid/gen/sse2-lut64-p2-div-x20.c",
2440 "src/f32-sigmoid/gen/sse2-lut64-p2-div-x24.c",
Marat Dukhan8d3c07e2020-01-02 01:20:59 -08002441 "src/f32-sigmoid/gen/sse2-p5-div-x4.c",
Marat Dukhan40a672f2019-11-25 03:08:22 -08002442 "src/f32-sigmoid/gen/sse2-p5-div-x8.c",
Marat Dukhan8d3c07e2020-01-02 01:20:59 -08002443 "src/f32-sigmoid/gen/sse2-p5-div-x12.c",
Marat Dukhan40a672f2019-11-25 03:08:22 -08002444 "src/f32-sigmoid/gen/sse2-p5-div-x16.c",
Marat Dukhan8d3c07e2020-01-02 01:20:59 -08002445 "src/f32-sigmoid/gen/sse2-p5-div-x20.c",
2446 "src/f32-sigmoid/gen/sse2-p5-div-x24.c",
Marat Dukhaned6baaf2020-12-01 15:07:08 -08002447 "src/f32-velu/gen/velu-sse2-rr2-lut16-p3-x4.c",
2448 "src/f32-velu/gen/velu-sse2-rr2-lut16-p3-x8.c",
2449 "src/f32-velu/gen/velu-sse2-rr2-lut16-p3-x12.c",
2450 "src/f32-velu/gen/velu-sse2-rr2-lut16-p3-x16.c",
2451 "src/f32-velu/gen/velu-sse2-rr2-lut16-p3-x20.c",
2452 "src/f32-velu/gen/velu-sse2-rr2-lut16-p3-x24.c",
2453 "src/f32-velu/gen/velu-sse2-rr2-p6-x4.c",
2454 "src/f32-velu/gen/velu-sse2-rr2-p6-x8.c",
2455 "src/f32-velu/gen/velu-sse2-rr2-p6-x12.c",
2456 "src/f32-velu/gen/velu-sse2-rr2-p6-x16.c",
2457 "src/f32-velu/gen/velu-sse2-rr2-p6-x20.c",
2458 "src/f32-velu/gen/velu-sse2-rr2-p6-x24.c",
Marat Dukhan19dd91d2020-07-16 11:12:44 -07002459 "src/f32-vlrelu/gen/vlrelu-sse2-x4.c",
2460 "src/f32-vlrelu/gen/vlrelu-sse2-x8.c",
Marat Dukhaneecf8fd2020-06-09 08:59:37 -07002461 "src/f32-vrnd/gen/vrndd-sse2-x4.c",
2462 "src/f32-vrnd/gen/vrndd-sse2-x8.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002463 "src/f32-vrnd/gen/vrndne-sse2-x4.c",
2464 "src/f32-vrnd/gen/vrndne-sse2-x8.c",
2465 "src/f32-vrnd/gen/vrndu-sse2-x4.c",
2466 "src/f32-vrnd/gen/vrndu-sse2-x8.c",
2467 "src/f32-vrnd/gen/vrndz-sse2-x4.c",
2468 "src/f32-vrnd/gen/vrndz-sse2-x8.c",
Marat Dukhanb7633f22020-11-20 16:34:56 -08002469 "src/math/exp-sse2-rr2-lut64-p2.c",
2470 "src/math/exp-sse2-rr2-p5.c",
Marat Dukhande390d42020-11-29 19:32:18 -08002471 "src/math/expm1minus-sse2-rr2-lut16-p3.c",
Marat Dukhana438aca2020-11-20 15:45:01 -08002472 "src/math/expm1minus-sse2-rr2-p6.c",
Frank Barchard3b800452020-11-22 12:12:35 -08002473 "src/math/expminus-sse2-rr2-p5.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002474 "src/math/roundd-sse2-cvt.c",
2475 "src/math/roundne-sse2-cvt.c",
2476 "src/math/roundu-sse2-cvt.c",
2477 "src/math/roundz-sse2-cvt.c",
2478 "src/math/sigmoid-sse2-rr2-lut64-p2-div.c",
2479 "src/math/sigmoid-sse2-rr2-lut64-p2-nr1.c",
2480 "src/math/sigmoid-sse2-rr2-lut64-p2-nr2.c",
2481 "src/math/sigmoid-sse2-rr2-p5-div.c",
2482 "src/math/sigmoid-sse2-rr2-p5-nr1.c",
2483 "src/math/sigmoid-sse2-rr2-p5-nr2.c",
Marat Dukhanf62bbdc2020-08-04 13:59:04 -07002484 "src/qs8-dwconv/gen/up8x9-minmax-sse2-mul16.c",
2485 "src/qs8-dwconv/gen/up16x9-minmax-sse2-mul16.c",
2486 "src/qs8-dwconv/gen/up24x9-minmax-sse2-mul16.c",
Marat Dukhan159688f2020-08-06 10:34:29 -07002487 "src/qs8-gavgpool/gen/7p7x-minmax-sse2-c8-acc2.c",
2488 "src/qs8-gavgpool/gen/7p7x-minmax-sse2-c16-acc2.c",
2489 "src/qs8-gavgpool/gen/7p7x-minmax-sse2-c24-acc2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002490 "src/qs8-gavgpool/gen/7x-minmax-sse2-c8-acc2.c",
2491 "src/qs8-gavgpool/gen/7x-minmax-sse2-c16-acc2.c",
2492 "src/qs8-gavgpool/gen/7x-minmax-sse2-c24-acc2.c",
Marat Dukhan14d3ce82020-07-31 16:19:15 -07002493 "src/qs8-gemm/gen/1x4c2-minmax-sse2-ld64.c",
Marat Dukhandee732b2020-07-31 17:32:04 -07002494 "src/qs8-gemm/gen/1x4c2-minmax-sse2-ld128.c",
Marat Dukhan683fab32020-08-03 19:42:52 -07002495 "src/qs8-gemm/gen/1x4c2-xw-minmax-sse2.c",
Marat Dukhan14d3ce82020-07-31 16:19:15 -07002496 "src/qs8-gemm/gen/1x4c8-minmax-sse2-ld64.c",
Marat Dukhandee732b2020-07-31 17:32:04 -07002497 "src/qs8-gemm/gen/1x4c8-minmax-sse2-ld128.c",
Marat Dukhan683fab32020-08-03 19:42:52 -07002498 "src/qs8-gemm/gen/1x4c8-xw-minmax-sse2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002499 "src/qs8-gemm/gen/2x4c8-minmax-sse2-ld64.c",
2500 "src/qs8-gemm/gen/2x4c8-minmax-sse2-ld128.c",
Marat Dukhan683fab32020-08-03 19:42:52 -07002501 "src/qs8-gemm/gen/2x4c8-xw-minmax-sse2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002502 "src/qs8-gemm/gen/3x4c8-minmax-sse2-ld64.c",
2503 "src/qs8-gemm/gen/3x4c8-minmax-sse2-ld128.c",
Marat Dukhan683fab32020-08-03 19:42:52 -07002504 "src/qs8-gemm/gen/3x4c8-xw-minmax-sse2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002505 "src/qs8-gemm/gen/4x4c2-minmax-sse2-ld64.c",
2506 "src/qs8-gemm/gen/4x4c2-minmax-sse2-ld128.c",
2507 "src/qs8-gemm/gen/4x4c2-xw-minmax-sse2.c",
Marat Dukhan14d3ce82020-07-31 16:19:15 -07002508 "src/qs8-igemm/gen/1x4c2-minmax-sse2-ld64.c",
Marat Dukhandee732b2020-07-31 17:32:04 -07002509 "src/qs8-igemm/gen/1x4c2-minmax-sse2-ld128.c",
Marat Dukhan07bd2522020-07-31 19:12:39 -07002510 "src/qs8-igemm/gen/1x4c8-minmax-sse2-ld64.c",
Marat Dukhan07bd2522020-07-31 19:12:39 -07002511 "src/qs8-igemm/gen/1x4c8-minmax-sse2-ld128.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002512 "src/qs8-igemm/gen/2x4c8-minmax-sse2-ld64.c",
Marat Dukhan07bd2522020-07-31 19:12:39 -07002513 "src/qs8-igemm/gen/2x4c8-minmax-sse2-ld128.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002514 "src/qs8-igemm/gen/3x4c8-minmax-sse2-ld64.c",
Marat Dukhane7edc802020-08-03 16:43:57 -07002515 "src/qs8-igemm/gen/3x4c8-minmax-sse2-ld128.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002516 "src/qs8-igemm/gen/4x4c2-minmax-sse2-ld64.c",
2517 "src/qs8-igemm/gen/4x4c2-minmax-sse2-ld128.c",
Marat Dukhanf62bbdc2020-08-04 13:59:04 -07002518 "src/qs8-requantization/fp32-sse2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002519 "src/qs8-requantization/precise-sse2.c",
Marat Dukhanf62bbdc2020-08-04 13:59:04 -07002520 "src/qs8-requantization/q31-sse2.c",
Marat Dukhand9f3ad42020-08-10 12:30:58 -07002521 "src/qs8-vadd/gen/minmax-sse2-mul16-ld64-x8.c",
2522 "src/qs8-vadd/gen/minmax-sse2-mul16-ld64-x16.c",
2523 "src/qs8-vadd/gen/minmax-sse2-mul16-ld64-x24.c",
2524 "src/qs8-vadd/gen/minmax-sse2-mul16-ld64-x32.c",
Marat Dukhan0270d9f2020-08-11 00:56:46 -07002525 "src/qs8-vaddc/gen/minmax-sse2-mul16-ld64-x8.c",
2526 "src/qs8-vaddc/gen/minmax-sse2-mul16-ld64-x16.c",
2527 "src/qs8-vaddc/gen/minmax-sse2-mul16-ld64-x24.c",
2528 "src/qs8-vaddc/gen/minmax-sse2-mul16-ld64-x32.c",
Marat Dukhan08b7a972020-07-14 18:17:29 -07002529 "src/qu8-avgpool/9p8x-minmax-sse2-c8.c",
2530 "src/qu8-avgpool/9x-minmax-sse2-c8.c",
Marat Dukhan08b7a972020-07-14 18:17:29 -07002531 "src/qu8-dwconv/up8x9-minmax-sse2.c",
2532 "src/qu8-gavgpool/7p7x-minmax-sse2-c8.c",
2533 "src/qu8-gavgpool/7x-minmax-sse2-c8.c",
2534 "src/qu8-gemm/2x4c8-minmax-sse2.c",
2535 "src/qu8-gemm/4x4c2-minmax-sse2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002536 "src/qu8-igemm/4x4c2-minmax-sse2.c",
Marat Dukhan5b69f8b2020-07-24 15:26:48 -07002537 "src/qu8-requantization/fp32-sse2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002538 "src/qu8-requantization/precise-sse2.c",
Marat Dukhan5b69f8b2020-07-24 15:26:48 -07002539 "src/qu8-requantization/q31-sse2.c",
Marat Dukhan08b7a972020-07-14 18:17:29 -07002540 "src/qu8-vadd/minmax-sse2.c",
Marat Dukhan5c5fa962020-03-10 18:38:33 -07002541 "src/u8-clamp/sse2-x64.c",
Marat Dukhan99936602020-04-11 16:47:01 -07002542 "src/u8-maxpool/9p8x-minmax-sse2-c16.c",
Marat Dukhan08c4a432019-10-03 09:29:21 -07002543 "src/u8-rmax/sse2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002544 "src/x8-zip/x2-sse2.c",
2545 "src/x8-zip/x3-sse2.c",
2546 "src/x8-zip/x4-sse2.c",
2547 "src/x8-zip/xm-sse2.c",
Marat Dukhan57dccd82020-04-14 00:53:10 -07002548 "src/x32-unpool/sse2.c",
Marat Dukhan08c4a432019-10-03 09:29:21 -07002549 "src/x32-zip/x2-sse2.c",
2550 "src/x32-zip/x3-sse2.c",
2551 "src/x32-zip/x4-sse2.c",
2552 "src/x32-zip/xm-sse2.c",
Marat Dukhanfe7acb62020-03-09 19:30:05 -07002553]
2554
2555SSSE3_UKERNELS = [
Frank Barchard35db7d02020-10-26 13:37:34 -07002556 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-ssse3-1x4-acc2.c",
2557 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-ssse3-1x4-acc3.c",
2558 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-ssse3-1x4-acc4.c",
Marat Dukhan98f2eeb2020-10-23 23:13:41 -07002559 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-ssse3-1x4.c",
Frank Barchard35db7d02020-10-26 13:37:34 -07002560 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-ssse3-2x4-acc2.c",
Marat Dukhan98f2eeb2020-10-23 23:13:41 -07002561 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-ssse3-2x4.c",
2562 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-ssse3-3x4.c",
2563 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-ssse3-4x4.c",
2564 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-ssse3-5x4.c",
2565 "src/f32-dwconv2d-chw/gen/3x3p1-minmax-ssse3-6x4.c",
Marat Dukhanf62bbdc2020-08-04 13:59:04 -07002566 "src/qs8-dwconv/gen/up8x9-minmax-ssse3-mul16.c",
2567 "src/qs8-dwconv/gen/up16x9-minmax-ssse3-mul16.c",
2568 "src/qs8-dwconv/gen/up24x9-minmax-ssse3-mul16.c",
Marat Dukhan159688f2020-08-06 10:34:29 -07002569 "src/qs8-gavgpool/gen/7p7x-minmax-ssse3-c8-acc2.c",
2570 "src/qs8-gavgpool/gen/7p7x-minmax-ssse3-c16-acc2.c",
2571 "src/qs8-gavgpool/gen/7p7x-minmax-ssse3-c24-acc2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002572 "src/qs8-gavgpool/gen/7x-minmax-ssse3-c8-acc2.c",
2573 "src/qs8-gavgpool/gen/7x-minmax-ssse3-c16-acc2.c",
2574 "src/qs8-gavgpool/gen/7x-minmax-ssse3-c24-acc2.c",
Marat Dukhan14d3ce82020-07-31 16:19:15 -07002575 "src/qs8-gemm/gen/1x4c2-minmax-ssse3-ld64.c",
Marat Dukhandee732b2020-07-31 17:32:04 -07002576 "src/qs8-gemm/gen/1x4c2-minmax-ssse3-ld128.c",
Marat Dukhan683fab32020-08-03 19:42:52 -07002577 "src/qs8-gemm/gen/1x4c2-xw-minmax-ssse3.c",
Marat Dukhan14d3ce82020-07-31 16:19:15 -07002578 "src/qs8-gemm/gen/1x4c8-minmax-ssse3-ld64.c",
Marat Dukhandee732b2020-07-31 17:32:04 -07002579 "src/qs8-gemm/gen/1x4c8-minmax-ssse3-ld128.c",
Marat Dukhan683fab32020-08-03 19:42:52 -07002580 "src/qs8-gemm/gen/1x4c8-xw-minmax-ssse3.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002581 "src/qs8-gemm/gen/2x4c8-minmax-ssse3-ld64.c",
2582 "src/qs8-gemm/gen/2x4c8-minmax-ssse3-ld128.c",
Marat Dukhan683fab32020-08-03 19:42:52 -07002583 "src/qs8-gemm/gen/2x4c8-xw-minmax-ssse3.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002584 "src/qs8-gemm/gen/3x4c8-minmax-ssse3-ld64.c",
2585 "src/qs8-gemm/gen/3x4c8-minmax-ssse3-ld128.c",
Marat Dukhan683fab32020-08-03 19:42:52 -07002586 "src/qs8-gemm/gen/3x4c8-xw-minmax-ssse3.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002587 "src/qs8-gemm/gen/4x4c2-minmax-ssse3-ld64.c",
2588 "src/qs8-gemm/gen/4x4c2-minmax-ssse3-ld128.c",
2589 "src/qs8-gemm/gen/4x4c2-xw-minmax-ssse3.c",
Marat Dukhan14d3ce82020-07-31 16:19:15 -07002590 "src/qs8-igemm/gen/1x4c2-minmax-ssse3-ld64.c",
Marat Dukhandee732b2020-07-31 17:32:04 -07002591 "src/qs8-igemm/gen/1x4c2-minmax-ssse3-ld128.c",
Marat Dukhan07bd2522020-07-31 19:12:39 -07002592 "src/qs8-igemm/gen/1x4c8-minmax-ssse3-ld64.c",
Marat Dukhan07bd2522020-07-31 19:12:39 -07002593 "src/qs8-igemm/gen/1x4c8-minmax-ssse3-ld128.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002594 "src/qs8-igemm/gen/2x4c8-minmax-ssse3-ld64.c",
Marat Dukhan07bd2522020-07-31 19:12:39 -07002595 "src/qs8-igemm/gen/2x4c8-minmax-ssse3-ld128.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002596 "src/qs8-igemm/gen/3x4c8-minmax-ssse3-ld64.c",
Marat Dukhane7edc802020-08-03 16:43:57 -07002597 "src/qs8-igemm/gen/3x4c8-minmax-ssse3-ld128.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002598 "src/qs8-igemm/gen/4x4c2-minmax-ssse3-ld64.c",
2599 "src/qs8-igemm/gen/4x4c2-minmax-ssse3-ld128.c",
Marat Dukhan2e23d2b2020-07-29 16:01:37 -07002600 "src/qs8-requantization/precise-ssse3.c",
2601 "src/qs8-requantization/q31-ssse3.c",
Marat Dukhan5b69f8b2020-07-24 15:26:48 -07002602 "src/qu8-requantization/precise-ssse3.c",
2603 "src/qu8-requantization/q31-ssse3.c",
Marat Dukhan08c4a432019-10-03 09:29:21 -07002604]
2605
Marat Dukhan69c3f2c2019-11-06 12:30:01 -08002606SSE41_UKERNELS = [
Marat Dukhan40a672f2019-11-25 03:08:22 -08002607 "src/f32-prelu/gen/sse41-2x4.c",
2608 "src/f32-prelu/gen/sse41-2x8.c",
Marat Dukhand243c1a2020-09-17 18:48:10 -07002609 "src/f32-sigmoid/gen/sse41-lut64-p2-div-x4.c",
2610 "src/f32-sigmoid/gen/sse41-lut64-p2-div-x8.c",
2611 "src/f32-sigmoid/gen/sse41-lut64-p2-div-x12.c",
2612 "src/f32-sigmoid/gen/sse41-lut64-p2-div-x16.c",
2613 "src/f32-sigmoid/gen/sse41-lut64-p2-div-x20.c",
2614 "src/f32-sigmoid/gen/sse41-lut64-p2-div-x24.c",
Marat Dukhan8d3c07e2020-01-02 01:20:59 -08002615 "src/f32-sigmoid/gen/sse41-p5-div-x4.c",
Marat Dukhan40a672f2019-11-25 03:08:22 -08002616 "src/f32-sigmoid/gen/sse41-p5-div-x8.c",
Marat Dukhan8d3c07e2020-01-02 01:20:59 -08002617 "src/f32-sigmoid/gen/sse41-p5-div-x12.c",
Marat Dukhan40a672f2019-11-25 03:08:22 -08002618 "src/f32-sigmoid/gen/sse41-p5-div-x16.c",
Marat Dukhan8d3c07e2020-01-02 01:20:59 -08002619 "src/f32-sigmoid/gen/sse41-p5-div-x20.c",
2620 "src/f32-sigmoid/gen/sse41-p5-div-x24.c",
Marat Dukhaned6baaf2020-12-01 15:07:08 -08002621 "src/f32-velu/gen/velu-sse41-rr2-lut16-p3-x4.c",
2622 "src/f32-velu/gen/velu-sse41-rr2-lut16-p3-x8.c",
2623 "src/f32-velu/gen/velu-sse41-rr2-lut16-p3-x12.c",
2624 "src/f32-velu/gen/velu-sse41-rr2-lut16-p3-x16.c",
2625 "src/f32-velu/gen/velu-sse41-rr2-lut16-p3-x20.c",
2626 "src/f32-velu/gen/velu-sse41-rr2-lut16-p3-x24.c",
2627 "src/f32-velu/gen/velu-sse41-rr2-p6-x4.c",
2628 "src/f32-velu/gen/velu-sse41-rr2-p6-x8.c",
2629 "src/f32-velu/gen/velu-sse41-rr2-p6-x12.c",
2630 "src/f32-velu/gen/velu-sse41-rr2-p6-x16.c",
2631 "src/f32-velu/gen/velu-sse41-rr2-p6-x20.c",
2632 "src/f32-velu/gen/velu-sse41-rr2-p6-x24.c",
Marat Dukhan19dd91d2020-07-16 11:12:44 -07002633 "src/f32-vlrelu/gen/vlrelu-sse41-x4.c",
2634 "src/f32-vlrelu/gen/vlrelu-sse41-x8.c",
Marat Dukhaneecf8fd2020-06-09 08:59:37 -07002635 "src/f32-vrnd/gen/vrndd-sse41-x4.c",
2636 "src/f32-vrnd/gen/vrndd-sse41-x8.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002637 "src/f32-vrnd/gen/vrndne-sse41-x4.c",
2638 "src/f32-vrnd/gen/vrndne-sse41-x8.c",
2639 "src/f32-vrnd/gen/vrndu-sse41-x4.c",
2640 "src/f32-vrnd/gen/vrndu-sse41-x8.c",
2641 "src/f32-vrnd/gen/vrndz-sse41-x4.c",
2642 "src/f32-vrnd/gen/vrndz-sse41-x8.c",
2643 "src/math/roundd-sse41.c",
2644 "src/math/roundne-sse41.c",
2645 "src/math/roundu-sse41.c",
2646 "src/math/roundz-sse41.c",
Marat Dukhanf62bbdc2020-08-04 13:59:04 -07002647 "src/qs8-dwconv/gen/up8x9-minmax-sse41-mul16.c",
2648 "src/qs8-dwconv/gen/up16x9-minmax-sse41-mul16.c",
2649 "src/qs8-dwconv/gen/up24x9-minmax-sse41-mul16.c",
Marat Dukhan159688f2020-08-06 10:34:29 -07002650 "src/qs8-gavgpool/gen/7p7x-minmax-sse41-c8-acc2.c",
2651 "src/qs8-gavgpool/gen/7p7x-minmax-sse41-c16-acc2.c",
2652 "src/qs8-gavgpool/gen/7p7x-minmax-sse41-c24-acc2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002653 "src/qs8-gavgpool/gen/7x-minmax-sse41-c8-acc2.c",
2654 "src/qs8-gavgpool/gen/7x-minmax-sse41-c16-acc2.c",
2655 "src/qs8-gavgpool/gen/7x-minmax-sse41-c24-acc2.c",
Marat Dukhan14d3ce82020-07-31 16:19:15 -07002656 "src/qs8-gemm/gen/1x4c2-minmax-sse41-ld64.c",
Marat Dukhandee732b2020-07-31 17:32:04 -07002657 "src/qs8-gemm/gen/1x4c2-minmax-sse41-ld128.c",
Marat Dukhan683fab32020-08-03 19:42:52 -07002658 "src/qs8-gemm/gen/1x4c2-xw-minmax-sse41.c",
Marat Dukhan14d3ce82020-07-31 16:19:15 -07002659 "src/qs8-gemm/gen/1x4c8-minmax-sse41-ld64.c",
Marat Dukhandee732b2020-07-31 17:32:04 -07002660 "src/qs8-gemm/gen/1x4c8-minmax-sse41-ld128.c",
Marat Dukhan683fab32020-08-03 19:42:52 -07002661 "src/qs8-gemm/gen/1x4c8-xw-minmax-sse41.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002662 "src/qs8-gemm/gen/2x4c8-minmax-sse41-ld64.c",
2663 "src/qs8-gemm/gen/2x4c8-minmax-sse41-ld128.c",
Marat Dukhan683fab32020-08-03 19:42:52 -07002664 "src/qs8-gemm/gen/2x4c8-xw-minmax-sse41.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002665 "src/qs8-gemm/gen/3x4c8-minmax-sse41-ld64.c",
2666 "src/qs8-gemm/gen/3x4c8-minmax-sse41-ld128.c",
Marat Dukhan683fab32020-08-03 19:42:52 -07002667 "src/qs8-gemm/gen/3x4c8-xw-minmax-sse41.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002668 "src/qs8-gemm/gen/4x4c2-minmax-sse41-ld64.c",
2669 "src/qs8-gemm/gen/4x4c2-minmax-sse41-ld128.c",
2670 "src/qs8-gemm/gen/4x4c2-xw-minmax-sse41.c",
Marat Dukhan14d3ce82020-07-31 16:19:15 -07002671 "src/qs8-igemm/gen/1x4c2-minmax-sse41-ld64.c",
Marat Dukhandee732b2020-07-31 17:32:04 -07002672 "src/qs8-igemm/gen/1x4c2-minmax-sse41-ld128.c",
Marat Dukhan07bd2522020-07-31 19:12:39 -07002673 "src/qs8-igemm/gen/1x4c8-minmax-sse41-ld64.c",
Marat Dukhan07bd2522020-07-31 19:12:39 -07002674 "src/qs8-igemm/gen/1x4c8-minmax-sse41-ld128.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002675 "src/qs8-igemm/gen/2x4c8-minmax-sse41-ld64.c",
Marat Dukhan07bd2522020-07-31 19:12:39 -07002676 "src/qs8-igemm/gen/2x4c8-minmax-sse41-ld128.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002677 "src/qs8-igemm/gen/3x4c8-minmax-sse41-ld64.c",
Marat Dukhane7edc802020-08-03 16:43:57 -07002678 "src/qs8-igemm/gen/3x4c8-minmax-sse41-ld128.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002679 "src/qs8-igemm/gen/4x4c2-minmax-sse41-ld64.c",
2680 "src/qs8-igemm/gen/4x4c2-minmax-sse41-ld128.c",
Marat Dukhan2e23d2b2020-07-29 16:01:37 -07002681 "src/qs8-requantization/fp32-sse4.c",
2682 "src/qs8-requantization/precise-sse4.c",
2683 "src/qs8-requantization/q31-sse4.c",
Marat Dukhand9f3ad42020-08-10 12:30:58 -07002684 "src/qs8-vadd/gen/minmax-sse41-mul16-ld64-x8.c",
2685 "src/qs8-vadd/gen/minmax-sse41-mul16-ld64-x16.c",
2686 "src/qs8-vadd/gen/minmax-sse41-mul16-ld64-x24.c",
2687 "src/qs8-vadd/gen/minmax-sse41-mul16-ld64-x32.c",
Marat Dukhanbb9225e2020-09-06 22:40:56 -07002688 "src/qs8-vadd/gen/minmax-sse41-mul32-ld32-x8.c",
2689 "src/qs8-vadd/gen/minmax-sse41-mul32-ld32-x16.c",
2690 "src/qs8-vadd/gen/minmax-sse41-mul32-ld32-x24.c",
2691 "src/qs8-vadd/gen/minmax-sse41-mul32-ld32-x32.c",
Marat Dukhan0270d9f2020-08-11 00:56:46 -07002692 "src/qs8-vaddc/gen/minmax-sse41-mul16-ld64-x8.c",
2693 "src/qs8-vaddc/gen/minmax-sse41-mul16-ld64-x16.c",
2694 "src/qs8-vaddc/gen/minmax-sse41-mul16-ld64-x24.c",
2695 "src/qs8-vaddc/gen/minmax-sse41-mul16-ld64-x32.c",
Marat Dukhanbb9225e2020-09-06 22:40:56 -07002696 "src/qs8-vaddc/gen/minmax-sse41-mul32-ld32-x8.c",
2697 "src/qs8-vaddc/gen/minmax-sse41-mul32-ld32-x16.c",
2698 "src/qs8-vaddc/gen/minmax-sse41-mul32-ld32-x24.c",
2699 "src/qs8-vaddc/gen/minmax-sse41-mul32-ld32-x32.c",
Marat Dukhan5b69f8b2020-07-24 15:26:48 -07002700 "src/qu8-requantization/precise-sse4.c",
2701 "src/qu8-requantization/q31-sse4.c",
Marat Dukhan69c3f2c2019-11-06 12:30:01 -08002702]
2703
Marat Dukhan08c4a432019-10-03 09:29:21 -07002704AVX_UKERNELS = [
Marat Dukhan5c5fa962020-03-10 18:38:33 -07002705 "src/f32-clamp/gen/avx-x8.c",
2706 "src/f32-clamp/gen/avx-x16.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07002707 "src/f32-dwconv/gen/up8x4-minmax-avx-acc2.c",
2708 "src/f32-dwconv/gen/up8x4-minmax-avx.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07002709 "src/f32-dwconv/gen/up8x9-minmax-avx-acc2.c",
2710 "src/f32-dwconv/gen/up8x9-minmax-avx.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07002711 "src/f32-dwconv/gen/up8x25-minmax-avx-acc2.c",
2712 "src/f32-dwconv/gen/up8x25-minmax-avx.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002713 "src/f32-dwconv/gen/up16x4-minmax-avx-acc2.c",
2714 "src/f32-dwconv/gen/up16x4-minmax-avx.c",
2715 "src/f32-dwconv/gen/up16x9-minmax-avx-acc2.c",
2716 "src/f32-dwconv/gen/up16x9-minmax-avx.c",
2717 "src/f32-dwconv/gen/up16x25-minmax-avx-acc2.c",
2718 "src/f32-dwconv/gen/up16x25-minmax-avx.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07002719 "src/f32-gemm/gen-inc/1x8inc-minmax-avx-broadcast.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07002720 "src/f32-gemm/gen-inc/1x16inc-minmax-avx-broadcast.c",
2721 "src/f32-gemm/gen-inc/3x16inc-minmax-avx-broadcast.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002722 "src/f32-gemm/gen-inc/4x8inc-minmax-avx-broadcast.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07002723 "src/f32-gemm/gen-inc/4x16inc-minmax-avx-broadcast.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002724 "src/f32-gemm/gen-inc/5x8inc-minmax-avx-broadcast.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07002725 "src/f32-gemm/gen-inc/5x16inc-minmax-avx-broadcast.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002726 "src/f32-gemm/gen-inc/6x8inc-minmax-avx-broadcast.c",
2727 "src/f32-gemm/gen-inc/7x8inc-minmax-avx-broadcast.c",
2728 "src/f32-gemm/gen/1x8-minmax-avx-broadcast.c",
2729 "src/f32-gemm/gen/1x16-minmax-avx-broadcast.c",
2730 "src/f32-gemm/gen/3x16-minmax-avx-broadcast.c",
2731 "src/f32-gemm/gen/4x8-minmax-avx-broadcast.c",
2732 "src/f32-gemm/gen/4x16-minmax-avx-broadcast.c",
2733 "src/f32-gemm/gen/5x8-minmax-avx-broadcast.c",
2734 "src/f32-gemm/gen/5x16-minmax-avx-broadcast.c",
2735 "src/f32-gemm/gen/6x8-minmax-avx-broadcast.c",
2736 "src/f32-gemm/gen/7x8-minmax-avx-broadcast.c",
Marat Dukhanefaac272020-07-16 16:58:07 -07002737 "src/f32-hswish/gen/hswish-avx-x8.c",
2738 "src/f32-hswish/gen/hswish-avx-x16.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07002739 "src/f32-igemm/gen/1x8-minmax-avx-broadcast.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07002740 "src/f32-igemm/gen/1x16-minmax-avx-broadcast.c",
2741 "src/f32-igemm/gen/3x16-minmax-avx-broadcast.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002742 "src/f32-igemm/gen/4x8-minmax-avx-broadcast.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07002743 "src/f32-igemm/gen/4x16-minmax-avx-broadcast.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002744 "src/f32-igemm/gen/5x8-minmax-avx-broadcast.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07002745 "src/f32-igemm/gen/5x16-minmax-avx-broadcast.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002746 "src/f32-igemm/gen/6x8-minmax-avx-broadcast.c",
2747 "src/f32-igemm/gen/7x8-minmax-avx-broadcast.c",
Marat Dukhan90eca0a2020-03-11 00:52:23 -07002748 "src/f32-prelu/gen/avx-2x8.c",
2749 "src/f32-prelu/gen/avx-2x16.c",
Frank Barchardfb158e22020-07-15 16:10:10 -07002750 "src/f32-relu/gen/avx-x8.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002751 "src/f32-relu/gen/avx-x16.c",
Marat Dukhan08c4a432019-10-03 09:29:21 -07002752 "src/f32-rmax/avx.c",
T.J. Alumbaughdc2b29c2020-10-14 13:56:08 -07002753 "src/f32-sigmoid/gen/avx-rr2-p5-div-x8.c",
2754 "src/f32-sigmoid/gen/avx-rr2-p5-div-x16.c",
2755 "src/f32-sigmoid/gen/avx-rr2-p5-div-x24.c",
2756 "src/f32-sigmoid/gen/avx-rr2-p5-div-x32.c",
2757 "src/f32-sigmoid/gen/avx-rr2-p5-div-x40.c",
2758 "src/f32-sigmoid/gen/avx-rr2-p5-div-x48.c",
2759 "src/f32-sigmoid/gen/avx-rr2-p5-div-x56.c",
2760 "src/f32-sigmoid/gen/avx-rr2-p5-div-x64.c",
2761 "src/f32-sigmoid/gen/avx-rr2-p5-div-x72.c",
2762 "src/f32-sigmoid/gen/avx-rr2-p5-div-x80.c",
2763 "src/f32-sigmoid/gen/avx-rr2-p5-nr2-x8.c",
2764 "src/f32-sigmoid/gen/avx-rr2-p5-nr2-x16.c",
2765 "src/f32-sigmoid/gen/avx-rr2-p5-nr2-x24.c",
2766 "src/f32-sigmoid/gen/avx-rr2-p5-nr2-x32.c",
2767 "src/f32-sigmoid/gen/avx-rr2-p5-nr2-x40.c",
2768 "src/f32-sigmoid/gen/avx-rr2-p5-nr2-x48.c",
2769 "src/f32-sigmoid/gen/avx-rr2-p5-nr2-x56.c",
2770 "src/f32-sigmoid/gen/avx-rr2-p5-nr2-x64.c",
2771 "src/f32-sigmoid/gen/avx-rr2-p5-nr2-x72.c",
2772 "src/f32-sigmoid/gen/avx-rr2-p5-nr2-x80.c",
Marat Dukhan91cd2b72020-04-09 23:57:31 -07002773 "src/f32-vbinary/gen/vadd-minmax-avx-x8.c",
2774 "src/f32-vbinary/gen/vadd-minmax-avx-x16.c",
2775 "src/f32-vbinary/gen/vaddc-minmax-avx-x8.c",
2776 "src/f32-vbinary/gen/vaddc-minmax-avx-x16.c",
2777 "src/f32-vbinary/gen/vdiv-minmax-avx-x8.c",
2778 "src/f32-vbinary/gen/vdiv-minmax-avx-x16.c",
2779 "src/f32-vbinary/gen/vdivc-minmax-avx-x8.c",
2780 "src/f32-vbinary/gen/vdivc-minmax-avx-x16.c",
Marat Dukhan9a88efe2019-12-10 15:54:24 -08002781 "src/f32-vbinary/gen/vmax-avx-x8.c",
2782 "src/f32-vbinary/gen/vmax-avx-x16.c",
2783 "src/f32-vbinary/gen/vmaxc-avx-x8.c",
2784 "src/f32-vbinary/gen/vmaxc-avx-x16.c",
2785 "src/f32-vbinary/gen/vmin-avx-x8.c",
2786 "src/f32-vbinary/gen/vmin-avx-x16.c",
2787 "src/f32-vbinary/gen/vminc-avx-x8.c",
2788 "src/f32-vbinary/gen/vminc-avx-x16.c",
Marat Dukhan91cd2b72020-04-09 23:57:31 -07002789 "src/f32-vbinary/gen/vmul-minmax-avx-x8.c",
2790 "src/f32-vbinary/gen/vmul-minmax-avx-x16.c",
2791 "src/f32-vbinary/gen/vmulc-minmax-avx-x8.c",
2792 "src/f32-vbinary/gen/vmulc-minmax-avx-x16.c",
2793 "src/f32-vbinary/gen/vrdivc-minmax-avx-x8.c",
2794 "src/f32-vbinary/gen/vrdivc-minmax-avx-x16.c",
2795 "src/f32-vbinary/gen/vrsubc-minmax-avx-x8.c",
2796 "src/f32-vbinary/gen/vrsubc-minmax-avx-x16.c",
Marat Dukhan13bafb02020-06-05 00:43:11 -07002797 "src/f32-vbinary/gen/vsqrdiff-avx-x8.c",
2798 "src/f32-vbinary/gen/vsqrdiff-avx-x16.c",
2799 "src/f32-vbinary/gen/vsqrdiffc-avx-x8.c",
2800 "src/f32-vbinary/gen/vsqrdiffc-avx-x16.c",
Marat Dukhan91cd2b72020-04-09 23:57:31 -07002801 "src/f32-vbinary/gen/vsub-minmax-avx-x8.c",
2802 "src/f32-vbinary/gen/vsub-minmax-avx-x16.c",
2803 "src/f32-vbinary/gen/vsubc-minmax-avx-x8.c",
2804 "src/f32-vbinary/gen/vsubc-minmax-avx-x16.c",
Marat Dukhaned6baaf2020-12-01 15:07:08 -08002805 "src/f32-velu/gen/velu-avx-rr2-lut4-p4-perm-x8.c",
2806 "src/f32-velu/gen/velu-avx-rr2-lut4-p4-perm-x16.c",
2807 "src/f32-velu/gen/velu-avx-rr2-lut4-p4-perm-x24.c",
2808 "src/f32-velu/gen/velu-avx-rr2-lut4-p4-perm-x32.c",
2809 "src/f32-velu/gen/velu-avx-rr2-lut4-p4-perm-x40.c",
2810 "src/f32-velu/gen/velu-avx-rr2-lut4-p4-perm-x48.c",
2811 "src/f32-velu/gen/velu-avx-rr2-lut16-p3-x8.c",
2812 "src/f32-velu/gen/velu-avx-rr2-lut16-p3-x16.c",
2813 "src/f32-velu/gen/velu-avx-rr2-lut16-p3-x24.c",
2814 "src/f32-velu/gen/velu-avx-rr2-lut16-p3-x32.c",
2815 "src/f32-velu/gen/velu-avx-rr2-lut16-p3-x40.c",
2816 "src/f32-velu/gen/velu-avx-rr2-lut16-p3-x48.c",
2817 "src/f32-velu/gen/velu-avx-rr2-p6-x8.c",
2818 "src/f32-velu/gen/velu-avx-rr2-p6-x16.c",
2819 "src/f32-velu/gen/velu-avx-rr2-p6-x24.c",
2820 "src/f32-velu/gen/velu-avx-rr2-p6-x32.c",
2821 "src/f32-velu/gen/velu-avx-rr2-p6-x40.c",
2822 "src/f32-velu/gen/velu-avx-rr2-p6-x48.c",
Marat Dukhan19dd91d2020-07-16 11:12:44 -07002823 "src/f32-vlrelu/gen/vlrelu-avx-x8.c",
2824 "src/f32-vlrelu/gen/vlrelu-avx-x16.c",
Marat Dukhaneecf8fd2020-06-09 08:59:37 -07002825 "src/f32-vrnd/gen/vrndd-avx-x8.c",
2826 "src/f32-vrnd/gen/vrndd-avx-x16.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002827 "src/f32-vrnd/gen/vrndne-avx-x8.c",
2828 "src/f32-vrnd/gen/vrndne-avx-x16.c",
2829 "src/f32-vrnd/gen/vrndu-avx-x8.c",
2830 "src/f32-vrnd/gen/vrndu-avx-x16.c",
2831 "src/f32-vrnd/gen/vrndz-avx-x8.c",
2832 "src/f32-vrnd/gen/vrndz-avx-x16.c",
Frank Barchardbeca6522020-10-30 22:34:35 -07002833 "src/f32-vscale/avx-x32.c",
Marat Dukhanf4db2f32020-06-30 10:55:30 -07002834 "src/f32-vsqrt/gen/avx-sqrt-x8.c",
2835 "src/f32-vsqrt/gen/avx-sqrt-x16.c",
Marat Dukhan5020b962020-06-08 13:30:10 -07002836 "src/f32-vunary/gen/vabs-avx-x8.c",
2837 "src/f32-vunary/gen/vabs-avx-x16.c",
2838 "src/f32-vunary/gen/vneg-avx-x8.c",
2839 "src/f32-vunary/gen/vneg-avx-x16.c",
2840 "src/f32-vunary/gen/vsqr-avx-x8.c",
2841 "src/f32-vunary/gen/vsqr-avx-x16.c",
Marat Dukhanb7633f22020-11-20 16:34:56 -08002842 "src/math/exp-avx-rr2-p5.c",
Marat Dukhande390d42020-11-29 19:32:18 -08002843 "src/math/expm1minus-avx-rr2-lut4-p4-perm.c",
2844 "src/math/expm1minus-avx-rr2-lut16-p3.c",
2845 "src/math/expm1minus-avx-rr2-p6.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002846 "src/math/sigmoid-avx-rr2-lut64-p2-div.c",
Marat Dukhan2e4727b2020-09-24 00:48:39 -07002847 "src/math/sigmoid-avx-rr2-p5-div.c",
Marat Dukhan39ab16f2020-10-16 14:30:35 -07002848 "src/math/sigmoid-avx-rr2-p5-nr1.c",
2849 "src/math/sigmoid-avx-rr2-p5-nr2.c",
Marat Dukhan08c4a432019-10-03 09:29:21 -07002850]
2851
Marat Dukhan1566fee2020-08-02 21:55:41 -07002852XOP_UKERNELS = [
2853 "src/qs8-gemm/gen/1x4c2-minmax-xop-ld64.c",
Marat Dukhan1566fee2020-08-02 21:55:41 -07002854 "src/qs8-gemm/gen/1x4c2-minmax-xop-ld128.c",
Marat Dukhan683fab32020-08-03 19:42:52 -07002855 "src/qs8-gemm/gen/1x4c2-xw-minmax-xop.c",
Marat Dukhan1566fee2020-08-02 21:55:41 -07002856 "src/qs8-gemm/gen/1x4c8-minmax-xop-ld64.c",
Marat Dukhan1566fee2020-08-02 21:55:41 -07002857 "src/qs8-gemm/gen/1x4c8-minmax-xop-ld128.c",
Marat Dukhan683fab32020-08-03 19:42:52 -07002858 "src/qs8-gemm/gen/1x4c8-xw-minmax-xop.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002859 "src/qs8-gemm/gen/2x4c8-minmax-xop-ld64.c",
2860 "src/qs8-gemm/gen/2x4c8-minmax-xop-ld128.c",
Marat Dukhan683fab32020-08-03 19:42:52 -07002861 "src/qs8-gemm/gen/2x4c8-xw-minmax-xop.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002862 "src/qs8-gemm/gen/3x4c8-minmax-xop-ld64.c",
2863 "src/qs8-gemm/gen/3x4c8-minmax-xop-ld128.c",
Marat Dukhan683fab32020-08-03 19:42:52 -07002864 "src/qs8-gemm/gen/3x4c8-xw-minmax-xop.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002865 "src/qs8-gemm/gen/4x4c2-minmax-xop-ld64.c",
2866 "src/qs8-gemm/gen/4x4c2-minmax-xop-ld128.c",
2867 "src/qs8-gemm/gen/4x4c2-xw-minmax-xop.c",
Marat Dukhan1566fee2020-08-02 21:55:41 -07002868 "src/qs8-igemm/gen/1x4c2-minmax-xop-ld64.c",
Marat Dukhan1566fee2020-08-02 21:55:41 -07002869 "src/qs8-igemm/gen/1x4c2-minmax-xop-ld128.c",
Marat Dukhan1566fee2020-08-02 21:55:41 -07002870 "src/qs8-igemm/gen/1x4c8-minmax-xop-ld64.c",
Marat Dukhan1566fee2020-08-02 21:55:41 -07002871 "src/qs8-igemm/gen/1x4c8-minmax-xop-ld128.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002872 "src/qs8-igemm/gen/2x4c8-minmax-xop-ld64.c",
Marat Dukhan1566fee2020-08-02 21:55:41 -07002873 "src/qs8-igemm/gen/2x4c8-minmax-xop-ld128.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002874 "src/qs8-igemm/gen/3x4c8-minmax-xop-ld64.c",
Marat Dukhane7edc802020-08-03 16:43:57 -07002875 "src/qs8-igemm/gen/3x4c8-minmax-xop-ld128.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002876 "src/qs8-igemm/gen/4x4c2-minmax-xop-ld64.c",
2877 "src/qs8-igemm/gen/4x4c2-minmax-xop-ld128.c",
Marat Dukhanbb9225e2020-09-06 22:40:56 -07002878 "src/qs8-vadd/gen/minmax-xop-mul32-ld32-x8.c",
2879 "src/qs8-vadd/gen/minmax-xop-mul32-ld32-x16.c",
2880 "src/qs8-vadd/gen/minmax-xop-mul32-ld32-x24.c",
2881 "src/qs8-vadd/gen/minmax-xop-mul32-ld32-x32.c",
2882 "src/qs8-vaddc/gen/minmax-xop-mul32-ld32-x8.c",
2883 "src/qs8-vaddc/gen/minmax-xop-mul32-ld32-x16.c",
2884 "src/qs8-vaddc/gen/minmax-xop-mul32-ld32-x24.c",
2885 "src/qs8-vaddc/gen/minmax-xop-mul32-ld32-x32.c",
Marat Dukhan1566fee2020-08-02 21:55:41 -07002886]
2887
Marat Dukhanfda12b82019-11-21 12:27:59 -08002888FMA3_UKERNELS = [
Marat Dukhan1c587112020-04-08 20:04:28 -07002889 "src/f32-dwconv/gen/up8x4-minmax-fma3-acc2.c",
2890 "src/f32-dwconv/gen/up8x4-minmax-fma3.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07002891 "src/f32-dwconv/gen/up8x9-minmax-fma3-acc2.c",
2892 "src/f32-dwconv/gen/up8x9-minmax-fma3.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07002893 "src/f32-dwconv/gen/up8x25-minmax-fma3-acc2.c",
2894 "src/f32-dwconv/gen/up8x25-minmax-fma3.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002895 "src/f32-dwconv/gen/up16x4-minmax-fma3-acc2.c",
2896 "src/f32-dwconv/gen/up16x4-minmax-fma3.c",
2897 "src/f32-dwconv/gen/up16x9-minmax-fma3-acc2.c",
2898 "src/f32-dwconv/gen/up16x9-minmax-fma3.c",
2899 "src/f32-dwconv/gen/up16x25-minmax-fma3-acc2.c",
2900 "src/f32-dwconv/gen/up16x25-minmax-fma3.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07002901 "src/f32-gemm/gen-inc/1x8inc-minmax-fma3-broadcast.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002902 "src/f32-gemm/gen-inc/1x16inc-minmax-fma3-broadcast.c",
2903 "src/f32-gemm/gen-inc/1x16s4inc-minmax-fma3-broadcast.c",
2904 "src/f32-gemm/gen-inc/3x16inc-minmax-fma3-broadcast.c",
2905 "src/f32-gemm/gen-inc/3x16s4inc-minmax-fma3-broadcast.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07002906 "src/f32-gemm/gen-inc/4x8inc-minmax-fma3-broadcast.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002907 "src/f32-gemm/gen-inc/4x16inc-minmax-fma3-broadcast.c",
2908 "src/f32-gemm/gen-inc/4x16s4inc-minmax-fma3-broadcast.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07002909 "src/f32-gemm/gen-inc/5x8inc-minmax-fma3-broadcast.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002910 "src/f32-gemm/gen-inc/5x16inc-minmax-fma3-broadcast.c",
2911 "src/f32-gemm/gen-inc/5x16s4inc-minmax-fma3-broadcast.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07002912 "src/f32-gemm/gen-inc/6x8inc-minmax-fma3-broadcast.c",
2913 "src/f32-gemm/gen-inc/7x8inc-minmax-fma3-broadcast.c",
2914 "src/f32-gemm/gen-inc/8x8inc-minmax-fma3-broadcast.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002915 "src/f32-gemm/gen/1x8-minmax-fma3-broadcast.c",
2916 "src/f32-gemm/gen/1x16-minmax-fma3-broadcast.c",
2917 "src/f32-gemm/gen/1x16s4-minmax-fma3-broadcast.c",
2918 "src/f32-gemm/gen/3x16-minmax-fma3-broadcast.c",
2919 "src/f32-gemm/gen/3x16s4-minmax-fma3-broadcast.c",
2920 "src/f32-gemm/gen/4x8-minmax-fma3-broadcast.c",
2921 "src/f32-gemm/gen/4x16-minmax-fma3-broadcast.c",
2922 "src/f32-gemm/gen/4x16s4-minmax-fma3-broadcast.c",
2923 "src/f32-gemm/gen/5x8-minmax-fma3-broadcast.c",
2924 "src/f32-gemm/gen/5x16-minmax-fma3-broadcast.c",
2925 "src/f32-gemm/gen/5x16s4-minmax-fma3-broadcast.c",
2926 "src/f32-gemm/gen/6x8-minmax-fma3-broadcast.c",
2927 "src/f32-gemm/gen/7x8-minmax-fma3-broadcast.c",
2928 "src/f32-gemm/gen/8x8-minmax-fma3-broadcast.c",
Marat Dukhanefaac272020-07-16 16:58:07 -07002929 "src/f32-hswish/gen/hswish-fma3-x8.c",
2930 "src/f32-hswish/gen/hswish-fma3-x16.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07002931 "src/f32-igemm/gen/1x8-minmax-fma3-broadcast.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002932 "src/f32-igemm/gen/1x16-minmax-fma3-broadcast.c",
2933 "src/f32-igemm/gen/1x16s4-minmax-fma3-broadcast.c",
2934 "src/f32-igemm/gen/3x16-minmax-fma3-broadcast.c",
2935 "src/f32-igemm/gen/3x16s4-minmax-fma3-broadcast.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07002936 "src/f32-igemm/gen/4x8-minmax-fma3-broadcast.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002937 "src/f32-igemm/gen/4x16-minmax-fma3-broadcast.c",
2938 "src/f32-igemm/gen/4x16s4-minmax-fma3-broadcast.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07002939 "src/f32-igemm/gen/5x8-minmax-fma3-broadcast.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002940 "src/f32-igemm/gen/5x16-minmax-fma3-broadcast.c",
2941 "src/f32-igemm/gen/5x16s4-minmax-fma3-broadcast.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07002942 "src/f32-igemm/gen/6x8-minmax-fma3-broadcast.c",
2943 "src/f32-igemm/gen/7x8-minmax-fma3-broadcast.c",
2944 "src/f32-igemm/gen/8x8-minmax-fma3-broadcast.c",
Marat Dukhanf4db2f32020-06-30 10:55:30 -07002945 "src/f32-vsqrt/gen/fma3-nr1fma1adj-x8.c",
2946 "src/f32-vsqrt/gen/fma3-nr1fma1adj-x16.c",
2947 "src/f32-vsqrt/gen/fma3-nr1fma1adj-x24.c",
2948 "src/f32-vsqrt/gen/fma3-nr1fma1adj-x32.c",
2949 "src/f32-vsqrt/gen/fma3-nr1fma1adj-x40.c",
2950 "src/f32-vsqrt/gen/fma3-nr1fma1adj-x48.c",
2951 "src/f32-vsqrt/gen/fma3-nr1fma1adj-x56.c",
2952 "src/f32-vsqrt/gen/fma3-nr1fma1adj-x64.c",
Marat Dukhan84000762020-06-29 18:38:43 -07002953 "src/math/sqrt-fma3-nr1fma.c",
Marat Dukhan84000762020-06-29 18:38:43 -07002954 "src/math/sqrt-fma3-nr1fma1adj.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002955 "src/math/sqrt-fma3-nr2fma.c",
Marat Dukhanfda12b82019-11-21 12:27:59 -08002956]
2957
Marat Dukhan6adff4e2019-10-14 18:32:07 -07002958AVX2_UKERNELS = [
Marat Dukhan4c4eb002019-12-08 21:27:49 -08002959 "src/f32-raddexpminusmax/gen/avx2-p5-x64-acc2.c",
2960 "src/f32-raddexpminusmax/gen/avx2-p5-x64-acc4.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002961 "src/f32-raddexpminusmax/gen/avx2-p5-x64.c",
Marat Dukhan4c4eb002019-12-08 21:27:49 -08002962 "src/f32-raddexpminusmax/gen/avx2-p5-x72-acc3.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002963 "src/f32-raddexpminusmax/gen/avx2-p5-x72.c",
Marat Dukhan4c4eb002019-12-08 21:27:49 -08002964 "src/f32-raddexpminusmax/gen/avx2-p5-x80-acc2.c",
2965 "src/f32-raddexpminusmax/gen/avx2-p5-x80-acc5.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002966 "src/f32-raddexpminusmax/gen/avx2-p5-x80.c",
Marat Dukhan4c4eb002019-12-08 21:27:49 -08002967 "src/f32-raddexpminusmax/gen/avx2-p5-x96-acc2.c",
2968 "src/f32-raddexpminusmax/gen/avx2-p5-x96-acc3.c",
2969 "src/f32-raddexpminusmax/gen/avx2-p5-x96-acc6.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002970 "src/f32-raddexpminusmax/gen/avx2-p5-x96.c",
Marat Dukhan4c4eb002019-12-08 21:27:49 -08002971 "src/f32-raddextexp/gen/avx2-p5-x64-acc2.c",
2972 "src/f32-raddextexp/gen/avx2-p5-x64-acc4.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002973 "src/f32-raddextexp/gen/avx2-p5-x64.c",
Marat Dukhan4c4eb002019-12-08 21:27:49 -08002974 "src/f32-raddextexp/gen/avx2-p5-x72-acc3.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002975 "src/f32-raddextexp/gen/avx2-p5-x72.c",
Marat Dukhan4c4eb002019-12-08 21:27:49 -08002976 "src/f32-raddextexp/gen/avx2-p5-x80-acc2.c",
2977 "src/f32-raddextexp/gen/avx2-p5-x80-acc5.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002978 "src/f32-raddextexp/gen/avx2-p5-x80.c",
Marat Dukhan4c4eb002019-12-08 21:27:49 -08002979 "src/f32-raddextexp/gen/avx2-p5-x96-acc2.c",
2980 "src/f32-raddextexp/gen/avx2-p5-x96-acc3.c",
2981 "src/f32-raddextexp/gen/avx2-p5-x96-acc6.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002982 "src/f32-raddextexp/gen/avx2-p5-x96.c",
Marat Dukhan4c4eb002019-12-08 21:27:49 -08002983 "src/f32-raddstoreexpminusmax/gen/avx2-p5-x64-acc2.c",
2984 "src/f32-raddstoreexpminusmax/gen/avx2-p5-x64-acc4.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002985 "src/f32-raddstoreexpminusmax/gen/avx2-p5-x64.c",
Marat Dukhan4c4eb002019-12-08 21:27:49 -08002986 "src/f32-raddstoreexpminusmax/gen/avx2-p5-x72-acc3.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002987 "src/f32-raddstoreexpminusmax/gen/avx2-p5-x72.c",
Marat Dukhan4c4eb002019-12-08 21:27:49 -08002988 "src/f32-raddstoreexpminusmax/gen/avx2-p5-x80-acc2.c",
2989 "src/f32-raddstoreexpminusmax/gen/avx2-p5-x80-acc5.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002990 "src/f32-raddstoreexpminusmax/gen/avx2-p5-x80.c",
Marat Dukhan4c4eb002019-12-08 21:27:49 -08002991 "src/f32-raddstoreexpminusmax/gen/avx2-p5-x96-acc2.c",
2992 "src/f32-raddstoreexpminusmax/gen/avx2-p5-x96-acc3.c",
2993 "src/f32-raddstoreexpminusmax/gen/avx2-p5-x96-acc6.c",
Frank Barchard04336c12020-10-22 16:48:55 -07002994 "src/f32-raddstoreexpminusmax/gen/avx2-p5-x96.c",
Marat Dukhanfa0a4322020-01-06 16:14:29 -08002995 "src/f32-sigmoid/gen/avx2-rr1-p5-div-x8.c",
2996 "src/f32-sigmoid/gen/avx2-rr1-p5-div-x16.c",
2997 "src/f32-sigmoid/gen/avx2-rr1-p5-div-x24.c",
2998 "src/f32-sigmoid/gen/avx2-rr1-p5-div-x32.c",
2999 "src/f32-sigmoid/gen/avx2-rr1-p5-div-x40.c",
3000 "src/f32-sigmoid/gen/avx2-rr1-p5-div-x48.c",
3001 "src/f32-sigmoid/gen/avx2-rr1-p5-div-x56.c",
3002 "src/f32-sigmoid/gen/avx2-rr1-p5-div-x64.c",
3003 "src/f32-sigmoid/gen/avx2-rr1-p5-div-x72.c",
3004 "src/f32-sigmoid/gen/avx2-rr1-p5-div-x80.c",
3005 "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x8.c",
3006 "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x16.c",
3007 "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x24.c",
3008 "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x32.c",
3009 "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x40.c",
3010 "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x48.c",
3011 "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x56.c",
3012 "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x64.c",
3013 "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x72.c",
3014 "src/f32-sigmoid/gen/avx2-rr1-p5-nr1fma-x80.c",
3015 "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x8.c",
3016 "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x16.c",
3017 "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x24.c",
3018 "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x32.c",
3019 "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x40.c",
3020 "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x48.c",
3021 "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x56.c",
3022 "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x64.c",
3023 "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x72.c",
3024 "src/f32-sigmoid/gen/avx2-rr1-p5-nr2fma-x80.c",
Marat Dukhaned6baaf2020-12-01 15:07:08 -08003025 "src/f32-velu/gen/velu-avx2-rr1-lut4-p4-perm-x8.c",
3026 "src/f32-velu/gen/velu-avx2-rr1-lut4-p4-perm-x16.c",
3027 "src/f32-velu/gen/velu-avx2-rr1-lut4-p4-perm-x24.c",
3028 "src/f32-velu/gen/velu-avx2-rr1-lut4-p4-perm-x32.c",
3029 "src/f32-velu/gen/velu-avx2-rr1-lut4-p4-perm-x40.c",
3030 "src/f32-velu/gen/velu-avx2-rr1-lut4-p4-perm-x48.c",
3031 "src/f32-velu/gen/velu-avx2-rr1-lut4-p4-perm-x56.c",
3032 "src/f32-velu/gen/velu-avx2-rr1-lut4-p4-perm-x64.c",
3033 "src/f32-velu/gen/velu-avx2-rr1-lut4-p4-perm-x72.c",
3034 "src/f32-velu/gen/velu-avx2-rr1-lut4-p4-perm-x80.c",
3035 "src/f32-velu/gen/velu-avx2-rr1-lut8-p4-perm-x8.c",
3036 "src/f32-velu/gen/velu-avx2-rr1-lut8-p4-perm-x16.c",
3037 "src/f32-velu/gen/velu-avx2-rr1-lut8-p4-perm-x24.c",
3038 "src/f32-velu/gen/velu-avx2-rr1-lut8-p4-perm-x32.c",
3039 "src/f32-velu/gen/velu-avx2-rr1-lut8-p4-perm-x40.c",
3040 "src/f32-velu/gen/velu-avx2-rr1-lut8-p4-perm-x48.c",
3041 "src/f32-velu/gen/velu-avx2-rr1-lut8-p4-perm-x56.c",
3042 "src/f32-velu/gen/velu-avx2-rr1-lut8-p4-perm-x64.c",
3043 "src/f32-velu/gen/velu-avx2-rr1-lut8-p4-perm-x72.c",
3044 "src/f32-velu/gen/velu-avx2-rr1-lut8-p4-perm-x80.c",
3045 "src/f32-velu/gen/velu-avx2-rr1-lut16-p3-gather-x8.c",
3046 "src/f32-velu/gen/velu-avx2-rr1-lut16-p3-gather-x16.c",
3047 "src/f32-velu/gen/velu-avx2-rr1-lut16-p3-gather-x24.c",
3048 "src/f32-velu/gen/velu-avx2-rr1-lut16-p3-gather-x32.c",
3049 "src/f32-velu/gen/velu-avx2-rr1-lut16-p3-gather-x40.c",
3050 "src/f32-velu/gen/velu-avx2-rr1-lut16-p3-gather-x48.c",
3051 "src/f32-velu/gen/velu-avx2-rr1-lut16-p3-gather-x56.c",
3052 "src/f32-velu/gen/velu-avx2-rr1-lut16-p3-gather-x64.c",
3053 "src/f32-velu/gen/velu-avx2-rr1-lut16-p3-gather-x72.c",
3054 "src/f32-velu/gen/velu-avx2-rr1-lut16-p3-gather-x80.c",
3055 "src/f32-velu/gen/velu-avx2-rr1-p6-x8.c",
3056 "src/f32-velu/gen/velu-avx2-rr1-p6-x16.c",
3057 "src/f32-velu/gen/velu-avx2-rr1-p6-x24.c",
3058 "src/f32-velu/gen/velu-avx2-rr1-p6-x32.c",
3059 "src/f32-velu/gen/velu-avx2-rr1-p6-x40.c",
3060 "src/f32-velu/gen/velu-avx2-rr1-p6-x48.c",
3061 "src/f32-velu/gen/velu-avx2-rr1-p6-x56.c",
3062 "src/f32-velu/gen/velu-avx2-rr1-p6-x64.c",
3063 "src/f32-velu/gen/velu-avx2-rr1-p6-x72.c",
3064 "src/f32-velu/gen/velu-avx2-rr1-p6-x80.c",
Marat Dukhan4c4eb002019-12-08 21:27:49 -08003065 "src/f32-vscaleexpminusmax/gen/avx2-p5-x8.c",
3066 "src/f32-vscaleexpminusmax/gen/avx2-p5-x16.c",
3067 "src/f32-vscaleexpminusmax/gen/avx2-p5-x24.c",
3068 "src/f32-vscaleexpminusmax/gen/avx2-p5-x32.c",
3069 "src/f32-vscaleexpminusmax/gen/avx2-p5-x40.c",
3070 "src/f32-vscaleexpminusmax/gen/avx2-p5-x48.c",
3071 "src/f32-vscaleexpminusmax/gen/avx2-p5-x56.c",
3072 "src/f32-vscaleexpminusmax/gen/avx2-p5-x64.c",
3073 "src/f32-vscaleexpminusmax/gen/avx2-p5-x72.c",
3074 "src/f32-vscaleexpminusmax/gen/avx2-p5-x80.c",
3075 "src/f32-vscaleexpminusmax/gen/avx2-p5-x88.c",
3076 "src/f32-vscaleexpminusmax/gen/avx2-p5-x96.c",
3077 "src/f32-vscaleextexp/gen/avx2-p5-x8.c",
3078 "src/f32-vscaleextexp/gen/avx2-p5-x16.c",
3079 "src/f32-vscaleextexp/gen/avx2-p5-x24.c",
3080 "src/f32-vscaleextexp/gen/avx2-p5-x32.c",
3081 "src/f32-vscaleextexp/gen/avx2-p5-x40.c",
3082 "src/f32-vscaleextexp/gen/avx2-p5-x48.c",
3083 "src/f32-vscaleextexp/gen/avx2-p5-x56.c",
3084 "src/f32-vscaleextexp/gen/avx2-p5-x64.c",
3085 "src/f32-vscaleextexp/gen/avx2-p5-x72.c",
3086 "src/f32-vscaleextexp/gen/avx2-p5-x80.c",
3087 "src/f32-vscaleextexp/gen/avx2-p5-x88.c",
3088 "src/f32-vscaleextexp/gen/avx2-p5-x96.c",
Marat Dukhanb7633f22020-11-20 16:34:56 -08003089 "src/math/exp-avx2-rr2-lut8-p3-perm.c",
3090 "src/math/exp-avx2-rr2-lut8-p4-perm.c",
3091 "src/math/exp-avx2-rr2-p5.c",
Marat Dukhande390d42020-11-29 19:32:18 -08003092 "src/math/expm1minus-avx2-rr1-lut4-p4-perm.c",
3093 "src/math/expm1minus-avx2-rr1-lut8-p4-perm.c",
3094 "src/math/expm1minus-avx2-rr1-lut16-p3-gather.c",
3095 "src/math/expm1minus-avx2-rr1-p6.c",
Frank Barcharde7223ee2020-12-04 19:04:01 -08003096 "src/math/expminus-avx2-rr2-p5.c",
Frank Barchard04336c12020-10-22 16:48:55 -07003097 "src/math/extexp-avx2-p5.c",
3098 "src/math/sigmoid-avx2-rr1-lut64-p2-gather-div.c",
3099 "src/math/sigmoid-avx2-rr1-lut64-p2-gather-nr1fma.c",
3100 "src/math/sigmoid-avx2-rr1-lut64-p2-gather-nr2fma.c",
3101 "src/math/sigmoid-avx2-rr1-lut64-p2-gather-nr2fma1adj.c",
3102 "src/math/sigmoid-avx2-rr1-p5-div.c",
3103 "src/math/sigmoid-avx2-rr1-p5-nr1fma.c",
3104 "src/math/sigmoid-avx2-rr1-p5-nr2fma.c",
3105 "src/math/sigmoid-avx2-rr2-lut64-p2-gather-div.c",
3106 "src/math/sigmoid-avx2-rr2-lut64-p2-gather-nr1fma.c",
3107 "src/math/sigmoid-avx2-rr2-lut64-p2-gather-nr2fma.c",
3108 "src/math/sigmoid-avx2-rr2-lut64-p2-gather-nr2fma1adj.c",
3109 "src/math/sigmoid-avx2-rr2-p5-div.c",
3110 "src/math/sigmoid-avx2-rr2-p5-nr1fma.c",
3111 "src/math/sigmoid-avx2-rr2-p5-nr2fma.c",
Marat Dukhand65a1522020-08-04 19:28:18 -07003112 "src/qs8-dwconv/gen/up8x9-minmax-avx2-mul32.c",
Frank Barchard04336c12020-10-22 16:48:55 -07003113 "src/qs8-dwconv/gen/up16x9-minmax-avx2-mul16.c",
Marat Dukhand65a1522020-08-04 19:28:18 -07003114 "src/qs8-dwconv/gen/up16x9-minmax-avx2-mul32.c",
3115 "src/qs8-dwconv/gen/up24x9-minmax-avx2-mul32.c",
Frank Barchard04336c12020-10-22 16:48:55 -07003116 "src/qs8-dwconv/gen/up32x9-minmax-avx2-mul16.c",
Marat Dukhand65a1522020-08-04 19:28:18 -07003117 "src/qs8-dwconv/gen/up32x9-minmax-avx2-mul32.c",
Marat Dukhan12809522020-08-02 22:23:51 -07003118 "src/qs8-gemm/gen/1x8c8-minmax-avx2.c",
Marat Dukhan683fab32020-08-03 19:42:52 -07003119 "src/qs8-gemm/gen/1x8c8-xw-minmax-avx2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07003120 "src/qs8-gemm/gen/2x8c8-minmax-avx2.c",
Marat Dukhan683fab32020-08-03 19:42:52 -07003121 "src/qs8-gemm/gen/2x8c8-xw-minmax-avx2.c",
Frank Barchard04336c12020-10-22 16:48:55 -07003122 "src/qs8-gemm/gen/3x8c8-minmax-avx2.c",
Marat Dukhan683fab32020-08-03 19:42:52 -07003123 "src/qs8-gemm/gen/3x8c8-xw-minmax-avx2.c",
Marat Dukhan12809522020-08-02 22:23:51 -07003124 "src/qs8-igemm/gen/1x8c8-minmax-avx2.c",
3125 "src/qs8-igemm/gen/2x8c8-minmax-avx2.c",
3126 "src/qs8-igemm/gen/3x8c8-minmax-avx2.c",
Marat Dukhane6dc0b62020-09-08 23:57:14 -07003127 "src/qs8-vadd/gen/minmax-avx2-mul32-ld64-x8.c",
3128 "src/qs8-vadd/gen/minmax-avx2-mul32-ld64-x16.c",
3129 "src/qs8-vadd/gen/minmax-avx2-mul32-ld64-x24.c",
3130 "src/qs8-vadd/gen/minmax-avx2-mul32-ld64-x32.c",
3131 "src/qs8-vaddc/gen/minmax-avx2-mul32-ld64-x8.c",
3132 "src/qs8-vaddc/gen/minmax-avx2-mul32-ld64-x16.c",
3133 "src/qs8-vaddc/gen/minmax-avx2-mul32-ld64-x24.c",
3134 "src/qs8-vaddc/gen/minmax-avx2-mul32-ld64-x32.c",
Marat Dukhan6adff4e2019-10-14 18:32:07 -07003135]
3136
Marat Dukhan08c4a432019-10-03 09:29:21 -07003137AVX512F_UKERNELS = [
Marat Dukhan5c5fa962020-03-10 18:38:33 -07003138 "src/f32-clamp/gen/avx512f-x16.c",
3139 "src/f32-clamp/gen/avx512f-x32.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07003140 "src/f32-dwconv/gen/up16x4-minmax-avx512f-acc2.c",
3141 "src/f32-dwconv/gen/up16x4-minmax-avx512f.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07003142 "src/f32-dwconv/gen/up16x9-minmax-avx512f-acc2.c",
3143 "src/f32-dwconv/gen/up16x9-minmax-avx512f.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07003144 "src/f32-dwconv/gen/up16x25-minmax-avx512f-acc2.c",
3145 "src/f32-dwconv/gen/up16x25-minmax-avx512f.c",
Frank Barchard04336c12020-10-22 16:48:55 -07003146 "src/f32-dwconv/gen/up32x4-minmax-avx512f-acc2.c",
3147 "src/f32-dwconv/gen/up32x4-minmax-avx512f.c",
3148 "src/f32-dwconv/gen/up32x9-minmax-avx512f-acc2.c",
3149 "src/f32-dwconv/gen/up32x9-minmax-avx512f.c",
3150 "src/f32-dwconv/gen/up32x25-minmax-avx512f-acc2.c",
3151 "src/f32-dwconv/gen/up32x25-minmax-avx512f.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07003152 "src/f32-gemm/gen-inc/1x16inc-minmax-avx512f-broadcast.c",
3153 "src/f32-gemm/gen-inc/4x16inc-minmax-avx512f-broadcast.c",
3154 "src/f32-gemm/gen-inc/5x16inc-minmax-avx512f-broadcast.c",
3155 "src/f32-gemm/gen-inc/6x16inc-minmax-avx512f-broadcast.c",
3156 "src/f32-gemm/gen-inc/7x16inc-minmax-avx512f-broadcast.c",
3157 "src/f32-gemm/gen-inc/8x16inc-minmax-avx512f-broadcast.c",
Frank Barchard04336c12020-10-22 16:48:55 -07003158 "src/f32-gemm/gen/1x16-minmax-avx512f-broadcast.c",
3159 "src/f32-gemm/gen/4x16-minmax-avx512f-broadcast.c",
3160 "src/f32-gemm/gen/5x16-minmax-avx512f-broadcast.c",
3161 "src/f32-gemm/gen/6x16-minmax-avx512f-broadcast.c",
3162 "src/f32-gemm/gen/7x16-minmax-avx512f-broadcast.c",
3163 "src/f32-gemm/gen/8x16-minmax-avx512f-broadcast.c",
Marat Dukhanefaac272020-07-16 16:58:07 -07003164 "src/f32-hswish/gen/hswish-avx512f-x16.c",
3165 "src/f32-hswish/gen/hswish-avx512f-x32.c",
Marat Dukhan1c587112020-04-08 20:04:28 -07003166 "src/f32-igemm/gen/1x16-minmax-avx512f-broadcast.c",
3167 "src/f32-igemm/gen/4x16-minmax-avx512f-broadcast.c",
3168 "src/f32-igemm/gen/5x16-minmax-avx512f-broadcast.c",
3169 "src/f32-igemm/gen/6x16-minmax-avx512f-broadcast.c",
3170 "src/f32-igemm/gen/7x16-minmax-avx512f-broadcast.c",
3171 "src/f32-igemm/gen/8x16-minmax-avx512f-broadcast.c",
Marat Dukhan90eca0a2020-03-11 00:52:23 -07003172 "src/f32-prelu/gen/avx512f-2x16.c",
3173 "src/f32-prelu/gen/avx512f-2x32.c",
Marat Dukhan4c4eb002019-12-08 21:27:49 -08003174 "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x128-acc2.c",
3175 "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x128-acc4.c",
Frank Barchard04336c12020-10-22 16:48:55 -07003176 "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x128.c",
Marat Dukhan4c4eb002019-12-08 21:27:49 -08003177 "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x144-acc3.c",
Frank Barchard04336c12020-10-22 16:48:55 -07003178 "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x144.c",
Marat Dukhan4c4eb002019-12-08 21:27:49 -08003179 "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x160-acc2.c",
3180 "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x160-acc5.c",
Frank Barchard04336c12020-10-22 16:48:55 -07003181 "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x160.c",
Marat Dukhan4c4eb002019-12-08 21:27:49 -08003182 "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x192-acc2.c",
3183 "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x192-acc3.c",
3184 "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x192-acc6.c",
Frank Barchard04336c12020-10-22 16:48:55 -07003185 "src/f32-raddexpminusmax/gen/avx512f-p5-scalef-x192.c",
Marat Dukhan4c4eb002019-12-08 21:27:49 -08003186 "src/f32-raddextexp/gen/avx512f-p5-scalef-x128-acc2.c",
3187 "src/f32-raddextexp/gen/avx512f-p5-scalef-x128-acc4.c",
Frank Barchard04336c12020-10-22 16:48:55 -07003188 "src/f32-raddextexp/gen/avx512f-p5-scalef-x128.c",
Marat Dukhan4c4eb002019-12-08 21:27:49 -08003189 "src/f32-raddextexp/gen/avx512f-p5-scalef-x144-acc3.c",
Frank Barchard04336c12020-10-22 16:48:55 -07003190 "src/f32-raddextexp/gen/avx512f-p5-scalef-x144.c",
Marat Dukhan4c4eb002019-12-08 21:27:49 -08003191 "src/f32-raddextexp/gen/avx512f-p5-scalef-x160-acc2.c",
3192 "src/f32-raddextexp/gen/avx512f-p5-scalef-x160-acc5.c",
Frank Barchard04336c12020-10-22 16:48:55 -07003193 "src/f32-raddextexp/gen/avx512f-p5-scalef-x160.c",
Marat Dukhan4c4eb002019-12-08 21:27:49 -08003194 "src/f32-raddextexp/gen/avx512f-p5-scalef-x192-acc2.c",
3195 "src/f32-raddextexp/gen/avx512f-p5-scalef-x192-acc3.c",
3196 "src/f32-raddextexp/gen/avx512f-p5-scalef-x192-acc6.c",
Frank Barchard04336c12020-10-22 16:48:55 -07003197 "src/f32-raddextexp/gen/avx512f-p5-scalef-x192.c",
Marat Dukhan4c4eb002019-12-08 21:27:49 -08003198 "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x128-acc2.c",
3199 "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x128-acc4.c",
Frank Barchard04336c12020-10-22 16:48:55 -07003200 "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x128.c",
Marat Dukhan4c4eb002019-12-08 21:27:49 -08003201 "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x144-acc3.c",
Frank Barchard04336c12020-10-22 16:48:55 -07003202 "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x144.c",
Marat Dukhan4c4eb002019-12-08 21:27:49 -08003203 "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x160-acc2.c",
3204 "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x160-acc5.c",
Frank Barchard04336c12020-10-22 16:48:55 -07003205 "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x160.c",
Marat Dukhan4c4eb002019-12-08 21:27:49 -08003206 "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x192-acc2.c",
3207 "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x192-acc3.c",
3208 "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x192-acc6.c",
Frank Barchard04336c12020-10-22 16:48:55 -07003209 "src/f32-raddstoreexpminusmax/gen/avx512f-p5-scalef-x192.c",
Frank Barchardfb158e22020-07-15 16:10:10 -07003210 "src/f32-relu/gen/avx512f-x16.c",
3211 "src/f32-relu/gen/avx512f-x32.c",
Marat Dukhan08c4a432019-10-03 09:29:21 -07003212 "src/f32-rmax/avx512f.c",
Marat Dukhand9ca7e62020-09-23 23:45:29 -07003213 "src/f32-sigmoid/gen/avx512f-rr1-lut16-p3-perm-scalef-div-x16.c",
3214 "src/f32-sigmoid/gen/avx512f-rr1-lut16-p3-perm-scalef-div-x32.c",
3215 "src/f32-sigmoid/gen/avx512f-rr1-lut16-p3-perm-scalef-div-x48.c",
3216 "src/f32-sigmoid/gen/avx512f-rr1-lut16-p3-perm-scalef-div-x64.c",
3217 "src/f32-sigmoid/gen/avx512f-rr1-lut16-p3-perm-scalef-div-x80.c",
3218 "src/f32-sigmoid/gen/avx512f-rr1-lut16-p3-perm-scalef-div-x96.c",
3219 "src/f32-sigmoid/gen/avx512f-rr1-lut16-p3-perm-scalef-div-x112.c",
3220 "src/f32-sigmoid/gen/avx512f-rr1-lut16-p3-perm-scalef-div-x128.c",
3221 "src/f32-sigmoid/gen/avx512f-rr1-lut16-p3-perm-scalef-nr1fma-x16.c",
3222 "src/f32-sigmoid/gen/avx512f-rr1-lut16-p3-perm-scalef-nr1fma-x32.c",
3223 "src/f32-sigmoid/gen/avx512f-rr1-lut16-p3-perm-scalef-nr1fma-x48.c",
3224 "src/f32-sigmoid/gen/avx512f-rr1-lut16-p3-perm-scalef-nr1fma-x64.c",
3225 "src/f32-sigmoid/gen/avx512f-rr1-lut16-p3-perm-scalef-nr1fma-x80.c",
3226 "src/f32-sigmoid/gen/avx512f-rr1-lut16-p3-perm-scalef-nr1fma-x96.c",
3227 "src/f32-sigmoid/gen/avx512f-rr1-lut16-p3-perm-scalef-nr1fma-x112.c",
3228 "src/f32-sigmoid/gen/avx512f-rr1-lut16-p3-perm-scalef-nr1fma-x128.c",
Frank Barchard04336c12020-10-22 16:48:55 -07003229 "src/f32-sigmoid/gen/avx512f-rr1-p5-scalef-div-x16.c",
3230 "src/f32-sigmoid/gen/avx512f-rr1-p5-scalef-div-x32.c",
3231 "src/f32-sigmoid/gen/avx512f-rr1-p5-scalef-div-x48.c",
3232 "src/f32-sigmoid/gen/avx512f-rr1-p5-scalef-div-x64.c",
3233 "src/f32-sigmoid/gen/avx512f-rr1-p5-scalef-div-x80.c",
3234 "src/f32-sigmoid/gen/avx512f-rr1-p5-scalef-div-x96.c",
3235 "src/f32-sigmoid/gen/avx512f-rr1-p5-scalef-div-x112.c",
3236 "src/f32-sigmoid/gen/avx512f-rr1-p5-scalef-div-x128.c",
3237 "src/f32-sigmoid/gen/avx512f-rr1-p5-scalef-nr1fma-x16.c",
3238 "src/f32-sigmoid/gen/avx512f-rr1-p5-scalef-nr1fma-x32.c",
3239 "src/f32-sigmoid/gen/avx512f-rr1-p5-scalef-nr1fma-x48.c",
3240 "src/f32-sigmoid/gen/avx512f-rr1-p5-scalef-nr1fma-x64.c",
3241 "src/f32-sigmoid/gen/avx512f-rr1-p5-scalef-nr1fma-x80.c",
3242 "src/f32-sigmoid/gen/avx512f-rr1-p5-scalef-nr1fma-x96.c",
3243 "src/f32-sigmoid/gen/avx512f-rr1-p5-scalef-nr1fma-x112.c",
3244 "src/f32-sigmoid/gen/avx512f-rr1-p5-scalef-nr1fma-x128.c",
Marat Dukhand9ca7e62020-09-23 23:45:29 -07003245 "src/f32-sigmoid/gen/avx512f-rr2-lut32-p2-perm2-scalef-div-x16.c",
3246 "src/f32-sigmoid/gen/avx512f-rr2-lut32-p2-perm2-scalef-div-x32.c",
3247 "src/f32-sigmoid/gen/avx512f-rr2-lut32-p2-perm2-scalef-div-x48.c",
3248 "src/f32-sigmoid/gen/avx512f-rr2-lut32-p2-perm2-scalef-div-x64.c",
3249 "src/f32-sigmoid/gen/avx512f-rr2-lut32-p2-perm2-scalef-div-x80.c",
3250 "src/f32-sigmoid/gen/avx512f-rr2-lut32-p2-perm2-scalef-div-x96.c",
3251 "src/f32-sigmoid/gen/avx512f-rr2-lut32-p2-perm2-scalef-div-x112.c",
3252 "src/f32-sigmoid/gen/avx512f-rr2-lut32-p2-perm2-scalef-div-x128.c",
3253 "src/f32-sigmoid/gen/avx512f-rr2-lut32-p2-perm2-scalef-nr1fma-x16.c",
3254 "src/f32-sigmoid/gen/avx512f-rr2-lut32-p2-perm2-scalef-nr1fma-x32.c",
3255 "src/f32-sigmoid/gen/avx512f-rr2-lut32-p2-perm2-scalef-nr1fma-x48.c",
3256 "src/f32-sigmoid/gen/avx512f-rr2-lut32-p2-perm2-scalef-nr1fma-x64.c",
3257 "src/f32-sigmoid/gen/avx512f-rr2-lut32-p2-perm2-scalef-nr1fma-x80.c",
3258 "src/f32-sigmoid/gen/avx512f-rr2-lut32-p2-perm2-scalef-nr1fma-x96.c",
3259 "src/f32-sigmoid/gen/avx512f-rr2-lut32-p2-perm2-scalef-nr1fma-x112.c",
3260 "src/f32-sigmoid/gen/avx512f-rr2-lut32-p2-perm2-scalef-nr1fma-x128.c",
Marat Dukhan91cd2b72020-04-09 23:57:31 -07003261 "src/f32-vbinary/gen/vadd-minmax-avx512f-x16.c",
3262 "src/f32-vbinary/gen/vadd-minmax-avx512f-x32.c",
3263 "src/f32-vbinary/gen/vaddc-minmax-avx512f-x16.c",
3264 "src/f32-vbinary/gen/vaddc-minmax-avx512f-x32.c",
3265 "src/f32-vbinary/gen/vdiv-minmax-avx512f-x16.c",
3266 "src/f32-vbinary/gen/vdiv-minmax-avx512f-x32.c",
3267 "src/f32-vbinary/gen/vdivc-minmax-avx512f-x16.c",
3268 "src/f32-vbinary/gen/vdivc-minmax-avx512f-x32.c",
Marat Dukhan9a88efe2019-12-10 15:54:24 -08003269 "src/f32-vbinary/gen/vmax-avx512f-x16.c",
3270 "src/f32-vbinary/gen/vmax-avx512f-x32.c",
3271 "src/f32-vbinary/gen/vmaxc-avx512f-x16.c",
3272 "src/f32-vbinary/gen/vmaxc-avx512f-x32.c",
3273 "src/f32-vbinary/gen/vmin-avx512f-x16.c",
3274 "src/f32-vbinary/gen/vmin-avx512f-x32.c",
3275 "src/f32-vbinary/gen/vminc-avx512f-x16.c",
3276 "src/f32-vbinary/gen/vminc-avx512f-x32.c",
Marat Dukhan91cd2b72020-04-09 23:57:31 -07003277 "src/f32-vbinary/gen/vmul-minmax-avx512f-x16.c",
3278 "src/f32-vbinary/gen/vmul-minmax-avx512f-x32.c",
3279 "src/f32-vbinary/gen/vmulc-minmax-avx512f-x16.c",
3280 "src/f32-vbinary/gen/vmulc-minmax-avx512f-x32.c",
3281 "src/f32-vbinary/gen/vrdivc-minmax-avx512f-x16.c",
3282 "src/f32-vbinary/gen/vrdivc-minmax-avx512f-x32.c",
3283 "src/f32-vbinary/gen/vrsubc-minmax-avx512f-x16.c",
3284 "src/f32-vbinary/gen/vrsubc-minmax-avx512f-x32.c",
Marat Dukhan13bafb02020-06-05 00:43:11 -07003285 "src/f32-vbinary/gen/vsqrdiff-avx512f-x16.c",
3286 "src/f32-vbinary/gen/vsqrdiff-avx512f-x32.c",
3287 "src/f32-vbinary/gen/vsqrdiffc-avx512f-x16.c",
3288 "src/f32-vbinary/gen/vsqrdiffc-avx512f-x32.c",
Marat Dukhan91cd2b72020-04-09 23:57:31 -07003289 "src/f32-vbinary/gen/vsub-minmax-avx512f-x16.c",
3290 "src/f32-vbinary/gen/vsub-minmax-avx512f-x32.c",
3291 "src/f32-vbinary/gen/vsubc-minmax-avx512f-x16.c",
3292 "src/f32-vbinary/gen/vsubc-minmax-avx512f-x32.c",
Marat Dukhaned6baaf2020-12-01 15:07:08 -08003293 "src/f32-velu/gen/velu-avx512f-rr1-lut16-p3-perm-x16.c",
3294 "src/f32-velu/gen/velu-avx512f-rr1-lut16-p3-perm-x32.c",
3295 "src/f32-velu/gen/velu-avx512f-rr1-lut16-p3-perm-x48.c",
3296 "src/f32-velu/gen/velu-avx512f-rr1-lut16-p3-perm-x64.c",
3297 "src/f32-velu/gen/velu-avx512f-rr1-lut16-p3-perm-x80.c",
3298 "src/f32-velu/gen/velu-avx512f-rr1-lut16-p3-perm-x96.c",
3299 "src/f32-velu/gen/velu-avx512f-rr1-lut16-p3-perm-x112.c",
3300 "src/f32-velu/gen/velu-avx512f-rr1-lut16-p3-perm-x128.c",
3301 "src/f32-velu/gen/velu-avx512f-rr1-p6-x16.c",
3302 "src/f32-velu/gen/velu-avx512f-rr1-p6-x32.c",
3303 "src/f32-velu/gen/velu-avx512f-rr1-p6-x48.c",
3304 "src/f32-velu/gen/velu-avx512f-rr1-p6-x64.c",
3305 "src/f32-velu/gen/velu-avx512f-rr1-p6-x80.c",
3306 "src/f32-velu/gen/velu-avx512f-rr1-p6-x96.c",
3307 "src/f32-velu/gen/velu-avx512f-rr1-p6-x112.c",
3308 "src/f32-velu/gen/velu-avx512f-rr1-p6-x128.c",
Marat Dukhan19dd91d2020-07-16 11:12:44 -07003309 "src/f32-vlrelu/gen/vlrelu-avx512f-x16.c",
3310 "src/f32-vlrelu/gen/vlrelu-avx512f-x32.c",
Frank Barchard04336c12020-10-22 16:48:55 -07003311 "src/f32-vrnd/gen/vrndd-avx512f-x16.c",
3312 "src/f32-vrnd/gen/vrndd-avx512f-x32.c",
3313 "src/f32-vrnd/gen/vrndne-avx512f-x16.c",
3314 "src/f32-vrnd/gen/vrndne-avx512f-x32.c",
3315 "src/f32-vrnd/gen/vrndu-avx512f-x16.c",
3316 "src/f32-vrnd/gen/vrndu-avx512f-x32.c",
3317 "src/f32-vrnd/gen/vrndz-avx512f-x16.c",
3318 "src/f32-vrnd/gen/vrndz-avx512f-x32.c",
Frank Barchardbeca6522020-10-30 22:34:35 -07003319 "src/f32-vscale/avx512f-x64.c",
Marat Dukhan4c4eb002019-12-08 21:27:49 -08003320 "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x16.c",
3321 "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x32.c",
3322 "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x48.c",
3323 "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x64.c",
3324 "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x80.c",
3325 "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x96.c",
3326 "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x112.c",
3327 "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x128.c",
3328 "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x144.c",
3329 "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x160.c",
3330 "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x176.c",
3331 "src/f32-vscaleexpminusmax/gen/avx512f-p5-scalef-x192.c",
3332 "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x16.c",
3333 "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x32.c",
3334 "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x48.c",
3335 "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x64.c",
3336 "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x80.c",
3337 "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x96.c",
3338 "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x112.c",
3339 "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x128.c",
3340 "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x144.c",
3341 "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x160.c",
3342 "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x176.c",
3343 "src/f32-vscaleextexp/gen/avx512f-p5-scalef-x192.c",
Marat Dukhanf4db2f32020-06-30 10:55:30 -07003344 "src/f32-vsqrt/gen/avx512f-nr1fma1adj-x16.c",
3345 "src/f32-vsqrt/gen/avx512f-nr1fma1adj-x32.c",
3346 "src/f32-vsqrt/gen/avx512f-nr1fma1adj-x48.c",
3347 "src/f32-vsqrt/gen/avx512f-nr1fma1adj-x64.c",
3348 "src/f32-vsqrt/gen/avx512f-nr1fma1adj-x80.c",
3349 "src/f32-vsqrt/gen/avx512f-nr1fma1adj-x96.c",
3350 "src/f32-vsqrt/gen/avx512f-nr1fma1adj-x112.c",
3351 "src/f32-vsqrt/gen/avx512f-nr1fma1adj-x128.c",
Marat Dukhan5020b962020-06-08 13:30:10 -07003352 "src/f32-vunary/gen/vabs-avx512f-x16.c",
3353 "src/f32-vunary/gen/vabs-avx512f-x32.c",
3354 "src/f32-vunary/gen/vneg-avx512f-x16.c",
3355 "src/f32-vunary/gen/vneg-avx512f-x32.c",
3356 "src/f32-vunary/gen/vsqr-avx512f-x16.c",
3357 "src/f32-vunary/gen/vsqr-avx512f-x32.c",
Marat Dukhanb7633f22020-11-20 16:34:56 -08003358 "src/math/exp-avx512f-rr2-lut16-p3-perm-scalef.c",
3359 "src/math/exp-avx512f-rr2-lut16-p3-perm.c",
3360 "src/math/exp-avx512f-rr2-lut32-p2-perm2-scalef.c",
3361 "src/math/exp-avx512f-rr2-lut32-p2-perm2.c",
3362 "src/math/exp-avx512f-rr2-p5-scalef.c",
3363 "src/math/exp-avx512f-rr2-p5.c",
Marat Dukhande390d42020-11-29 19:32:18 -08003364 "src/math/expm1minus-avx512f-rr1-lut16-p3-perm.c",
3365 "src/math/expm1minus-avx512f-rr1-p6.c",
Marat Dukhan98ba4412019-10-23 02:14:28 -07003366 "src/math/extexp-avx512f-p5.c",
Marat Dukhan6a34c5f2020-09-22 21:44:15 -07003367 "src/math/sigmoid-avx512f-rr1-lut16-p3-perm-scalef-div.c",
Marat Dukhan6a34c5f2020-09-22 21:44:15 -07003368 "src/math/sigmoid-avx512f-rr1-lut16-p3-perm-scalef-nr1fma.c",
Frank Barchard04336c12020-10-22 16:48:55 -07003369 "src/math/sigmoid-avx512f-rr1-lut16-p3-perm-scalef-nr1fma1adj.c",
Marat Dukhan6a34c5f2020-09-22 21:44:15 -07003370 "src/math/sigmoid-avx512f-rr1-lut32-p2-perm2-scalef-div.c",
Marat Dukhan6a34c5f2020-09-22 21:44:15 -07003371 "src/math/sigmoid-avx512f-rr1-lut32-p2-perm2-scalef-nr1fma.c",
Frank Barchard04336c12020-10-22 16:48:55 -07003372 "src/math/sigmoid-avx512f-rr1-lut32-p2-perm2-scalef-nr1fma1adj.c",
Marat Dukhan36173d22020-10-15 17:14:26 -07003373 "src/math/sigmoid-avx512f-rr1-lut64-p2-gather-scalef-div.c",
Marat Dukhan36173d22020-10-15 17:14:26 -07003374 "src/math/sigmoid-avx512f-rr1-lut64-p2-gather-scalef-nr1fma.c",
Frank Barchard04336c12020-10-22 16:48:55 -07003375 "src/math/sigmoid-avx512f-rr1-lut64-p2-gather-scalef-nr1fma1adj.c",
3376 "src/math/sigmoid-avx512f-rr1-p5-scalef-div.c",
3377 "src/math/sigmoid-avx512f-rr1-p5-scalef-nr1fma.c",
3378 "src/math/sigmoid-avx512f-rr1-p5-scalef-nr1fma1adj.c",
3379 "src/math/sigmoid-avx512f-rr2-lut16-p3-perm-scalef-div.c",
3380 "src/math/sigmoid-avx512f-rr2-lut16-p3-perm-scalef-nr1fma.c",
3381 "src/math/sigmoid-avx512f-rr2-lut16-p3-perm-scalef-nr1fma1adj.c",
3382 "src/math/sigmoid-avx512f-rr2-lut32-p2-perm2-scalef-div.c",
3383 "src/math/sigmoid-avx512f-rr2-lut32-p2-perm2-scalef-nr1fma.c",
3384 "src/math/sigmoid-avx512f-rr2-lut32-p2-perm2-scalef-nr1fma1adj.c",
Marat Dukhan36173d22020-10-15 17:14:26 -07003385 "src/math/sigmoid-avx512f-rr2-lut64-p2-gather-scalef-div.c",
Marat Dukhan36173d22020-10-15 17:14:26 -07003386 "src/math/sigmoid-avx512f-rr2-lut64-p2-gather-scalef-nr1fma.c",
Frank Barchard04336c12020-10-22 16:48:55 -07003387 "src/math/sigmoid-avx512f-rr2-lut64-p2-gather-scalef-nr1fma1adj.c",
3388 "src/math/sigmoid-avx512f-rr2-p5-scalef-div.c",
3389 "src/math/sigmoid-avx512f-rr2-p5-scalef-nr1fma.c",
3390 "src/math/sigmoid-avx512f-rr2-p5-scalef-nr1fma1adj.c",
Marat Dukhan84000762020-06-29 18:38:43 -07003391 "src/math/sqrt-avx512f-nr1fma.c",
Marat Dukhan84000762020-06-29 18:38:43 -07003392 "src/math/sqrt-avx512f-nr1fma1adj.c",
Frank Barchard04336c12020-10-22 16:48:55 -07003393 "src/math/sqrt-avx512f-nr2fma.c",
Marat Dukhan08c4a432019-10-03 09:29:21 -07003394]
3395
Marat Dukhanbb00b1d2020-08-10 11:37:23 -07003396AVX512SKX_UKERNELS = [
Marat Dukhan2ffc5e62020-09-06 22:33:38 -07003397 "src/qs8-dwconv/gen/up16x9-minmax-avx512skx-mul32.c",
3398 "src/qs8-dwconv/gen/up32x9-minmax-avx512skx-mul32.c",
Marat Dukhanbb00b1d2020-08-10 11:37:23 -07003399 "src/qs8-gemm/gen/1x16c8-minmax-avx512skx.c",
3400 "src/qs8-gemm/gen/2x16c8-minmax-avx512skx.c",
3401 "src/qs8-gemm/gen/3x16c8-minmax-avx512skx.c",
3402 "src/qs8-gemm/gen/4x16c8-minmax-avx512skx.c",
3403 "src/qs8-igemm/gen/1x16c8-minmax-avx512skx.c",
3404 "src/qs8-igemm/gen/2x16c8-minmax-avx512skx.c",
3405 "src/qs8-igemm/gen/3x16c8-minmax-avx512skx.c",
3406 "src/qs8-igemm/gen/4x16c8-minmax-avx512skx.c",
3407]
3408
Frank Barchardbcedc082020-08-17 18:00:51 -07003409WASM32_ASM_UKERNELS = [
3410 "src/f32-relu/wasm_shr_x1.S",
3411 "src/f32-relu/wasm_shr_x2.S",
3412 "src/f32-relu/wasm_shr_x4.S",
3413]
3414
Marat Dukhan08c4a432019-10-03 09:29:21 -07003415AARCH32_ASM_UKERNELS = [
Marat Dukhan32f93812020-05-17 20:31:21 -07003416 "src/f32-gemm/4x4-aarch32-vfp-ld64.S",
Marat Dukhan3b98f6b2020-05-17 10:09:22 -07003417 "src/f32-gemm/4x4-minmax-aarch32-vfp-ld64.S",
Marat Dukhan1c587112020-04-08 20:04:28 -07003418 "src/f32-gemm/4x8-minmax-aarch32-neon-cortex-a53.S",
3419 "src/f32-gemm/4x8-minmax-aarch32-neon-cortex-a55.S",
Frank Barchard490febe2020-07-16 18:42:17 -07003420 "src/f32-gemm/gen/4x8-minmax-aarch32-neon-cortex-a7.S",
Marat Dukhan1c587112020-04-08 20:04:28 -07003421 "src/f32-gemm/gen/4x8-minmax-aarch32-neon-cortex-a75.S",
Frank Barchard569561d2020-06-17 13:11:12 -07003422 "src/f32-gemm/gen/4x8-minmax-aarch32-neon-ld64.S",
Frank Barchard490febe2020-07-16 18:42:17 -07003423 "src/f32-gemm/gen/4x8-minmax-aarch32-neon-pld-cortex-a75.S",
Marat Dukhan1c587112020-04-08 20:04:28 -07003424 "src/f32-igemm/4x8-minmax-aarch32-neon-cortex-a53.S",
3425 "src/f32-igemm/4x8-minmax-aarch32-neon-cortex-a55.S",
Frank Barchard490febe2020-07-16 18:42:17 -07003426 "src/f32-igemm/gen/4x8-minmax-aarch32-neon-cortex-a7.S",
3427 "src/f32-igemm/gen/4x8-minmax-aarch32-neon-cortex-a75.S",
3428 "src/f32-igemm/gen/4x8-minmax-aarch32-neon-ld64.S",
3429 "src/f32-igemm/gen/4x8-minmax-aarch32-neon-pld-cortex-a75.S",
Marat Dukhan08c4a432019-10-03 09:29:21 -07003430]
3431
3432AARCH64_ASM_UKERNELS = [
Frank Barchardbddfbcd2020-04-15 12:32:41 -07003433 "src/f16-gemm/gen-inc/1x8inc-minmax-aarch64-neonfp16arith-ld64.S",
Frank Barchard04336c12020-10-22 16:48:55 -07003434 "src/f16-gemm/gen-inc/1x16inc-minmax-aarch64-neonfp16arith-ld32.S",
Frank Barchardbddfbcd2020-04-15 12:32:41 -07003435 "src/f16-gemm/gen-inc/4x8inc-minmax-aarch64-neonfp16arith-ld64.S",
Frank Barchard04336c12020-10-22 16:48:55 -07003436 "src/f16-gemm/gen-inc/4x16inc-minmax-aarch64-neonfp16arith-ld32.S",
Frank Barchardbddfbcd2020-04-15 12:32:41 -07003437 "src/f16-gemm/gen-inc/6x8inc-minmax-aarch64-neonfp16arith-ld64.S",
Frank Barchard04336c12020-10-22 16:48:55 -07003438 "src/f16-gemm/gen-inc/6x16inc-minmax-aarch64-neonfp16arith-ld32.S",
Frank Barchard3b8e5662020-04-20 12:12:53 -07003439 "src/f16-gemm/gen-inc/8x8inc-minmax-aarch64-neonfp16arith-ld64.S",
Frank Barchard04336c12020-10-22 16:48:55 -07003440 "src/f16-gemm/gen/1x8-minmax-aarch64-neonfp16arith-ld64.S",
3441 "src/f16-gemm/gen/1x16-minmax-aarch64-neonfp16arith-ld32.S",
3442 "src/f16-gemm/gen/4x8-minmax-aarch64-neonfp16arith-ld64.S",
3443 "src/f16-gemm/gen/4x16-minmax-aarch64-neonfp16arith-ld32.S",
3444 "src/f16-gemm/gen/6x8-minmax-aarch64-neonfp16arith-ld64.S",
3445 "src/f16-gemm/gen/6x16-minmax-aarch64-neonfp16arith-ld32.S",
3446 "src/f16-gemm/gen/8x8-minmax-aarch64-neonfp16arith-ld64.S",
Marat Dukhan1c587112020-04-08 20:04:28 -07003447 "src/f32-dwconv/up4x9-minmax-aarch64-neonfma-cortex-a55.S",
3448 "src/f32-dwconv/up4x9-minmax-aarch64-neonfma.S",
Marat Dukhan1c587112020-04-08 20:04:28 -07003449 "src/f32-gemm/gen-inc/1x8inc-minmax-aarch64-neonfma-cortex-a53.S",
3450 "src/f32-gemm/gen-inc/1x8inc-minmax-aarch64-neonfma-cortex-a57.S",
3451 "src/f32-gemm/gen-inc/1x8inc-minmax-aarch64-neonfma-cortex-a75.S",
Frank Barchard04336c12020-10-22 16:48:55 -07003452 "src/f32-gemm/gen-inc/1x8inc-minmax-aarch64-neonfma-ld64.S",
3453 "src/f32-gemm/gen-inc/1x12inc-minmax-aarch64-neonfma-cortex-a53.S",
Marat Dukhan1c587112020-04-08 20:04:28 -07003454 "src/f32-gemm/gen-inc/4x8inc-minmax-aarch64-neonfma-cortex-a53.S",
3455 "src/f32-gemm/gen-inc/4x8inc-minmax-aarch64-neonfma-cortex-a55.S",
3456 "src/f32-gemm/gen-inc/4x8inc-minmax-aarch64-neonfma-cortex-a57.S",
3457 "src/f32-gemm/gen-inc/4x8inc-minmax-aarch64-neonfma-cortex-a75.S",
Marat Dukhan1c587112020-04-08 20:04:28 -07003458 "src/f32-gemm/gen-inc/4x8inc-minmax-aarch64-neonfma-ld64.S",
Frank Barchard04336c12020-10-22 16:48:55 -07003459 "src/f32-gemm/gen-inc/4x8inc-minmax-aarch64-neonfma-ld128.S",
3460 "src/f32-gemm/gen-inc/4x12inc-minmax-aarch64-neonfma-cortex-a53.S",
Marat Dukhan1c587112020-04-08 20:04:28 -07003461 "src/f32-gemm/gen-inc/5x8inc-minmax-aarch64-neonfma-cortex-a57.S",
3462 "src/f32-gemm/gen-inc/5x8inc-minmax-aarch64-neonfma-cortex-a75.S",
3463 "src/f32-gemm/gen-inc/6x8inc-minmax-aarch64-neonfma-cortex-a53.S",
3464 "src/f32-gemm/gen-inc/6x8inc-minmax-aarch64-neonfma-cortex-a55.S",
Marat Dukhan1c587112020-04-08 20:04:28 -07003465 "src/f32-gemm/gen-inc/6x8inc-minmax-aarch64-neonfma-cortex-a57.S",
Frank Barchard04336c12020-10-22 16:48:55 -07003466 "src/f32-gemm/gen-inc/6x8inc-minmax-aarch64-neonfma-cortex-a73.S",
Marat Dukhan1c587112020-04-08 20:04:28 -07003467 "src/f32-gemm/gen-inc/6x8inc-minmax-aarch64-neonfma-cortex-a75.S",
Marat Dukhan1c587112020-04-08 20:04:28 -07003468 "src/f32-gemm/gen-inc/6x8inc-minmax-aarch64-neonfma-ld64.S",
Frank Barchard04336c12020-10-22 16:48:55 -07003469 "src/f32-gemm/gen-inc/6x8inc-minmax-aarch64-neonfma-ld128.S",
3470 "src/f32-gemm/gen/1x8-minmax-aarch64-neonfma-cortex-a53.S",
3471 "src/f32-gemm/gen/1x8-minmax-aarch64-neonfma-cortex-a57.S",
3472 "src/f32-gemm/gen/1x8-minmax-aarch64-neonfma-cortex-a75.S",
3473 "src/f32-gemm/gen/1x8-minmax-aarch64-neonfma-ld64.S",
3474 "src/f32-gemm/gen/1x12-minmax-aarch64-neonfma-cortex-a53.S",
3475 "src/f32-gemm/gen/4x8-minmax-aarch64-neonfma-cortex-a53.S",
3476 "src/f32-gemm/gen/4x8-minmax-aarch64-neonfma-cortex-a55.S",
3477 "src/f32-gemm/gen/4x8-minmax-aarch64-neonfma-cortex-a57.S",
3478 "src/f32-gemm/gen/4x8-minmax-aarch64-neonfma-cortex-a75.S",
3479 "src/f32-gemm/gen/4x8-minmax-aarch64-neonfma-ld64.S",
3480 "src/f32-gemm/gen/4x8-minmax-aarch64-neonfma-ld128.S",
3481 "src/f32-gemm/gen/4x12-minmax-aarch64-neonfma-cortex-a53.S",
3482 "src/f32-gemm/gen/5x8-minmax-aarch64-neonfma-cortex-a57.S",
3483 "src/f32-gemm/gen/5x8-minmax-aarch64-neonfma-cortex-a75.S",
3484 "src/f32-gemm/gen/6x8-minmax-aarch64-neonfma-cortex-a53.S",
3485 "src/f32-gemm/gen/6x8-minmax-aarch64-neonfma-cortex-a55.S",
3486 "src/f32-gemm/gen/6x8-minmax-aarch64-neonfma-cortex-a57.S",
3487 "src/f32-gemm/gen/6x8-minmax-aarch64-neonfma-cortex-a73.S",
3488 "src/f32-gemm/gen/6x8-minmax-aarch64-neonfma-cortex-a75.S",
3489 "src/f32-gemm/gen/6x8-minmax-aarch64-neonfma-ld64.S",
3490 "src/f32-gemm/gen/6x8-minmax-aarch64-neonfma-ld128.S",
Marat Dukhan1c587112020-04-08 20:04:28 -07003491 "src/f32-igemm/1x8-minmax-aarch64-neonfma-cortex-a53.S",
Frank Barchard04336c12020-10-22 16:48:55 -07003492 "src/f32-igemm/1x12-minmax-aarch64-neonfma-cortex-a53.S",
Marat Dukhan1c587112020-04-08 20:04:28 -07003493 "src/f32-igemm/4x8-minmax-aarch64-neonfma-cortex-a53.S",
3494 "src/f32-igemm/4x8-minmax-aarch64-neonfma-cortex-a55.S",
Frank Barchard04336c12020-10-22 16:48:55 -07003495 "src/f32-igemm/4x12-minmax-aarch64-neonfma-cortex-a53.S",
3496 "src/f32-igemm/6x8-minmax-aarch64-neonfma-cortex-a53.S",
3497 "src/f32-igemm/6x8-minmax-aarch64-neonfma-cortex-a55.S",
3498 "src/f32-igemm/6x8-minmax-aarch64-neonfma-cortex-a73.S",
3499 "src/f32-igemm/gen/1x8-minmax-aarch64-neonfma-cortex-a57.S",
3500 "src/f32-igemm/gen/1x8-minmax-aarch64-neonfma-cortex-a75.S",
Marat Dukhan1c587112020-04-08 20:04:28 -07003501 "src/f32-igemm/gen/4x8-minmax-aarch64-neonfma-cortex-a57.S",
3502 "src/f32-igemm/gen/4x8-minmax-aarch64-neonfma-cortex-a75.S",
3503 "src/f32-igemm/gen/5x8-minmax-aarch64-neonfma-cortex-a57.S",
3504 "src/f32-igemm/gen/5x8-minmax-aarch64-neonfma-cortex-a75.S",
Marat Dukhan1c587112020-04-08 20:04:28 -07003505 "src/f32-igemm/gen/6x8-minmax-aarch64-neonfma-cortex-a57.S",
3506 "src/f32-igemm/gen/6x8-minmax-aarch64-neonfma-cortex-a75.S",
Frank Barchardf1fd89e2020-10-06 23:27:11 -07003507 "src/qs8-gemm/1x16c4-aarch64-neondot-ld64.S",
Frank Barchardf2742c42020-10-12 21:16:46 -07003508 "src/qs8-gemm/4x16c4-aarch64-neondot-cortex-a55.S",
Frank Barcharda5237a52020-10-06 16:18:46 -07003509 "src/qs8-gemm/4x16c4-aarch64-neondot-ld64.S",
Marat Dukhan08c4a432019-10-03 09:29:21 -07003510]
3511
Marat Dukhan1b354632020-03-23 12:50:22 -07003512INTERNAL_MICROKERNEL_HDRS = [
Marat Dukhan08c4a432019-10-03 09:29:21 -07003513 "src/xnnpack/argmaxpool.h",
3514 "src/xnnpack/avgpool.h",
3515 "src/xnnpack/clamp.h",
3516 "src/xnnpack/common.h",
3517 "src/xnnpack/conv.h",
Yury Kartynnike7841862020-11-04 18:22:18 -08003518 "src/xnnpack/depthtospace.h",
Marat Dukhan08c4a432019-10-03 09:29:21 -07003519 "src/xnnpack/dwconv.h",
Frank Barchard04336c12020-10-22 16:48:55 -07003520 "src/xnnpack/fill.h",
Marat Dukhan08c4a432019-10-03 09:29:21 -07003521 "src/xnnpack/gavgpool.h",
3522 "src/xnnpack/gemm.h",
3523 "src/xnnpack/hswish.h",
Marat Dukhan660fd192020-03-10 04:55:30 -07003524 "src/xnnpack/ibilinear.h",
Marat Dukhan08c4a432019-10-03 09:29:21 -07003525 "src/xnnpack/igemm.h",
Marat Dukhancfb31342019-12-05 10:42:57 -08003526 "src/xnnpack/intrinsics-polyfill.h",
Marat Dukhan08c4a432019-10-03 09:29:21 -07003527 "src/xnnpack/lut.h",
3528 "src/xnnpack/math.h",
3529 "src/xnnpack/maxpool.h",
Marat Dukhan04f03be2019-11-19 12:36:47 -08003530 "src/xnnpack/memory.h",
Marat Dukhan08c4a432019-10-03 09:29:21 -07003531 "src/xnnpack/packx.h",
3532 "src/xnnpack/pad.h",
3533 "src/xnnpack/params.h",
3534 "src/xnnpack/pavgpool.h",
3535 "src/xnnpack/ppmm.h",
3536 "src/xnnpack/prelu.h",
Marat Dukhan97579532019-10-18 16:40:39 -07003537 "src/xnnpack/raddexpminusmax.h",
Marat Dukhan6f8d4d32019-10-25 17:07:09 -07003538 "src/xnnpack/raddextexp.h",
Marat Dukhan97579532019-10-18 16:40:39 -07003539 "src/xnnpack/raddstoreexpminusmax.h",
Marat Dukhan08c4a432019-10-03 09:29:21 -07003540 "src/xnnpack/rmax.h",
3541 "src/xnnpack/scalar-utils.h",
3542 "src/xnnpack/spmm.h",
3543 "src/xnnpack/unpool.h",
3544 "src/xnnpack/vadd.h",
Marat Dukhan1e782c42019-11-21 17:02:40 -08003545 "src/xnnpack/vbinary.h",
Marat Dukhan08c4a432019-10-03 09:29:21 -07003546 "src/xnnpack/vmulcaddc.h",
Marat Dukhan05ac8e32019-10-21 15:39:33 -07003547 "src/xnnpack/vscale.h",
Marat Dukhan97579532019-10-18 16:40:39 -07003548 "src/xnnpack/vscaleexpminusmax.h",
Marat Dukhan6f8d4d32019-10-25 17:07:09 -07003549 "src/xnnpack/vscaleextexp.h",
Marat Dukhan1e782c42019-11-21 17:02:40 -08003550 "src/xnnpack/vunary.h",
Marat Dukhan08c4a432019-10-03 09:29:21 -07003551 "src/xnnpack/zip.h",
Marat Dukhan1b354632020-03-23 12:50:22 -07003552]
3553
3554INTERNAL_HDRS = INTERNAL_MICROKERNEL_HDRS + [
Marat Dukhan08c4a432019-10-03 09:29:21 -07003555 "include/xnnpack.h",
3556 "src/xnnpack/allocator.h",
3557 "src/xnnpack/compute.h",
3558 "src/xnnpack/im2col.h",
3559 "src/xnnpack/indirection.h",
Marat Dukhan6adff4e2019-10-14 18:32:07 -07003560 "src/xnnpack/math-stubs.h",
Chao Mei6ddfc602020-05-13 22:29:36 -07003561 "src/xnnpack/memory-planner.h",
Marat Dukhan08c4a432019-10-03 09:29:21 -07003562 "src/xnnpack/operator.h",
3563 "src/xnnpack/pack.h",
Marat Dukhaneeaa7bd2019-10-25 17:31:25 -07003564 "src/xnnpack/params-init.h",
Marat Dukhan08c4a432019-10-03 09:29:21 -07003565 "src/xnnpack/requantization-stubs.h",
Marat Dukhan6adff4e2019-10-14 18:32:07 -07003566 "src/xnnpack/requantization.h",
Marat Dukhan1d75a542020-02-03 12:23:01 -08003567 "src/xnnpack/subgraph.h",
Marat Dukhan6adff4e2019-10-14 18:32:07 -07003568]
3569
Marat Dukhan1b354632020-03-23 12:50:22 -07003570ACCURACY_EVAL_HDRS = INTERNAL_MICROKERNEL_HDRS + [
Marat Dukhan6adff4e2019-10-14 18:32:07 -07003571 "src/xnnpack/math-stubs.h",
Marat Dukhan08c4a432019-10-03 09:29:21 -07003572]
3573
Marat Dukhan1b354632020-03-23 12:50:22 -07003574MICROKERNEL_BENCHMARK_HDRS = INTERNAL_MICROKERNEL_HDRS + [
Marat Dukhan08c4a432019-10-03 09:29:21 -07003575 "include/xnnpack.h",
Frank Barchard35db7d02020-10-26 13:37:34 -07003576 "src/xnnpack/params-init.h",
Marat Dukhan08c4a432019-10-03 09:29:21 -07003577]
3578
Marat Dukhan1b354632020-03-23 12:50:22 -07003579MICROKERNEL_TEST_HDRS = INTERNAL_MICROKERNEL_HDRS + [
Frank Barchard35db7d02020-10-26 13:37:34 -07003580 "include/xnnpack.h",
Marat Dukhan08c4a432019-10-03 09:29:21 -07003581 "src/xnnpack/isa-checks.h",
Marat Dukhaneeaa7bd2019-10-25 17:31:25 -07003582 "src/xnnpack/params-init.h",
Marat Dukhan08c4a432019-10-03 09:29:21 -07003583 "src/xnnpack/requantization.h",
Marat Dukhan08c4a432019-10-03 09:29:21 -07003584]
3585
3586OPERATOR_TEST_PARAMS_HDRS = [
Marat Dukhan08c4a432019-10-03 09:29:21 -07003587 "src/xnnpack/common.h",
Frank Barchard04336c12020-10-22 16:48:55 -07003588 "src/xnnpack/params.h",
Marat Dukhan08c4a432019-10-03 09:29:21 -07003589]
3590
3591WEIGHTS_PACK_HDRS = [
Marat Dukhan08c4a432019-10-03 09:29:21 -07003592 "src/xnnpack/compute.h",
Frank Barchard04336c12020-10-22 16:48:55 -07003593 "src/xnnpack/operator.h",
3594 "src/xnnpack/pack.h",
Marat Dukhan08c4a432019-10-03 09:29:21 -07003595]
3596
Marat Dukhanc8e00eb2019-10-04 14:55:26 -07003597LOGGING_COPTS = select({
3598 # No logging in optimized mode
3599 ":optimized_build": ["-DXNN_LOG_LEVEL=0"],
3600 # Full logging in debug mode
3601 ":debug_build": ["-DXNN_LOG_LEVEL=5"],
3602 # Error-only logging in default (fastbuild) mode
3603 "//conditions:default": ["-DXNN_LOG_LEVEL=2"],
3604})
3605
Marat Dukhan3b59de22020-06-03 20:15:19 -07003606LOGGING_SRCS = select({
3607 # No logging in optimized mode
3608 ":optimized_build": [],
3609 "//conditions:default": [
3610 "src/operator-strings.c",
3611 "src/subgraph-strings.c",
3612 ],
3613})
3614
Marat Dukhanc8e00eb2019-10-04 14:55:26 -07003615LOGGING_HDRS = [
3616 "src/xnnpack/log.h",
3617]
3618
Marat Dukhan08c4a432019-10-03 09:29:21 -07003619xnnpack_cc_library(
Marat Dukhan3a77ea72019-12-23 12:10:24 -08003620 name = "tables",
3621 srcs = TABLE_SRCS,
3622 hdrs = INTERNAL_HDRS,
Marat Dukhan10a38082020-04-17 03:58:35 -07003623 gcc_copts = xnnpack_gcc_std_copts(),
3624 msvc_copts = xnnpack_msvc_std_copts(),
Marat Dukhan3a77ea72019-12-23 12:10:24 -08003625)
3626
3627xnnpack_cc_library(
Marat Dukhan08c4a432019-10-03 09:29:21 -07003628 name = "scalar_ukernels",
3629 srcs = SCALAR_UKERNELS,
3630 hdrs = INTERNAL_HDRS,
3631 aarch32_copts = ["-marm"],
Marat Dukhan10a38082020-04-17 03:58:35 -07003632 gcc_copts = xnnpack_gcc_std_copts(),
3633 msvc_copts = xnnpack_msvc_std_copts(),
Marat Dukhan08c4a432019-10-03 09:29:21 -07003634 deps = [
Marat Dukhan3a77ea72019-12-23 12:10:24 -08003635 ":tables",
Marat Dukhan08c4a432019-10-03 09:29:21 -07003636 "@FP16",
3637 "@FXdiv",
Marat Dukhan04f03be2019-11-19 12:36:47 -08003638 "@pthreadpool",
Marat Dukhan08c4a432019-10-03 09:29:21 -07003639 ],
3640)
3641
3642xnnpack_cc_library(
Marat Dukhan33fcf782020-05-24 14:27:15 -07003643 name = "scalar_ukernels_test_mode",
3644 srcs = SCALAR_UKERNELS,
3645 hdrs = INTERNAL_HDRS,
3646 aarch32_copts = ["-marm"],
3647 copts = [
3648 "-UNDEBUG",
3649 "-DXNN_TEST_MODE=1",
3650 ],
3651 gcc_copts = xnnpack_gcc_std_copts(),
3652 msvc_copts = xnnpack_msvc_std_copts(),
3653 deps = [
3654 ":tables",
3655 "@FP16",
3656 "@FXdiv",
3657 "@pthreadpool",
3658 ],
3659)
3660
3661xnnpack_cc_library(
Marat Dukhan436ebe62019-12-04 15:10:12 -08003662 name = "wasm_ukernels",
3663 hdrs = INTERNAL_HDRS,
Marat Dukhan10a38082020-04-17 03:58:35 -07003664 gcc_copts = xnnpack_gcc_std_copts(),
3665 msvc_copts = xnnpack_msvc_std_copts(),
Marat Dukhan436ebe62019-12-04 15:10:12 -08003666 wasm_srcs = WASM_UKERNELS,
Marat Dukhan1c6e3892020-06-25 23:56:10 -07003667 wasmsimd_srcs = WASM_UKERNELS + WASMSIMD_UKERNELS,
Marat Dukhan436ebe62019-12-04 15:10:12 -08003668 deps = [
Marat Dukhan3a77ea72019-12-23 12:10:24 -08003669 ":tables",
Marat Dukhan436ebe62019-12-04 15:10:12 -08003670 "@FP16",
3671 "@FXdiv",
3672 "@pthreadpool",
3673 ],
3674)
3675
3676xnnpack_cc_library(
Marat Dukhan33fcf782020-05-24 14:27:15 -07003677 name = "wasm_ukernels_test_mode",
3678 hdrs = INTERNAL_HDRS,
3679 copts = [
3680 "-UNDEBUG",
3681 "-DXNN_TEST_MODE=1",
3682 ],
3683 gcc_copts = xnnpack_gcc_std_copts(),
3684 msvc_copts = xnnpack_msvc_std_copts(),
3685 wasm_srcs = WASM_UKERNELS,
Marat Dukhan0e97d6f2020-06-26 19:35:09 -07003686 wasmsimd_srcs = WASM_UKERNELS + WASMSIMD_UKERNELS,
Marat Dukhan33fcf782020-05-24 14:27:15 -07003687 deps = [
3688 ":tables",
3689 "@FP16",
3690 "@FXdiv",
3691 "@pthreadpool",
3692 ],
3693)
3694
3695xnnpack_cc_library(
Marat Dukhan08c4a432019-10-03 09:29:21 -07003696 name = "neon_ukernels",
3697 hdrs = INTERNAL_HDRS,
3698 aarch32_copts = [
3699 "-marm",
Marat Dukhan8853b822020-05-07 12:19:01 -07003700 "-march=armv7-a",
Marat Dukhan08c4a432019-10-03 09:29:21 -07003701 "-mfpu=neon",
3702 ],
3703 aarch32_srcs = NEON_UKERNELS,
3704 aarch64_srcs = NEON_UKERNELS,
Marat Dukhan10a38082020-04-17 03:58:35 -07003705 gcc_copts = xnnpack_gcc_std_copts(),
3706 msvc_copts = xnnpack_msvc_std_copts(),
Marat Dukhan04f03be2019-11-19 12:36:47 -08003707 deps = [
Marat Dukhan3a77ea72019-12-23 12:10:24 -08003708 ":tables",
Marat Dukhan04f03be2019-11-19 12:36:47 -08003709 "@FP16",
3710 "@pthreadpool",
3711 ],
Marat Dukhan08c4a432019-10-03 09:29:21 -07003712)
3713
3714xnnpack_cc_library(
Marat Dukhan33fcf782020-05-24 14:27:15 -07003715 name = "neon_ukernels_test_mode",
3716 hdrs = INTERNAL_HDRS,
3717 aarch32_copts = [
3718 "-marm",
3719 "-march=armv7-a",
3720 "-mfpu=neon",
3721 ],
3722 aarch32_srcs = NEON_UKERNELS,
3723 aarch64_srcs = NEON_UKERNELS,
3724 copts = [
3725 "-UNDEBUG",
3726 "-DXNN_TEST_MODE=1",
3727 ],
3728 gcc_copts = xnnpack_gcc_std_copts(),
3729 msvc_copts = xnnpack_msvc_std_copts(),
3730 deps = [
3731 ":tables",
3732 "@FP16",
3733 "@pthreadpool",
3734 ],
3735)
3736
3737xnnpack_cc_library(
Marat Dukhan08c4a432019-10-03 09:29:21 -07003738 name = "neonfma_ukernels",
3739 hdrs = INTERNAL_HDRS,
3740 aarch32_copts = [
3741 "-marm",
Marat Dukhan8853b822020-05-07 12:19:01 -07003742 "-march=armv7-a",
Marat Dukhan08c4a432019-10-03 09:29:21 -07003743 "-mfpu=neon-vfpv4",
3744 ],
3745 aarch32_srcs = NEONFMA_UKERNELS,
3746 aarch64_srcs = NEONFMA_UKERNELS + AARCH64_NEONFMA_UKERNELS,
Marat Dukhanbc69ed62020-06-09 21:34:56 -07003747 apple_aarch32_copts = [
3748 "-mcpu=swift",
3749 "-mtune=generic",
3750 ],
Marat Dukhan10a38082020-04-17 03:58:35 -07003751 gcc_copts = xnnpack_gcc_std_copts(),
3752 msvc_copts = xnnpack_msvc_std_copts(),
Marat Dukhan04f03be2019-11-19 12:36:47 -08003753 deps = [
Marat Dukhan3a77ea72019-12-23 12:10:24 -08003754 ":tables",
Marat Dukhan04f03be2019-11-19 12:36:47 -08003755 "@FP16",
3756 "@pthreadpool",
3757 ],
Marat Dukhan08c4a432019-10-03 09:29:21 -07003758)
3759
3760xnnpack_cc_library(
Marat Dukhan33fcf782020-05-24 14:27:15 -07003761 name = "neonfma_ukernels_test_mode",
3762 hdrs = INTERNAL_HDRS,
3763 aarch32_copts = [
3764 "-marm",
3765 "-march=armv7-a",
3766 "-mfpu=neon-vfpv4",
3767 ],
3768 aarch32_srcs = NEONFMA_UKERNELS,
3769 aarch64_srcs = NEONFMA_UKERNELS + AARCH64_NEONFMA_UKERNELS,
Marat Dukhanbc69ed62020-06-09 21:34:56 -07003770 apple_aarch32_copts = [
3771 "-mcpu=swift",
3772 "-mtune=generic",
3773 ],
Marat Dukhan33fcf782020-05-24 14:27:15 -07003774 copts = [
3775 "-UNDEBUG",
3776 "-DXNN_TEST_MODE=1",
3777 ],
3778 gcc_copts = xnnpack_gcc_std_copts(),
3779 msvc_copts = xnnpack_msvc_std_copts(),
3780 deps = [
3781 ":tables",
3782 "@FP16",
3783 "@pthreadpool",
3784 ],
3785)
3786
3787xnnpack_cc_library(
Marat Dukhan8853b822020-05-07 12:19:01 -07003788 name = "neonv8_ukernels",
3789 hdrs = INTERNAL_HDRS,
3790 aarch32_copts = [
3791 "-marm",
3792 "-march=armv8-a",
3793 "-mfpu=neon-fp-armv8",
3794 ],
3795 aarch32_srcs = NEONV8_UKERNELS,
3796 aarch64_srcs = NEONV8_UKERNELS,
Marat Dukhanbc69ed62020-06-09 21:34:56 -07003797 apple_aarch32_copts = [
3798 "-mcpu=cyclone",
3799 "-mtune=generic",
3800 ],
Marat Dukhan8853b822020-05-07 12:19:01 -07003801 gcc_copts = xnnpack_gcc_std_copts(),
3802 msvc_copts = xnnpack_msvc_std_copts(),
3803 deps = [
3804 ":tables",
3805 "@FP16",
3806 "@pthreadpool",
3807 ],
3808)
3809
3810xnnpack_cc_library(
Marat Dukhan33fcf782020-05-24 14:27:15 -07003811 name = "neonv8_ukernels_test_mode",
3812 hdrs = INTERNAL_HDRS,
3813 aarch32_copts = [
3814 "-marm",
3815 "-march=armv8-a",
3816 "-mfpu=neon-fp-armv8",
3817 ],
3818 aarch32_srcs = NEONV8_UKERNELS,
3819 aarch64_srcs = NEONV8_UKERNELS,
Marat Dukhanbc69ed62020-06-09 21:34:56 -07003820 apple_aarch32_copts = [
3821 "-mcpu=cyclone",
3822 "-mtune=generic",
3823 ],
Marat Dukhan33fcf782020-05-24 14:27:15 -07003824 copts = [
3825 "-UNDEBUG",
3826 "-DXNN_TEST_MODE=1",
3827 ],
3828 gcc_copts = xnnpack_gcc_std_copts(),
3829 msvc_copts = xnnpack_msvc_std_copts(),
3830 deps = [
3831 ":tables",
3832 "@FP16",
3833 "@pthreadpool",
3834 ],
3835)
3836
3837xnnpack_cc_library(
Marat Dukhan08c4a432019-10-03 09:29:21 -07003838 name = "neonfp16arith_ukernels",
3839 hdrs = INTERNAL_HDRS,
3840 aarch64_copts = ["-march=armv8.2-a+fp16"],
3841 aarch64_srcs = AARCH64_NEONFP16ARITH_UKERNELS,
Marat Dukhan10a38082020-04-17 03:58:35 -07003842 gcc_copts = xnnpack_gcc_std_copts(),
3843 msvc_copts = xnnpack_msvc_std_copts(),
Marat Dukhan04f03be2019-11-19 12:36:47 -08003844 deps = [
Marat Dukhan3a77ea72019-12-23 12:10:24 -08003845 ":tables",
Marat Dukhan04f03be2019-11-19 12:36:47 -08003846 "@FP16",
3847 "@pthreadpool",
3848 ],
Marat Dukhan08c4a432019-10-03 09:29:21 -07003849)
3850
3851xnnpack_cc_library(
Marat Dukhan33fcf782020-05-24 14:27:15 -07003852 name = "neonfp16arith_ukernels_test_mode",
3853 hdrs = INTERNAL_HDRS,
3854 aarch64_copts = ["-march=armv8.2-a+fp16"],
3855 aarch64_srcs = AARCH64_NEONFP16ARITH_UKERNELS,
3856 copts = [
3857 "-UNDEBUG",
3858 "-DXNN_TEST_MODE=1",
3859 ],
3860 gcc_copts = xnnpack_gcc_std_copts(),
3861 msvc_copts = xnnpack_msvc_std_copts(),
3862 deps = [
3863 ":tables",
3864 "@FP16",
3865 "@pthreadpool",
3866 ],
3867)
3868
3869xnnpack_cc_library(
Benoit Jacoba9644732020-08-13 12:48:55 -07003870 name = "neondot_ukernels",
3871 hdrs = INTERNAL_HDRS,
Marat Dukhan799ac752020-08-13 16:08:03 -07003872 aarch32_copts = [
3873 "-marm",
3874 "-march=armv8.2-a+dotprod",
3875 "-mfpu=neon-fp-armv8",
3876 ],
Benoit Jacoba9644732020-08-13 12:48:55 -07003877 aarch32_srcs = NEONDOT_UKERNELS,
3878 aarch64_copts = ["-march=armv8.2-a+dotprod"],
3879 aarch64_srcs = NEONDOT_UKERNELS,
3880 gcc_copts = xnnpack_gcc_std_copts(),
3881 msvc_copts = xnnpack_msvc_std_copts(),
3882 deps = [
3883 ":tables",
3884 "@FP16",
3885 "@pthreadpool",
3886 ],
3887)
3888
3889xnnpack_cc_library(
3890 name = "neondot_ukernels_test_mode",
3891 hdrs = INTERNAL_HDRS,
Marat Dukhan799ac752020-08-13 16:08:03 -07003892 aarch32_copts = [
3893 "-marm",
3894 "-march=armv8.2-a+dotprod",
3895 "-mfpu=neon-fp-armv8",
3896 ],
Benoit Jacoba9644732020-08-13 12:48:55 -07003897 aarch32_srcs = NEONDOT_UKERNELS,
3898 aarch64_copts = ["-march=armv8.2-a+dotprod"],
3899 aarch64_srcs = NEONDOT_UKERNELS,
3900 copts = [
3901 "-UNDEBUG",
3902 "-DXNN_TEST_MODE=1",
3903 ],
3904 gcc_copts = xnnpack_gcc_std_copts(),
3905 msvc_copts = xnnpack_msvc_std_copts(),
3906 deps = [
3907 ":tables",
3908 "@FP16",
3909 "@pthreadpool",
3910 ],
3911)
3912
3913xnnpack_cc_library(
Marat Dukhan08c4a432019-10-03 09:29:21 -07003914 name = "sse2_ukernels",
3915 hdrs = INTERNAL_HDRS,
Marat Dukhan10a38082020-04-17 03:58:35 -07003916 gcc_copts = xnnpack_gcc_std_copts(),
3917 gcc_x86_copts = ["-msse2"],
3918 msvc_copts = xnnpack_msvc_std_copts(),
3919 msvc_x86_32_copts = ["/arch:SSE2"],
Marat Dukhan08c4a432019-10-03 09:29:21 -07003920 x86_srcs = SSE_UKERNELS + SSE2_UKERNELS,
Marat Dukhan04f03be2019-11-19 12:36:47 -08003921 deps = [
Marat Dukhan3a77ea72019-12-23 12:10:24 -08003922 ":tables",
Marat Dukhan04f03be2019-11-19 12:36:47 -08003923 "@FP16",
3924 "@pthreadpool",
3925 ],
Marat Dukhan08c4a432019-10-03 09:29:21 -07003926)
3927
3928xnnpack_cc_library(
Marat Dukhan33fcf782020-05-24 14:27:15 -07003929 name = "sse2_ukernels_test_mode",
3930 hdrs = INTERNAL_HDRS,
3931 copts = [
3932 "-UNDEBUG",
3933 "-DXNN_TEST_MODE=1",
3934 ],
3935 gcc_copts = xnnpack_gcc_std_copts(),
3936 gcc_x86_copts = ["-msse2"],
3937 msvc_copts = xnnpack_msvc_std_copts(),
3938 msvc_x86_32_copts = ["/arch:SSE2"],
3939 x86_srcs = SSE_UKERNELS + SSE2_UKERNELS,
3940 deps = [
3941 ":tables",
3942 "@FP16",
3943 "@pthreadpool",
3944 ],
3945)
3946
3947xnnpack_cc_library(
Marat Dukhanfe7acb62020-03-09 19:30:05 -07003948 name = "ssse3_ukernels",
3949 hdrs = INTERNAL_HDRS,
Marat Dukhan10a38082020-04-17 03:58:35 -07003950 gcc_copts = xnnpack_gcc_std_copts(),
3951 gcc_x86_copts = ["-mssse3"],
3952 msvc_copts = xnnpack_msvc_std_copts(),
3953 msvc_x86_32_copts = ["/arch:SSE2"],
Marat Dukhanfe7acb62020-03-09 19:30:05 -07003954 x86_srcs = SSSE3_UKERNELS,
3955 deps = [
3956 ":tables",
3957 "@FP16",
3958 "@pthreadpool",
3959 ],
3960)
3961
3962xnnpack_cc_library(
Marat Dukhan33fcf782020-05-24 14:27:15 -07003963 name = "ssse3_ukernels_test_mode",
3964 hdrs = INTERNAL_HDRS,
3965 copts = [
3966 "-UNDEBUG",
3967 "-DXNN_TEST_MODE=1",
3968 ],
3969 gcc_copts = xnnpack_gcc_std_copts(),
3970 gcc_x86_copts = ["-mssse3"],
3971 msvc_copts = xnnpack_msvc_std_copts(),
3972 msvc_x86_32_copts = ["/arch:SSE2"],
3973 x86_srcs = SSSE3_UKERNELS,
3974 deps = [
3975 ":tables",
3976 "@FP16",
3977 "@pthreadpool",
3978 ],
3979)
3980
3981xnnpack_cc_library(
Marat Dukhan69c3f2c2019-11-06 12:30:01 -08003982 name = "sse41_ukernels",
3983 hdrs = INTERNAL_HDRS,
Marat Dukhan10a38082020-04-17 03:58:35 -07003984 gcc_copts = xnnpack_gcc_std_copts(),
3985 gcc_x86_copts = ["-msse4.1"],
3986 msvc_copts = xnnpack_msvc_std_copts(),
3987 msvc_x86_32_copts = ["/arch:SSE2"],
Marat Dukhan69c3f2c2019-11-06 12:30:01 -08003988 x86_srcs = SSE41_UKERNELS,
Marat Dukhan04f03be2019-11-19 12:36:47 -08003989 deps = [
Marat Dukhan3a77ea72019-12-23 12:10:24 -08003990 ":tables",
Marat Dukhan04f03be2019-11-19 12:36:47 -08003991 "@FP16",
3992 "@pthreadpool",
3993 ],
Marat Dukhan69c3f2c2019-11-06 12:30:01 -08003994)
3995
3996xnnpack_cc_library(
Marat Dukhan33fcf782020-05-24 14:27:15 -07003997 name = "sse41_ukernels_test_mode",
3998 hdrs = INTERNAL_HDRS,
3999 copts = [
4000 "-UNDEBUG",
4001 "-DXNN_TEST_MODE=1",
4002 ],
4003 gcc_copts = xnnpack_gcc_std_copts(),
4004 gcc_x86_copts = ["-msse4.1"],
4005 msvc_copts = xnnpack_msvc_std_copts(),
4006 msvc_x86_32_copts = ["/arch:SSE2"],
4007 x86_srcs = SSE41_UKERNELS,
4008 deps = [
4009 ":tables",
4010 "@FP16",
4011 "@pthreadpool",
4012 ],
4013)
4014
4015xnnpack_cc_library(
Marat Dukhan08c4a432019-10-03 09:29:21 -07004016 name = "avx_ukernels",
4017 hdrs = INTERNAL_HDRS,
Marat Dukhan10a38082020-04-17 03:58:35 -07004018 gcc_copts = xnnpack_gcc_std_copts(),
4019 gcc_x86_copts = ["-mavx"],
4020 msvc_copts = xnnpack_msvc_std_copts(),
4021 msvc_x86_32_copts = ["/arch:AVX"],
4022 msvc_x86_64_copts = ["/arch:AVX"],
Marat Dukhan08c4a432019-10-03 09:29:21 -07004023 x86_srcs = AVX_UKERNELS,
Marat Dukhan04f03be2019-11-19 12:36:47 -08004024 deps = [
Marat Dukhan3a77ea72019-12-23 12:10:24 -08004025 ":tables",
Marat Dukhan04f03be2019-11-19 12:36:47 -08004026 "@FP16",
4027 "@pthreadpool",
4028 ],
Marat Dukhan08c4a432019-10-03 09:29:21 -07004029)
4030
4031xnnpack_cc_library(
Marat Dukhan33fcf782020-05-24 14:27:15 -07004032 name = "avx_ukernels_test_mode",
4033 hdrs = INTERNAL_HDRS,
4034 copts = [
4035 "-UNDEBUG",
4036 "-DXNN_TEST_MODE=1",
4037 ],
4038 gcc_copts = xnnpack_gcc_std_copts(),
4039 gcc_x86_copts = ["-mavx"],
4040 msvc_copts = xnnpack_msvc_std_copts(),
4041 msvc_x86_32_copts = ["/arch:AVX"],
4042 msvc_x86_64_copts = ["/arch:AVX"],
4043 x86_srcs = AVX_UKERNELS,
4044 deps = [
4045 ":tables",
4046 "@FP16",
4047 "@pthreadpool",
4048 ],
4049)
4050
4051xnnpack_cc_library(
Marat Dukhan1566fee2020-08-02 21:55:41 -07004052 name = "xop_ukernels",
4053 hdrs = INTERNAL_HDRS,
4054 gcc_copts = xnnpack_gcc_std_copts(),
4055 gcc_x86_copts = ["-mxop"],
4056 msvc_copts = xnnpack_msvc_std_copts(),
4057 msvc_x86_32_copts = ["/arch:AVX"],
4058 msvc_x86_64_copts = ["/arch:AVX"],
4059 x86_srcs = XOP_UKERNELS,
4060 deps = [
4061 ":tables",
4062 "@FP16",
4063 "@pthreadpool",
4064 ],
4065)
4066
4067xnnpack_cc_library(
4068 name = "xop_ukernels_test_mode",
4069 hdrs = INTERNAL_HDRS,
4070 copts = [
4071 "-UNDEBUG",
4072 "-DXNN_TEST_MODE=1",
4073 ],
4074 gcc_copts = xnnpack_gcc_std_copts(),
4075 gcc_x86_copts = ["-mxop"],
4076 msvc_copts = xnnpack_msvc_std_copts(),
4077 msvc_x86_32_copts = ["/arch:AVX"],
4078 msvc_x86_64_copts = ["/arch:AVX"],
4079 x86_srcs = XOP_UKERNELS,
4080 deps = [
4081 ":tables",
4082 "@FP16",
4083 "@pthreadpool",
4084 ],
4085)
4086
4087xnnpack_cc_library(
Marat Dukhanfda12b82019-11-21 12:27:59 -08004088 name = "fma3_ukernels",
4089 hdrs = INTERNAL_HDRS,
Marat Dukhan10a38082020-04-17 03:58:35 -07004090 gcc_copts = xnnpack_gcc_std_copts(),
4091 gcc_x86_copts = ["-mfma"],
4092 msvc_copts = xnnpack_msvc_std_copts(),
4093 msvc_x86_32_copts = ["/arch:AVX"],
4094 msvc_x86_64_copts = ["/arch:AVX"],
Marat Dukhanfda12b82019-11-21 12:27:59 -08004095 x86_srcs = FMA3_UKERNELS,
4096 deps = [
Marat Dukhan3a77ea72019-12-23 12:10:24 -08004097 ":tables",
Marat Dukhanfda12b82019-11-21 12:27:59 -08004098 "@FP16",
4099 "@pthreadpool",
4100 ],
4101)
4102
4103xnnpack_cc_library(
Marat Dukhan33fcf782020-05-24 14:27:15 -07004104 name = "fma3_ukernels_test_mode",
4105 hdrs = INTERNAL_HDRS,
4106 copts = [
4107 "-UNDEBUG",
4108 "-DXNN_TEST_MODE=1",
4109 ],
4110 gcc_copts = xnnpack_gcc_std_copts(),
4111 gcc_x86_copts = ["-mfma"],
4112 msvc_copts = xnnpack_msvc_std_copts(),
4113 msvc_x86_32_copts = ["/arch:AVX"],
4114 msvc_x86_64_copts = ["/arch:AVX"],
4115 x86_srcs = FMA3_UKERNELS,
4116 deps = [
4117 ":tables",
4118 "@FP16",
4119 "@pthreadpool",
4120 ],
4121)
4122
4123xnnpack_cc_library(
Marat Dukhan6adff4e2019-10-14 18:32:07 -07004124 name = "avx2_ukernels",
4125 hdrs = INTERNAL_HDRS,
Marat Dukhan10a38082020-04-17 03:58:35 -07004126 gcc_copts = xnnpack_gcc_std_copts(),
4127 gcc_x86_copts = [
Marat Dukhan6adff4e2019-10-14 18:32:07 -07004128 "-mfma",
4129 "-mavx2",
4130 ],
Marat Dukhan10a38082020-04-17 03:58:35 -07004131 msvc_copts = xnnpack_msvc_std_copts(),
4132 msvc_x86_32_copts = ["/arch:AVX2"],
4133 msvc_x86_64_copts = ["/arch:AVX2"],
Marat Dukhan6adff4e2019-10-14 18:32:07 -07004134 x86_srcs = AVX2_UKERNELS,
Marat Dukhan04f03be2019-11-19 12:36:47 -08004135 deps = [
Marat Dukhan3a77ea72019-12-23 12:10:24 -08004136 ":tables",
Marat Dukhan04f03be2019-11-19 12:36:47 -08004137 "@FP16",
4138 "@pthreadpool",
4139 ],
Marat Dukhan6adff4e2019-10-14 18:32:07 -07004140)
4141
4142xnnpack_cc_library(
Marat Dukhan33fcf782020-05-24 14:27:15 -07004143 name = "avx2_ukernels_test_mode",
4144 hdrs = INTERNAL_HDRS,
4145 copts = [
4146 "-UNDEBUG",
4147 "-DXNN_TEST_MODE=1",
4148 ],
4149 gcc_copts = xnnpack_gcc_std_copts(),
4150 gcc_x86_copts = [
4151 "-mfma",
4152 "-mavx2",
4153 ],
4154 msvc_copts = xnnpack_msvc_std_copts(),
4155 msvc_x86_32_copts = ["/arch:AVX2"],
4156 msvc_x86_64_copts = ["/arch:AVX2"],
4157 x86_srcs = AVX2_UKERNELS,
4158 deps = [
4159 ":tables",
4160 "@FP16",
4161 "@pthreadpool",
4162 ],
4163)
4164
4165xnnpack_cc_library(
Marat Dukhan08c4a432019-10-03 09:29:21 -07004166 name = "avx512f_ukernels",
4167 hdrs = INTERNAL_HDRS,
Marat Dukhan10a38082020-04-17 03:58:35 -07004168 gcc_copts = xnnpack_gcc_std_copts(),
4169 gcc_x86_copts = ["-mavx512f"],
4170 mingw_copts = ["-fno-asynchronous-unwind-tables"],
4171 msvc_copts = xnnpack_msvc_std_copts(),
4172 msvc_x86_32_copts = ["/arch:AVX512"],
4173 msvc_x86_64_copts = ["/arch:AVX512"],
4174 msys_copts = ["-fno-asynchronous-unwind-tables"],
Marat Dukhan08c4a432019-10-03 09:29:21 -07004175 x86_srcs = AVX512F_UKERNELS,
Marat Dukhan04f03be2019-11-19 12:36:47 -08004176 deps = [
Marat Dukhan3a77ea72019-12-23 12:10:24 -08004177 ":tables",
Marat Dukhan04f03be2019-11-19 12:36:47 -08004178 "@FP16",
4179 "@pthreadpool",
4180 ],
Marat Dukhan08c4a432019-10-03 09:29:21 -07004181)
4182
4183xnnpack_cc_library(
Marat Dukhan33fcf782020-05-24 14:27:15 -07004184 name = "avx512f_ukernels_test_mode",
4185 hdrs = INTERNAL_HDRS,
4186 copts = [
4187 "-UNDEBUG",
4188 "-DXNN_TEST_MODE=1",
4189 ],
4190 gcc_copts = xnnpack_gcc_std_copts(),
4191 gcc_x86_copts = ["-mavx512f"],
4192 mingw_copts = ["-fno-asynchronous-unwind-tables"],
4193 msvc_copts = xnnpack_msvc_std_copts(),
4194 msvc_x86_32_copts = ["/arch:AVX512"],
4195 msvc_x86_64_copts = ["/arch:AVX512"],
4196 msys_copts = ["-fno-asynchronous-unwind-tables"],
4197 x86_srcs = AVX512F_UKERNELS,
4198 deps = [
4199 ":tables",
4200 "@FP16",
4201 "@pthreadpool",
4202 ],
4203)
4204
4205xnnpack_cc_library(
Marat Dukhanbb00b1d2020-08-10 11:37:23 -07004206 name = "avx512skx_ukernels",
4207 hdrs = INTERNAL_HDRS,
4208 gcc_copts = xnnpack_gcc_std_copts(),
4209 gcc_x86_copts = [
4210 "-mavx512f",
4211 "-mavx512cd",
4212 "-mavx512bw",
4213 "-mavx512dq",
4214 "-mavx512vl",
4215 ],
4216 mingw_copts = ["-fno-asynchronous-unwind-tables"],
4217 msvc_copts = xnnpack_msvc_std_copts(),
4218 msvc_x86_32_copts = ["/arch:AVX512"],
4219 msvc_x86_64_copts = ["/arch:AVX512"],
4220 msys_copts = ["-fno-asynchronous-unwind-tables"],
4221 x86_srcs = AVX512SKX_UKERNELS,
4222 deps = [
4223 ":tables",
4224 "@FP16",
4225 "@pthreadpool",
4226 ],
4227)
4228
4229xnnpack_cc_library(
4230 name = "avx512skx_ukernels_test_mode",
4231 hdrs = INTERNAL_HDRS,
4232 copts = [
4233 "-UNDEBUG",
4234 "-DXNN_TEST_MODE=1",
4235 ],
4236 gcc_copts = xnnpack_gcc_std_copts(),
4237 gcc_x86_copts = [
4238 "-mavx512f",
4239 "-mavx512cd",
4240 "-mavx512bw",
4241 "-mavx512dq",
4242 "-mavx512vl",
4243 ],
4244 mingw_copts = ["-fno-asynchronous-unwind-tables"],
4245 msvc_copts = xnnpack_msvc_std_copts(),
4246 msvc_x86_32_copts = ["/arch:AVX512"],
4247 msvc_x86_64_copts = ["/arch:AVX512"],
4248 msys_copts = ["-fno-asynchronous-unwind-tables"],
4249 x86_srcs = AVX512SKX_UKERNELS,
4250 deps = [
4251 ":tables",
4252 "@FP16",
4253 "@pthreadpool",
4254 ],
4255)
4256
4257xnnpack_cc_library(
Marat Dukhan08c4a432019-10-03 09:29:21 -07004258 name = "asm_ukernels",
4259 hdrs = ["src/xnnpack/assembly.h"],
4260 aarch32_srcs = AARCH32_ASM_UKERNELS,
Frank Barchard31bb45b2020-10-06 00:26:33 -07004261 aarch64_copts = ["-march=armv8.2-a+fp16+dotprod"],
Marat Dukhan08c4a432019-10-03 09:29:21 -07004262 aarch64_srcs = AARCH64_ASM_UKERNELS,
Frank Barchardbcedc082020-08-17 18:00:51 -07004263 wasm_srcs = WASM32_ASM_UKERNELS,
4264 wasmsimd_srcs = WASM32_ASM_UKERNELS,
Marat Dukhan08c4a432019-10-03 09:29:21 -07004265)
4266
Marat Dukhan3b59de22020-06-03 20:15:19 -07004267xnnpack_cc_library(
4268 name = "logging_utils",
4269 srcs = LOGGING_SRCS,
4270 hdrs = INTERNAL_HDRS + LOGGING_HDRS,
4271 copts = LOGGING_COPTS + [
4272 "-Isrc",
4273 "-Iinclude",
4274 ] + select({
4275 ":debug_build": [],
4276 "//conditions:default": xnnpack_min_size_copts(),
4277 }),
4278 gcc_copts = xnnpack_gcc_std_copts(),
4279 msvc_copts = xnnpack_msvc_std_copts(),
4280 visibility = xnnpack_visibility(),
4281 deps = [
4282 "@FP16",
4283 "@clog",
4284 "@pthreadpool",
4285 ],
4286)
4287
Marat Dukhan08c4a432019-10-03 09:29:21 -07004288xnnpack_aggregate_library(
4289 name = "ukernels",
4290 aarch32_deps = [
Marat Dukhan08c4a432019-10-03 09:29:21 -07004291 ":neon_ukernels",
4292 ":neonfma_ukernels",
Marat Dukhan8853b822020-05-07 12:19:01 -07004293 ":neonv8_ukernels",
Benoit Jacoba9644732020-08-13 12:48:55 -07004294 ":neondot_ukernels",
Marat Dukhan08c4a432019-10-03 09:29:21 -07004295 ":asm_ukernels",
4296 ],
4297 aarch64_deps = [
Marat Dukhan08c4a432019-10-03 09:29:21 -07004298 ":neon_ukernels",
4299 ":neonfma_ukernels",
Marat Dukhan8853b822020-05-07 12:19:01 -07004300 ":neonv8_ukernels",
Marat Dukhan08c4a432019-10-03 09:29:21 -07004301 ":neonfp16arith_ukernels",
Benoit Jacoba9644732020-08-13 12:48:55 -07004302 ":neondot_ukernels",
Marat Dukhan08c4a432019-10-03 09:29:21 -07004303 ":asm_ukernels",
4304 ],
Marat Dukhan33fcf782020-05-24 14:27:15 -07004305 generic_deps = [
4306 ":scalar_ukernels",
4307 ],
Marat Dukhan33fcf782020-05-24 14:27:15 -07004308 wasm_deps = [
4309 ":wasm_ukernels",
Frank Barchardbcedc082020-08-17 18:00:51 -07004310 ":asm_ukernels",
Marat Dukhan33fcf782020-05-24 14:27:15 -07004311 ],
4312 wasmsimd_deps = [
4313 ":wasm_ukernels",
Frank Barchardbcedc082020-08-17 18:00:51 -07004314 ":asm_ukernels",
Marat Dukhan33fcf782020-05-24 14:27:15 -07004315 ],
Marat Dukhan08c4a432019-10-03 09:29:21 -07004316 x86_deps = [
Marat Dukhan08c4a432019-10-03 09:29:21 -07004317 ":sse2_ukernels",
Marat Dukhanfe7acb62020-03-09 19:30:05 -07004318 ":ssse3_ukernels",
Marat Dukhan69c3f2c2019-11-06 12:30:01 -08004319 ":sse41_ukernels",
Marat Dukhan08c4a432019-10-03 09:29:21 -07004320 ":avx_ukernels",
Marat Dukhan1566fee2020-08-02 21:55:41 -07004321 ":xop_ukernels",
Marat Dukhanfda12b82019-11-21 12:27:59 -08004322 ":fma3_ukernels",
Marat Dukhan6adff4e2019-10-14 18:32:07 -07004323 ":avx2_ukernels",
Marat Dukhan08c4a432019-10-03 09:29:21 -07004324 ":avx512f_ukernels",
Marat Dukhanbb00b1d2020-08-10 11:37:23 -07004325 ":avx512skx_ukernels",
Marat Dukhan08c4a432019-10-03 09:29:21 -07004326 ],
4327)
4328
Marat Dukhan33fcf782020-05-24 14:27:15 -07004329xnnpack_aggregate_library(
4330 name = "ukernels_test_mode",
4331 aarch32_deps = [
4332 ":neon_ukernels_test_mode",
4333 ":neonfma_ukernels_test_mode",
4334 ":neonv8_ukernels_test_mode",
Benoit Jacoba9644732020-08-13 12:48:55 -07004335 ":neondot_ukernels_test_mode",
Marat Dukhan33fcf782020-05-24 14:27:15 -07004336 ":asm_ukernels",
4337 ],
4338 aarch64_deps = [
4339 ":neon_ukernels_test_mode",
4340 ":neonfma_ukernels_test_mode",
4341 ":neonv8_ukernels_test_mode",
4342 ":neonfp16arith_ukernels_test_mode",
Benoit Jacoba9644732020-08-13 12:48:55 -07004343 ":neondot_ukernels_test_mode",
Marat Dukhan33fcf782020-05-24 14:27:15 -07004344 ":asm_ukernels",
4345 ],
4346 generic_deps = [
4347 ":scalar_ukernels_test_mode",
4348 ],
Marat Dukhan33fcf782020-05-24 14:27:15 -07004349 wasm_deps = [
4350 ":wasm_ukernels_test_mode",
Frank Barchardbcedc082020-08-17 18:00:51 -07004351 ":asm_ukernels",
Marat Dukhan33fcf782020-05-24 14:27:15 -07004352 ],
4353 wasmsimd_deps = [
4354 ":wasm_ukernels_test_mode",
Frank Barchardbcedc082020-08-17 18:00:51 -07004355 ":asm_ukernels",
Marat Dukhan33fcf782020-05-24 14:27:15 -07004356 ],
4357 x86_deps = [
4358 ":sse2_ukernels_test_mode",
4359 ":ssse3_ukernels_test_mode",
4360 ":sse41_ukernels_test_mode",
4361 ":avx_ukernels_test_mode",
Marat Dukhan1566fee2020-08-02 21:55:41 -07004362 ":xop_ukernels_test_mode",
Marat Dukhan33fcf782020-05-24 14:27:15 -07004363 ":fma3_ukernels_test_mode",
4364 ":avx2_ukernels_test_mode",
4365 ":avx512f_ukernels_test_mode",
Marat Dukhanbb00b1d2020-08-10 11:37:23 -07004366 ":avx512skx_ukernels_test_mode",
Marat Dukhan33fcf782020-05-24 14:27:15 -07004367 ],
4368)
4369
Marat Dukhan86df3842020-06-17 14:03:31 -07004370# This target must be compatible with Android NDK r17 and compile with Clang 6.
4371# It is similar to :ukernels target, but excludes microkernels which require
4372# NEON FP16 arithmetics, NEON Dot Product, and newer intrinsics.
Marat Dukhanae046f52020-06-15 13:16:14 -07004373xnnpack_aggregate_library(
Marat Dukhan86df3842020-06-17 14:03:31 -07004374 name = "ukernels_max_compatibility",
Marat Dukhanae046f52020-06-15 13:16:14 -07004375 aarch32_deps = [
4376 ":neon_ukernels",
4377 ":neonfma_ukernels",
4378 ":neonv8_ukernels",
4379 ":asm_ukernels",
4380 ],
4381 aarch64_deps = [
4382 ":neon_ukernels",
4383 ":neonfma_ukernels",
4384 ":neonv8_ukernels",
4385 ":asm_ukernels",
4386 ],
4387 generic_deps = [
4388 ":scalar_ukernels",
4389 ],
Marat Dukhanae046f52020-06-15 13:16:14 -07004390 wasm_deps = [
4391 ":wasm_ukernels",
4392 ],
4393 wasmsimd_deps = [
4394 ":wasm_ukernels",
4395 ],
4396 x86_deps = [
4397 ":sse2_ukernels",
4398 ":ssse3_ukernels",
4399 ":sse41_ukernels",
4400 ":avx_ukernels",
Marat Dukhan1566fee2020-08-02 21:55:41 -07004401 ":xop_ukernels",
Marat Dukhanae046f52020-06-15 13:16:14 -07004402 ":fma3_ukernels",
4403 ":avx2_ukernels",
4404 ":avx512f_ukernels",
Marat Dukhanbb00b1d2020-08-10 11:37:23 -07004405 ":avx512skx_ukernels",
Marat Dukhanae046f52020-06-15 13:16:14 -07004406 ],
4407)
4408
Marat Dukhan08c4a432019-10-03 09:29:21 -07004409xnnpack_cc_library(
4410 name = "im2col",
4411 srcs = ["src/im2col.c"],
4412 hdrs = [
4413 "src/xnnpack/common.h",
4414 "src/xnnpack/im2col.h",
4415 ],
Marat Dukhan10a38082020-04-17 03:58:35 -07004416 gcc_copts = xnnpack_gcc_std_copts(),
4417 msvc_copts = xnnpack_msvc_std_copts(),
Marat Dukhan08c4a432019-10-03 09:29:21 -07004418)
4419
4420xnnpack_cc_library(
4421 name = "indirection",
4422 srcs = ["src/indirection.c"],
4423 hdrs = INTERNAL_HDRS,
Marat Dukhan10a38082020-04-17 03:58:35 -07004424 gcc_copts = xnnpack_gcc_std_copts(),
4425 msvc_copts = xnnpack_msvc_std_copts(),
Marat Dukhan08c4a432019-10-03 09:29:21 -07004426 deps = [
4427 "@FP16",
4428 "@FXdiv",
4429 "@pthreadpool",
4430 ],
4431)
4432
4433xnnpack_cc_library(
Marat Dukhan33fcf782020-05-24 14:27:15 -07004434 name = "indirection_test_mode",
4435 srcs = ["src/indirection.c"],
4436 hdrs = INTERNAL_HDRS,
4437 copts = [
4438 "-UNDEBUG",
4439 "-DXNN_TEST_MODE=1",
4440 ],
4441 gcc_copts = xnnpack_gcc_std_copts(),
4442 msvc_copts = xnnpack_msvc_std_copts(),
4443 deps = [
4444 "@FP16",
4445 "@FXdiv",
4446 "@pthreadpool",
4447 ],
4448)
4449
4450xnnpack_cc_library(
Marat Dukhanab582382020-07-06 13:32:08 -07004451 name = "packing",
4452 srcs = ["src/packing.c"],
4453 hdrs = INTERNAL_HDRS,
4454 gcc_copts = xnnpack_gcc_std_copts(),
4455 msvc_copts = xnnpack_msvc_std_copts(),
4456 deps = [
4457 "@FP16",
4458 "@FXdiv",
4459 "@pthreadpool",
4460 ],
4461)
4462
4463xnnpack_cc_library(
4464 name = "packing_test_mode",
4465 srcs = ["src/packing.c"],
4466 hdrs = INTERNAL_HDRS,
4467 copts = [
4468 "-UNDEBUG",
4469 "-DXNN_TEST_MODE=1",
4470 ],
4471 gcc_copts = xnnpack_gcc_std_copts(),
4472 msvc_copts = xnnpack_msvc_std_copts(),
4473 deps = [
4474 "@FP16",
4475 "@FXdiv",
4476 "@pthreadpool",
4477 ],
4478)
4479
4480xnnpack_cc_library(
Marat Dukhan08c4a432019-10-03 09:29:21 -07004481 name = "operator_run",
4482 srcs = ["src/operator-run.c"],
Marat Dukhanc8e00eb2019-10-04 14:55:26 -07004483 hdrs = INTERNAL_HDRS + LOGGING_HDRS,
Marat Dukhan10a38082020-04-17 03:58:35 -07004484 copts = LOGGING_COPTS + select({
Marat Dukhan05702cf2020-03-26 15:41:33 -07004485 ":xnn_enable_hmp_explicit_false": ["-DXNN_MAX_UARCH_TYPES=1"],
4486 "//conditions:default": [],
4487 }),
Marat Dukhan10a38082020-04-17 03:58:35 -07004488 gcc_copts = xnnpack_gcc_std_copts(),
4489 msvc_copts = xnnpack_msvc_std_copts(),
Marat Dukhan08c4a432019-10-03 09:29:21 -07004490 deps = [
Marat Dukhan3b59de22020-06-03 20:15:19 -07004491 ":logging_utils",
Marat Dukhan08c4a432019-10-03 09:29:21 -07004492 "@FP16",
4493 "@FXdiv",
4494 "@clog",
4495 "@pthreadpool",
4496 ],
4497)
4498
Chao Mei6ddfc602020-05-13 22:29:36 -07004499xnnpack_cc_library(
Marat Dukhan33fcf782020-05-24 14:27:15 -07004500 name = "operator_run_test_mode",
4501 srcs = ["src/operator-run.c"],
4502 hdrs = INTERNAL_HDRS + LOGGING_HDRS,
4503 copts = LOGGING_COPTS + [
4504 "-UNDEBUG",
4505 "-DXNN_TEST_MODE=1",
4506 ] + select({
4507 ":xnn_enable_hmp_explicit_false": ["-DXNN_MAX_UARCH_TYPES=1"],
4508 "//conditions:default": [],
4509 }),
4510 gcc_copts = xnnpack_gcc_std_copts(),
4511 msvc_copts = xnnpack_msvc_std_copts(),
4512 deps = [
Marat Dukhan3b59de22020-06-03 20:15:19 -07004513 ":logging_utils",
Marat Dukhan33fcf782020-05-24 14:27:15 -07004514 "@FP16",
4515 "@FXdiv",
4516 "@clog",
4517 "@pthreadpool",
4518 ],
4519)
4520
4521xnnpack_cc_library(
Chao Mei6ddfc602020-05-13 22:29:36 -07004522 name = "memory_planner",
4523 srcs = ["src/memory-planner.c"],
4524 hdrs = INTERNAL_HDRS,
4525 defines = select({
4526 ":xnn_enable_memopt_explicit_true": ["XNN_ENABLE_MEMOPT=1"],
4527 ":xnn_enable_memopt_explicit_false": ["XNN_ENABLE_MEMOPT=0"],
4528 "//conditions:default": ["XNN_ENABLE_MEMOPT=1"],
4529 }),
4530 gcc_copts = xnnpack_gcc_std_copts(),
4531 msvc_copts = xnnpack_msvc_std_copts(),
4532 deps = [
Marat Dukhan3b59de22020-06-03 20:15:19 -07004533 ":logging_utils",
Chao Mei6ddfc602020-05-13 22:29:36 -07004534 "@pthreadpool",
4535 ],
4536)
4537
Marat Dukhan33fcf782020-05-24 14:27:15 -07004538xnnpack_cc_library(
4539 name = "memory_planner_test_mode",
4540 srcs = ["src/memory-planner.c"],
4541 hdrs = INTERNAL_HDRS,
4542 copts = [
4543 "-UNDEBUG",
4544 "-DXNN_TEST_MODE=1",
4545 ],
4546 defines = select({
4547 ":xnn_enable_memopt_explicit_true": ["XNN_ENABLE_MEMOPT=1"],
4548 ":xnn_enable_memopt_explicit_false": ["XNN_ENABLE_MEMOPT=0"],
4549 "//conditions:default": ["XNN_ENABLE_MEMOPT=1"],
4550 }),
4551 gcc_copts = xnnpack_gcc_std_copts(),
4552 msvc_copts = xnnpack_msvc_std_copts(),
4553 deps = [
Marat Dukhan3b59de22020-06-03 20:15:19 -07004554 ":logging_utils",
Marat Dukhan33fcf782020-05-24 14:27:15 -07004555 "@pthreadpool",
4556 ],
4557)
4558
Marat Dukhan08c4a432019-10-03 09:29:21 -07004559cc_library(
4560 name = "enable_assembly",
4561 defines = select({
4562 ":xnn_enable_assembly_explicit_true": ["XNN_ENABLE_ASSEMBLY=1"],
4563 ":xnn_enable_assembly_explicit_false": ["XNN_ENABLE_ASSEMBLY=0"],
Frank Barchard810171d2019-10-10 10:34:51 -07004564 "//conditions:default": ["XNN_ENABLE_ASSEMBLY=1"],
Marat Dukhan08c4a432019-10-03 09:29:21 -07004565 }),
4566)
4567
Marat Dukhan9de90e02020-06-18 16:04:12 -07004568cc_library(
4569 name = "enable_sparse",
4570 defines = select({
4571 ":xnn_enable_sparse_explicit_true": ["XNN_ENABLE_SPARSE=1"],
4572 ":xnn_enable_sparse_explicit_false": ["XNN_ENABLE_SPARSE=0"],
Marat Dukhanb36582b2020-12-08 11:16:28 -08004573 "//conditions:default": ["XNN_ENABLE_SPARSE=1"],
Marat Dukhan9de90e02020-06-18 16:04:12 -07004574 }),
4575)
4576
Marat Dukhancf056b22019-10-07 10:26:29 -07004577xnnpack_cc_library(
Marat Dukhan08c4a432019-10-03 09:29:21 -07004578 name = "operators",
4579 srcs = OPERATOR_SRCS + [
Marat Dukhan04f03be2019-11-19 12:36:47 -08004580 "src/memory.c",
Marat Dukhan08c4a432019-10-03 09:29:21 -07004581 "src/operator-delete.c",
Marat Dukhancf056b22019-10-07 10:26:29 -07004582 ],
4583 hdrs = INTERNAL_HDRS + LOGGING_HDRS,
Marat Dukhan10a38082020-04-17 03:58:35 -07004584 copts = LOGGING_COPTS + [
Marat Dukhan08c4a432019-10-03 09:29:21 -07004585 "-Isrc",
4586 "-Iinclude",
4587 ] + select({
4588 ":debug_build": [],
4589 "//conditions:default": xnnpack_min_size_copts(),
Marat Dukhan05702cf2020-03-26 15:41:33 -07004590 }) + select({
4591 ":xnn_enable_hmp_explicit_false": ["-DXNN_MAX_UARCH_TYPES=1"],
4592 "//conditions:default": [],
Marat Dukhan08c4a432019-10-03 09:29:21 -07004593 }),
Marat Dukhan10a38082020-04-17 03:58:35 -07004594 gcc_copts = xnnpack_gcc_std_copts(),
4595 msvc_copts = xnnpack_msvc_std_copts(),
Marat Dukhan08c4a432019-10-03 09:29:21 -07004596 deps = [
Marat Dukhan08c4a432019-10-03 09:29:21 -07004597 ":indirection",
Marat Dukhan3b59de22020-06-03 20:15:19 -07004598 ":logging_utils",
Marat Dukhanab582382020-07-06 13:32:08 -07004599 ":packing",
Marat Dukhan08c4a432019-10-03 09:29:21 -07004600 "@FP16",
4601 "@FXdiv",
4602 "@clog",
Marat Dukhan08c4a432019-10-03 09:29:21 -07004603 "@pthreadpool",
Marat Dukhan8fe54e42019-10-10 14:12:59 -07004604 ],
4605)
4606
Marat Dukhan10a38082020-04-17 03:58:35 -07004607xnnpack_cc_library(
Marat Dukhan33fcf782020-05-24 14:27:15 -07004608 name = "operators_test_mode",
4609 srcs = OPERATOR_SRCS + [
4610 "src/memory.c",
4611 "src/operator-delete.c",
4612 ],
4613 hdrs = INTERNAL_HDRS + LOGGING_HDRS,
4614 copts = LOGGING_COPTS + [
4615 "-Isrc",
4616 "-Iinclude",
4617 "-UNDEBUG",
4618 "-DXNN_TEST_MODE=1",
4619 ] + select({
4620 ":debug_build": [],
4621 "//conditions:default": xnnpack_min_size_copts(),
4622 }) + select({
4623 ":xnn_enable_hmp_explicit_false": ["-DXNN_MAX_UARCH_TYPES=1"],
4624 "//conditions:default": [],
4625 }),
4626 gcc_copts = xnnpack_gcc_std_copts(),
4627 msvc_copts = xnnpack_msvc_std_copts(),
4628 deps = [
4629 ":indirection_test_mode",
Marat Dukhan3b59de22020-06-03 20:15:19 -07004630 ":logging_utils",
Marat Dukhanab582382020-07-06 13:32:08 -07004631 ":packing_test_mode",
Marat Dukhan33fcf782020-05-24 14:27:15 -07004632 "@FP16",
4633 "@FXdiv",
4634 "@clog",
4635 "@pthreadpool",
4636 ],
4637)
4638
4639xnnpack_cc_library(
Marat Dukhan8fe54e42019-10-10 14:12:59 -07004640 name = "XNNPACK",
4641 srcs = [
4642 "src/init.c",
Marat Dukhanccfdbd12020-02-03 14:27:45 -08004643 "src/runtime.c",
4644 "src/subgraph.c",
4645 "src/tensor.c",
Marat Dukhanf03da0d2020-06-10 16:00:20 -07004646 ] + SUBGRAPH_SRCS,
Marat Dukhan10a38082020-04-17 03:58:35 -07004647 hdrs = ["include/xnnpack.h"],
4648 copts = LOGGING_COPTS + [
Marat Dukhan8fe54e42019-10-10 14:12:59 -07004649 "-Isrc",
4650 "-Iinclude",
4651 ] + select({
4652 ":debug_build": [],
4653 "//conditions:default": xnnpack_min_size_copts(),
Marat Dukhan05702cf2020-03-26 15:41:33 -07004654 }) + select({
4655 ":xnn_enable_hmp_explicit_false": ["-DXNN_MAX_UARCH_TYPES=1"],
4656 "//conditions:default": [],
Marat Dukhan8fe54e42019-10-10 14:12:59 -07004657 }),
Marat Dukhan10a38082020-04-17 03:58:35 -07004658 gcc_copts = xnnpack_gcc_std_copts(),
Marat Dukhan8fe54e42019-10-10 14:12:59 -07004659 includes = ["include"],
Marat Dukhan10a38082020-04-17 03:58:35 -07004660 msvc_copts = xnnpack_msvc_std_copts(),
Marat Dukhan8fe54e42019-10-10 14:12:59 -07004661 visibility = xnnpack_visibility(),
4662 deps = [
4663 ":enable_assembly",
Marat Dukhan9de90e02020-06-18 16:04:12 -07004664 ":enable_sparse",
Marat Dukhan3b59de22020-06-03 20:15:19 -07004665 ":logging_utils",
Chao Mei6ddfc602020-05-13 22:29:36 -07004666 ":memory_planner",
Marat Dukhan8fe54e42019-10-10 14:12:59 -07004667 ":operator_run",
4668 ":operators",
Marat Dukhan3b59de22020-06-03 20:15:19 -07004669 ":ukernels",
Marat Dukhan8fe54e42019-10-10 14:12:59 -07004670 "@clog",
Marat Dukhanab2946c2020-05-21 20:04:13 -07004671 "@FP16",
Marat Dukhan8fe54e42019-10-10 14:12:59 -07004672 "@pthreadpool",
Marat Dukhand343c222019-10-07 09:22:14 -07004673 ] + select({
4674 ":emscripten": [],
4675 "//conditions:default": ["@cpuinfo"],
4676 }),
Marat Dukhan08c4a432019-10-03 09:29:21 -07004677)
4678
Marat Dukhan10a38082020-04-17 03:58:35 -07004679xnnpack_cc_library(
Marat Dukhan33fcf782020-05-24 14:27:15 -07004680 name = "XNNPACK_test_mode",
4681 srcs = [
4682 "src/init.c",
4683 "src/runtime.c",
4684 "src/subgraph.c",
4685 "src/tensor.c",
Marat Dukhanf03da0d2020-06-10 16:00:20 -07004686 ] + SUBGRAPH_SRCS,
Marat Dukhan33fcf782020-05-24 14:27:15 -07004687 hdrs = ["include/xnnpack.h"],
4688 copts = LOGGING_COPTS + [
4689 "-Isrc",
4690 "-Iinclude",
4691 "-UNDEBUG",
4692 "-DXNN_TEST_MODE=1",
4693 ] + select({
4694 ":debug_build": [],
4695 "//conditions:default": xnnpack_min_size_copts(),
4696 }) + select({
4697 ":xnn_enable_hmp_explicit_false": ["-DXNN_MAX_UARCH_TYPES=1"],
4698 "//conditions:default": [],
4699 }),
4700 gcc_copts = xnnpack_gcc_std_copts(),
4701 includes = ["include"],
4702 msvc_copts = xnnpack_msvc_std_copts(),
4703 visibility = xnnpack_visibility(),
4704 deps = [
4705 ":enable_assembly",
Marat Dukhan9de90e02020-06-18 16:04:12 -07004706 ":enable_sparse",
Marat Dukhan3b59de22020-06-03 20:15:19 -07004707 ":logging_utils",
Marat Dukhan33fcf782020-05-24 14:27:15 -07004708 ":memory_planner_test_mode",
Marat Dukhan33fcf782020-05-24 14:27:15 -07004709 ":operator_run_test_mode",
4710 ":operators_test_mode",
Marat Dukhan3b59de22020-06-03 20:15:19 -07004711 ":ukernels_test_mode",
Marat Dukhan33fcf782020-05-24 14:27:15 -07004712 "@clog",
4713 "@FP16",
4714 "@pthreadpool",
4715 ] + select({
4716 ":emscripten": [],
4717 "//conditions:default": ["@cpuinfo"],
4718 }),
4719)
4720
4721xnnpack_cc_library(
Marat Dukhanae046f52020-06-15 13:16:14 -07004722 name = "xnnpack_f32",
4723 srcs = [
4724 "src/init.c",
4725 "src/runtime.c",
4726 "src/subgraph.c",
4727 "src/tensor.c",
4728 ] + SUBGRAPH_SRCS,
4729 hdrs = ["include/xnnpack.h"],
4730 copts = LOGGING_COPTS + [
4731 "-Isrc",
4732 "-Iinclude",
4733 ] + select({
4734 ":debug_build": [],
4735 "//conditions:default": xnnpack_min_size_copts(),
4736 }) + select({
4737 ":xnn_enable_hmp_explicit_false": ["-DXNN_MAX_UARCH_TYPES=1"],
4738 "//conditions:default": [],
4739 }),
4740 defines = [
Marat Dukhan16f1e1a2020-08-04 16:38:22 -07004741 "XNN_NO_QS8_OPERATORS",
Marat Dukhan08b7a972020-07-14 18:17:29 -07004742 "XNN_NO_QU8_OPERATORS",
Marat Dukhanae046f52020-06-15 13:16:14 -07004743 "XNN_NO_U8_OPERATORS",
4744 "XNN_NO_X8_OPERATORS",
4745 "XNN_NO_F16_OPERATORS",
4746 "XNN_NO_X16_OPERATORS",
4747 ],
4748 gcc_copts = xnnpack_gcc_std_copts(),
4749 includes = ["include"],
4750 msvc_copts = xnnpack_msvc_std_copts(),
4751 visibility = xnnpack_visibility(),
4752 deps = [
4753 ":enable_assembly",
Marat Dukhan9de90e02020-06-18 16:04:12 -07004754 ":enable_sparse",
Marat Dukhanae046f52020-06-15 13:16:14 -07004755 ":logging_utils",
4756 ":memory_planner",
4757 ":operator_run",
4758 ":operators",
Marat Dukhan86df3842020-06-17 14:03:31 -07004759 ":ukernels_max_compatibility",
Marat Dukhanae046f52020-06-15 13:16:14 -07004760 "@clog",
4761 "@FP16",
4762 "@pthreadpool",
4763 ] + select({
4764 ":emscripten": [],
4765 "//conditions:default": ["@cpuinfo"],
4766 }),
4767)
4768
4769xnnpack_cc_library(
Marat Dukhan8fe54e42019-10-10 14:12:59 -07004770 name = "xnnpack_operators_nhwc_f32",
4771 srcs = [
4772 "src/init.c",
4773 ],
Marat Dukhan10a38082020-04-17 03:58:35 -07004774 hdrs = ["include/xnnpack.h"],
4775 copts = LOGGING_COPTS + [
Marat Dukhan8fe54e42019-10-10 14:12:59 -07004776 "-Isrc",
4777 "-Iinclude",
4778 ] + select({
4779 ":debug_build": [],
4780 "//conditions:default": xnnpack_min_size_copts(),
Marat Dukhan05702cf2020-03-26 15:41:33 -07004781 }) + select({
4782 ":xnn_enable_hmp_explicit_false": ["-DXNN_MAX_UARCH_TYPES=1"],
4783 "//conditions:default": [],
Marat Dukhan8fe54e42019-10-10 14:12:59 -07004784 }),
4785 defines = [
Marat Dukhan16f1e1a2020-08-04 16:38:22 -07004786 "XNN_NO_QS8_OPERATORS",
Marat Dukhan08b7a972020-07-14 18:17:29 -07004787 "XNN_NO_QU8_OPERATORS",
Marat Dukhan8fe54e42019-10-10 14:12:59 -07004788 "XNN_NO_U8_OPERATORS",
4789 "XNN_NO_X8_OPERATORS",
Marat Dukhanefc47b82019-11-18 09:25:38 -08004790 "XNN_NO_NCHW_OPERATORS",
Marat Dukhan8fe54e42019-10-10 14:12:59 -07004791 ],
Marat Dukhan10a38082020-04-17 03:58:35 -07004792 gcc_copts = xnnpack_gcc_std_copts(),
Marat Dukhan08c4a432019-10-03 09:29:21 -07004793 includes = ["include"],
Marat Dukhan10a38082020-04-17 03:58:35 -07004794 msvc_copts = xnnpack_msvc_std_copts(),
Marat Dukhan08c4a432019-10-03 09:29:21 -07004795 visibility = xnnpack_visibility(),
4796 deps = [
Marat Dukhan8fe54e42019-10-10 14:12:59 -07004797 ":enable_assembly",
Marat Dukhan3b59de22020-06-03 20:15:19 -07004798 ":logging_utils",
Marat Dukhan08c4a432019-10-03 09:29:21 -07004799 ":operator_run",
4800 ":operators",
Marat Dukhan3b59de22020-06-03 20:15:19 -07004801 ":ukernels",
Marat Dukhan8fe54e42019-10-10 14:12:59 -07004802 "@clog",
Marat Dukhan08c4a432019-10-03 09:29:21 -07004803 "@pthreadpool",
Marat Dukhan8fe54e42019-10-10 14:12:59 -07004804 ] + select({
4805 ":emscripten": [],
4806 "//conditions:default": ["@cpuinfo"],
4807 }),
Marat Dukhan08c4a432019-10-03 09:29:21 -07004808)
4809
Marat Dukhancf056b22019-10-07 10:26:29 -07004810xnnpack_cc_library(
Marat Dukhan08c4a432019-10-03 09:29:21 -07004811 name = "bench_utils",
4812 srcs = ["bench/utils.cc"],
4813 hdrs = ["bench/utils.h"],
Marat Dukhanbad48fe2019-11-04 10:35:22 -08004814 deps = [
4815 "@com_google_benchmark//:benchmark",
4816 "@cpuinfo",
4817 ],
Marat Dukhan08c4a432019-10-03 09:29:21 -07004818)
4819
Frank Barchard7e955972019-10-11 10:34:25 -07004820######################### Benchmarks for micro-kernels #########################
Marat Dukhan08c4a432019-10-03 09:29:21 -07004821
4822xnnpack_benchmark(
Marat Dukhan595e1702020-07-31 10:12:52 -07004823 name = "qs8_gemm_bench",
4824 srcs = [
4825 "bench/gemm.h",
4826 "bench/qs8-gemm.cc",
4827 "src/xnnpack/AlignedAllocator.h",
4828 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_BENCHMARK_HDRS,
Frank Barchard31328cb2020-10-12 11:55:18 -07004829 copts = xnnpack_optional_ruy_copts() + xnnpack_optional_gemmlowp_copts(),
4830 deps = MICROKERNEL_BENCHMARK_DEPS + [":packing"] + xnnpack_optional_ruy_deps() + xnnpack_optional_gemmlowp_deps(),
Marat Dukhan595e1702020-07-31 10:12:52 -07004831)
4832
4833xnnpack_benchmark(
Marat Dukhan56bdd4a2020-08-03 19:47:04 -07004834 name = "qs8_requantization_bench",
4835 srcs = [
4836 "bench/qs8-requantization.cc",
Marat Dukhan56bdd4a2020-08-03 19:47:04 -07004837 "src/xnnpack/AlignedAllocator.h",
Frank Barchard04336c12020-10-22 16:48:55 -07004838 "src/xnnpack/requantization-stubs.h",
Marat Dukhan56bdd4a2020-08-03 19:47:04 -07004839 ] + MICROKERNEL_BENCHMARK_HDRS,
4840 deps = MICROKERNEL_BENCHMARK_DEPS,
4841)
4842
4843xnnpack_benchmark(
Marat Dukhan08b7a972020-07-14 18:17:29 -07004844 name = "qu8_gemm_bench",
Marat Dukhan08c4a432019-10-03 09:29:21 -07004845 srcs = [
4846 "bench/gemm.h",
Marat Dukhan08b7a972020-07-14 18:17:29 -07004847 "bench/qu8-gemm.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07004848 "src/xnnpack/AlignedAllocator.h",
4849 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_BENCHMARK_HDRS,
Marat Dukhan10a38082020-04-17 03:58:35 -07004850 copts = xnnpack_optional_ruy_copts() + xnnpack_optional_gemmlowp_copts(),
Marat Dukhanab582382020-07-06 13:32:08 -07004851 deps = MICROKERNEL_BENCHMARK_DEPS + [":packing"] + xnnpack_optional_ruy_deps() + xnnpack_optional_gemmlowp_deps(),
Marat Dukhan08c4a432019-10-03 09:29:21 -07004852)
4853
4854xnnpack_benchmark(
Marat Dukhan5b69f8b2020-07-24 15:26:48 -07004855 name = "qu8_requantization_bench",
4856 srcs = [
4857 "bench/qu8-requantization.cc",
Marat Dukhan5b69f8b2020-07-24 15:26:48 -07004858 "src/xnnpack/AlignedAllocator.h",
Frank Barchard04336c12020-10-22 16:48:55 -07004859 "src/xnnpack/requantization-stubs.h",
Marat Dukhan5b69f8b2020-07-24 15:26:48 -07004860 ] + MICROKERNEL_BENCHMARK_HDRS,
4861 deps = MICROKERNEL_BENCHMARK_DEPS,
4862)
4863
4864xnnpack_benchmark(
Frank Barchard40d20fe2020-05-05 00:37:45 -07004865 name = "f16_igemm_bench",
4866 srcs = [
4867 "bench/f16-igemm.cc",
4868 "bench/conv.h",
4869 "bench/google/conv.h",
4870 "src/xnnpack/AlignedAllocator.h",
4871 ] + MICROKERNEL_BENCHMARK_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07004872 deps = MICROKERNEL_BENCHMARK_DEPS + [
4873 ":indirection",
4874 ":packing",
4875 ],
Frank Barchard40d20fe2020-05-05 00:37:45 -07004876)
4877
4878xnnpack_benchmark(
Marat Dukhan08c4a432019-10-03 09:29:21 -07004879 name = "f16_gemm_bench",
4880 srcs = [
4881 "bench/f16-gemm.cc",
4882 "bench/gemm.h",
4883 "src/xnnpack/AlignedAllocator.h",
4884 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_BENCHMARK_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07004885 deps = MICROKERNEL_BENCHMARK_DEPS + [
4886 ":packing",
4887 ],
Marat Dukhan08c4a432019-10-03 09:29:21 -07004888)
4889
4890xnnpack_benchmark(
Marat Dukhanbdb56f52020-02-05 21:42:49 -08004891 name = "f16_spmm_bench",
4892 srcs = [
4893 "bench/f16-spmm.cc",
Marat Dukhan1631e3e2020-12-06 19:29:31 -08004894 "bench/spmm.h",
Marat Dukhanbdb56f52020-02-05 21:42:49 -08004895 "src/xnnpack/AlignedAllocator.h",
4896 ] + MICROKERNEL_BENCHMARK_HDRS,
Marat Dukhanbdb56f52020-02-05 21:42:49 -08004897 deps = MICROKERNEL_BENCHMARK_DEPS,
4898)
4899
4900xnnpack_benchmark(
Marat Dukhan08c4a432019-10-03 09:29:21 -07004901 name = "f32_igemm_bench",
4902 srcs = [
4903 "bench/f32-igemm.cc",
4904 "bench/conv.h",
4905 "src/xnnpack/AlignedAllocator.h",
4906 ] + MICROKERNEL_BENCHMARK_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07004907 deps = MICROKERNEL_BENCHMARK_DEPS + [
4908 ":indirection",
4909 ":packing",
4910 ],
Marat Dukhan08c4a432019-10-03 09:29:21 -07004911)
4912
4913xnnpack_benchmark(
Frank Barchardc2010062020-07-19 10:04:12 -07004914 name = "f16_relu_bench",
4915 srcs = [
4916 "bench/f16-relu.cc",
4917 "src/xnnpack/AlignedAllocator.h",
4918 ] + MICROKERNEL_BENCHMARK_HDRS,
4919 deps = MICROKERNEL_BENCHMARK_DEPS,
4920)
4921
4922xnnpack_benchmark(
Marat Dukhan08c4a432019-10-03 09:29:21 -07004923 name = "f32_conv_hwc_bench",
4924 srcs = [
4925 "bench/f32-conv-hwc.cc",
4926 "bench/dconv.h",
4927 "src/xnnpack/AlignedAllocator.h",
4928 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_BENCHMARK_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07004929 deps = MICROKERNEL_BENCHMARK_DEPS + [
4930 ":packing",
4931 ],
Marat Dukhan08c4a432019-10-03 09:29:21 -07004932)
4933
4934xnnpack_benchmark(
Marat Dukhan1f29b802020-05-15 23:46:39 -07004935 name = "f32_conv_hwc2chw_bench",
Erich Elsen563df5f2019-10-23 08:02:21 -07004936 srcs = [
Marat Dukhan1f29b802020-05-15 23:46:39 -07004937 "bench/f32-conv-hwc2chw.cc",
Erich Elsen563df5f2019-10-23 08:02:21 -07004938 "bench/dconv.h",
4939 "src/xnnpack/AlignedAllocator.h",
4940 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_BENCHMARK_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07004941 deps = MICROKERNEL_BENCHMARK_DEPS + [
4942 ":packing",
4943 ],
Erich Elsen563df5f2019-10-23 08:02:21 -07004944)
4945
4946xnnpack_benchmark(
Frank Barchard5a599a62020-06-04 20:12:44 -07004947 name = "f16_dwconv_bench",
4948 srcs = [
4949 "bench/f16-dwconv.cc",
4950 "bench/dwconv.h",
4951 "bench/google/dwconv.h",
4952 "src/xnnpack/AlignedAllocator.h",
4953 ] + MICROKERNEL_BENCHMARK_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07004954 deps = MICROKERNEL_BENCHMARK_DEPS + [
4955 ":indirection",
4956 ":packing",
4957 ],
Frank Barchard5a599a62020-06-04 20:12:44 -07004958)
4959
4960xnnpack_benchmark(
Marat Dukhan08c4a432019-10-03 09:29:21 -07004961 name = "f32_dwconv_bench",
4962 srcs = [
4963 "bench/f32-dwconv.cc",
4964 "bench/dwconv.h",
4965 "src/xnnpack/AlignedAllocator.h",
4966 ] + MICROKERNEL_BENCHMARK_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07004967 deps = MICROKERNEL_BENCHMARK_DEPS + [
4968 ":indirection",
4969 ":packing",
4970 ],
Marat Dukhan08c4a432019-10-03 09:29:21 -07004971)
4972
4973xnnpack_benchmark(
Marat Dukhanbf715f92020-10-23 20:17:00 -07004974 name = "f32_dwconv2d_chw_bench",
Marat Dukhan08c4a432019-10-03 09:29:21 -07004975 srcs = [
Marat Dukhanbf715f92020-10-23 20:17:00 -07004976 "bench/f32-dwconv2d-chw.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07004977 "bench/dwconv.h",
4978 "src/xnnpack/AlignedAllocator.h",
4979 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_BENCHMARK_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07004980 deps = MICROKERNEL_BENCHMARK_DEPS + [
4981 ":indirection",
4982 ":packing",
4983 ],
Marat Dukhan08c4a432019-10-03 09:29:21 -07004984)
4985
4986xnnpack_benchmark(
4987 name = "f32_gemm_bench",
4988 srcs = [
4989 "bench/f32-gemm.cc",
4990 "bench/gemm.h",
4991 "src/xnnpack/AlignedAllocator.h",
4992 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_BENCHMARK_HDRS,
Marat Dukhan10a38082020-04-17 03:58:35 -07004993 copts = xnnpack_optional_ruy_copts(),
Marat Dukhanab582382020-07-06 13:32:08 -07004994 deps = MICROKERNEL_BENCHMARK_DEPS + [":packing"] + xnnpack_optional_ruy_deps(),
Marat Dukhan08c4a432019-10-03 09:29:21 -07004995)
4996
4997xnnpack_benchmark(
Marat Dukhana11ca342020-06-25 23:45:07 -07004998 name = "f32_hswish_bench",
4999 srcs = [
5000 "bench/f32-hswish.cc",
5001 "src/xnnpack/AlignedAllocator.h",
5002 ] + MICROKERNEL_BENCHMARK_HDRS,
5003 deps = MICROKERNEL_BENCHMARK_DEPS,
5004)
5005
5006xnnpack_benchmark(
Marat Dukhan4c4eb002019-12-08 21:27:49 -08005007 name = "f32_raddexpminusmax_bench",
5008 srcs = [
5009 "bench/f32-raddexpminusmax.cc",
5010 "src/xnnpack/AlignedAllocator.h",
5011 ] + MICROKERNEL_BENCHMARK_HDRS,
5012 deps = MICROKERNEL_BENCHMARK_DEPS,
5013)
5014
5015xnnpack_benchmark(
5016 name = "f32_raddextexp_bench",
5017 srcs = [
5018 "bench/f32-raddextexp.cc",
5019 "src/xnnpack/AlignedAllocator.h",
5020 ] + MICROKERNEL_BENCHMARK_HDRS,
5021 deps = MICROKERNEL_BENCHMARK_DEPS,
5022)
5023
5024xnnpack_benchmark(
5025 name = "f32_raddstoreexpminusmax_bench",
5026 srcs = [
5027 "bench/f32-raddstoreexpminusmax.cc",
5028 "src/xnnpack/AlignedAllocator.h",
5029 ] + MICROKERNEL_BENCHMARK_HDRS,
5030 deps = MICROKERNEL_BENCHMARK_DEPS,
5031)
5032
5033xnnpack_benchmark(
Frank Barchard3c4a9522020-07-18 16:11:22 -07005034 name = "f32_relu_bench",
5035 srcs = [
5036 "bench/f32-relu.cc",
5037 "src/xnnpack/AlignedAllocator.h",
5038 ] + MICROKERNEL_BENCHMARK_HDRS,
5039 deps = MICROKERNEL_BENCHMARK_DEPS,
5040)
5041
5042xnnpack_benchmark(
Marat Dukhan08c4a432019-10-03 09:29:21 -07005043 name = "f32_rmax_bench",
5044 srcs = [
5045 "bench/f32-rmax.cc",
5046 "src/xnnpack/AlignedAllocator.h",
5047 ] + MICROKERNEL_BENCHMARK_HDRS,
5048 deps = MICROKERNEL_BENCHMARK_DEPS,
5049)
5050
5051xnnpack_benchmark(
Marat Dukhan14bec502019-11-18 11:35:31 -08005052 name = "f32_sigmoid_bench",
5053 srcs = [
5054 "bench/f32-sigmoid.cc",
5055 "src/xnnpack/AlignedAllocator.h",
5056 ] + MICROKERNEL_BENCHMARK_HDRS,
Marat Dukhan14bec502019-11-18 11:35:31 -08005057 deps = MICROKERNEL_BENCHMARK_DEPS,
5058)
5059
5060xnnpack_benchmark(
Marat Dukhan08c4a432019-10-03 09:29:21 -07005061 name = "f32_spmm_bench",
5062 srcs = [
5063 "bench/f32-spmm.cc",
Marat Dukhan1631e3e2020-12-06 19:29:31 -08005064 "bench/spmm.h",
Marat Dukhan08c4a432019-10-03 09:29:21 -07005065 "src/xnnpack/AlignedAllocator.h",
5066 ] + MICROKERNEL_BENCHMARK_HDRS,
Marat Dukhan08c4a432019-10-03 09:29:21 -07005067 deps = MICROKERNEL_BENCHMARK_DEPS,
5068)
5069
5070xnnpack_benchmark(
Marat Dukhanfd8e6892020-01-27 15:25:25 -08005071 name = "f32_softmax_bench",
Marat Dukhan4a4a7fa2019-10-21 13:46:14 -07005072 srcs = [
Marat Dukhanfd8e6892020-01-27 15:25:25 -08005073 "bench/f32-softmax.cc",
Marat Dukhan4a4a7fa2019-10-21 13:46:14 -07005074 ] + MICROKERNEL_BENCHMARK_HDRS,
Marat Dukhan10a38082020-04-17 03:58:35 -07005075 copts = xnnpack_optional_dnnl_copts(),
Marat Dukhan8d3c6932020-03-06 20:27:27 -08005076 deps = MICROKERNEL_BENCHMARK_DEPS + xnnpack_optional_dnnl_deps(),
Marat Dukhan4a4a7fa2019-10-21 13:46:14 -07005077)
5078
5079xnnpack_benchmark(
Marat Dukhaned6baaf2020-12-01 15:07:08 -08005080 name = "f32_velu_bench",
5081 srcs = [
5082 "bench/f32-velu.cc",
5083 "src/xnnpack/AlignedAllocator.h",
5084 ] + MICROKERNEL_BENCHMARK_HDRS,
5085 deps = MICROKERNEL_BENCHMARK_DEPS,
5086)
5087
5088xnnpack_benchmark(
Marat Dukhan4c4eb002019-12-08 21:27:49 -08005089 name = "f32_vscaleexpminusmax_bench",
5090 srcs = [
5091 "bench/f32-vscaleexpminusmax.cc",
5092 "src/xnnpack/AlignedAllocator.h",
5093 ] + MICROKERNEL_BENCHMARK_HDRS,
5094 deps = MICROKERNEL_BENCHMARK_DEPS,
5095)
5096
5097xnnpack_benchmark(
5098 name = "f32_vscaleextexp_bench",
5099 srcs = [
5100 "bench/f32-vscaleextexp.cc",
5101 "src/xnnpack/AlignedAllocator.h",
5102 ] + MICROKERNEL_BENCHMARK_HDRS,
5103 deps = MICROKERNEL_BENCHMARK_DEPS,
5104)
5105
5106xnnpack_benchmark(
Marat Dukhanf4db2f32020-06-30 10:55:30 -07005107 name = "f32_vsqrt_bench",
5108 srcs = [
5109 "bench/f32-vsqrt.cc",
5110 "src/xnnpack/AlignedAllocator.h",
5111 ] + MICROKERNEL_BENCHMARK_HDRS,
5112 deps = MICROKERNEL_BENCHMARK_DEPS,
5113)
5114
5115xnnpack_benchmark(
Marat Dukhan08c4a432019-10-03 09:29:21 -07005116 name = "f32_im2col_gemm_bench",
5117 srcs = [
5118 "bench/f32-im2col-gemm.cc",
5119 "bench/conv.h",
5120 "src/xnnpack/AlignedAllocator.h",
5121 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_BENCHMARK_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07005122 deps = MICROKERNEL_BENCHMARK_DEPS + [
5123 ":im2col",
5124 ":packing",
5125 ],
Marat Dukhan08c4a432019-10-03 09:29:21 -07005126)
5127
Marat Dukhanfe7acb62020-03-09 19:30:05 -07005128xnnpack_benchmark(
Marat Dukhanffbf96a2020-05-14 02:59:08 -07005129 name = "rounding_bench",
5130 srcs = [
5131 "bench/rounding.cc",
Marat Dukhanffbf96a2020-05-14 02:59:08 -07005132 "src/xnnpack/AlignedAllocator.h",
Frank Barchard04336c12020-10-22 16:48:55 -07005133 "src/xnnpack/math-stubs.h",
Marat Dukhanffbf96a2020-05-14 02:59:08 -07005134 ] + MICROKERNEL_BENCHMARK_HDRS,
5135 deps = MICROKERNEL_BENCHMARK_DEPS,
5136)
5137
Marat Dukhan08c4a432019-10-03 09:29:21 -07005138########################### Benchmarks for operators ###########################
5139
5140xnnpack_benchmark(
Marat Dukhan08c4a432019-10-03 09:29:21 -07005141 name = "average_pooling_bench",
5142 srcs = ["bench/average-pooling.cc"],
Marat Dukhan7a16d8b2020-03-11 04:22:44 -07005143 copts = xnnpack_optional_tflite_copts(),
Marat Dukhan8ea0b072020-04-23 16:12:18 -07005144 tags = ["nowin32"],
Marat Dukhan1b354632020-03-23 12:50:22 -07005145 deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(),
Marat Dukhan08c4a432019-10-03 09:29:21 -07005146)
5147
5148xnnpack_benchmark(
Marat Dukhan87727142020-06-24 15:24:10 -07005149 name = "bankers_rounding_bench",
5150 srcs = ["bench/bankers-rounding.cc"],
5151 copts = xnnpack_optional_tflite_copts(),
5152 tags = ["nowin32"],
5153 deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(),
5154)
5155
5156xnnpack_benchmark(
5157 name = "ceiling_bench",
5158 srcs = ["bench/ceiling.cc"],
5159 copts = xnnpack_optional_tflite_copts(),
5160 tags = ["nowin32"],
5161 deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(),
5162)
5163
5164xnnpack_benchmark(
Marat Dukhan08c4a432019-10-03 09:29:21 -07005165 name = "channel_shuffle_bench",
5166 srcs = ["bench/channel-shuffle.cc"],
Marat Dukhan1b354632020-03-23 12:50:22 -07005167 deps = OPERATOR_BENCHMARK_DEPS,
Marat Dukhan08c4a432019-10-03 09:29:21 -07005168)
5169
5170xnnpack_benchmark(
5171 name = "convolution_bench",
5172 srcs = ["bench/convolution.cc"],
5173 copts = xnnpack_optional_tflite_copts() + xnnpack_optional_armcl_copts(),
Marat Dukhan8ea0b072020-04-23 16:12:18 -07005174 tags = ["nowin32"],
Marat Dukhan1b354632020-03-23 12:50:22 -07005175 deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps() + xnnpack_optional_armcl_deps(),
Marat Dukhan08c4a432019-10-03 09:29:21 -07005176)
5177
5178xnnpack_benchmark(
5179 name = "deconvolution_bench",
5180 srcs = ["bench/deconvolution.cc"],
5181 copts = xnnpack_optional_tflite_copts(),
Marat Dukhan8ea0b072020-04-23 16:12:18 -07005182 tags = ["nowin32"],
Marat Dukhan1b354632020-03-23 12:50:22 -07005183 deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(),
Marat Dukhan08c4a432019-10-03 09:29:21 -07005184)
5185
5186xnnpack_benchmark(
Marat Dukhanb6bd4bc2020-12-01 17:01:40 -08005187 name = "elu_bench",
5188 srcs = ["bench/elu.cc"],
5189 copts = xnnpack_optional_tflite_copts(),
5190 tags = ["nowin32"],
5191 deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(),
5192)
5193
5194xnnpack_benchmark(
Marat Dukhan87727142020-06-24 15:24:10 -07005195 name = "floor_bench",
5196 srcs = ["bench/floor.cc"],
5197 copts = xnnpack_optional_tflite_copts(),
5198 tags = ["nowin32"],
5199 deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(),
5200)
5201
5202xnnpack_benchmark(
Marat Dukhan08c4a432019-10-03 09:29:21 -07005203 name = "global_average_pooling_bench",
5204 srcs = ["bench/global-average-pooling.cc"],
Marat Dukhan1b354632020-03-23 12:50:22 -07005205 deps = OPERATOR_BENCHMARK_DEPS,
Marat Dukhan08c4a432019-10-03 09:29:21 -07005206)
5207
5208xnnpack_benchmark(
Marat Dukhanad352602020-06-25 21:50:54 -07005209 name = "hardswish_bench",
5210 srcs = ["bench/hardswish.cc"],
5211 copts = xnnpack_optional_tflite_copts(),
5212 tags = ["nowin32"],
5213 deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(),
5214)
5215
5216xnnpack_benchmark(
Marat Dukhan08c4a432019-10-03 09:29:21 -07005217 name = "max_pooling_bench",
5218 srcs = ["bench/max-pooling.cc"],
Marat Dukhan1b354632020-03-23 12:50:22 -07005219 deps = OPERATOR_BENCHMARK_DEPS,
Marat Dukhan08c4a432019-10-03 09:29:21 -07005220)
5221
5222xnnpack_benchmark(
5223 name = "sigmoid_bench",
5224 srcs = ["bench/sigmoid.cc"],
Marat Dukhanc3b9e862019-11-17 13:18:54 -08005225 copts = xnnpack_optional_tflite_copts(),
Marat Dukhanca2ba702020-04-24 01:31:47 -07005226 tags = ["nowin32"],
Marat Dukhan1b354632020-03-23 12:50:22 -07005227 deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(),
Marat Dukhan08c4a432019-10-03 09:29:21 -07005228)
5229
5230xnnpack_benchmark(
Marat Dukhan95b22432019-10-30 16:30:14 -07005231 name = "prelu_bench",
5232 srcs = ["bench/prelu.cc"],
5233 copts = xnnpack_optional_tflite_copts(),
Marat Dukhan8ea0b072020-04-23 16:12:18 -07005234 tags = ["nowin32"],
Marat Dukhan1b354632020-03-23 12:50:22 -07005235 deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(),
Marat Dukhan95b22432019-10-30 16:30:14 -07005236)
5237
5238xnnpack_benchmark(
Marat Dukhanfd8e6892020-01-27 15:25:25 -08005239 name = "softmax_bench",
5240 srcs = ["bench/softmax.cc"],
Marat Dukhan9c0db962020-01-28 12:30:14 -08005241 copts = xnnpack_optional_tflite_copts(),
Marat Dukhanca2ba702020-04-24 01:31:47 -07005242 tags = ["nowin32"],
Marat Dukhan1b354632020-03-23 12:50:22 -07005243 deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(),
Marat Dukhan08c4a432019-10-03 09:29:21 -07005244)
5245
Marat Dukhan87727142020-06-24 15:24:10 -07005246xnnpack_benchmark(
Marat Dukhan6804bbd2020-06-30 19:26:11 -07005247 name = "square_root_bench",
5248 srcs = ["bench/square-root.cc"],
5249 copts = xnnpack_optional_tflite_copts(),
5250 tags = ["nowin32"],
5251 deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(),
5252)
5253
5254xnnpack_benchmark(
Marat Dukhan87727142020-06-24 15:24:10 -07005255 name = "truncation_bench",
5256 srcs = ["bench/truncation.cc"],
5257 deps = OPERATOR_BENCHMARK_DEPS,
5258)
5259
Marat Dukhanc068bb62019-10-04 13:24:39 -07005260############################# End-to-end benchmarks ############################
5261
5262cc_library(
Marat Dukhan270a2c42020-06-26 16:45:52 -07005263 name = "fp32_mobilenet_v1",
5264 srcs = ["models/fp32-mobilenet-v1.cc"],
Marat Dukhanc068bb62019-10-04 13:24:39 -07005265 hdrs = ["models/models.h"],
Marat Dukhana84e40b2019-12-11 15:38:03 -08005266 copts = xnnpack_std_cxxopts(),
Marat Dukhanc068bb62019-10-04 13:24:39 -07005267 linkstatic = True,
5268 deps = [
5269 ":XNNPACK",
5270 "@pthreadpool",
5271 ],
5272)
5273
5274cc_library(
Marat Dukhan270a2c42020-06-26 16:45:52 -07005275 name = "fp16_mobilenet_v1",
5276 srcs = ["models/fp16-mobilenet-v1.cc"],
5277 hdrs = ["models/models.h"],
5278 copts = xnnpack_std_cxxopts(),
5279 linkstatic = True,
5280 deps = [
5281 ":XNNPACK",
5282 "@FP16",
5283 "@pthreadpool",
5284 ],
5285)
5286
5287cc_library(
Marat Dukhan0743cdf2020-08-04 18:52:07 -07005288 name = "qs8_mobilenet_v1",
5289 srcs = ["models/qs8-mobilenet-v1.cc"],
5290 hdrs = ["models/models.h"],
5291 copts = xnnpack_std_cxxopts(),
5292 linkstatic = True,
5293 deps = [
5294 ":XNNPACK",
5295 "@pthreadpool",
5296 ],
5297)
5298
5299cc_library(
Marat Dukhan70a96182020-09-03 17:13:58 -07005300 name = "qs8_mobilenet_v2",
5301 srcs = ["models/qs8-mobilenet-v2.cc"],
5302 hdrs = ["models/models.h"],
5303 copts = xnnpack_std_cxxopts(),
5304 linkstatic = True,
5305 deps = [
5306 ":XNNPACK",
5307 "@pthreadpool",
5308 ],
5309)
5310
5311cc_library(
Marat Dukhan270a2c42020-06-26 16:45:52 -07005312 name = "fp32_mobilenet_v2",
5313 srcs = ["models/fp32-mobilenet-v2.cc"],
Marat Dukhanc068bb62019-10-04 13:24:39 -07005314 hdrs = ["models/models.h"],
Marat Dukhana84e40b2019-12-11 15:38:03 -08005315 copts = xnnpack_std_cxxopts(),
Marat Dukhanc068bb62019-10-04 13:24:39 -07005316 linkstatic = True,
5317 deps = [
5318 ":XNNPACK",
5319 "@pthreadpool",
5320 ],
5321)
5322
Marat Dukhanc08cdf52019-12-09 09:17:51 -08005323cc_library(
Marat Dukhan270a2c42020-06-26 16:45:52 -07005324 name = "fp16_mobilenet_v2",
5325 srcs = ["models/fp16-mobilenet-v2.cc"],
5326 hdrs = ["models/models.h"],
5327 copts = xnnpack_std_cxxopts(),
5328 linkstatic = True,
5329 deps = [
5330 ":XNNPACK",
5331 "@FP16",
5332 "@pthreadpool",
5333 ],
5334)
5335
5336cc_library(
5337 name = "fp32_mobilenet_v3_large",
5338 srcs = ["models/fp32-mobilenet-v3-large.cc"],
Marat Dukhanc08cdf52019-12-09 09:17:51 -08005339 hdrs = ["models/models.h"],
Marat Dukhana84e40b2019-12-11 15:38:03 -08005340 copts = xnnpack_std_cxxopts(),
Marat Dukhanc08cdf52019-12-09 09:17:51 -08005341 linkstatic = True,
5342 deps = [
5343 ":XNNPACK",
5344 "@pthreadpool",
5345 ],
5346)
5347
5348cc_library(
Marat Dukhan66f3ccd2020-09-14 16:09:38 -07005349 name = "fp16_mobilenet_v3_large",
5350 srcs = ["models/fp16-mobilenet-v3-large.cc"],
5351 hdrs = ["models/models.h"],
5352 copts = xnnpack_std_cxxopts(),
5353 linkstatic = True,
5354 deps = [
5355 ":XNNPACK",
5356 "@FP16",
5357 "@pthreadpool",
5358 ],
5359)
5360
5361cc_library(
Marat Dukhan270a2c42020-06-26 16:45:52 -07005362 name = "fp32_mobilenet_v3_small",
5363 srcs = ["models/fp32-mobilenet-v3-small.cc"],
Marat Dukhanc08cdf52019-12-09 09:17:51 -08005364 hdrs = ["models/models.h"],
Marat Dukhana84e40b2019-12-11 15:38:03 -08005365 copts = xnnpack_std_cxxopts(),
Marat Dukhanc08cdf52019-12-09 09:17:51 -08005366 linkstatic = True,
5367 deps = [
5368 ":XNNPACK",
5369 "@pthreadpool",
5370 ],
5371)
5372
Marat Dukhan66f3ccd2020-09-14 16:09:38 -07005373cc_library(
5374 name = "fp16_mobilenet_v3_small",
5375 srcs = ["models/fp16-mobilenet-v3-small.cc"],
5376 hdrs = ["models/models.h"],
5377 copts = xnnpack_std_cxxopts(),
5378 linkstatic = True,
5379 deps = [
5380 ":XNNPACK",
5381 "@FP16",
5382 "@pthreadpool",
5383 ],
5384)
5385
Marat Dukhanc068bb62019-10-04 13:24:39 -07005386xnnpack_benchmark(
Marat Dukhanef4416e2019-10-31 13:44:40 -07005387 name = "f32_dwconv_e2e_bench",
Marat Dukhanc08cdf52019-12-09 09:17:51 -08005388 srcs = [
5389 "bench/f32-dwconv-e2e.cc",
5390 "bench/end2end.h",
5391 ] + MICROKERNEL_BENCHMARK_HDRS,
Marat Dukhanef4416e2019-10-31 13:44:40 -07005392 deps = MICROKERNEL_BENCHMARK_DEPS + [
5393 ":XNNPACK",
Marat Dukhan270a2c42020-06-26 16:45:52 -07005394 ":fp32_mobilenet_v1",
5395 ":fp32_mobilenet_v2",
5396 ":fp32_mobilenet_v3_large",
5397 ":fp32_mobilenet_v3_small",
Marat Dukhanef4416e2019-10-31 13:44:40 -07005398 ],
5399)
5400
5401xnnpack_benchmark(
Marat Dukhan5f18d262019-10-31 10:24:14 -07005402 name = "f32_gemm_e2e_bench",
Marat Dukhanc08cdf52019-12-09 09:17:51 -08005403 srcs = [
5404 "bench/f32-gemm-e2e.cc",
5405 "bench/end2end.h",
5406 ] + MICROKERNEL_BENCHMARK_HDRS,
Marat Dukhan5f18d262019-10-31 10:24:14 -07005407 deps = MICROKERNEL_BENCHMARK_DEPS + [
5408 ":XNNPACK",
Marat Dukhan270a2c42020-06-26 16:45:52 -07005409 ":fp32_mobilenet_v1",
5410 ":fp32_mobilenet_v2",
5411 ":fp32_mobilenet_v3_large",
5412 ":fp32_mobilenet_v3_small",
Marat Dukhan5f18d262019-10-31 10:24:14 -07005413 ],
5414)
5415
5416xnnpack_benchmark(
Marat Dukhanc068bb62019-10-04 13:24:39 -07005417 name = "end2end_bench",
5418 srcs = ["bench/end2end.cc"],
5419 deps = [
5420 ":XNNPACK",
Frank Barchardc712fa42019-10-31 14:00:21 -07005421 ":bench_utils",
Marat Dukhan270a2c42020-06-26 16:45:52 -07005422 ":fp16_mobilenet_v1",
5423 ":fp16_mobilenet_v2",
Marat Dukhan66f3ccd2020-09-14 16:09:38 -07005424 ":fp16_mobilenet_v3_large",
5425 ":fp16_mobilenet_v3_small",
Marat Dukhan270a2c42020-06-26 16:45:52 -07005426 ":fp32_mobilenet_v1",
5427 ":fp32_mobilenet_v2",
5428 ":fp32_mobilenet_v3_large",
5429 ":fp32_mobilenet_v3_small",
Marat Dukhan0743cdf2020-08-04 18:52:07 -07005430 ":qs8_mobilenet_v1",
Marat Dukhan70a96182020-09-03 17:13:58 -07005431 ":qs8_mobilenet_v2",
Marat Dukhanc068bb62019-10-04 13:24:39 -07005432 "@pthreadpool",
5433 ],
5434)
5435
Marat Dukhan6adff4e2019-10-14 18:32:07 -07005436#################### Accuracy evaluation for math functions ####################
5437
5438xnnpack_benchmark(
Marat Dukhancf67ec62020-12-14 09:56:37 -08005439 name = "f32_exp_ulp_eval",
Marat Dukhan6adff4e2019-10-14 18:32:07 -07005440 srcs = [
Marat Dukhancf67ec62020-12-14 09:56:37 -08005441 "eval/f32-exp-ulp.cc",
Marat Dukhan6adff4e2019-10-14 18:32:07 -07005442 "src/xnnpack/AlignedAllocator.h",
5443 ] + ACCURACY_EVAL_HDRS,
Marat Dukhan3a305212020-12-06 19:24:27 -08005444 deps = ACCURACY_EVAL_DEPS + [
5445 ":bench_utils",
5446 "@cpuinfo",
5447 ],
Marat Dukhan6adff4e2019-10-14 18:32:07 -07005448)
5449
Marat Dukhan515c9772019-10-17 18:07:57 -07005450xnnpack_benchmark(
Marat Dukhancf67ec62020-12-14 09:56:37 -08005451 name = "f32_expminus_ulp_eval",
Marat Dukhan515c9772019-10-17 18:07:57 -07005452 srcs = [
Marat Dukhancf67ec62020-12-14 09:56:37 -08005453 "eval/f32-expminus-ulp.cc",
Marat Dukhan515c9772019-10-17 18:07:57 -07005454 "src/xnnpack/AlignedAllocator.h",
5455 ] + ACCURACY_EVAL_HDRS,
Marat Dukhan3a305212020-12-06 19:24:27 -08005456 deps = ACCURACY_EVAL_DEPS + [
5457 ":bench_utils",
5458 "@cpuinfo",
5459 ],
Marat Dukhan515c9772019-10-17 18:07:57 -07005460)
5461
Marat Dukhan98ba4412019-10-23 02:14:28 -07005462xnnpack_benchmark(
Marat Dukhancf67ec62020-12-14 09:56:37 -08005463 name = "f32_expm1minus_ulp_eval",
Marat Dukhana438aca2020-11-20 15:45:01 -08005464 srcs = [
Marat Dukhancf67ec62020-12-14 09:56:37 -08005465 "eval/f32-expm1minus-ulp.cc",
Marat Dukhana438aca2020-11-20 15:45:01 -08005466 "src/xnnpack/AlignedAllocator.h",
5467 ] + ACCURACY_EVAL_HDRS,
Marat Dukhande390d42020-11-29 19:32:18 -08005468 deps = ACCURACY_EVAL_DEPS + [
5469 ":bench_utils",
Marat Dukhan3a305212020-12-06 19:24:27 -08005470 "@cpuinfo",
Marat Dukhande390d42020-11-29 19:32:18 -08005471 ],
Marat Dukhana438aca2020-11-20 15:45:01 -08005472)
5473
5474xnnpack_benchmark(
Marat Dukhancf67ec62020-12-14 09:56:37 -08005475 name = "f32_extexp_ulp_eval",
Marat Dukhan98ba4412019-10-23 02:14:28 -07005476 srcs = [
Marat Dukhancf67ec62020-12-14 09:56:37 -08005477 "eval/f32-extexp-ulp.cc",
Marat Dukhan98ba4412019-10-23 02:14:28 -07005478 "src/xnnpack/AlignedAllocator.h",
5479 ] + ACCURACY_EVAL_HDRS,
Marat Dukhan3a305212020-12-06 19:24:27 -08005480 deps = ACCURACY_EVAL_DEPS + [
5481 ":bench_utils",
5482 "@cpuinfo",
5483 ],
Marat Dukhan98ba4412019-10-23 02:14:28 -07005484)
5485
Marat Dukhanf44f0222020-12-14 11:53:27 -08005486xnnpack_benchmark(
5487 name = "f32_sigmoid_ulp_eval",
5488 srcs = [
5489 "eval/f32-sigmoid-ulp.cc",
5490 "src/xnnpack/AlignedAllocator.h",
5491 ] + ACCURACY_EVAL_HDRS,
5492 deps = ACCURACY_EVAL_DEPS + [
5493 ":bench_utils",
5494 "@cpuinfo",
5495 ],
5496)
5497
5498xnnpack_benchmark(
5499 name = "f32_sqrt_ulp_eval",
5500 srcs = [
5501 "eval/f32-sqrt-ulp.cc",
5502 "src/xnnpack/AlignedAllocator.h",
5503 ] + ACCURACY_EVAL_HDRS,
5504 deps = ACCURACY_EVAL_DEPS + [
5505 ":bench_utils",
5506 "@cpuinfo",
5507 ],
5508)
5509
5510################### Accuracy verification for math functions ##################
5511
5512xnnpack_unit_test(
Marat Dukhanf7291fc2020-12-15 11:02:50 -08005513 name = "f32_exp_eval",
5514 srcs = [
5515 "eval/f32-exp.cc",
5516 "src/xnnpack/AlignedAllocator.h",
5517 "src/xnnpack/math-stubs.h",
5518 ] + MICROKERNEL_TEST_HDRS,
5519 automatic = False,
5520 deps = MICROKERNEL_TEST_DEPS,
5521)
5522
5523xnnpack_unit_test(
Marat Dukhanf44f0222020-12-14 11:53:27 -08005524 name = "f32_expm1minus_eval",
5525 srcs = [
5526 "eval/f32-expm1minus.cc",
5527 "src/xnnpack/AlignedAllocator.h",
5528 "src/xnnpack/math-stubs.h",
5529 ] + MICROKERNEL_TEST_HDRS,
5530 automatic = False,
5531 deps = MICROKERNEL_TEST_DEPS,
5532)
5533
Marat Dukhan8853b822020-05-07 12:19:01 -07005534xnnpack_unit_test(
Marat Dukhand28a5a22020-12-14 15:27:22 -08005535 name = "f32_expminus_eval",
5536 srcs = [
5537 "eval/f32-expminus.cc",
5538 "src/xnnpack/AlignedAllocator.h",
5539 "src/xnnpack/math-stubs.h",
5540 ] + MICROKERNEL_TEST_HDRS,
5541 automatic = False,
5542 deps = MICROKERNEL_TEST_DEPS,
5543)
5544
5545xnnpack_unit_test(
Marat Dukhan8853b822020-05-07 12:19:01 -07005546 name = "f32_roundne_eval",
5547 srcs = [
5548 "eval/f32-roundne.cc",
5549 "src/xnnpack/AlignedAllocator.h",
5550 "src/xnnpack/math-stubs.h",
5551 ] + MICROKERNEL_TEST_HDRS,
Marat Dukhan22eed3d2020-05-11 20:13:37 -07005552 automatic = False,
Marat Dukhan8853b822020-05-07 12:19:01 -07005553 deps = MICROKERNEL_TEST_DEPS,
5554)
5555
Marat Dukhan2dbb9442020-05-12 20:43:43 -07005556xnnpack_unit_test(
Marat Dukhanc9852ba2020-05-13 17:21:29 -07005557 name = "f32_roundd_eval",
5558 srcs = [
5559 "eval/f32-roundd.cc",
5560 "src/xnnpack/AlignedAllocator.h",
5561 "src/xnnpack/math-stubs.h",
5562 ] + MICROKERNEL_TEST_HDRS,
5563 automatic = False,
5564 deps = MICROKERNEL_TEST_DEPS,
5565)
5566
5567xnnpack_unit_test(
5568 name = "f32_roundu_eval",
5569 srcs = [
5570 "eval/f32-roundu.cc",
5571 "src/xnnpack/AlignedAllocator.h",
5572 "src/xnnpack/math-stubs.h",
5573 ] + MICROKERNEL_TEST_HDRS,
5574 automatic = False,
5575 deps = MICROKERNEL_TEST_DEPS,
5576)
5577
5578xnnpack_unit_test(
Marat Dukhan2dbb9442020-05-12 20:43:43 -07005579 name = "f32_roundz_eval",
5580 srcs = [
5581 "eval/f32-roundz.cc",
5582 "src/xnnpack/AlignedAllocator.h",
5583 "src/xnnpack/math-stubs.h",
5584 ] + MICROKERNEL_TEST_HDRS,
Marat Dukhanc9852ba2020-05-13 17:21:29 -07005585 automatic = False,
Marat Dukhan2dbb9442020-05-12 20:43:43 -07005586 deps = MICROKERNEL_TEST_DEPS,
5587)
5588
Marat Dukhan08c4a432019-10-03 09:29:21 -07005589######################### Unit tests for micro-kernels #########################
5590
5591xnnpack_unit_test(
Marat Dukhande06f492020-04-09 00:19:31 -07005592 name = "f16_gemm_minmax_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07005593 srcs = [
Marat Dukhande06f492020-04-09 00:19:31 -07005594 "test/f16-gemm-minmax.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07005595 "test/gemm-microkernel-tester.h",
5596 "src/xnnpack/AlignedAllocator.h",
5597 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07005598 deps = MICROKERNEL_TEST_DEPS + [":packing"],
Marat Dukhan08c4a432019-10-03 09:29:21 -07005599)
5600
5601xnnpack_unit_test(
Marat Dukhan355ab432020-04-09 19:01:52 -07005602 name = "f16_spmm_minmax_test",
Marat Dukhanbdb56f52020-02-05 21:42:49 -08005603 srcs = [
Marat Dukhan355ab432020-04-09 19:01:52 -07005604 "test/f16-spmm-minmax.cc",
Marat Dukhanbdb56f52020-02-05 21:42:49 -08005605 "test/spmm-microkernel-tester.h",
5606 "src/xnnpack/AlignedAllocator.h",
5607 ] + MICROKERNEL_TEST_HDRS,
5608 deps = MICROKERNEL_TEST_DEPS,
5609)
5610
5611xnnpack_unit_test(
Marat Dukhan08c4a432019-10-03 09:29:21 -07005612 name = "f32_argmaxpool_test",
5613 srcs = [
5614 "test/f32-argmaxpool.cc",
5615 "test/argmaxpool-microkernel-tester.h",
5616 "src/xnnpack/AlignedAllocator.h",
5617 ] + MICROKERNEL_TEST_HDRS,
5618 deps = MICROKERNEL_TEST_DEPS,
5619)
5620
5621xnnpack_unit_test(
Marat Dukhan99936602020-04-11 16:47:01 -07005622 name = "f32_avgpool_minmax_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07005623 srcs = [
Marat Dukhan99936602020-04-11 16:47:01 -07005624 "test/f32-avgpool-minmax.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07005625 "test/avgpool-microkernel-tester.h",
5626 "src/xnnpack/AlignedAllocator.h",
5627 ] + MICROKERNEL_TEST_HDRS,
5628 deps = MICROKERNEL_TEST_DEPS,
5629)
5630
5631xnnpack_unit_test(
Marat Dukhan660fd192020-03-10 04:55:30 -07005632 name = "f32_ibilinear_test",
Marat Dukhan35dacfb2019-11-07 19:18:16 -08005633 srcs = [
Marat Dukhan660fd192020-03-10 04:55:30 -07005634 "test/f32-ibilinear.cc",
5635 "test/ibilinear-microkernel-tester.h",
Marat Dukhan35dacfb2019-11-07 19:18:16 -08005636 "src/xnnpack/AlignedAllocator.h",
5637 ] + MICROKERNEL_TEST_HDRS,
5638 deps = MICROKERNEL_TEST_DEPS,
5639)
5640
5641xnnpack_unit_test(
XNNPACK Team21432672020-10-19 19:58:48 -07005642 name = "f32_ibilinear_chw_test",
5643 srcs = [
5644 "test/f32-ibilinear-chw.cc",
XNNPACK Team6be46b22020-10-22 23:34:54 -07005645 "test/ibilinear-microkernel-tester.h",
XNNPACK Team21432672020-10-19 19:58:48 -07005646 "src/xnnpack/AlignedAllocator.h",
5647 ] + MICROKERNEL_TEST_HDRS,
5648 deps = MICROKERNEL_TEST_DEPS,
5649)
5650
5651xnnpack_unit_test(
Frank Barchardb1966592020-05-12 13:47:06 -07005652 name = "f16_clamp_test",
5653 srcs = [
5654 "test/f16-clamp.cc",
5655 "test/clamp-microkernel-tester.h",
5656 ] + MICROKERNEL_TEST_HDRS,
5657 deps = MICROKERNEL_TEST_DEPS,
5658)
5659
5660xnnpack_unit_test(
Marat Dukhan08c4a432019-10-03 09:29:21 -07005661 name = "f32_clamp_test",
5662 srcs = [
5663 "test/f32-clamp.cc",
5664 "test/clamp-microkernel-tester.h",
5665 ] + MICROKERNEL_TEST_HDRS,
5666 deps = MICROKERNEL_TEST_DEPS,
5667)
5668
5669xnnpack_unit_test(
Marat Dukhan163a7e62020-04-09 04:19:26 -07005670 name = "f32_igemm_test",
5671 srcs = [
5672 "test/f32-igemm.cc",
5673 "test/gemm-microkernel-tester.h",
5674 "src/xnnpack/AlignedAllocator.h",
5675 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07005676 deps = MICROKERNEL_TEST_DEPS + [":packing"],
Marat Dukhan163a7e62020-04-09 04:19:26 -07005677)
5678
5679xnnpack_unit_test(
Marat Dukhan467f6362020-05-22 23:21:55 -07005680 name = "f32_igemm_relu_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07005681 srcs = [
Marat Dukhan467f6362020-05-22 23:21:55 -07005682 "test/f32-igemm-relu.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07005683 "test/gemm-microkernel-tester.h",
5684 "src/xnnpack/AlignedAllocator.h",
5685 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07005686 deps = MICROKERNEL_TEST_DEPS + [":packing"],
Marat Dukhan08c4a432019-10-03 09:29:21 -07005687)
5688
5689xnnpack_unit_test(
Marat Dukhane207b7b2020-05-28 16:27:42 -07005690 name = "f32_igemm_minmax_test",
5691 srcs = [
5692 "test/f32-igemm-minmax.cc",
5693 "test/gemm-microkernel-tester.h",
5694 "src/xnnpack/AlignedAllocator.h",
5695 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07005696 deps = MICROKERNEL_TEST_DEPS + [":packing"],
Marat Dukhane207b7b2020-05-28 16:27:42 -07005697)
5698
5699xnnpack_unit_test(
Frank Barchardb0e4fae2020-05-04 15:27:51 -07005700 name = "f16_igemm_minmax_test",
5701 srcs = [
5702 "test/f16-igemm-minmax.cc",
5703 "test/gemm-microkernel-tester.h",
5704 "src/xnnpack/AlignedAllocator.h",
5705 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07005706 deps = MICROKERNEL_TEST_DEPS + [":packing"],
Frank Barchardb0e4fae2020-05-04 15:27:51 -07005707)
5708
5709xnnpack_unit_test(
Marat Dukhan08c4a432019-10-03 09:29:21 -07005710 name = "f32_conv_hwc_test",
5711 srcs = [
5712 "test/f32-conv-hwc.cc",
5713 "test/conv-hwc-microkernel-tester.h",
5714 "src/xnnpack/AlignedAllocator.h",
5715 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07005716 deps = MICROKERNEL_TEST_DEPS + [":packing"],
Marat Dukhan08c4a432019-10-03 09:29:21 -07005717)
5718
5719xnnpack_unit_test(
Marat Dukhan1f29b802020-05-15 23:46:39 -07005720 name = "f32_conv_hwc2chw_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07005721 srcs = [
Marat Dukhan1f29b802020-05-15 23:46:39 -07005722 "test/f32-conv-hwc2chw.cc",
5723 "test/conv-hwc2chw-microkernel-tester.h",
Marat Dukhan08c4a432019-10-03 09:29:21 -07005724 "src/xnnpack/AlignedAllocator.h",
5725 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07005726 deps = MICROKERNEL_TEST_DEPS + [":packing"],
Marat Dukhan08c4a432019-10-03 09:29:21 -07005727)
5728
5729xnnpack_unit_test(
Marat Dukhan163a7e62020-04-09 04:19:26 -07005730 name = "f32_dwconv_test",
5731 srcs = [
5732 "test/f32-dwconv.cc",
5733 "test/dwconv-microkernel-tester.h",
5734 "src/xnnpack/AlignedAllocator.h",
5735 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07005736 deps = MICROKERNEL_TEST_DEPS + [":packing"],
Marat Dukhan163a7e62020-04-09 04:19:26 -07005737)
5738
5739xnnpack_unit_test(
Frank Barchard5a599a62020-06-04 20:12:44 -07005740 name = "f16_dwconv_minmax_test",
5741 srcs = [
5742 "test/f16-dwconv-minmax.cc",
5743 "test/dwconv-microkernel-tester.h",
5744 "src/xnnpack/AlignedAllocator.h",
5745 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07005746 deps = MICROKERNEL_TEST_DEPS + [":packing"],
Frank Barchard5a599a62020-06-04 20:12:44 -07005747)
5748
5749xnnpack_unit_test(
Marat Dukhan1c587112020-04-08 20:04:28 -07005750 name = "f32_dwconv_minmax_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07005751 srcs = [
Marat Dukhan1c587112020-04-08 20:04:28 -07005752 "test/f32-dwconv-minmax.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07005753 "test/dwconv-microkernel-tester.h",
5754 "src/xnnpack/AlignedAllocator.h",
5755 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07005756 deps = MICROKERNEL_TEST_DEPS + [":packing"],
Marat Dukhan08c4a432019-10-03 09:29:21 -07005757)
5758
5759xnnpack_unit_test(
Marat Dukhanbf715f92020-10-23 20:17:00 -07005760 name = "f32_dwconv2d_chw_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07005761 srcs = [
Marat Dukhanbf715f92020-10-23 20:17:00 -07005762 "test/f32-dwconv2d-chw.cc",
5763 "test/dwconv2d-microkernel-tester.h",
Marat Dukhan08c4a432019-10-03 09:29:21 -07005764 "src/xnnpack/AlignedAllocator.h",
5765 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07005766 deps = MICROKERNEL_TEST_DEPS + [":packing"],
Marat Dukhan08c4a432019-10-03 09:29:21 -07005767)
5768
5769xnnpack_unit_test(
Frank Barchard0bb49a72020-06-04 11:35:11 -07005770 name = "f16_gavgpool_minmax_test",
5771 srcs = [
5772 "test/f16-gavgpool-minmax.cc",
5773 "test/gavgpool-microkernel-tester.h",
5774 "src/xnnpack/AlignedAllocator.h",
5775 ] + MICROKERNEL_TEST_HDRS,
5776 deps = MICROKERNEL_TEST_DEPS,
5777)
5778
5779xnnpack_unit_test(
Marat Dukhan99936602020-04-11 16:47:01 -07005780 name = "f32_gavgpool_minmax_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07005781 srcs = [
Marat Dukhan99936602020-04-11 16:47:01 -07005782 "test/f32-gavgpool-minmax.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07005783 "test/gavgpool-microkernel-tester.h",
5784 "src/xnnpack/AlignedAllocator.h",
5785 ] + MICROKERNEL_TEST_HDRS,
5786 deps = MICROKERNEL_TEST_DEPS,
5787)
5788
5789xnnpack_unit_test(
Marat Dukhan1f29b802020-05-15 23:46:39 -07005790 name = "f32_gavgpool_cw_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07005791 srcs = [
Marat Dukhan1f29b802020-05-15 23:46:39 -07005792 "test/f32-gavgpool-cw.cc",
5793 "test/gavgpool-cw-microkernel-tester.h",
Marat Dukhan08c4a432019-10-03 09:29:21 -07005794 "src/xnnpack/AlignedAllocator.h",
5795 ] + MICROKERNEL_TEST_HDRS,
5796 deps = MICROKERNEL_TEST_DEPS,
5797)
5798
5799xnnpack_unit_test(
Marat Dukhan163a7e62020-04-09 04:19:26 -07005800 name = "f32_gemm_test",
5801 srcs = [
5802 "test/f32-gemm.cc",
5803 "test/gemm-microkernel-tester.h",
5804 "src/xnnpack/AlignedAllocator.h",
5805 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07005806 deps = MICROKERNEL_TEST_DEPS + [":packing"],
Marat Dukhan163a7e62020-04-09 04:19:26 -07005807)
5808
5809xnnpack_unit_test(
Marat Dukhan467f6362020-05-22 23:21:55 -07005810 name = "f32_gemm_relu_test",
5811 srcs = [
5812 "test/f32-gemm-relu.cc",
5813 "test/gemm-microkernel-tester.h",
5814 "src/xnnpack/AlignedAllocator.h",
5815 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07005816 deps = MICROKERNEL_TEST_DEPS + [":packing"],
Marat Dukhan467f6362020-05-22 23:21:55 -07005817)
5818
5819xnnpack_unit_test(
Marat Dukhan1c587112020-04-08 20:04:28 -07005820 name = "f32_gemm_minmax_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07005821 srcs = [
Marat Dukhan1c587112020-04-08 20:04:28 -07005822 "test/f32-gemm-minmax.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07005823 "test/gemm-microkernel-tester.h",
5824 "src/xnnpack/AlignedAllocator.h",
5825 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07005826 deps = MICROKERNEL_TEST_DEPS + [":packing"],
Marat Dukhan08c4a432019-10-03 09:29:21 -07005827)
5828
5829xnnpack_unit_test(
Marat Dukhan1c587112020-04-08 20:04:28 -07005830 name = "f32_gemminc_minmax_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07005831 srcs = [
Marat Dukhan1c587112020-04-08 20:04:28 -07005832 "test/f32-gemminc-minmax.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07005833 "test/gemm-microkernel-tester.h",
5834 "src/xnnpack/AlignedAllocator.h",
5835 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07005836 deps = MICROKERNEL_TEST_DEPS + [":packing"],
Marat Dukhan08c4a432019-10-03 09:29:21 -07005837)
5838
5839xnnpack_unit_test(
Frank Barchardb1966592020-05-12 13:47:06 -07005840 name = "f16_hswish_test",
5841 srcs = [
5842 "test/f16-hswish.cc",
5843 "test/hswish-microkernel-tester.h",
5844 ] + MICROKERNEL_TEST_HDRS,
5845 deps = MICROKERNEL_TEST_DEPS,
5846)
5847
5848xnnpack_unit_test(
Marat Dukhan08c4a432019-10-03 09:29:21 -07005849 name = "f32_hswish_test",
5850 srcs = [
5851 "test/f32-hswish.cc",
5852 "test/hswish-microkernel-tester.h",
5853 ] + MICROKERNEL_TEST_HDRS,
5854 deps = MICROKERNEL_TEST_DEPS,
5855)
5856
5857xnnpack_unit_test(
Marat Dukhan99936602020-04-11 16:47:01 -07005858 name = "f32_maxpool_minmax_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07005859 srcs = [
Marat Dukhan99936602020-04-11 16:47:01 -07005860 "test/f32-maxpool-minmax.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07005861 "test/maxpool-microkernel-tester.h",
5862 ] + MICROKERNEL_TEST_HDRS,
5863 deps = MICROKERNEL_TEST_DEPS,
5864)
5865
5866xnnpack_unit_test(
Marat Dukhan99936602020-04-11 16:47:01 -07005867 name = "f32_pavgpool_minmax_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07005868 srcs = [
Marat Dukhan99936602020-04-11 16:47:01 -07005869 "test/f32-pavgpool-minmax.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07005870 "test/avgpool-microkernel-tester.h",
5871 "src/xnnpack/AlignedAllocator.h",
5872 ] + MICROKERNEL_TEST_HDRS,
5873 deps = MICROKERNEL_TEST_DEPS,
5874)
5875
5876xnnpack_unit_test(
Marat Dukhan1c587112020-04-08 20:04:28 -07005877 name = "f32_ppmm_minmax_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07005878 srcs = [
Marat Dukhan1c587112020-04-08 20:04:28 -07005879 "test/f32-ppmm-minmax.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07005880 "test/gemm-microkernel-tester.h",
5881 "src/xnnpack/AlignedAllocator.h",
5882 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07005883 deps = MICROKERNEL_TEST_DEPS + [":packing"],
Marat Dukhan08c4a432019-10-03 09:29:21 -07005884)
5885
5886xnnpack_unit_test(
Frank Barchardb1966592020-05-12 13:47:06 -07005887 name = "f16_prelu_test",
5888 srcs = [
5889 "test/f16-prelu.cc",
5890 "test/prelu-microkernel-tester.h",
5891 "src/xnnpack/AlignedAllocator.h",
5892 ] + MICROKERNEL_TEST_HDRS,
5893 deps = MICROKERNEL_TEST_DEPS,
5894)
5895
5896xnnpack_unit_test(
Marat Dukhan08c4a432019-10-03 09:29:21 -07005897 name = "f32_prelu_test",
5898 srcs = [
5899 "test/f32-prelu.cc",
5900 "test/prelu-microkernel-tester.h",
5901 "src/xnnpack/AlignedAllocator.h",
5902 ] + MICROKERNEL_TEST_HDRS,
5903 deps = MICROKERNEL_TEST_DEPS,
5904)
5905
5906xnnpack_unit_test(
Marat Dukhan97579532019-10-18 16:40:39 -07005907 name = "f32_raddexpminusmax_test",
5908 srcs = [
5909 "test/f32-raddexpminusmax.cc",
5910 "test/raddexpminusmax-microkernel-tester.h",
5911 ] + MICROKERNEL_TEST_HDRS,
5912 deps = MICROKERNEL_TEST_DEPS,
5913)
5914
5915xnnpack_unit_test(
Marat Dukhan6f8d4d32019-10-25 17:07:09 -07005916 name = "f32_raddextexp_test",
5917 srcs = [
5918 "test/f32-raddextexp.cc",
5919 "test/raddextexp-microkernel-tester.h",
5920 ] + MICROKERNEL_TEST_HDRS,
5921 deps = MICROKERNEL_TEST_DEPS,
5922)
5923
5924xnnpack_unit_test(
Marat Dukhan97579532019-10-18 16:40:39 -07005925 name = "f32_raddstoreexpminusmax_test",
5926 srcs = [
5927 "test/f32-raddstoreexpminusmax.cc",
5928 "test/raddstoreexpminusmax-microkernel-tester.h",
5929 ] + MICROKERNEL_TEST_HDRS,
5930 deps = MICROKERNEL_TEST_DEPS,
5931)
5932
5933xnnpack_unit_test(
Frank Barchardfb158e22020-07-15 16:10:10 -07005934 name = "f32_relu_test",
5935 srcs = [
5936 "test/f32-relu.cc",
5937 "test/vunary-microkernel-tester.h",
5938 ] + MICROKERNEL_TEST_HDRS,
5939 deps = MICROKERNEL_TEST_DEPS,
5940)
5941
5942xnnpack_unit_test(
Marat Dukhan08c4a432019-10-03 09:29:21 -07005943 name = "f32_rmax_test",
5944 srcs = [
5945 "test/f32-rmax.cc",
5946 "test/rmax-microkernel-tester.h",
5947 ] + MICROKERNEL_TEST_HDRS,
5948 deps = MICROKERNEL_TEST_DEPS,
5949)
5950
5951xnnpack_unit_test(
Marat Dukhan346a9e52019-11-15 09:06:30 -08005952 name = "f32_sigmoid_test",
5953 srcs = [
5954 "test/f32-sigmoid.cc",
Marat Dukhan1e782c42019-11-21 17:02:40 -08005955 "test/vunary-microkernel-tester.h",
Marat Dukhan346a9e52019-11-15 09:06:30 -08005956 ] + MICROKERNEL_TEST_HDRS,
5957 deps = MICROKERNEL_TEST_DEPS,
5958)
5959
5960xnnpack_unit_test(
Marat Dukhan355ab432020-04-09 19:01:52 -07005961 name = "f32_spmm_minmax_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07005962 srcs = [
Marat Dukhan355ab432020-04-09 19:01:52 -07005963 "test/f32-spmm-minmax.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07005964 "test/spmm-microkernel-tester.h",
5965 "src/xnnpack/AlignedAllocator.h",
5966 ] + MICROKERNEL_TEST_HDRS,
5967 deps = MICROKERNEL_TEST_DEPS,
5968)
5969
5970xnnpack_unit_test(
Frank Barchardd793f6c2020-05-08 13:37:43 -07005971 name = "f16_vadd_minmax_test",
5972 srcs = [
5973 "test/f16-vadd-minmax.cc",
5974 "test/vbinary-microkernel-tester.h",
5975 ] + MICROKERNEL_TEST_HDRS,
5976 deps = MICROKERNEL_TEST_DEPS,
5977)
5978
5979xnnpack_unit_test(
5980 name = "f16_vaddc_minmax_test",
5981 srcs = [
5982 "test/f16-vaddc-minmax.cc",
5983 "test/vbinaryc-microkernel-tester.h",
5984 ] + MICROKERNEL_TEST_HDRS,
5985 deps = MICROKERNEL_TEST_DEPS,
5986)
5987
5988xnnpack_unit_test(
5989 name = "f16_vdiv_minmax_test",
5990 srcs = [
5991 "test/f16-vdiv-minmax.cc",
5992 "test/vbinary-microkernel-tester.h",
5993 ] + MICROKERNEL_TEST_HDRS,
5994 deps = MICROKERNEL_TEST_DEPS,
5995)
5996
5997xnnpack_unit_test(
5998 name = "f16_vdivc_minmax_test",
5999 srcs = [
6000 "test/f16-vdivc-minmax.cc",
6001 "test/vbinaryc-microkernel-tester.h",
6002 ] + MICROKERNEL_TEST_HDRS,
6003 deps = MICROKERNEL_TEST_DEPS,
6004)
6005
6006xnnpack_unit_test(
6007 name = "f16_vrdivc_minmax_test",
6008 srcs = [
6009 "test/f16-vrdivc-minmax.cc",
6010 "test/vbinaryc-microkernel-tester.h",
6011 ] + MICROKERNEL_TEST_HDRS,
6012 deps = MICROKERNEL_TEST_DEPS,
6013)
6014
6015xnnpack_unit_test(
6016 name = "f16_vmax_test",
6017 srcs = [
6018 "test/f16-vmax.cc",
6019 "test/vbinary-microkernel-tester.h",
6020 ] + MICROKERNEL_TEST_HDRS,
6021 deps = MICROKERNEL_TEST_DEPS,
6022)
6023
6024xnnpack_unit_test(
6025 name = "f16_vmaxc_test",
6026 srcs = [
6027 "test/f16-vmaxc.cc",
6028 "test/vbinaryc-microkernel-tester.h",
6029 ] + MICROKERNEL_TEST_HDRS,
6030 deps = MICROKERNEL_TEST_DEPS,
6031)
6032
6033xnnpack_unit_test(
6034 name = "f16_vmin_test",
6035 srcs = [
6036 "test/f16-vmin.cc",
6037 "test/vbinary-microkernel-tester.h",
6038 ] + MICROKERNEL_TEST_HDRS,
6039 deps = MICROKERNEL_TEST_DEPS,
6040)
6041
6042xnnpack_unit_test(
6043 name = "f16_vminc_test",
6044 srcs = [
6045 "test/f16-vminc.cc",
6046 "test/vbinaryc-microkernel-tester.h",
6047 ] + MICROKERNEL_TEST_HDRS,
6048 deps = MICROKERNEL_TEST_DEPS,
6049)
6050
6051xnnpack_unit_test(
6052 name = "f16_vmul_minmax_test",
6053 srcs = [
6054 "test/f16-vmul-minmax.cc",
6055 "test/vbinary-microkernel-tester.h",
6056 ] + MICROKERNEL_TEST_HDRS,
6057 deps = MICROKERNEL_TEST_DEPS,
6058)
6059
6060xnnpack_unit_test(
6061 name = "f16_vmulc_minmax_test",
6062 srcs = [
6063 "test/f16-vmulc-minmax.cc",
6064 "test/vbinaryc-microkernel-tester.h",
6065 ] + MICROKERNEL_TEST_HDRS,
6066 deps = MICROKERNEL_TEST_DEPS,
6067)
6068
6069xnnpack_unit_test(
6070 name = "f16_vsub_minmax_test",
6071 srcs = [
6072 "test/f16-vsub-minmax.cc",
6073 "test/vbinary-microkernel-tester.h",
6074 ] + MICROKERNEL_TEST_HDRS,
6075 deps = MICROKERNEL_TEST_DEPS,
6076)
6077
6078xnnpack_unit_test(
6079 name = "f16_vsubc_minmax_test",
6080 srcs = [
6081 "test/f16-vsubc-minmax.cc",
6082 "test/vbinaryc-microkernel-tester.h",
6083 ] + MICROKERNEL_TEST_HDRS,
6084 deps = MICROKERNEL_TEST_DEPS,
6085)
6086
6087xnnpack_unit_test(
6088 name = "f16_vrsubc_minmax_test",
6089 srcs = [
6090 "test/f16-vrsubc-minmax.cc",
6091 "test/vbinaryc-microkernel-tester.h",
6092 ] + MICROKERNEL_TEST_HDRS,
6093 deps = MICROKERNEL_TEST_DEPS,
6094)
6095
6096xnnpack_unit_test(
Marat Dukhan5020b962020-06-08 13:30:10 -07006097 name = "f32_vabs_test",
6098 srcs = [
6099 "test/f32-vabs.cc",
6100 "test/vunary-microkernel-tester.h",
6101 ] + MICROKERNEL_TEST_HDRS,
6102 deps = MICROKERNEL_TEST_DEPS,
6103)
6104
6105xnnpack_unit_test(
Frank Barchardd5b9f1c2020-07-01 15:00:19 -07006106 name = "f32_vadd_test",
6107 srcs = [
6108 "test/f32-vadd.cc",
6109 "test/vbinary-microkernel-tester.h",
6110 ] + MICROKERNEL_TEST_HDRS,
6111 deps = MICROKERNEL_TEST_DEPS,
6112)
6113
6114xnnpack_unit_test(
Marat Dukhan91cd2b72020-04-09 23:57:31 -07006115 name = "f32_vadd_minmax_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006116 srcs = [
Marat Dukhan91cd2b72020-04-09 23:57:31 -07006117 "test/f32-vadd-minmax.cc",
Marat Dukhan1e782c42019-11-21 17:02:40 -08006118 "test/vbinary-microkernel-tester.h",
Marat Dukhanc07cb7f2019-11-14 15:32:05 -08006119 ] + MICROKERNEL_TEST_HDRS,
6120 deps = MICROKERNEL_TEST_DEPS,
6121)
6122
6123xnnpack_unit_test(
Frank Barchard674778d2020-08-08 10:17:25 -07006124 name = "f32_vadd_relu_test",
6125 srcs = [
6126 "test/f32-vadd-relu.cc",
6127 "test/vbinary-microkernel-tester.h",
6128 ] + MICROKERNEL_TEST_HDRS,
6129 deps = MICROKERNEL_TEST_DEPS,
6130)
6131
6132xnnpack_unit_test(
Frank Barchardd5b9f1c2020-07-01 15:00:19 -07006133 name = "f32_vaddc_test",
6134 srcs = [
6135 "test/f32-vaddc.cc",
6136 "test/vbinaryc-microkernel-tester.h",
6137 ] + MICROKERNEL_TEST_HDRS,
6138 deps = MICROKERNEL_TEST_DEPS,
6139)
6140
6141xnnpack_unit_test(
Marat Dukhan91cd2b72020-04-09 23:57:31 -07006142 name = "f32_vaddc_minmax_test",
Marat Dukhanc07cb7f2019-11-14 15:32:05 -08006143 srcs = [
Marat Dukhan91cd2b72020-04-09 23:57:31 -07006144 "test/f32-vaddc-minmax.cc",
Marat Dukhan1e782c42019-11-21 17:02:40 -08006145 "test/vbinaryc-microkernel-tester.h",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006146 ] + MICROKERNEL_TEST_HDRS,
6147 deps = MICROKERNEL_TEST_DEPS,
6148)
6149
6150xnnpack_unit_test(
Frank Barchard674778d2020-08-08 10:17:25 -07006151 name = "f32_vaddc_relu_test",
6152 srcs = [
6153 "test/f32-vaddc-relu.cc",
6154 "test/vbinaryc-microkernel-tester.h",
6155 ] + MICROKERNEL_TEST_HDRS,
6156 deps = MICROKERNEL_TEST_DEPS,
6157)
6158
6159xnnpack_unit_test(
Frank Barchardd5b9f1c2020-07-01 15:00:19 -07006160 name = "f32_vdiv_test",
6161 srcs = [
6162 "test/f32-vdiv.cc",
6163 "test/vbinary-microkernel-tester.h",
6164 ] + MICROKERNEL_TEST_HDRS,
6165 deps = MICROKERNEL_TEST_DEPS,
6166)
6167
6168xnnpack_unit_test(
Marat Dukhan91cd2b72020-04-09 23:57:31 -07006169 name = "f32_vdiv_minmax_test",
Marat Dukhan77ca6302019-12-06 12:48:15 -08006170 srcs = [
Marat Dukhan91cd2b72020-04-09 23:57:31 -07006171 "test/f32-vdiv-minmax.cc",
Marat Dukhan77ca6302019-12-06 12:48:15 -08006172 "test/vbinary-microkernel-tester.h",
6173 ] + MICROKERNEL_TEST_HDRS,
6174 deps = MICROKERNEL_TEST_DEPS,
6175)
6176
6177xnnpack_unit_test(
Frank Barchard674778d2020-08-08 10:17:25 -07006178 name = "f32_vdiv_relu_test",
6179 srcs = [
6180 "test/f32-vdiv-relu.cc",
6181 "test/vbinary-microkernel-tester.h",
6182 ] + MICROKERNEL_TEST_HDRS,
6183 deps = MICROKERNEL_TEST_DEPS,
6184)
6185
6186xnnpack_unit_test(
Frank Barchardd5b9f1c2020-07-01 15:00:19 -07006187 name = "f32_vdivc_test",
6188 srcs = [
6189 "test/f32-vdivc.cc",
6190 "test/vbinaryc-microkernel-tester.h",
6191 ] + MICROKERNEL_TEST_HDRS,
6192 deps = MICROKERNEL_TEST_DEPS,
6193)
6194
6195xnnpack_unit_test(
Marat Dukhan91cd2b72020-04-09 23:57:31 -07006196 name = "f32_vdivc_minmax_test",
Marat Dukhan77ca6302019-12-06 12:48:15 -08006197 srcs = [
Marat Dukhan91cd2b72020-04-09 23:57:31 -07006198 "test/f32-vdivc-minmax.cc",
Marat Dukhan77ca6302019-12-06 12:48:15 -08006199 "test/vbinaryc-microkernel-tester.h",
6200 ] + MICROKERNEL_TEST_HDRS,
6201 deps = MICROKERNEL_TEST_DEPS,
6202)
6203
6204xnnpack_unit_test(
Frank Barchard674778d2020-08-08 10:17:25 -07006205 name = "f32_vdivc_relu_test",
6206 srcs = [
6207 "test/f32-vdivc-relu.cc",
6208 "test/vbinaryc-microkernel-tester.h",
6209 ] + MICROKERNEL_TEST_HDRS,
6210 deps = MICROKERNEL_TEST_DEPS,
6211)
6212
6213xnnpack_unit_test(
Frank Barchardd5b9f1c2020-07-01 15:00:19 -07006214 name = "f32_vrdivc_test",
6215 srcs = [
6216 "test/f32-vrdivc.cc",
6217 "test/vbinaryc-microkernel-tester.h",
6218 ] + MICROKERNEL_TEST_HDRS,
6219 deps = MICROKERNEL_TEST_DEPS,
6220)
6221
6222xnnpack_unit_test(
Marat Dukhan91cd2b72020-04-09 23:57:31 -07006223 name = "f32_vrdivc_minmax_test",
Marat Dukhan77ca6302019-12-06 12:48:15 -08006224 srcs = [
Marat Dukhan91cd2b72020-04-09 23:57:31 -07006225 "test/f32-vrdivc-minmax.cc",
Marat Dukhan77ca6302019-12-06 12:48:15 -08006226 "test/vbinaryc-microkernel-tester.h",
6227 ] + MICROKERNEL_TEST_HDRS,
6228 deps = MICROKERNEL_TEST_DEPS,
6229)
6230
6231xnnpack_unit_test(
Frank Barchard674778d2020-08-08 10:17:25 -07006232 name = "f32_vrdivc_relu_test",
6233 srcs = [
6234 "test/f32-vrdivc-relu.cc",
6235 "test/vbinaryc-microkernel-tester.h",
6236 ] + MICROKERNEL_TEST_HDRS,
6237 deps = MICROKERNEL_TEST_DEPS,
6238)
6239
6240xnnpack_unit_test(
Marat Dukhaned6baaf2020-12-01 15:07:08 -08006241 name = "f32_velu_test",
6242 srcs = [
6243 "test/f32-velu.cc",
6244 "test/vunary-microkernel-tester.h",
6245 ] + MICROKERNEL_TEST_HDRS,
6246 deps = MICROKERNEL_TEST_DEPS,
6247)
6248
6249xnnpack_unit_test(
Marat Dukhan403b7d42019-12-05 12:49:11 -08006250 name = "f32_vmax_test",
6251 srcs = [
6252 "test/f32-vmax.cc",
6253 "test/vbinary-microkernel-tester.h",
6254 ] + MICROKERNEL_TEST_HDRS,
6255 deps = MICROKERNEL_TEST_DEPS,
6256)
6257
6258xnnpack_unit_test(
6259 name = "f32_vmaxc_test",
6260 srcs = [
6261 "test/f32-vmaxc.cc",
6262 "test/vbinaryc-microkernel-tester.h",
6263 ] + MICROKERNEL_TEST_HDRS,
6264 deps = MICROKERNEL_TEST_DEPS,
6265)
6266
6267xnnpack_unit_test(
6268 name = "f32_vmin_test",
6269 srcs = [
6270 "test/f32-vmin.cc",
6271 "test/vbinary-microkernel-tester.h",
6272 ] + MICROKERNEL_TEST_HDRS,
6273 deps = MICROKERNEL_TEST_DEPS,
6274)
6275
6276xnnpack_unit_test(
6277 name = "f32_vminc_test",
6278 srcs = [
6279 "test/f32-vminc.cc",
6280 "test/vbinaryc-microkernel-tester.h",
6281 ] + MICROKERNEL_TEST_HDRS,
6282 deps = MICROKERNEL_TEST_DEPS,
6283)
6284
6285xnnpack_unit_test(
Frank Barchardd5b9f1c2020-07-01 15:00:19 -07006286 name = "f32_vmul_test",
6287 srcs = [
6288 "test/f32-vmul.cc",
6289 "test/vbinary-microkernel-tester.h",
6290 ] + MICROKERNEL_TEST_HDRS,
6291 deps = MICROKERNEL_TEST_DEPS,
6292)
6293
6294xnnpack_unit_test(
Marat Dukhan91cd2b72020-04-09 23:57:31 -07006295 name = "f32_vmul_minmax_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006296 srcs = [
Marat Dukhan91cd2b72020-04-09 23:57:31 -07006297 "test/f32-vmul-minmax.cc",
Marat Dukhan1e782c42019-11-21 17:02:40 -08006298 "test/vbinary-microkernel-tester.h",
Marat Dukhanc07cb7f2019-11-14 15:32:05 -08006299 ] + MICROKERNEL_TEST_HDRS,
6300 deps = MICROKERNEL_TEST_DEPS,
6301)
6302
6303xnnpack_unit_test(
Frank Barchard674778d2020-08-08 10:17:25 -07006304 name = "f32_vmul_relu_test",
6305 srcs = [
6306 "test/f32-vmul-relu.cc",
6307 "test/vbinary-microkernel-tester.h",
6308 ] + MICROKERNEL_TEST_HDRS,
6309 deps = MICROKERNEL_TEST_DEPS,
6310)
6311
6312xnnpack_unit_test(
Frank Barchardd5b9f1c2020-07-01 15:00:19 -07006313 name = "f32_vmulc_test",
6314 srcs = [
6315 "test/f32-vmulc.cc",
6316 "test/vbinaryc-microkernel-tester.h",
6317 ] + MICROKERNEL_TEST_HDRS,
6318 deps = MICROKERNEL_TEST_DEPS,
6319)
6320
6321xnnpack_unit_test(
Marat Dukhan91cd2b72020-04-09 23:57:31 -07006322 name = "f32_vmulc_minmax_test",
Marat Dukhanc07cb7f2019-11-14 15:32:05 -08006323 srcs = [
Marat Dukhan91cd2b72020-04-09 23:57:31 -07006324 "test/f32-vmulc-minmax.cc",
Marat Dukhan1e782c42019-11-21 17:02:40 -08006325 "test/vbinaryc-microkernel-tester.h",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006326 ] + MICROKERNEL_TEST_HDRS,
6327 deps = MICROKERNEL_TEST_DEPS,
6328)
6329
6330xnnpack_unit_test(
Frank Barchard674778d2020-08-08 10:17:25 -07006331 name = "f32_vmulc_relu_test",
6332 srcs = [
6333 "test/f32-vmulc-relu.cc",
6334 "test/vbinaryc-microkernel-tester.h",
6335 ] + MICROKERNEL_TEST_HDRS,
6336 deps = MICROKERNEL_TEST_DEPS,
6337)
6338
6339xnnpack_unit_test(
Frank Barchard2a1049c2020-06-03 02:31:27 -07006340 name = "f16_vmulcaddc_minmax_test",
6341 srcs = [
6342 "test/f16-vmulcaddc-minmax.cc",
6343 "test/vmulcaddc-microkernel-tester.h",
6344 "src/xnnpack/AlignedAllocator.h",
6345 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07006346 deps = MICROKERNEL_TEST_DEPS + [":packing"],
Frank Barchard2a1049c2020-06-03 02:31:27 -07006347)
6348
6349xnnpack_unit_test(
Marat Dukhan99936602020-04-11 16:47:01 -07006350 name = "f32_vmulcaddc_minmax_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006351 srcs = [
Marat Dukhan99936602020-04-11 16:47:01 -07006352 "test/f32-vmulcaddc-minmax.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006353 "test/vmulcaddc-microkernel-tester.h",
6354 "src/xnnpack/AlignedAllocator.h",
6355 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07006356 deps = MICROKERNEL_TEST_DEPS + [":packing"],
Marat Dukhan08c4a432019-10-03 09:29:21 -07006357)
6358
6359xnnpack_unit_test(
Marat Dukhan8cc7efe2020-06-10 16:24:27 -07006360 name = "f32_vlrelu_test",
6361 srcs = [
6362 "test/f32-vlrelu.cc",
6363 "test/vunary-microkernel-tester.h",
6364 ] + MICROKERNEL_TEST_HDRS,
6365 deps = MICROKERNEL_TEST_DEPS,
6366)
6367
6368xnnpack_unit_test(
Marat Dukhan5020b962020-06-08 13:30:10 -07006369 name = "f32_vneg_test",
6370 srcs = [
6371 "test/f32-vneg.cc",
6372 "test/vunary-microkernel-tester.h",
6373 ] + MICROKERNEL_TEST_HDRS,
6374 deps = MICROKERNEL_TEST_DEPS,
6375)
6376
6377xnnpack_unit_test(
Marat Dukhaneecf8fd2020-06-09 08:59:37 -07006378 name = "f32_vrndne_test",
6379 srcs = [
6380 "test/f32-vrndne.cc",
6381 "test/vunary-microkernel-tester.h",
6382 ] + MICROKERNEL_TEST_HDRS,
6383 deps = MICROKERNEL_TEST_DEPS,
6384)
6385
6386xnnpack_unit_test(
6387 name = "f32_vrndz_test",
6388 srcs = [
6389 "test/f32-vrndz.cc",
6390 "test/vunary-microkernel-tester.h",
6391 ] + MICROKERNEL_TEST_HDRS,
6392 deps = MICROKERNEL_TEST_DEPS,
6393)
6394
6395xnnpack_unit_test(
6396 name = "f32_vrndu_test",
6397 srcs = [
6398 "test/f32-vrndu.cc",
6399 "test/vunary-microkernel-tester.h",
6400 ] + MICROKERNEL_TEST_HDRS,
6401 deps = MICROKERNEL_TEST_DEPS,
6402)
6403
6404xnnpack_unit_test(
6405 name = "f32_vrndd_test",
6406 srcs = [
6407 "test/f32-vrndd.cc",
6408 "test/vunary-microkernel-tester.h",
6409 ] + MICROKERNEL_TEST_HDRS,
6410 deps = MICROKERNEL_TEST_DEPS,
6411)
6412
6413xnnpack_unit_test(
Marat Dukhan05ac8e32019-10-21 15:39:33 -07006414 name = "f32_vscale_test",
6415 srcs = [
6416 "test/f32-vscale.cc",
6417 "test/vscale-microkernel-tester.h",
6418 ] + MICROKERNEL_TEST_HDRS,
6419 deps = MICROKERNEL_TEST_DEPS,
6420)
6421
6422xnnpack_unit_test(
Marat Dukhan97579532019-10-18 16:40:39 -07006423 name = "f32_vscaleexpminusmax_test",
6424 srcs = [
6425 "test/f32-vscaleexpminusmax.cc",
6426 "test/vscaleexpminusmax-microkernel-tester.h",
6427 ] + MICROKERNEL_TEST_HDRS,
6428 deps = MICROKERNEL_TEST_DEPS,
6429)
6430
6431xnnpack_unit_test(
Marat Dukhan6f8d4d32019-10-25 17:07:09 -07006432 name = "f32_vscaleextexp_test",
6433 srcs = [
6434 "test/f32-vscaleextexp.cc",
6435 "test/vscaleextexp-microkernel-tester.h",
6436 ] + MICROKERNEL_TEST_HDRS,
6437 deps = MICROKERNEL_TEST_DEPS,
6438)
6439
6440xnnpack_unit_test(
Marat Dukhan5020b962020-06-08 13:30:10 -07006441 name = "f32_vsqr_test",
6442 srcs = [
6443 "test/f32-vsqr.cc",
6444 "test/vunary-microkernel-tester.h",
6445 ] + MICROKERNEL_TEST_HDRS,
6446 deps = MICROKERNEL_TEST_DEPS,
6447)
6448
6449xnnpack_unit_test(
Marat Dukhan13bafb02020-06-05 00:43:11 -07006450 name = "f32_vsqrdiff_test",
6451 srcs = [
6452 "test/f32-vsqrdiff.cc",
6453 "test/vbinary-microkernel-tester.h",
6454 ] + MICROKERNEL_TEST_HDRS,
6455 deps = MICROKERNEL_TEST_DEPS,
6456)
6457
6458xnnpack_unit_test(
6459 name = "f32_vsqrdiffc_test",
6460 srcs = [
6461 "test/f32-vsqrdiffc.cc",
6462 "test/vbinaryc-microkernel-tester.h",
6463 ] + MICROKERNEL_TEST_HDRS,
6464 deps = MICROKERNEL_TEST_DEPS,
6465)
6466
6467xnnpack_unit_test(
Marat Dukhanf4db2f32020-06-30 10:55:30 -07006468 name = "f32_vsqrt_test",
6469 srcs = [
6470 "test/f32-vsqrt.cc",
6471 "test/vunary-microkernel-tester.h",
6472 ] + MICROKERNEL_TEST_HDRS,
6473 deps = MICROKERNEL_TEST_DEPS,
6474)
6475
6476xnnpack_unit_test(
Frank Barchardd5b9f1c2020-07-01 15:00:19 -07006477 name = "f32_vsub_test",
6478 srcs = [
6479 "test/f32-vsub.cc",
6480 "test/vbinary-microkernel-tester.h",
6481 ] + MICROKERNEL_TEST_HDRS,
6482 deps = MICROKERNEL_TEST_DEPS,
6483)
6484
6485xnnpack_unit_test(
Marat Dukhan91cd2b72020-04-09 23:57:31 -07006486 name = "f32_vsub_minmax_test",
Marat Dukhan97579532019-10-18 16:40:39 -07006487 srcs = [
Marat Dukhan91cd2b72020-04-09 23:57:31 -07006488 "test/f32-vsub-minmax.cc",
Marat Dukhan1e782c42019-11-21 17:02:40 -08006489 "test/vbinary-microkernel-tester.h",
Marat Dukhanc07cb7f2019-11-14 15:32:05 -08006490 ] + MICROKERNEL_TEST_HDRS,
6491 deps = MICROKERNEL_TEST_DEPS,
6492)
6493
6494xnnpack_unit_test(
Frank Barchard674778d2020-08-08 10:17:25 -07006495 name = "f32_vsub_relu_test",
6496 srcs = [
6497 "test/f32-vsub-relu.cc",
6498 "test/vbinary-microkernel-tester.h",
6499 ] + MICROKERNEL_TEST_HDRS,
6500 deps = MICROKERNEL_TEST_DEPS,
6501)
6502
6503xnnpack_unit_test(
Frank Barchardd5b9f1c2020-07-01 15:00:19 -07006504 name = "f32_vsubc_test",
6505 srcs = [
6506 "test/f32-vsubc.cc",
6507 "test/vbinaryc-microkernel-tester.h",
6508 ] + MICROKERNEL_TEST_HDRS,
6509 deps = MICROKERNEL_TEST_DEPS,
6510)
6511
6512xnnpack_unit_test(
Marat Dukhan91cd2b72020-04-09 23:57:31 -07006513 name = "f32_vsubc_minmax_test",
Marat Dukhanc07cb7f2019-11-14 15:32:05 -08006514 srcs = [
Marat Dukhan91cd2b72020-04-09 23:57:31 -07006515 "test/f32-vsubc-minmax.cc",
Marat Dukhan1e782c42019-11-21 17:02:40 -08006516 "test/vbinaryc-microkernel-tester.h",
Marat Dukhanc07cb7f2019-11-14 15:32:05 -08006517 ] + MICROKERNEL_TEST_HDRS,
6518 deps = MICROKERNEL_TEST_DEPS,
6519)
6520
6521xnnpack_unit_test(
Frank Barchard674778d2020-08-08 10:17:25 -07006522 name = "f32_vsubc_relu_test",
6523 srcs = [
6524 "test/f32-vsubc-relu.cc",
6525 "test/vbinaryc-microkernel-tester.h",
6526 ] + MICROKERNEL_TEST_HDRS,
6527 deps = MICROKERNEL_TEST_DEPS,
6528)
6529
6530xnnpack_unit_test(
Frank Barchardd5b9f1c2020-07-01 15:00:19 -07006531 name = "f32_vrsubc_test",
6532 srcs = [
6533 "test/f32-vrsubc.cc",
6534 "test/vbinaryc-microkernel-tester.h",
6535 ] + MICROKERNEL_TEST_HDRS,
6536 deps = MICROKERNEL_TEST_DEPS,
6537)
6538
6539xnnpack_unit_test(
Marat Dukhan91cd2b72020-04-09 23:57:31 -07006540 name = "f32_vrsubc_minmax_test",
Marat Dukhanc07cb7f2019-11-14 15:32:05 -08006541 srcs = [
Marat Dukhan91cd2b72020-04-09 23:57:31 -07006542 "test/f32-vrsubc-minmax.cc",
Marat Dukhan1e782c42019-11-21 17:02:40 -08006543 "test/vbinaryc-microkernel-tester.h",
Marat Dukhan97579532019-10-18 16:40:39 -07006544 ] + MICROKERNEL_TEST_HDRS,
6545 deps = MICROKERNEL_TEST_DEPS,
6546)
6547
6548xnnpack_unit_test(
Frank Barchard674778d2020-08-08 10:17:25 -07006549 name = "f32_vrsubc_relu_test",
6550 srcs = [
6551 "test/f32-vrsubc-relu.cc",
6552 "test/vbinaryc-microkernel-tester.h",
6553 ] + MICROKERNEL_TEST_HDRS,
6554 deps = MICROKERNEL_TEST_DEPS,
6555)
6556
6557xnnpack_unit_test(
Marat Dukhanf62bbdc2020-08-04 13:59:04 -07006558 name = "qs8_dwconv_minmax_test",
6559 srcs = [
6560 "test/qs8-dwconv-minmax.cc",
6561 "test/dwconv-microkernel-tester.h",
6562 "src/xnnpack/AlignedAllocator.h",
6563 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS,
6564 deps = MICROKERNEL_TEST_DEPS + [":packing"],
6565)
6566
6567xnnpack_unit_test(
Marat Dukhan4ed53f42020-08-06 01:12:55 -07006568 name = "qs8_gavgpool_minmax_test",
6569 srcs = [
6570 "test/qs8-gavgpool-minmax.cc",
6571 "test/gavgpool-microkernel-tester.h",
6572 "src/xnnpack/AlignedAllocator.h",
6573 ] + MICROKERNEL_TEST_HDRS,
6574 deps = MICROKERNEL_TEST_DEPS,
6575)
6576
6577xnnpack_unit_test(
Marat Dukhan595e1702020-07-31 10:12:52 -07006578 name = "qs8_gemm_minmax_test",
6579 srcs = [
6580 "test/qs8-gemm-minmax.cc",
6581 "test/gemm-microkernel-tester.h",
6582 "src/xnnpack/AlignedAllocator.h",
6583 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS,
6584 deps = MICROKERNEL_TEST_DEPS + [":packing"],
6585)
6586
6587xnnpack_unit_test(
Marat Dukhanf9480682020-07-31 14:50:24 -07006588 name = "qs8_igemm_minmax_test",
6589 srcs = [
6590 "test/qs8-igemm-minmax.cc",
6591 "test/gemm-microkernel-tester.h",
6592 "src/xnnpack/AlignedAllocator.h",
6593 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS,
6594 deps = MICROKERNEL_TEST_DEPS + [":packing"],
6595)
6596
6597xnnpack_unit_test(
6598 name = "qs8_requantization_test",
6599 srcs = [
6600 "src/xnnpack/requantization-stubs.h",
6601 "test/qs8-requantization.cc",
6602 "test/requantization-tester.h",
6603 ] + MICROKERNEL_TEST_HDRS,
6604 deps = MICROKERNEL_TEST_DEPS,
6605)
6606
6607xnnpack_unit_test(
Marat Dukhand9f3ad42020-08-10 12:30:58 -07006608 name = "qs8_vadd_minmax_test",
6609 srcs = [
6610 "test/qs8-vadd-minmax.cc",
6611 "test/vadd-microkernel-tester.h",
6612 ] + MICROKERNEL_TEST_HDRS,
6613 deps = MICROKERNEL_TEST_DEPS,
6614)
6615
6616xnnpack_unit_test(
Marat Dukhan0270d9f2020-08-11 00:56:46 -07006617 name = "qs8_vaddc_minmax_test",
6618 srcs = [
6619 "test/qs8-vaddc-minmax.cc",
6620 "test/vaddc-microkernel-tester.h",
6621 ] + MICROKERNEL_TEST_HDRS,
6622 deps = MICROKERNEL_TEST_DEPS,
6623)
6624
6625xnnpack_unit_test(
Marat Dukhan08b7a972020-07-14 18:17:29 -07006626 name = "qu8_avgpool_minmax_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006627 srcs = [
Marat Dukhan08b7a972020-07-14 18:17:29 -07006628 "test/qu8-avgpool-minmax.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006629 "test/avgpool-microkernel-tester.h",
6630 "src/xnnpack/AlignedAllocator.h",
6631 ] + MICROKERNEL_TEST_HDRS,
6632 deps = MICROKERNEL_TEST_DEPS,
6633)
6634
6635xnnpack_unit_test(
Marat Dukhanf62bbdc2020-08-04 13:59:04 -07006636 name = "qu8_dwconv_minmax_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006637 srcs = [
Marat Dukhanf62bbdc2020-08-04 13:59:04 -07006638 "test/qu8-dwconv-minmax.cc",
6639 "test/dwconv-microkernel-tester.h",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006640 "src/xnnpack/AlignedAllocator.h",
6641 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07006642 deps = MICROKERNEL_TEST_DEPS + [":packing"],
Marat Dukhan08c4a432019-10-03 09:29:21 -07006643)
6644
6645xnnpack_unit_test(
Marat Dukhanf62bbdc2020-08-04 13:59:04 -07006646 name = "qu8_igemm_minmax_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006647 srcs = [
Marat Dukhanf62bbdc2020-08-04 13:59:04 -07006648 "test/qu8-igemm-minmax.cc",
6649 "test/gemm-microkernel-tester.h",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006650 "src/xnnpack/AlignedAllocator.h",
6651 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07006652 deps = MICROKERNEL_TEST_DEPS + [":packing"],
Marat Dukhan08c4a432019-10-03 09:29:21 -07006653)
6654
6655xnnpack_unit_test(
Marat Dukhan08b7a972020-07-14 18:17:29 -07006656 name = "qu8_gavgpool_minmax_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006657 srcs = [
Marat Dukhan08b7a972020-07-14 18:17:29 -07006658 "test/qu8-gavgpool-minmax.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006659 "test/gavgpool-microkernel-tester.h",
6660 "src/xnnpack/AlignedAllocator.h",
6661 ] + MICROKERNEL_TEST_HDRS,
6662 deps = MICROKERNEL_TEST_DEPS,
6663)
6664
6665xnnpack_unit_test(
Marat Dukhan08b7a972020-07-14 18:17:29 -07006666 name = "qu8_gemm_minmax_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006667 srcs = [
Marat Dukhan08b7a972020-07-14 18:17:29 -07006668 "test/qu8-gemm-minmax.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006669 "test/gemm-microkernel-tester.h",
6670 "src/xnnpack/AlignedAllocator.h",
6671 ] + WEIGHTS_PACK_HDRS + MICROKERNEL_TEST_HDRS,
Marat Dukhanab582382020-07-06 13:32:08 -07006672 deps = MICROKERNEL_TEST_DEPS + [":packing"],
Marat Dukhan08c4a432019-10-03 09:29:21 -07006673)
6674
6675xnnpack_unit_test(
Marat Dukhan5b69f8b2020-07-24 15:26:48 -07006676 name = "qu8_requantization_test",
6677 srcs = [
6678 "src/xnnpack/requantization-stubs.h",
6679 "test/qu8-requantization.cc",
6680 "test/requantization-tester.h",
6681 ] + MICROKERNEL_TEST_HDRS,
6682 deps = MICROKERNEL_TEST_DEPS,
6683)
6684
6685xnnpack_unit_test(
Marat Dukhan08b7a972020-07-14 18:17:29 -07006686 name = "qu8_vadd_minmax_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006687 srcs = [
Marat Dukhan08b7a972020-07-14 18:17:29 -07006688 "test/qu8-vadd-minmax.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006689 "test/vadd-microkernel-tester.h",
6690 ] + MICROKERNEL_TEST_HDRS,
6691 deps = MICROKERNEL_TEST_DEPS,
6692)
6693
6694xnnpack_unit_test(
6695 name = "u8_clamp_test",
6696 srcs = [
6697 "test/u8-clamp.cc",
6698 "test/clamp-microkernel-tester.h",
6699 ] + MICROKERNEL_TEST_HDRS,
6700 deps = MICROKERNEL_TEST_DEPS,
6701)
6702
6703xnnpack_unit_test(
6704 name = "u8_lut32norm_test",
6705 srcs = [
6706 "test/u8-lut32norm.cc",
6707 "test/lut-norm-microkernel-tester.h",
6708 ] + MICROKERNEL_TEST_HDRS,
6709 deps = MICROKERNEL_TEST_DEPS,
6710)
6711
6712xnnpack_unit_test(
Marat Dukhan99936602020-04-11 16:47:01 -07006713 name = "u8_maxpool_minmax_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006714 srcs = [
Marat Dukhan99936602020-04-11 16:47:01 -07006715 "test/u8-maxpool-minmax.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006716 "test/maxpool-microkernel-tester.h",
6717 ] + MICROKERNEL_TEST_HDRS,
6718 deps = MICROKERNEL_TEST_DEPS,
6719)
6720
6721xnnpack_unit_test(
6722 name = "u8_rmax_test",
6723 srcs = [
6724 "test/u8-rmax.cc",
6725 "test/rmax-microkernel-tester.h",
6726 ] + MICROKERNEL_TEST_HDRS,
6727 deps = MICROKERNEL_TEST_DEPS,
6728)
6729
6730xnnpack_unit_test(
Marat Dukhanad71b9a2020-11-20 00:01:51 -08006731 name = "x32_depthtospace2d_chw2hwc_test",
Yury Kartynnike7841862020-11-04 18:22:18 -08006732 srcs = [
Marat Dukhanad71b9a2020-11-20 00:01:51 -08006733 "test/x32-depthtospace2d-chw2hwc.cc",
6734 "test/depthtospace-microkernel-tester.h",
Yury Kartynnike7841862020-11-04 18:22:18 -08006735 ] + MICROKERNEL_TEST_HDRS,
6736 deps = MICROKERNEL_TEST_DEPS,
6737)
6738
6739xnnpack_unit_test(
Marat Dukhan3bb3bfc2020-05-19 17:42:46 -07006740 name = "x32_fill_test",
6741 srcs = [
6742 "test/x32-fill.cc",
6743 "test/fill-microkernel-tester.h",
6744 ] + MICROKERNEL_TEST_HDRS,
6745 deps = MICROKERNEL_TEST_DEPS,
6746)
6747
6748xnnpack_unit_test(
Marat Dukhan08c4a432019-10-03 09:29:21 -07006749 name = "x32_packx_test",
6750 srcs = [
6751 "test/x32-packx.cc",
6752 "test/pack-microkernel-tester.h",
6753 "src/xnnpack/AlignedAllocator.h",
6754 ] + MICROKERNEL_TEST_HDRS,
6755 deps = MICROKERNEL_TEST_DEPS,
6756)
6757
6758xnnpack_unit_test(
6759 name = "x32_pad_test",
6760 srcs = [
6761 "test/x32-pad.cc",
6762 "test/pad-microkernel-tester.h",
6763 ] + MICROKERNEL_TEST_HDRS,
6764 deps = MICROKERNEL_TEST_DEPS,
6765)
6766
6767xnnpack_unit_test(
6768 name = "x32_unpool_test",
6769 srcs = [
6770 "test/x32-unpool.cc",
6771 "test/unpool-microkernel-tester.h",
6772 ] + MICROKERNEL_TEST_HDRS,
6773 deps = MICROKERNEL_TEST_DEPS,
6774)
6775
6776xnnpack_unit_test(
6777 name = "x32_zip_test",
6778 srcs = [
6779 "test/x32-zip.cc",
6780 "test/zip-microkernel-tester.h",
6781 ] + MICROKERNEL_TEST_HDRS,
6782 deps = MICROKERNEL_TEST_DEPS,
6783)
6784
6785xnnpack_unit_test(
6786 name = "x8_lut_test",
6787 srcs = [
6788 "test/x8-lut.cc",
6789 "test/lut-microkernel-tester.h",
6790 ] + MICROKERNEL_TEST_HDRS,
6791 deps = MICROKERNEL_TEST_DEPS,
6792)
6793
6794xnnpack_unit_test(
6795 name = "x8_zip_test",
6796 srcs = [
6797 "test/x8-zip.cc",
6798 "test/zip-microkernel-tester.h",
6799 ] + MICROKERNEL_TEST_HDRS,
6800 deps = MICROKERNEL_TEST_DEPS,
6801)
6802
Marat Dukhan20c3b922020-03-10 03:45:06 -07006803########################## Size tests for the library #########################
Marat Dukhan08c4a432019-10-03 09:29:21 -07006804
6805xnnpack_binary(
Marat Dukhan20c3b922020-03-10 03:45:06 -07006806 name = "operator_size_test",
6807 srcs = ["test/operator-size.c"],
Marat Dukhan8fe54e42019-10-10 14:12:59 -07006808 deps = [":xnnpack_operators_nhwc_f32"],
Marat Dukhan08c4a432019-10-03 09:29:21 -07006809)
6810
Marat Dukhan20c3b922020-03-10 03:45:06 -07006811xnnpack_binary(
6812 name = "subgraph_size_test",
6813 srcs = ["test/subgraph-size.c"],
6814 deps = [":XNNPACK"],
6815)
6816
6817########################### Unit tests for operators ##########################
Marat Dukhan08c4a432019-10-03 09:29:21 -07006818
6819xnnpack_unit_test(
Marat Dukhan5020b962020-06-08 13:30:10 -07006820 name = "abs_nc_test",
6821 srcs = [
6822 "test/abs-nc.cc",
6823 "test/abs-operator-tester.h",
6824 ],
6825 deps = OPERATOR_TEST_DEPS,
6826)
6827
6828xnnpack_unit_test(
Marat Dukhanb1a0fc32019-12-02 19:32:02 -08006829 name = "add_nd_test",
Artsiom Ablavatski2202c812021-01-22 14:16:43 -08006830 timeout = "moderate",
Marat Dukhanb1a0fc32019-12-02 19:32:02 -08006831 srcs = [
6832 "test/add-nd.cc",
6833 "test/binary-elementwise-operator-tester.h",
6834 ],
Marat Dukhan1b354632020-03-23 12:50:22 -07006835 deps = OPERATOR_TEST_DEPS,
Marat Dukhanb1a0fc32019-12-02 19:32:02 -08006836)
6837
6838xnnpack_unit_test(
Marat Dukhanefc47b82019-11-18 09:25:38 -08006839 name = "argmax_pooling_nhwc_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006840 srcs = [
Marat Dukhanefc47b82019-11-18 09:25:38 -08006841 "test/argmax-pooling-nhwc.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006842 "test/argmax-pooling-operator-tester.h",
6843 ] + OPERATOR_TEST_PARAMS_HDRS,
Marat Dukhan1b354632020-03-23 12:50:22 -07006844 deps = OPERATOR_TEST_DEPS,
Marat Dukhan08c4a432019-10-03 09:29:21 -07006845)
6846
6847xnnpack_unit_test(
Marat Dukhanefc47b82019-11-18 09:25:38 -08006848 name = "average_pooling_nhwc_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006849 srcs = [
Marat Dukhanefc47b82019-11-18 09:25:38 -08006850 "test/average-pooling-nhwc.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006851 "test/average-pooling-operator-tester.h",
6852 ] + OPERATOR_TEST_PARAMS_HDRS,
Marat Dukhan1b354632020-03-23 12:50:22 -07006853 deps = OPERATOR_TEST_DEPS,
Marat Dukhan08c4a432019-10-03 09:29:21 -07006854)
6855
6856xnnpack_unit_test(
Marat Dukhan64e52512020-06-09 13:41:16 -07006857 name = "bankers_rounding_nc_test",
6858 srcs = [
6859 "test/bankers-rounding-nc.cc",
6860 "test/bankers-rounding-operator-tester.h",
6861 ],
6862 deps = OPERATOR_TEST_DEPS,
6863)
6864
6865xnnpack_unit_test(
6866 name = "ceiling_nc_test",
6867 srcs = [
6868 "test/ceiling-nc.cc",
6869 "test/ceiling-operator-tester.h",
6870 ],
6871 deps = OPERATOR_TEST_DEPS,
6872)
6873
6874xnnpack_unit_test(
Marat Dukhanefc47b82019-11-18 09:25:38 -08006875 name = "channel_shuffle_nc_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006876 srcs = [
Marat Dukhanefc47b82019-11-18 09:25:38 -08006877 "test/channel-shuffle-nc.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006878 "test/channel-shuffle-operator-tester.h",
6879 ],
Marat Dukhan1b354632020-03-23 12:50:22 -07006880 deps = OPERATOR_TEST_DEPS,
Marat Dukhan08c4a432019-10-03 09:29:21 -07006881)
6882
6883xnnpack_unit_test(
Marat Dukhanefc47b82019-11-18 09:25:38 -08006884 name = "clamp_nc_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006885 srcs = [
Marat Dukhanefc47b82019-11-18 09:25:38 -08006886 "test/clamp-nc.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006887 "test/clamp-operator-tester.h",
6888 ],
Marat Dukhan1b354632020-03-23 12:50:22 -07006889 deps = OPERATOR_TEST_DEPS,
Marat Dukhan08c4a432019-10-03 09:29:21 -07006890)
6891
6892xnnpack_unit_test(
Marat Dukhan065b11e2020-05-22 09:49:41 -07006893 name = "constant_pad_nd_test",
6894 srcs = [
6895 "test/constant-pad-nd.cc",
6896 "test/constant-pad-operator-tester.h",
6897 ],
6898 deps = OPERATOR_TEST_DEPS,
6899)
6900
6901xnnpack_unit_test(
Marat Dukhanefc47b82019-11-18 09:25:38 -08006902 name = "convolution_nhwc_test",
Artsiom Ablavatski2202c812021-01-22 14:16:43 -08006903 timeout = "moderate",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006904 srcs = [
Marat Dukhanefc47b82019-11-18 09:25:38 -08006905 "test/convolution-nhwc.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006906 "test/convolution-operator-tester.h",
6907 ],
Marat Dukhan1b354632020-03-23 12:50:22 -07006908 deps = OPERATOR_TEST_DEPS,
Marat Dukhan08c4a432019-10-03 09:29:21 -07006909)
6910
6911xnnpack_unit_test(
Marat Dukhanefc47b82019-11-18 09:25:38 -08006912 name = "convolution_nchw_test",
Artsiom Ablavatski2202c812021-01-22 14:16:43 -08006913 timeout = "moderate",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006914 srcs = [
Marat Dukhanefc47b82019-11-18 09:25:38 -08006915 "test/convolution-nchw.cc",
6916 "test/convolution-operator-tester.h",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006917 ],
Marat Dukhan1b354632020-03-23 12:50:22 -07006918 deps = OPERATOR_TEST_DEPS,
Marat Dukhan08c4a432019-10-03 09:29:21 -07006919)
6920
6921xnnpack_unit_test(
Marat Dukhan4e21b272020-06-04 18:45:01 -07006922 name = "copy_nc_test",
6923 srcs = [
6924 "test/copy-nc.cc",
6925 "test/copy-operator-tester.h",
6926 ],
6927 deps = OPERATOR_TEST_DEPS,
6928)
6929
6930xnnpack_unit_test(
Marat Dukhanefc47b82019-11-18 09:25:38 -08006931 name = "deconvolution_nhwc_test",
Artsiom Ablavatskic1aa2972020-12-08 11:23:34 -08006932 timeout = "moderate",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006933 srcs = [
Marat Dukhanefc47b82019-11-18 09:25:38 -08006934 "test/deconvolution-nhwc.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006935 "test/deconvolution-operator-tester.h",
6936 ] + OPERATOR_TEST_PARAMS_HDRS,
Marat Dukhan1b354632020-03-23 12:50:22 -07006937 deps = OPERATOR_TEST_DEPS,
Marat Dukhan08c4a432019-10-03 09:29:21 -07006938)
6939
6940xnnpack_unit_test(
Marat Dukhan188d1042020-11-24 23:39:40 -08006941 name = "depth_to_space_nchw2nhwc_test",
Artsiom Ablavatski0f1dc182020-11-05 19:21:50 -08006942 srcs = [
Marat Dukhan188d1042020-11-24 23:39:40 -08006943 "test/depth-to-space-nchw2nhwc.cc",
Artsiom Ablavatski0f1dc182020-11-05 19:21:50 -08006944 "test/depth-to-space-operator-tester.h",
6945 ] + OPERATOR_TEST_PARAMS_HDRS,
6946 deps = OPERATOR_TEST_DEPS,
6947)
6948
6949xnnpack_unit_test(
Marat Dukhan0e521172020-11-25 13:10:04 -08006950 name = "depth_to_space_nhwc_test",
6951 srcs = [
6952 "test/depth-to-space-nhwc.cc",
6953 "test/depth-to-space-operator-tester.h",
6954 ] + OPERATOR_TEST_PARAMS_HDRS,
6955 deps = OPERATOR_TEST_DEPS,
6956)
6957
6958xnnpack_unit_test(
Marat Dukhan69180502019-12-06 15:00:31 -08006959 name = "divide_nd_test",
6960 srcs = [
6961 "test/binary-elementwise-operator-tester.h",
6962 "test/divide-nd.cc",
6963 ],
Marat Dukhan1b354632020-03-23 12:50:22 -07006964 deps = OPERATOR_TEST_DEPS,
Marat Dukhan69180502019-12-06 15:00:31 -08006965)
6966
6967xnnpack_unit_test(
Marat Dukhanb6bd4bc2020-12-01 17:01:40 -08006968 name = "elu_nc_test",
6969 srcs = [
6970 "test/elu-nc.cc",
6971 "test/elu-operator-tester.h",
6972 ],
6973 deps = OPERATOR_TEST_DEPS,
6974)
6975
6976xnnpack_unit_test(
Marat Dukhanefc47b82019-11-18 09:25:38 -08006977 name = "fully_connected_nc_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006978 srcs = [
Marat Dukhanefc47b82019-11-18 09:25:38 -08006979 "test/fully-connected-nc.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006980 "test/fully-connected-operator-tester.h",
6981 ],
Marat Dukhan1b354632020-03-23 12:50:22 -07006982 deps = OPERATOR_TEST_DEPS,
Marat Dukhan08c4a432019-10-03 09:29:21 -07006983)
6984
6985xnnpack_unit_test(
Marat Dukhan64e52512020-06-09 13:41:16 -07006986 name = "floor_nc_test",
6987 srcs = [
6988 "test/floor-nc.cc",
6989 "test/floor-operator-tester.h",
6990 ],
6991 deps = OPERATOR_TEST_DEPS,
6992)
6993
6994xnnpack_unit_test(
Marat Dukhanefc47b82019-11-18 09:25:38 -08006995 name = "global_average_pooling_nwc_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006996 srcs = [
Marat Dukhanefc47b82019-11-18 09:25:38 -08006997 "test/global-average-pooling-nwc.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07006998 "test/global-average-pooling-operator-tester.h",
Marat Dukhanef61d022020-06-19 13:54:49 -07006999 ] + OPERATOR_TEST_PARAMS_HDRS,
Marat Dukhan1b354632020-03-23 12:50:22 -07007000 deps = OPERATOR_TEST_DEPS,
Marat Dukhan08c4a432019-10-03 09:29:21 -07007001)
7002
7003xnnpack_unit_test(
Marat Dukhanefc47b82019-11-18 09:25:38 -08007004 name = "global_average_pooling_ncw_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07007005 srcs = [
Marat Dukhanefc47b82019-11-18 09:25:38 -08007006 "test/global-average-pooling-ncw.cc",
7007 "test/global-average-pooling-operator-tester.h",
Marat Dukhan08c4a432019-10-03 09:29:21 -07007008 ],
Marat Dukhan1b354632020-03-23 12:50:22 -07007009 deps = OPERATOR_TEST_DEPS,
Marat Dukhan08c4a432019-10-03 09:29:21 -07007010)
7011
7012xnnpack_unit_test(
Marat Dukhanefc47b82019-11-18 09:25:38 -08007013 name = "hardswish_nc_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07007014 srcs = [
Marat Dukhanefc47b82019-11-18 09:25:38 -08007015 "test/hardswish-nc.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07007016 "test/hardswish-operator-tester.h",
7017 ],
Marat Dukhan1b354632020-03-23 12:50:22 -07007018 deps = OPERATOR_TEST_DEPS,
Marat Dukhan08c4a432019-10-03 09:29:21 -07007019)
7020
7021xnnpack_unit_test(
Marat Dukhanefc47b82019-11-18 09:25:38 -08007022 name = "leaky_relu_nc_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07007023 srcs = [
Marat Dukhanefc47b82019-11-18 09:25:38 -08007024 "test/leaky-relu-nc.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07007025 "test/leaky-relu-operator-tester.h",
7026 ],
Marat Dukhan1b354632020-03-23 12:50:22 -07007027 deps = OPERATOR_TEST_DEPS,
Marat Dukhan08c4a432019-10-03 09:29:21 -07007028)
7029
7030xnnpack_unit_test(
Marat Dukhanefc47b82019-11-18 09:25:38 -08007031 name = "max_pooling_nhwc_test",
Artsiom Ablavatski2202c812021-01-22 14:16:43 -08007032 timeout = "moderate",
Marat Dukhan08c4a432019-10-03 09:29:21 -07007033 srcs = [
Marat Dukhanefc47b82019-11-18 09:25:38 -08007034 "test/max-pooling-nhwc.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07007035 "test/max-pooling-operator-tester.h",
7036 ] + OPERATOR_TEST_PARAMS_HDRS,
Marat Dukhan1b354632020-03-23 12:50:22 -07007037 deps = OPERATOR_TEST_DEPS,
Marat Dukhan08c4a432019-10-03 09:29:21 -07007038)
7039
7040xnnpack_unit_test(
Marat Dukhan79e7f842019-12-05 14:35:50 -08007041 name = "maximum_nd_test",
7042 srcs = [
7043 "test/binary-elementwise-operator-tester.h",
7044 "test/maximum-nd.cc",
7045 ],
Marat Dukhan1b354632020-03-23 12:50:22 -07007046 deps = OPERATOR_TEST_DEPS,
Marat Dukhan79e7f842019-12-05 14:35:50 -08007047)
7048
7049xnnpack_unit_test(
7050 name = "minimum_nd_test",
7051 srcs = [
7052 "test/binary-elementwise-operator-tester.h",
7053 "test/minimum-nd.cc",
7054 ],
Marat Dukhan1b354632020-03-23 12:50:22 -07007055 deps = OPERATOR_TEST_DEPS,
Marat Dukhan79e7f842019-12-05 14:35:50 -08007056)
7057
7058xnnpack_unit_test(
Marat Dukhanefc47b82019-11-18 09:25:38 -08007059 name = "multiply_nd_test",
Marat Dukhanca2733c2019-11-15 23:21:17 -08007060 srcs = [
Marat Dukhanb1a0fc32019-12-02 19:32:02 -08007061 "test/binary-elementwise-operator-tester.h",
Marat Dukhanefc47b82019-11-18 09:25:38 -08007062 "test/multiply-nd.cc",
Marat Dukhanca2733c2019-11-15 23:21:17 -08007063 ],
Marat Dukhan1b354632020-03-23 12:50:22 -07007064 deps = OPERATOR_TEST_DEPS,
Marat Dukhanca2733c2019-11-15 23:21:17 -08007065)
7066
7067xnnpack_unit_test(
Marat Dukhan5020b962020-06-08 13:30:10 -07007068 name = "negate_nc_test",
7069 srcs = [
7070 "test/negate-nc.cc",
7071 "test/negate-operator-tester.h",
7072 ],
7073 deps = OPERATOR_TEST_DEPS,
7074)
7075
7076xnnpack_unit_test(
Marat Dukhanefc47b82019-11-18 09:25:38 -08007077 name = "prelu_nc_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07007078 srcs = [
Marat Dukhanefc47b82019-11-18 09:25:38 -08007079 "test/prelu-nc.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07007080 "test/prelu-operator-tester.h",
7081 ] + OPERATOR_TEST_PARAMS_HDRS,
Marat Dukhan1b354632020-03-23 12:50:22 -07007082 deps = OPERATOR_TEST_DEPS,
Marat Dukhan08c4a432019-10-03 09:29:21 -07007083)
7084
7085xnnpack_unit_test(
Marat Dukhanefc47b82019-11-18 09:25:38 -08007086 name = "resize_bilinear_nhwc_test",
Marat Dukhan69722492019-11-11 19:55:50 -08007087 srcs = [
Marat Dukhanefc47b82019-11-18 09:25:38 -08007088 "test/resize-bilinear-nhwc.cc",
Marat Dukhan69722492019-11-11 19:55:50 -08007089 "test/resize-bilinear-operator-tester.h",
7090 ] + OPERATOR_TEST_PARAMS_HDRS,
Marat Dukhan1b354632020-03-23 12:50:22 -07007091 deps = OPERATOR_TEST_DEPS,
Marat Dukhan69722492019-11-11 19:55:50 -08007092)
7093
7094xnnpack_unit_test(
Artsiom Ablavatski97918102020-10-27 15:52:59 -07007095 name = "resize_bilinear_nchw_test",
7096 srcs = [
7097 "test/resize-bilinear-nchw.cc",
7098 "test/resize-bilinear-operator-tester.h",
7099 ] + OPERATOR_TEST_PARAMS_HDRS,
7100 deps = OPERATOR_TEST_DEPS,
7101)
7102
7103xnnpack_unit_test(
Marat Dukhanefc47b82019-11-18 09:25:38 -08007104 name = "sigmoid_nc_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07007105 srcs = [
Marat Dukhanefc47b82019-11-18 09:25:38 -08007106 "test/sigmoid-nc.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07007107 "test/sigmoid-operator-tester.h",
7108 ],
Marat Dukhan1b354632020-03-23 12:50:22 -07007109 deps = OPERATOR_TEST_DEPS,
Marat Dukhan08c4a432019-10-03 09:29:21 -07007110)
7111
7112xnnpack_unit_test(
Marat Dukhanfd8e6892020-01-27 15:25:25 -08007113 name = "softmax_nc_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07007114 srcs = [
Marat Dukhanfd8e6892020-01-27 15:25:25 -08007115 "test/softmax-nc.cc",
7116 "test/softmax-operator-tester.h",
Marat Dukhan08c4a432019-10-03 09:29:21 -07007117 ],
Marat Dukhan1b354632020-03-23 12:50:22 -07007118 deps = OPERATOR_TEST_DEPS,
Marat Dukhan08c4a432019-10-03 09:29:21 -07007119)
7120
7121xnnpack_unit_test(
Marat Dukhan5020b962020-06-08 13:30:10 -07007122 name = "square_nc_test",
7123 srcs = [
7124 "test/square-nc.cc",
7125 "test/square-operator-tester.h",
7126 ],
7127 deps = OPERATOR_TEST_DEPS,
7128)
7129
7130xnnpack_unit_test(
Marat Dukhan6804bbd2020-06-30 19:26:11 -07007131 name = "square_root_nc_test",
7132 srcs = [
7133 "test/square-root-nc.cc",
7134 "test/square-root-operator-tester.h",
7135 ],
7136 deps = OPERATOR_TEST_DEPS,
7137)
7138
7139xnnpack_unit_test(
Marat Dukhanf7399262020-06-05 10:58:44 -07007140 name = "squared_difference_nd_test",
7141 srcs = [
7142 "test/binary-elementwise-operator-tester.h",
7143 "test/squared-difference-nd.cc",
7144 ],
7145 deps = OPERATOR_TEST_DEPS,
7146)
7147
7148xnnpack_unit_test(
Marat Dukhan05f3f6d2019-12-03 15:13:53 -08007149 name = "subtract_nd_test",
7150 srcs = [
7151 "test/binary-elementwise-operator-tester.h",
7152 "test/subtract-nd.cc",
7153 ],
Marat Dukhan1b354632020-03-23 12:50:22 -07007154 deps = OPERATOR_TEST_DEPS,
Marat Dukhan05f3f6d2019-12-03 15:13:53 -08007155)
7156
7157xnnpack_unit_test(
Marat Dukhan64e52512020-06-09 13:41:16 -07007158 name = "truncation_nc_test",
7159 srcs = [
7160 "test/truncation-nc.cc",
7161 "test/truncation-operator-tester.h",
7162 ],
7163 deps = OPERATOR_TEST_DEPS,
7164)
7165
7166xnnpack_unit_test(
Marat Dukhanefc47b82019-11-18 09:25:38 -08007167 name = "unpooling_nhwc_test",
Marat Dukhan08c4a432019-10-03 09:29:21 -07007168 srcs = [
Marat Dukhanefc47b82019-11-18 09:25:38 -08007169 "test/unpooling-nhwc.cc",
Marat Dukhan08c4a432019-10-03 09:29:21 -07007170 "test/unpooling-operator-tester.h",
7171 ],
Marat Dukhan1b354632020-03-23 12:50:22 -07007172 deps = OPERATOR_TEST_DEPS,
Marat Dukhan08c4a432019-10-03 09:29:21 -07007173)
7174
Chao Mei6ddfc602020-05-13 22:29:36 -07007175############################### Misc unit tests ###############################
7176
7177xnnpack_unit_test(
7178 name = "memory_planner_test",
7179 srcs = [
7180 "test/memory-planner-test.cc",
7181 ],
7182 deps = [
7183 ":XNNPACK",
7184 ":memory_planner",
7185 ],
7186)
7187
XNNPACK Teamab8c4c82020-10-09 08:05:51 -07007188xnnpack_unit_test(
7189 name = "subgraph_nchw_test",
7190 srcs = [
7191 "src/xnnpack/subgraph.h",
7192 "test/subgraph-nchw.cc",
7193 "test/subgraph-tester.h",
7194 ],
7195 deps = [
7196 ":XNNPACK",
7197 ],
7198)
7199
Marat Dukhan08c4a432019-10-03 09:29:21 -07007200############################# Build configurations #############################
7201
Marat Dukhanb8642352019-10-30 15:43:02 -07007202# Enables usage of assembly kernels.
Marat Dukhan08c4a432019-10-03 09:29:21 -07007203config_setting(
Marat Dukhanb8642352019-10-30 15:43:02 -07007204 name = "xnn_enable_assembly_explicit_true",
7205 define_values = {"xnn_enable_assembly": "true"},
7206)
7207
7208# Disables usage of assembly kernels.
7209config_setting(
7210 name = "xnn_enable_assembly_explicit_false",
7211 define_values = {"xnn_enable_assembly": "false"},
7212)
7213
Marat Dukhan9de90e02020-06-18 16:04:12 -07007214# Enables usage of sparse inference.
7215config_setting(
7216 name = "xnn_enable_sparse_explicit_true",
7217 define_values = {"xnn_enable_sparse": "true"},
7218)
7219
7220# Disables usage of sparse inference.
7221config_setting(
7222 name = "xnn_enable_sparse_explicit_false",
7223 define_values = {"xnn_enable_sparse": "false"},
7224)
7225
Marat Dukhan05702cf2020-03-26 15:41:33 -07007226# Disables usage of HMP-aware optimizations.
7227config_setting(
7228 name = "xnn_enable_hmp_explicit_false",
7229 define_values = {"xnn_enable_hmp": "false"},
7230)
7231
Chao Mei6ddfc602020-05-13 22:29:36 -07007232# Enable usage of optimized memory allocation
7233config_setting(
7234 name = "xnn_enable_memopt_explicit_true",
7235 define_values = {"xnnpack_enable_memopt": "true"},
7236)
7237
7238# Disable usage of optimized memory allocation
7239config_setting(
7240 name = "xnn_enable_memopt_explicit_false",
7241 define_values = {"xnnpack_enable_memopt": "false"},
7242)
7243
Marat Dukhanb8642352019-10-30 15:43:02 -07007244# Builds with -c dbg
7245config_setting(
7246 name = "debug_build",
Marat Dukhan08c4a432019-10-03 09:29:21 -07007247 values = {
Marat Dukhanb8642352019-10-30 15:43:02 -07007248 "compilation_mode": "dbg",
7249 },
7250)
7251
7252# Builds with -c opt
7253config_setting(
7254 name = "optimized_build",
7255 values = {
7256 "compilation_mode": "opt",
Marat Dukhan08c4a432019-10-03 09:29:21 -07007257 },
7258)
7259
7260config_setting(
Marat Dukhanb8642352019-10-30 15:43:02 -07007261 name = "linux_k8",
7262 values = {"cpu": "k8"},
7263)
7264
7265config_setting(
Marat Dukhan582094e2020-04-30 17:21:25 -07007266 name = "linux_arm",
7267 values = {"cpu": "arm"},
Marat Dukhan4e45e662019-10-03 15:40:24 -07007268)
7269
7270config_setting(
Marat Dukhanf0bd4de2020-06-15 15:53:19 -07007271 name = "linux_armeabi",
7272 values = {"cpu": "armeabi"},
7273)
7274
7275config_setting(
Terry Heo68eef3f2020-04-13 22:53:52 -07007276 name = "linux_armhf",
7277 values = {"cpu": "armhf"},
7278)
7279
7280config_setting(
Marat Dukhana720e932020-06-10 13:01:11 -07007281 name = "linux_armv7a",
7282 values = {"cpu": "armv7a"},
7283)
7284
7285config_setting(
Marat Dukhan582094e2020-04-30 17:21:25 -07007286 name = "linux_aarch64",
7287 values = {"cpu": "aarch64"},
7288)
7289
7290config_setting(
Marat Dukhan08c4a432019-10-03 09:29:21 -07007291 name = "android",
7292 values = {"crosstool_top": "//external:android/crosstool"},
7293)
7294
7295config_setting(
7296 name = "android_armv7",
7297 values = {
7298 "crosstool_top": "//external:android/crosstool",
7299 "cpu": "armeabi-v7a",
7300 },
7301)
7302
7303config_setting(
7304 name = "android_arm64",
7305 values = {
7306 "crosstool_top": "//external:android/crosstool",
7307 "cpu": "arm64-v8a",
7308 },
7309)
7310
7311config_setting(
7312 name = "android_x86",
7313 values = {
7314 "crosstool_top": "//external:android/crosstool",
7315 "cpu": "x86",
7316 },
7317)
7318
7319config_setting(
7320 name = "android_x86_64",
7321 values = {
7322 "crosstool_top": "//external:android/crosstool",
7323 "cpu": "x86_64",
7324 },
7325)
7326
7327config_setting(
Marat Dukhan10a38082020-04-17 03:58:35 -07007328 name = "windows_x86_64",
7329 values = {"cpu": "x64_windows"},
Marat Dukhan9fe932e2020-04-11 17:14:15 -07007330)
7331
7332config_setting(
Marat Dukhan10a38082020-04-17 03:58:35 -07007333 name = "windows_x86_64_clang",
7334 values = {
7335 "compiler": "clang-cl",
7336 "cpu": "x64_windows",
7337 },
7338)
7339
7340config_setting(
7341 name = "windows_x86_64_mingw",
7342 values = {
7343 "compiler": "mingw-gcc",
7344 "cpu": "x64_windows",
7345 },
7346)
7347
7348config_setting(
7349 name = "windows_x86_64_msys",
7350 values = {
7351 "compiler": "msys-gcc",
7352 "cpu": "x64_windows",
7353 },
Marat Dukhan9fe932e2020-04-11 17:14:15 -07007354)
7355
7356config_setting(
Marat Dukhan885ca242019-10-07 09:17:32 -07007357 name = "macos_x86_64",
7358 values = {
7359 "apple_platform_type": "macos",
7360 "cpu": "darwin",
7361 },
7362)
7363
7364config_setting(
Marat Dukhan08c4a432019-10-03 09:29:21 -07007365 name = "emscripten",
Marat Dukhan1a729ec2019-10-07 09:31:44 -07007366 values = {"crosstool_top": "//toolchain:emscripten"},
Marat Dukhan08c4a432019-10-03 09:29:21 -07007367)
7368
7369config_setting(
7370 name = "emscripten_wasm",
7371 values = {
Marat Dukhan1a729ec2019-10-07 09:31:44 -07007372 "crosstool_top": "//toolchain:emscripten",
Marat Dukhan08c4a432019-10-03 09:29:21 -07007373 "cpu": "wasm",
7374 },
7375)
7376
7377config_setting(
7378 name = "emscripten_wasmsimd",
7379 values = {
Marat Dukhan1a729ec2019-10-07 09:31:44 -07007380 "crosstool_top": "//toolchain:emscripten",
Marat Dukhan08c4a432019-10-03 09:29:21 -07007381 "cpu": "wasm",
Marat Dukhan81c62602020-05-29 13:22:49 -07007382 "copt": "-msimd128",
Marat Dukhan08c4a432019-10-03 09:29:21 -07007383 },
7384)
7385
7386config_setting(
Marat Dukhan1498d1d2020-02-11 20:00:05 -08007387 name = "ios_armv7",
7388 values = {
Marat Dukhanf85fc332020-02-13 00:05:20 -08007389 "apple_platform_type": "ios",
Marat Dukhan1498d1d2020-02-11 20:00:05 -08007390 "cpu": "ios_armv7",
7391 },
7392)
7393
7394config_setting(
7395 name = "ios_arm64",
7396 values = {
Marat Dukhanf85fc332020-02-13 00:05:20 -08007397 "apple_platform_type": "ios",
Marat Dukhan1498d1d2020-02-11 20:00:05 -08007398 "cpu": "ios_arm64",
7399 },
7400)
7401
7402config_setting(
7403 name = "ios_arm64e",
7404 values = {
Marat Dukhanf85fc332020-02-13 00:05:20 -08007405 "apple_platform_type": "ios",
Marat Dukhan1498d1d2020-02-11 20:00:05 -08007406 "cpu": "ios_arm64e",
7407 },
7408)
7409
7410config_setting(
7411 name = "ios_x86",
7412 values = {
Marat Dukhanf85fc332020-02-13 00:05:20 -08007413 "apple_platform_type": "ios",
Marat Dukhan1498d1d2020-02-11 20:00:05 -08007414 "cpu": "ios_i386",
7415 },
7416)
7417
7418config_setting(
7419 name = "ios_x86_64",
7420 values = {
Marat Dukhanf85fc332020-02-13 00:05:20 -08007421 "apple_platform_type": "ios",
Marat Dukhan1498d1d2020-02-11 20:00:05 -08007422 "cpu": "ios_x86_64",
7423 },
7424)
7425
7426config_setting(
7427 name = "watchos_armv7k",
7428 values = {
Marat Dukhanf85fc332020-02-13 00:05:20 -08007429 "apple_platform_type": "watchos",
Marat Dukhan1498d1d2020-02-11 20:00:05 -08007430 "cpu": "watchos_armv7k",
7431 },
7432)
7433
7434config_setting(
7435 name = "watchos_arm64_32",
7436 values = {
Marat Dukhanf85fc332020-02-13 00:05:20 -08007437 "apple_platform_type": "watchos",
Marat Dukhan1498d1d2020-02-11 20:00:05 -08007438 "cpu": "watchos_arm64_32",
7439 },
7440)
7441
7442config_setting(
7443 name = "watchos_x86",
7444 values = {
Marat Dukhanf85fc332020-02-13 00:05:20 -08007445 "apple_platform_type": "watchos",
Marat Dukhan1498d1d2020-02-11 20:00:05 -08007446 "cpu": "watchos_i386",
7447 },
7448)
7449
7450config_setting(
7451 name = "watchos_x86_64",
7452 values = {
Marat Dukhanf85fc332020-02-13 00:05:20 -08007453 "apple_platform_type": "watchos",
Marat Dukhan1498d1d2020-02-11 20:00:05 -08007454 "cpu": "watchos_x86_64",
7455 },
7456)
7457
7458config_setting(
7459 name = "tvos_arm64",
7460 values = {
Marat Dukhanf85fc332020-02-13 00:05:20 -08007461 "apple_platform_type": "tvos",
Marat Dukhan1498d1d2020-02-11 20:00:05 -08007462 "cpu": "tvos_arm64",
7463 },
7464)
7465
7466config_setting(
7467 name = "tvos_x86_64",
7468 values = {
Marat Dukhanf85fc332020-02-13 00:05:20 -08007469 "apple_platform_type": "tvos",
Marat Dukhan1498d1d2020-02-11 20:00:05 -08007470 "cpu": "tvos_x86_64",
7471 },
7472)