blob: 5ea8734e485a97f149ee8f17aa691d42685b73e7 [file] [log] [blame] [edit]
// Copyright 2019 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.
//
// Auto-generated file. Do not edit!
// Specification: test/f16-raddstoreexpminusmax.yaml
// Generator: tools/generate-raddstoreexpminusmax-test.py
#include <gtest/gtest.h>
#include <xnnpack/common.h>
#include <xnnpack/isa-checks.h>
#include <xnnpack/raddstoreexpminusmax.h>
#include "raddstoreexpminusmax-microkernel-tester.h"
#if XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X32, elements_eq_32) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(32)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x32, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X32, elements_div_32) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 64; elements < 320; elements += 32) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x32, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X32, elements_lt_32) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 1; elements < 32; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x32, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X32, elements_gt_32) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 33; elements < 64; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x32, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
#endif // XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
#if XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X32_ACC2, elements_eq_32) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(32)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x32_acc2, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X32_ACC2, elements_div_32) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 64; elements < 320; elements += 32) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x32_acc2, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X32_ACC2, elements_lt_32) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 1; elements < 32; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x32_acc2, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X32_ACC2, elements_gt_32) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 33; elements < 64; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x32_acc2, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
#endif // XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
#if XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X32_ACC4, elements_eq_32) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(32)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x32_acc4, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X32_ACC4, elements_div_32) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 64; elements < 320; elements += 32) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x32_acc4, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X32_ACC4, elements_lt_32) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 1; elements < 32; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x32_acc4, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X32_ACC4, elements_gt_32) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 33; elements < 64; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x32_acc4, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
#endif // XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
#if XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X40, elements_eq_40) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(40)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x40, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X40, elements_div_40) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 80; elements < 400; elements += 40) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x40, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X40, elements_lt_40) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 1; elements < 40; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x40, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X40, elements_gt_40) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 41; elements < 80; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x40, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
#endif // XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
#if XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X40_ACC2, elements_eq_40) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(40)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x40_acc2, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X40_ACC2, elements_div_40) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 80; elements < 400; elements += 40) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x40_acc2, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X40_ACC2, elements_lt_40) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 1; elements < 40; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x40_acc2, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X40_ACC2, elements_gt_40) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 41; elements < 80; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x40_acc2, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
#endif // XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
#if XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X40_ACC5, elements_eq_40) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(40)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x40_acc5, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X40_ACC5, elements_div_40) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 80; elements < 400; elements += 40) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x40_acc5, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X40_ACC5, elements_lt_40) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 1; elements < 40; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x40_acc5, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X40_ACC5, elements_gt_40) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 41; elements < 80; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x40_acc5, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
#endif // XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
#if XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X48, elements_eq_48) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(48)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x48, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X48, elements_div_48) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 96; elements < 480; elements += 48) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x48, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X48, elements_lt_48) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 1; elements < 48; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x48, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X48, elements_gt_48) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 49; elements < 96; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x48, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
#endif // XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
#if XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X48_ACC2, elements_eq_48) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(48)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x48_acc2, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X48_ACC2, elements_div_48) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 96; elements < 480; elements += 48) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x48_acc2, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X48_ACC2, elements_lt_48) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 1; elements < 48; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x48_acc2, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X48_ACC2, elements_gt_48) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 49; elements < 96; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x48_acc2, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
#endif // XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
#if XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X48_ACC3, elements_eq_48) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(48)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x48_acc3, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X48_ACC3, elements_div_48) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 96; elements < 480; elements += 48) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x48_acc3, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X48_ACC3, elements_lt_48) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 1; elements < 48; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x48_acc3, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X48_ACC3, elements_gt_48) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 49; elements < 96; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x48_acc3, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
#endif // XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
#if XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X64, elements_eq_64) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(64)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x64, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X64, elements_div_64) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 128; elements < 640; elements += 64) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x64, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X64, elements_lt_64) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 1; elements < 64; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x64, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X64, elements_gt_64) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 65; elements < 128; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x64, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
#endif // XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
#if XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X64_ACC2, elements_eq_64) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(64)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x64_acc2, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X64_ACC2, elements_div_64) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 128; elements < 640; elements += 64) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x64_acc2, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X64_ACC2, elements_lt_64) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 1; elements < 64; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x64_acc2, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X64_ACC2, elements_gt_64) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 65; elements < 128; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x64_acc2, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
#endif // XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
#if XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X64_ACC4, elements_eq_64) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(64)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x64_acc4, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X64_ACC4, elements_div_64) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 128; elements < 640; elements += 64) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x64_acc4, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X64_ACC4, elements_lt_64) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 1; elements < 64; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x64_acc4, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X64_ACC4, elements_gt_64) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 65; elements < 128; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x64_acc4, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
#endif // XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
#if XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X72, elements_eq_72) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(72)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x72, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X72, elements_div_72) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 144; elements < 720; elements += 72) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x72, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X72, elements_lt_72) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 1; elements < 72; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x72, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X72, elements_gt_72) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 73; elements < 144; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x72, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
#endif // XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
#if XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X72_ACC3, elements_eq_72) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(72)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x72_acc3, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X72_ACC3, elements_div_72) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 144; elements < 720; elements += 72) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x72_acc3, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X72_ACC3, elements_lt_72) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 1; elements < 72; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x72_acc3, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X72_ACC3, elements_gt_72) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 73; elements < 144; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x72_acc3, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
#endif // XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
#if XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X80, elements_eq_80) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(80)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x80, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X80, elements_div_80) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 160; elements < 800; elements += 80) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x80, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X80, elements_lt_80) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 1; elements < 80; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x80, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X80, elements_gt_80) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 81; elements < 160; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x80, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
#endif // XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
#if XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X80_ACC2, elements_eq_80) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(80)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x80_acc2, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X80_ACC2, elements_div_80) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 160; elements < 800; elements += 80) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x80_acc2, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X80_ACC2, elements_lt_80) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 1; elements < 80; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x80_acc2, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X80_ACC2, elements_gt_80) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 81; elements < 160; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x80_acc2, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
#endif // XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
#if XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X80_ACC5, elements_eq_80) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(80)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x80_acc5, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X80_ACC5, elements_div_80) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 160; elements < 800; elements += 80) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x80_acc5, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X80_ACC5, elements_lt_80) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 1; elements < 80; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x80_acc5, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X80_ACC5, elements_gt_80) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 81; elements < 160; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x80_acc5, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
#endif // XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
#if XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X96, elements_eq_96) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(96)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x96, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X96, elements_div_96) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 192; elements < 960; elements += 96) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x96, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X96, elements_lt_96) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 1; elements < 96; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x96, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X96, elements_gt_96) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 97; elements < 192; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x96, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
#endif // XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
#if XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X96_ACC2, elements_eq_96) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(96)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x96_acc2, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X96_ACC2, elements_div_96) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 192; elements < 960; elements += 96) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x96_acc2, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X96_ACC2, elements_lt_96) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 1; elements < 96; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x96_acc2, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X96_ACC2, elements_gt_96) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 97; elements < 192; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x96_acc2, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
#endif // XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
#if XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X96_ACC3, elements_eq_96) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(96)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x96_acc3, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X96_ACC3, elements_div_96) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 192; elements < 960; elements += 96) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x96_acc3, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X96_ACC3, elements_lt_96) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 1; elements < 96; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x96_acc3, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X96_ACC3, elements_gt_96) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 97; elements < 192; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x96_acc3, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
#endif // XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
#if XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X96_ACC6, elements_eq_96) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(96)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x96_acc6, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X96_ACC6, elements_div_96) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 192; elements < 960; elements += 96) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x96_acc6, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X96_ACC6, elements_lt_96) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 1; elements < 96; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x96_acc6, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__NEONFP16ARITH_RR2_P2_X96_ACC6, elements_gt_96) {
TEST_REQUIRES_ARM_NEON_FP16_ARITH;
for (size_t elements = 97; elements < 192; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__neonfp16arith_rr2_p2_x96_acc6, xnn_init_f16_expminus_neonfp16arith_rr2_p2_params);
}
}
#endif // XNN_ENABLE_ARM_FP16 && (XNN_ARCH_ARM || XNN_ARCH_ARM64)
#if XNN_ARCH_X86 || XNN_ARCH_X86_64
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X32, elements_eq_32) {
TEST_REQUIRES_X86_AVX2;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(32)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x32, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X32, elements_div_32) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 64; elements < 320; elements += 32) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x32, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X32, elements_lt_32) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 1; elements < 32; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x32, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X32, elements_gt_32) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 33; elements < 64; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x32, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
#endif // XNN_ARCH_X86 || XNN_ARCH_X86_64
#if XNN_ARCH_X86 || XNN_ARCH_X86_64
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X32_ACC2, elements_eq_32) {
TEST_REQUIRES_X86_AVX2;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(32)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x32_acc2, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X32_ACC2, elements_div_32) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 64; elements < 320; elements += 32) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x32_acc2, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X32_ACC2, elements_lt_32) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 1; elements < 32; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x32_acc2, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X32_ACC2, elements_gt_32) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 33; elements < 64; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x32_acc2, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
#endif // XNN_ARCH_X86 || XNN_ARCH_X86_64
#if XNN_ARCH_X86 || XNN_ARCH_X86_64
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X32_ACC4, elements_eq_32) {
TEST_REQUIRES_X86_AVX2;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(32)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x32_acc4, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X32_ACC4, elements_div_32) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 64; elements < 320; elements += 32) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x32_acc4, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X32_ACC4, elements_lt_32) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 1; elements < 32; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x32_acc4, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X32_ACC4, elements_gt_32) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 33; elements < 64; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x32_acc4, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
#endif // XNN_ARCH_X86 || XNN_ARCH_X86_64
#if XNN_ARCH_X86 || XNN_ARCH_X86_64
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X40, elements_eq_40) {
TEST_REQUIRES_X86_AVX2;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(40)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x40, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X40, elements_div_40) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 80; elements < 400; elements += 40) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x40, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X40, elements_lt_40) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 1; elements < 40; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x40, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X40, elements_gt_40) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 41; elements < 80; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x40, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
#endif // XNN_ARCH_X86 || XNN_ARCH_X86_64
#if XNN_ARCH_X86 || XNN_ARCH_X86_64
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X40_ACC2, elements_eq_40) {
TEST_REQUIRES_X86_AVX2;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(40)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x40_acc2, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X40_ACC2, elements_div_40) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 80; elements < 400; elements += 40) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x40_acc2, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X40_ACC2, elements_lt_40) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 1; elements < 40; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x40_acc2, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X40_ACC2, elements_gt_40) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 41; elements < 80; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x40_acc2, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
#endif // XNN_ARCH_X86 || XNN_ARCH_X86_64
#if XNN_ARCH_X86 || XNN_ARCH_X86_64
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X40_ACC5, elements_eq_40) {
TEST_REQUIRES_X86_AVX2;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(40)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x40_acc5, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X40_ACC5, elements_div_40) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 80; elements < 400; elements += 40) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x40_acc5, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X40_ACC5, elements_lt_40) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 1; elements < 40; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x40_acc5, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X40_ACC5, elements_gt_40) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 41; elements < 80; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x40_acc5, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
#endif // XNN_ARCH_X86 || XNN_ARCH_X86_64
#if XNN_ARCH_X86 || XNN_ARCH_X86_64
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X48, elements_eq_48) {
TEST_REQUIRES_X86_AVX2;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(48)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x48, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X48, elements_div_48) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 96; elements < 480; elements += 48) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x48, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X48, elements_lt_48) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 1; elements < 48; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x48, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X48, elements_gt_48) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 49; elements < 96; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x48, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
#endif // XNN_ARCH_X86 || XNN_ARCH_X86_64
#if XNN_ARCH_X86 || XNN_ARCH_X86_64
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X48_ACC2, elements_eq_48) {
TEST_REQUIRES_X86_AVX2;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(48)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x48_acc2, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X48_ACC2, elements_div_48) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 96; elements < 480; elements += 48) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x48_acc2, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X48_ACC2, elements_lt_48) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 1; elements < 48; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x48_acc2, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X48_ACC2, elements_gt_48) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 49; elements < 96; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x48_acc2, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
#endif // XNN_ARCH_X86 || XNN_ARCH_X86_64
#if XNN_ARCH_X86 || XNN_ARCH_X86_64
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X48_ACC3, elements_eq_48) {
TEST_REQUIRES_X86_AVX2;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(48)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x48_acc3, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X48_ACC3, elements_div_48) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 96; elements < 480; elements += 48) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x48_acc3, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X48_ACC3, elements_lt_48) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 1; elements < 48; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x48_acc3, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X48_ACC3, elements_gt_48) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 49; elements < 96; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x48_acc3, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
#endif // XNN_ARCH_X86 || XNN_ARCH_X86_64
#if XNN_ARCH_X86 || XNN_ARCH_X86_64
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X64, elements_eq_64) {
TEST_REQUIRES_X86_AVX2;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(64)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x64, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X64, elements_div_64) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 128; elements < 640; elements += 64) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x64, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X64, elements_lt_64) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 1; elements < 64; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x64, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X64, elements_gt_64) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 65; elements < 128; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x64, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
#endif // XNN_ARCH_X86 || XNN_ARCH_X86_64
#if XNN_ARCH_X86 || XNN_ARCH_X86_64
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X64_ACC2, elements_eq_64) {
TEST_REQUIRES_X86_AVX2;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(64)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x64_acc2, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X64_ACC2, elements_div_64) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 128; elements < 640; elements += 64) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x64_acc2, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X64_ACC2, elements_lt_64) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 1; elements < 64; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x64_acc2, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X64_ACC2, elements_gt_64) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 65; elements < 128; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x64_acc2, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
#endif // XNN_ARCH_X86 || XNN_ARCH_X86_64
#if XNN_ARCH_X86 || XNN_ARCH_X86_64
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X64_ACC4, elements_eq_64) {
TEST_REQUIRES_X86_AVX2;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(64)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x64_acc4, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X64_ACC4, elements_div_64) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 128; elements < 640; elements += 64) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x64_acc4, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X64_ACC4, elements_lt_64) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 1; elements < 64; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x64_acc4, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X64_ACC4, elements_gt_64) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 65; elements < 128; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x64_acc4, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
#endif // XNN_ARCH_X86 || XNN_ARCH_X86_64
#if XNN_ARCH_X86 || XNN_ARCH_X86_64
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X72, elements_eq_72) {
TEST_REQUIRES_X86_AVX2;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(72)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x72, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X72, elements_div_72) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 144; elements < 720; elements += 72) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x72, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X72, elements_lt_72) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 1; elements < 72; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x72, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X72, elements_gt_72) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 73; elements < 144; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x72, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
#endif // XNN_ARCH_X86 || XNN_ARCH_X86_64
#if XNN_ARCH_X86 || XNN_ARCH_X86_64
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X72_ACC3, elements_eq_72) {
TEST_REQUIRES_X86_AVX2;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(72)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x72_acc3, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X72_ACC3, elements_div_72) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 144; elements < 720; elements += 72) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x72_acc3, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X72_ACC3, elements_lt_72) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 1; elements < 72; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x72_acc3, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X72_ACC3, elements_gt_72) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 73; elements < 144; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x72_acc3, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
#endif // XNN_ARCH_X86 || XNN_ARCH_X86_64
#if XNN_ARCH_X86 || XNN_ARCH_X86_64
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X80, elements_eq_80) {
TEST_REQUIRES_X86_AVX2;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(80)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x80, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X80, elements_div_80) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 160; elements < 800; elements += 80) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x80, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X80, elements_lt_80) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 1; elements < 80; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x80, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X80, elements_gt_80) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 81; elements < 160; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x80, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
#endif // XNN_ARCH_X86 || XNN_ARCH_X86_64
#if XNN_ARCH_X86 || XNN_ARCH_X86_64
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X80_ACC2, elements_eq_80) {
TEST_REQUIRES_X86_AVX2;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(80)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x80_acc2, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X80_ACC2, elements_div_80) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 160; elements < 800; elements += 80) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x80_acc2, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X80_ACC2, elements_lt_80) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 1; elements < 80; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x80_acc2, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X80_ACC2, elements_gt_80) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 81; elements < 160; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x80_acc2, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
#endif // XNN_ARCH_X86 || XNN_ARCH_X86_64
#if XNN_ARCH_X86 || XNN_ARCH_X86_64
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X80_ACC5, elements_eq_80) {
TEST_REQUIRES_X86_AVX2;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(80)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x80_acc5, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X80_ACC5, elements_div_80) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 160; elements < 800; elements += 80) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x80_acc5, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X80_ACC5, elements_lt_80) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 1; elements < 80; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x80_acc5, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X80_ACC5, elements_gt_80) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 81; elements < 160; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x80_acc5, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
#endif // XNN_ARCH_X86 || XNN_ARCH_X86_64
#if XNN_ARCH_X86 || XNN_ARCH_X86_64
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X96, elements_eq_96) {
TEST_REQUIRES_X86_AVX2;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(96)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x96, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X96, elements_div_96) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 192; elements < 960; elements += 96) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x96, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X96, elements_lt_96) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 1; elements < 96; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x96, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X96, elements_gt_96) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 97; elements < 192; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x96, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
#endif // XNN_ARCH_X86 || XNN_ARCH_X86_64
#if XNN_ARCH_X86 || XNN_ARCH_X86_64
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X96_ACC2, elements_eq_96) {
TEST_REQUIRES_X86_AVX2;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(96)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x96_acc2, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X96_ACC2, elements_div_96) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 192; elements < 960; elements += 96) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x96_acc2, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X96_ACC2, elements_lt_96) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 1; elements < 96; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x96_acc2, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X96_ACC2, elements_gt_96) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 97; elements < 192; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x96_acc2, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
#endif // XNN_ARCH_X86 || XNN_ARCH_X86_64
#if XNN_ARCH_X86 || XNN_ARCH_X86_64
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X96_ACC3, elements_eq_96) {
TEST_REQUIRES_X86_AVX2;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(96)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x96_acc3, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X96_ACC3, elements_div_96) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 192; elements < 960; elements += 96) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x96_acc3, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X96_ACC3, elements_lt_96) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 1; elements < 96; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x96_acc3, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X96_ACC3, elements_gt_96) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 97; elements < 192; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x96_acc3, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
#endif // XNN_ARCH_X86 || XNN_ARCH_X86_64
#if XNN_ARCH_X86 || XNN_ARCH_X86_64
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X96_ACC6, elements_eq_96) {
TEST_REQUIRES_X86_AVX2;
RAddStoreExpMinusMaxMicrokernelTester()
.elements(96)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x96_acc6, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X96_ACC6, elements_div_96) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 192; elements < 960; elements += 96) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x96_acc6, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X96_ACC6, elements_lt_96) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 1; elements < 96; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x96_acc6, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
TEST(F16_RADDSTOREEXPMINUSMAX__AVX2_RR1_P2_X96_ACC6, elements_gt_96) {
TEST_REQUIRES_X86_AVX2;
for (size_t elements = 97; elements < 192; elements++) {
RAddStoreExpMinusMaxMicrokernelTester()
.elements(elements)
.Test(xnn_f16_raddstoreexpminusmax_ukernel__avx2_rr1_p2_x96_acc6, xnn_init_f16_expminus_avx2_rr1_p2_params);
}
}
#endif // XNN_ARCH_X86 || XNN_ARCH_X86_64