1#!/bin/sh 2# Copyright 2022 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################################### ARM NEON ################################## 8tools/xngen src/f16-vrnd/neonfp16arith.c.in -D OP=RNDNE -D BATCH_TILE=8 -o src/f16-vrnd/gen/vrndne-neonfp16arith-x8.c & 9tools/xngen src/f16-vrnd/neonfp16arith.c.in -D OP=RNDNE -D BATCH_TILE=16 -o src/f16-vrnd/gen/vrndne-neonfp16arith-x16.c & 10tools/xngen src/f16-vrnd/neonfp16arith.c.in -D OP=RNDZ -D BATCH_TILE=8 -o src/f16-vrnd/gen/vrndz-neonfp16arith-x8.c & 11tools/xngen src/f16-vrnd/neonfp16arith.c.in -D OP=RNDZ -D BATCH_TILE=16 -o src/f16-vrnd/gen/vrndz-neonfp16arith-x16.c & 12tools/xngen src/f16-vrnd/neonfp16arith.c.in -D OP=RNDU -D BATCH_TILE=8 -o src/f16-vrnd/gen/vrndu-neonfp16arith-x8.c & 13tools/xngen src/f16-vrnd/neonfp16arith.c.in -D OP=RNDU -D BATCH_TILE=16 -o src/f16-vrnd/gen/vrndu-neonfp16arith-x16.c & 14tools/xngen src/f16-vrnd/neonfp16arith.c.in -D OP=RNDD -D BATCH_TILE=8 -o src/f16-vrnd/gen/vrndd-neonfp16arith-x8.c & 15tools/xngen src/f16-vrnd/neonfp16arith.c.in -D OP=RNDD -D BATCH_TILE=16 -o src/f16-vrnd/gen/vrndd-neonfp16arith-x16.c & 16 17################################# x86 F16C ################################# 18tools/xngen src/f16-vrnd/f16c.c.in -D OP=RNDNE -D BATCH_TILE=8 -o src/f16-vrnd/gen/vrndne-f16c-x8.c & 19tools/xngen src/f16-vrnd/f16c.c.in -D OP=RNDNE -D BATCH_TILE=16 -o src/f16-vrnd/gen/vrndne-f16c-x16.c & 20tools/xngen src/f16-vrnd/f16c.c.in -D OP=RNDZ -D BATCH_TILE=8 -o src/f16-vrnd/gen/vrndz-f16c-x8.c & 21tools/xngen src/f16-vrnd/f16c.c.in -D OP=RNDZ -D BATCH_TILE=16 -o src/f16-vrnd/gen/vrndz-f16c-x16.c & 22tools/xngen src/f16-vrnd/f16c.c.in -D OP=RNDU -D BATCH_TILE=8 -o src/f16-vrnd/gen/vrndu-f16c-x8.c & 23tools/xngen src/f16-vrnd/f16c.c.in -D OP=RNDU -D BATCH_TILE=16 -o src/f16-vrnd/gen/vrndu-f16c-x16.c & 24tools/xngen src/f16-vrnd/f16c.c.in -D OP=RNDD -D BATCH_TILE=8 -o src/f16-vrnd/gen/vrndd-f16c-x8.c & 25tools/xngen src/f16-vrnd/f16c.c.in -D OP=RNDD -D BATCH_TILE=16 -o src/f16-vrnd/gen/vrndd-f16c-x16.c & 26 27################################## Unit tests ################################# 28tools/generate-vunary-test.py --spec test/f16-vrndne.yaml --output test/f16-vrndne.cc & 29tools/generate-vunary-test.py --spec test/f16-vrndz.yaml --output test/f16-vrndz.cc & 30tools/generate-vunary-test.py --spec test/f16-vrndu.yaml --output test/f16-vrndu.cc & 31tools/generate-vunary-test.py --spec test/f16-vrndd.yaml --output test/f16-vrndd.cc & 32 33wait 34