Marat Dukhan | 4c4eb00 | 2019-12-08 21:27:49 -0800 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | # Copyright 2019 Google LLC |
| 3 | # |
| 4 | # This source code is licensed under the BSD-style license found in the |
| 5 | # LICENSE file in the root directory of this source tree. |
| 6 | |
| 7 | ################################### x86 AVX2 ################################## |
| 8 | tools/xngen src/f32-vscaleextexp/avx2-p5.c.in -D ELEMENTS_TILE=8 -o src/f32-vscaleextexp/gen/avx2-p5-x8.c |
| 9 | tools/xngen src/f32-vscaleextexp/avx2-p5.c.in -D ELEMENTS_TILE=16 -o src/f32-vscaleextexp/gen/avx2-p5-x16.c |
| 10 | tools/xngen src/f32-vscaleextexp/avx2-p5.c.in -D ELEMENTS_TILE=24 -o src/f32-vscaleextexp/gen/avx2-p5-x24.c |
| 11 | tools/xngen src/f32-vscaleextexp/avx2-p5.c.in -D ELEMENTS_TILE=32 -o src/f32-vscaleextexp/gen/avx2-p5-x32.c |
| 12 | tools/xngen src/f32-vscaleextexp/avx2-p5.c.in -D ELEMENTS_TILE=40 -o src/f32-vscaleextexp/gen/avx2-p5-x40.c |
| 13 | tools/xngen src/f32-vscaleextexp/avx2-p5.c.in -D ELEMENTS_TILE=48 -o src/f32-vscaleextexp/gen/avx2-p5-x48.c |
| 14 | tools/xngen src/f32-vscaleextexp/avx2-p5.c.in -D ELEMENTS_TILE=56 -o src/f32-vscaleextexp/gen/avx2-p5-x56.c |
| 15 | tools/xngen src/f32-vscaleextexp/avx2-p5.c.in -D ELEMENTS_TILE=64 -o src/f32-vscaleextexp/gen/avx2-p5-x64.c |
| 16 | tools/xngen src/f32-vscaleextexp/avx2-p5.c.in -D ELEMENTS_TILE=72 -o src/f32-vscaleextexp/gen/avx2-p5-x72.c |
| 17 | tools/xngen src/f32-vscaleextexp/avx2-p5.c.in -D ELEMENTS_TILE=80 -o src/f32-vscaleextexp/gen/avx2-p5-x80.c |
| 18 | tools/xngen src/f32-vscaleextexp/avx2-p5.c.in -D ELEMENTS_TILE=88 -o src/f32-vscaleextexp/gen/avx2-p5-x88.c |
| 19 | tools/xngen src/f32-vscaleextexp/avx2-p5.c.in -D ELEMENTS_TILE=96 -o src/f32-vscaleextexp/gen/avx2-p5-x96.c |
| 20 | |
| 21 | ################################# x86 AVX512F ################################# |
| 22 | tools/xngen src/f32-vscaleextexp/avx512f-p5-scalef.c.in -D ELEMENTS_TILE=16 -o src/f32-vscaleextexp/gen/avx512f-p5-scalef-x16.c |
| 23 | tools/xngen src/f32-vscaleextexp/avx512f-p5-scalef.c.in -D ELEMENTS_TILE=32 -o src/f32-vscaleextexp/gen/avx512f-p5-scalef-x32.c |
| 24 | tools/xngen src/f32-vscaleextexp/avx512f-p5-scalef.c.in -D ELEMENTS_TILE=48 -o src/f32-vscaleextexp/gen/avx512f-p5-scalef-x48.c |
| 25 | tools/xngen src/f32-vscaleextexp/avx512f-p5-scalef.c.in -D ELEMENTS_TILE=64 -o src/f32-vscaleextexp/gen/avx512f-p5-scalef-x64.c |
| 26 | tools/xngen src/f32-vscaleextexp/avx512f-p5-scalef.c.in -D ELEMENTS_TILE=80 -o src/f32-vscaleextexp/gen/avx512f-p5-scalef-x80.c |
| 27 | tools/xngen src/f32-vscaleextexp/avx512f-p5-scalef.c.in -D ELEMENTS_TILE=96 -o src/f32-vscaleextexp/gen/avx512f-p5-scalef-x96.c |
| 28 | tools/xngen src/f32-vscaleextexp/avx512f-p5-scalef.c.in -D ELEMENTS_TILE=112 -o src/f32-vscaleextexp/gen/avx512f-p5-scalef-x112.c |
| 29 | tools/xngen src/f32-vscaleextexp/avx512f-p5-scalef.c.in -D ELEMENTS_TILE=128 -o src/f32-vscaleextexp/gen/avx512f-p5-scalef-x128.c |
| 30 | tools/xngen src/f32-vscaleextexp/avx512f-p5-scalef.c.in -D ELEMENTS_TILE=144 -o src/f32-vscaleextexp/gen/avx512f-p5-scalef-x144.c |
| 31 | tools/xngen src/f32-vscaleextexp/avx512f-p5-scalef.c.in -D ELEMENTS_TILE=160 -o src/f32-vscaleextexp/gen/avx512f-p5-scalef-x160.c |
| 32 | tools/xngen src/f32-vscaleextexp/avx512f-p5-scalef.c.in -D ELEMENTS_TILE=176 -o src/f32-vscaleextexp/gen/avx512f-p5-scalef-x176.c |
| 33 | tools/xngen src/f32-vscaleextexp/avx512f-p5-scalef.c.in -D ELEMENTS_TILE=192 -o src/f32-vscaleextexp/gen/avx512f-p5-scalef-x192.c |
| 34 | |
| 35 | ################################## Unit tests ################################# |
| 36 | tools/generate-vscaleextexp-test.py --spec test/f32-vscaleextexp.yaml --output test/f32-vscaleextexp.cc |