blob: 9db85e30442358efb6da15dab6b552272253b3d2 [file] [log] [blame] [edit]
#!/bin/sh
# Copyright 2022 Google LLC
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
################################### SCALAR ###################################
tools/xngen src/s16-window/scalar.c.in -D BATCH_TILE=1 -o src/s16-window/gen/scalar-x1.c &
tools/xngen src/s16-window/scalar.c.in -D BATCH_TILE=2 -o src/s16-window/gen/scalar-x2.c &
tools/xngen src/s16-window/scalar.c.in -D BATCH_TILE=3 -o src/s16-window/gen/scalar-x3.c &
tools/xngen src/s16-window/scalar.c.in -D BATCH_TILE=4 -o src/s16-window/gen/scalar-x4.c &
################################### NEON ###################################
tools/xngen src/s16-window/neon.c.in -D BATCH_TILE=8 -D SHIFT=0 -o src/s16-window/gen/neon-x8.c &
tools/xngen src/s16-window/neon.c.in -D BATCH_TILE=16 -D SHIFT=0 -o src/s16-window/gen/neon-x16.c &
tools/xngen src/s16-window/neon.c.in -D BATCH_TILE=24 -D SHIFT=0 -o src/s16-window/gen/neon-x24.c &
tools/xngen src/s16-window/neon.c.in -D BATCH_TILE=32 -D SHIFT=0 -o src/s16-window/gen/neon-x32.c &
tools/xngen src/s16-window/neon.c.in -D BATCH_TILE=8 -D SHIFT=12 -o src/s16-window/gen/neon-shift12-x8.c &
tools/xngen src/s16-window/neon.c.in -D BATCH_TILE=16 -D SHIFT=12 -o src/s16-window/gen/neon-shift12-x16.c &
tools/xngen src/s16-window/neon.c.in -D BATCH_TILE=24 -D SHIFT=12 -o src/s16-window/gen/neon-shift12-x24.c &
tools/xngen src/s16-window/neon.c.in -D BATCH_TILE=32 -D SHIFT=12 -o src/s16-window/gen/neon-shift12-x32.c &
tools/xngen src/s16-window/neon.c.in -D BATCH_TILE=8 -D SHIFT=15 -o src/s16-window/gen/neon-shift15-x8.c &
tools/xngen src/s16-window/neon.c.in -D BATCH_TILE=16 -D SHIFT=15 -o src/s16-window/gen/neon-shift15-x16.c &
tools/xngen src/s16-window/neon.c.in -D BATCH_TILE=24 -D SHIFT=15 -o src/s16-window/gen/neon-shift15-x24.c &
tools/xngen src/s16-window/neon.c.in -D BATCH_TILE=32 -D SHIFT=15 -o src/s16-window/gen/neon-shift15-x32.c &
################################## Unit tests #################################
tools/generate-window-test.py --spec test/s16-window.yaml --output test/s16-window.cc &
wait