/* SPDX-License-Identifier: MIT
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use, copy,
* modify, merge, publish, distribute, sublicense, and/or sell copies
* of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
* Copyright:
* 2021 Kunwar Maheep Singh <kunwar.maheep@students.iiit.ac.in>
* 2021 Christopher Moore <moore@free.fr>
*/
/* The ternarylogic implementation is based on Wojciech Muła's work at
* https://github.com/WojciechMula/ternary-logic */
#if !
defined(SIMDE_X86_AVX512_TERNARYLOGIC_H)
#define SIMDE_X86_AVX512_TERNARYLOGIC_H
#include "types.h"
#include "movm.h"
#include "mov.h"
HEDLEY_DIAGNOSTIC_PUSH
SIMDE_DISABLE_UNWANTED_DIAGNOSTICS
SIMDE_BEGIN_DECLS_
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x00_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, a);
HEDLEY_STATIC_CAST(
void, b);
HEDLEY_STATIC_CAST(
void, c);
const uint_fast32_t c0 = 0;
return c0;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x01_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b | c;
const uint_fast32_t t1 = a | t0;
const uint_fast32_t t2 = ~t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x02_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b | a;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = c & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x03_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, c);
const uint_fast32_t t0 = b | a;
const uint_fast32_t t1 = ~t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x04_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a | c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = b & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x05_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, b);
const uint_fast32_t t0 = c | a;
const uint_fast32_t t1 = ~t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x06_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = b ^ c;
const uint_fast32_t t2 = t0 & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x07_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b & c;
const uint_fast32_t t1 = a | t0;
const uint_fast32_t t2 = ~t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x08_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = t0 & b;
const uint_fast32_t t2 = t1 & c;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x09_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b ^ c;
const uint_fast32_t t1 = a | t0;
const uint_fast32_t t2 = ~t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x0a_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, b);
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = c & t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x0b_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = ~b;
const uint_fast32_t t2 = t1 | c;
const uint_fast32_t t3 = t0 & t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x0c_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, c);
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = b & t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x0d_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = ~c;
const uint_fast32_t t2 = t1 | b;
const uint_fast32_t t3 = t0 & t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x0e_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = b | c;
const uint_fast32_t t2 = t0 & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x0f_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, b);
HEDLEY_STATIC_CAST(
void, c);
const uint_fast32_t t0 = ~a;
return t0;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x10_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b | c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = a & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x11_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, a);
const uint_fast32_t t0 = c | b;
const uint_fast32_t t1 = ~t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x12_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~b;
const uint_fast32_t t1 = a ^ c;
const uint_fast32_t t2 = t0 & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x13_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a & c;
const uint_fast32_t t1 = b | t0;
const uint_fast32_t t2 = ~t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x14_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~c;
const uint_fast32_t t1 = a ^ b;
const uint_fast32_t t2 = t0 & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x15_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b & a;
const uint_fast32_t t1 = c | t0;
const uint_fast32_t t2 = ~t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x16_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b | c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = a & t1;
const uint_fast32_t t3 = ~a;
const uint_fast32_t t4 = b ^ c;
const uint_fast32_t t5 = t3 & t4;
const uint_fast32_t t6 = t2 | t5;
return t6;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x17_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b | c;
const uint_fast32_t t1 = b & c;
const uint_fast32_t t2 = (a & t0) | (~a & t1);
const uint_fast32_t t3 = ~t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x18_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a ^ b;
const uint_fast32_t t1 = a ^ c;
const uint_fast32_t t2 = t0 & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x19_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b ^ c;
const uint_fast32_t t1 = b & c;
const uint_fast32_t t2 = a & t1;
const uint_fast32_t t3 = t0 ^ t2;
const uint_fast32_t t4 = ~t3;
return t4;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x1a_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a & b;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = a ^ c;
const uint_fast32_t t3 = t1 & t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x1b_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a & c;
const uint_fast32_t t1 = ~b;
const uint_fast32_t t2 = t1 | c;
const uint_fast32_t t3 = t0 ^ t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x1c_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a & c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = a ^ b;
const uint_fast32_t t3 = t1 & t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x1d_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a & b;
const uint_fast32_t t1 = ~c;
const uint_fast32_t t2 = t1 | b;
const uint_fast32_t t3 = t0 ^ t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x1e_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b | c;
const uint_fast32_t t1 = a ^ t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x1f_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b | c;
const uint_fast32_t t1 = a & t0;
const uint_fast32_t t2 = ~t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x20_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~b;
const uint_fast32_t t1 = t0 & a;
const uint_fast32_t t2 = t1 & c;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x21_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a ^ c;
const uint_fast32_t t1 = b | t0;
const uint_fast32_t t2 = ~t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x22_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, a);
const uint_fast32_t t0 = ~b;
const uint_fast32_t t1 = c & t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x23_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~b;
const uint_fast32_t t1 = ~a;
const uint_fast32_t t2 = t1 | c;
const uint_fast32_t t3 = t0 & t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x24_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a ^ b;
const uint_fast32_t t1 = b ^ c;
const uint_fast32_t t2 = t0 & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x25_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a & b;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = ~c;
const uint_fast32_t t3 = a ^ t2;
const uint_fast32_t t4 = t1 & t3;
return t4;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x26_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a & b;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = b ^ c;
const uint_fast32_t t3 = t1 & t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x27_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b & c;
const uint_fast32_t t1 = ~a;
const uint_fast32_t t2 = t1 | c;
const uint_fast32_t t3 = t0 ^ t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x28_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b ^ a;
const uint_fast32_t t1 = c & t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x29_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = t0 | c;
const uint_fast32_t t2 = ~a;
const uint_fast32_t t3 = b ^ c;
const uint_fast32_t t4 = t2 ^ t3;
const uint_fast32_t t5 = t1 & t4;
return t5;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x2a_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b & a;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = c & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x2b_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b & a;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = c & t1;
const uint_fast32_t t3 = ~c;
const uint_fast32_t t4 = b | a;
const uint_fast32_t t5 = ~t4;
const uint_fast32_t t6 = t3 & t5;
const uint_fast32_t t7 = t2 | t6;
return t7;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x2c_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b | c;
const uint_fast32_t t1 = a ^ b;
const uint_fast32_t t2 = t0 & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x2d_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~c;
const uint_fast32_t t1 = b | t0;
const uint_fast32_t t2 = a ^ t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x2e_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b | c;
const uint_fast32_t t1 = a & b;
const uint_fast32_t t2 = t0 ^ t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x2f_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = ~b;
const uint_fast32_t t2 = t1 & c;
const uint_fast32_t t3 = t0 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x30_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, c);
const uint_fast32_t t0 = ~b;
const uint_fast32_t t1 = a & t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x31_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~b;
const uint_fast32_t t1 = ~c;
const uint_fast32_t t2 = t1 | a;
const uint_fast32_t t3 = t0 & t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x32_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~b;
const uint_fast32_t t1 = a | c;
const uint_fast32_t t2 = t0 & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x33_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, a);
HEDLEY_STATIC_CAST(
void, c);
const uint_fast32_t t0 = ~b;
return t0;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x34_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b & c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = a ^ b;
const uint_fast32_t t3 = t1 & t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x35_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a & b;
const uint_fast32_t t1 = ~c;
const uint_fast32_t t2 = t1 | a;
const uint_fast32_t t3 = t0 ^ t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x36_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a | c;
const uint_fast32_t t1 = b ^ t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x37_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a | c;
const uint_fast32_t t1 = b & t0;
const uint_fast32_t t2 = ~t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x38_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a | c;
const uint_fast32_t t1 = a ^ b;
const uint_fast32_t t2 = t0 & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x39_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~c;
const uint_fast32_t t1 = t0 | a;
const uint_fast32_t t2 = b ^ t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x3a_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~b;
const uint_fast32_t t1 = a & t0;
const uint_fast32_t t2 = ~a;
const uint_fast32_t t3 = t2 & c;
const uint_fast32_t t4 = t1 | t3;
return t4;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x3b_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~b;
const uint_fast32_t t1 = ~a;
const uint_fast32_t t2 = t1 & c;
const uint_fast32_t t3 = t0 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x3c_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, c);
const uint_fast32_t t0 = b ^ a;
return t0;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x3d_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a ^ b;
const uint_fast32_t t1 = a | c;
const uint_fast32_t t2 = ~t1;
const uint_fast32_t t3 = t0 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x3e_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = t0 & c;
const uint_fast32_t t2 = a ^ b;
const uint_fast32_t t3 = t1 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x3f_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, c);
const uint_fast32_t t0 = b & a;
const uint_fast32_t t1 = ~t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x40_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~c;
const uint_fast32_t t1 = t0 & a;
const uint_fast32_t t2 = t1 & b;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x41_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b ^ a;
const uint_fast32_t t1 = c | t0;
const uint_fast32_t t2 = ~t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x42_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a ^ c;
const uint_fast32_t t1 = b ^ c;
const uint_fast32_t t2 = t0 & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x43_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a & c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = ~b;
const uint_fast32_t t3 = a ^ t2;
const uint_fast32_t t4 = t1 & t3;
return t4;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x44_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, a);
const uint_fast32_t t0 = ~c;
const uint_fast32_t t1 = b & t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x45_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~c;
const uint_fast32_t t1 = ~a;
const uint_fast32_t t2 = t1 | b;
const uint_fast32_t t3 = t0 & t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x46_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a & c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = b ^ c;
const uint_fast32_t t3 = t1 & t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x47_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b & c;
const uint_fast32_t t1 = ~a;
const uint_fast32_t t2 = t1 | b;
const uint_fast32_t t3 = t0 ^ t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x48_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a ^ c;
const uint_fast32_t t1 = b & t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x49_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = t0 | b;
const uint_fast32_t t2 = ~a;
const uint_fast32_t t3 = b ^ c;
const uint_fast32_t t4 = t2 ^ t3;
const uint_fast32_t t5 = t1 & t4;
return t5;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x4a_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b | c;
const uint_fast32_t t1 = a ^ c;
const uint_fast32_t t2 = t0 & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x4b_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~b;
const uint_fast32_t t1 = t0 | c;
const uint_fast32_t t2 = a ^ t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x4c_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a & c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = b & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x4d_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a & c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = b & t1;
const uint_fast32_t t3 = ~b;
const uint_fast32_t t4 = a | c;
const uint_fast32_t t5 = ~t4;
const uint_fast32_t t6 = t3 & t5;
const uint_fast32_t t7 = t2 | t6;
return t7;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x4e_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = c & t0;
const uint_fast32_t t2 = ~c;
const uint_fast32_t t3 = t2 & b;
const uint_fast32_t t4 = t1 | t3;
return t4;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x4f_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = ~c;
const uint_fast32_t t2 = b & t1;
const uint_fast32_t t3 = t0 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x50_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, b);
const uint_fast32_t t0 = ~c;
const uint_fast32_t t1 = a & t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x51_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~c;
const uint_fast32_t t1 = ~b;
const uint_fast32_t t2 = t1 | a;
const uint_fast32_t t3 = t0 & t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x52_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b & c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = a ^ c;
const uint_fast32_t t3 = t1 & t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x53_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a & c;
const uint_fast32_t t1 = ~b;
const uint_fast32_t t2 = t1 | a;
const uint_fast32_t t3 = t0 ^ t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x54_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~c;
const uint_fast32_t t1 = a | b;
const uint_fast32_t t2 = t0 & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x55_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, a);
HEDLEY_STATIC_CAST(
void, b);
const uint_fast32_t t0 = ~c;
return t0;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x56_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b | a;
const uint_fast32_t t1 = c ^ t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x57_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b | a;
const uint_fast32_t t1 = c & t0;
const uint_fast32_t t2 = ~t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x58_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a | b;
const uint_fast32_t t1 = a ^ c;
const uint_fast32_t t2 = t0 & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x59_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~b;
const uint_fast32_t t1 = t0 | a;
const uint_fast32_t t2 = c ^ t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x5a_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, b);
const uint_fast32_t t0 = c ^ a;
return t0;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x5b_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a | b;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = a ^ c;
const uint_fast32_t t3 = t1 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x5c_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~c;
const uint_fast32_t t1 = a & t0;
const uint_fast32_t t2 = ~a;
const uint_fast32_t t3 = t2 & b;
const uint_fast32_t t4 = t1 | t3;
return t4;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x5d_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~c;
const uint_fast32_t t1 = ~a;
const uint_fast32_t t2 = t1 & b;
const uint_fast32_t t3 = t0 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x5e_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~c;
const uint_fast32_t t1 = t0 & b;
const uint_fast32_t t2 = a ^ c;
const uint_fast32_t t3 = t1 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x5f_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, b);
const uint_fast32_t t0 = c & a;
const uint_fast32_t t1 = ~t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x60_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b ^ c;
const uint_fast32_t t1 = a & t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x61_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~b;
const uint_fast32_t t1 = t0 | a;
const uint_fast32_t t2 = ~b;
const uint_fast32_t t3 = a ^ c;
const uint_fast32_t t4 = t2 ^ t3;
const uint_fast32_t t5 = t1 & t4;
return t5;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x62_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a | c;
const uint_fast32_t t1 = b ^ c;
const uint_fast32_t t2 = t0 & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x63_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = t0 | c;
const uint_fast32_t t2 = b ^ t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x64_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a | b;
const uint_fast32_t t1 = b ^ c;
const uint_fast32_t t2 = t0 & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x65_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = t0 | b;
const uint_fast32_t t2 = c ^ t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x66_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, a);
const uint_fast32_t t0 = c ^ b;
return t0;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x67_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b ^ c;
const uint_fast32_t t1 = a | b;
const uint_fast32_t t2 = ~t1;
const uint_fast32_t t3 = t0 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x68_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b ^ c;
const uint_fast32_t t1 = a & t0;
const uint_fast32_t t2 = ~a;
const uint_fast32_t t3 = b & c;
const uint_fast32_t t4 = t2 & t3;
const uint_fast32_t t5 = t1 | t4;
return t5;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x69_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b ^ c;
const uint_fast32_t t1 = a ^ t0;
const uint_fast32_t t2 = ~t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x6a_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b & a;
const uint_fast32_t t1 = c ^ t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x6b_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = t0 & c;
const uint_fast32_t c1 = ~HEDLEY_STATIC_CAST(uint_fast32_t, 0);
const uint_fast32_t t2 = a ^ c1;
const uint_fast32_t t3 = b ^ c;
const uint_fast32_t t4 = t2 ^ t3;
const uint_fast32_t t5 = t1 | t4;
return t5;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x6c_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a & c;
const uint_fast32_t t1 = b ^ t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x6d_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = t0 & b;
const uint_fast32_t c1 = ~HEDLEY_STATIC_CAST(uint_fast32_t, 0);
const uint_fast32_t t2 = a ^ c1;
const uint_fast32_t t3 = b ^ c;
const uint_fast32_t t4 = t2 ^ t3;
const uint_fast32_t t5 = t1 | t4;
return t5;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x6e_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = t0 & b;
const uint_fast32_t t2 = b ^ c;
const uint_fast32_t t3 = t1 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x6f_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = b ^ c;
const uint_fast32_t t2 = t0 | t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x70_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b & c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = a & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x71_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b | c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = b ^ c;
const uint_fast32_t t3 = a & t2;
const uint_fast32_t t4 = t1 | t3;
return t4;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x72_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~b;
const uint_fast32_t t1 = c & t0;
const uint_fast32_t t2 = ~c;
const uint_fast32_t t3 = t2 & a;
const uint_fast32_t t4 = t1 | t3;
return t4;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x73_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~b;
const uint_fast32_t t1 = ~c;
const uint_fast32_t t2 = a & t1;
const uint_fast32_t t3 = t0 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x74_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~c;
const uint_fast32_t t1 = b & t0;
const uint_fast32_t t2 = ~b;
const uint_fast32_t t3 = t2 & a;
const uint_fast32_t t4 = t1 | t3;
return t4;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x75_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~c;
const uint_fast32_t t1 = ~b;
const uint_fast32_t t2 = a & t1;
const uint_fast32_t t3 = t0 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x76_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~b;
const uint_fast32_t t1 = t0 & a;
const uint_fast32_t t2 = b ^ c;
const uint_fast32_t t3 = t1 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x77_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, a);
const uint_fast32_t t0 = c & b;
const uint_fast32_t t1 = ~t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x78_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b & c;
const uint_fast32_t t1 = a ^ t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x79_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~b;
const uint_fast32_t t1 = t0 & a;
const uint_fast32_t c1 = ~HEDLEY_STATIC_CAST(uint_fast32_t, 0);
const uint_fast32_t t2 = b ^ c1;
const uint_fast32_t t3 = a ^ c;
const uint_fast32_t t4 = t2 ^ t3;
const uint_fast32_t t5 = t1 | t4;
return t5;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x7a_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~b;
const uint_fast32_t t1 = t0 & a;
const uint_fast32_t t2 = a ^ c;
const uint_fast32_t t3 = t1 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x7b_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~b;
const uint_fast32_t t1 = a ^ c;
const uint_fast32_t t2 = t0 | t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x7c_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~c;
const uint_fast32_t t1 = t0 & a;
const uint_fast32_t t2 = a ^ b;
const uint_fast32_t t3 = t1 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x7d_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~c;
const uint_fast32_t t1 = a ^ b;
const uint_fast32_t t2 = t0 | t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x7e_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a ^ b;
const uint_fast32_t t1 = a ^ c;
const uint_fast32_t t2 = t0 | t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x7f_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a & b;
const uint_fast32_t t1 = t0 & c;
const uint_fast32_t c1 = ~HEDLEY_STATIC_CAST(uint_fast32_t, 0);
const uint_fast32_t t2 = t1 ^ c1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x80_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b & c;
const uint_fast32_t t1 = a & t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x81_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a ^ c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = ~b;
const uint_fast32_t t3 = a ^ t2;
const uint_fast32_t t4 = t1 & t3;
return t4;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x82_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b ^ a;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = c & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x83_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a ^ b;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = ~a;
const uint_fast32_t t3 = t2 | c;
const uint_fast32_t t4 = t1 & t3;
return t4;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x84_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a ^ c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = b & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x85_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a ^ c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = ~c;
const uint_fast32_t t3 = t2 | b;
const uint_fast32_t t4 = t1 & t3;
return t4;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x86_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b | c;
const uint_fast32_t t1 = a ^ b;
const uint_fast32_t t2 = c ^ t1;
const uint_fast32_t t3 = t0 & t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x87_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b & c;
const uint_fast32_t t1 = a ^ t0;
const uint_fast32_t t2 = ~t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x88_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, a);
const uint_fast32_t t0 = c & b;
return t0;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x89_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b ^ c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = ~a;
const uint_fast32_t t3 = t2 | b;
const uint_fast32_t t4 = t1 & t3;
return t4;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x8a_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = t0 | b;
const uint_fast32_t t2 = c & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x8b_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = t0 | b;
const uint_fast32_t t2 = ~b;
const uint_fast32_t t3 = t2 | c;
const uint_fast32_t t4 = t1 & t3;
return t4;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x8c_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = t0 | c;
const uint_fast32_t t2 = b & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x8d_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~c;
const uint_fast32_t t1 = t0 | b;
const uint_fast32_t t2 = ~a;
const uint_fast32_t t3 = t2 | c;
const uint_fast32_t t4 = t1 & t3;
return t4;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x8e_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b & c;
const uint_fast32_t t1 = ~a;
const uint_fast32_t t2 = b ^ c;
const uint_fast32_t t3 = t1 & t2;
const uint_fast32_t t4 = t0 | t3;
return t4;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x8f_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = b & c;
const uint_fast32_t t2 = t0 | t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x90_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b ^ c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = a & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x91_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b ^ c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = ~b;
const uint_fast32_t t3 = t2 | a;
const uint_fast32_t t4 = t1 & t3;
return t4;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x92_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a | c;
const uint_fast32_t t1 = a ^ b;
const uint_fast32_t t2 = c ^ t1;
const uint_fast32_t t3 = t0 & t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x93_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a & c;
const uint_fast32_t t1 = b ^ t0;
const uint_fast32_t t2 = ~t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x94_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a | b;
const uint_fast32_t t1 = a ^ c;
const uint_fast32_t t2 = b ^ t1;
const uint_fast32_t t3 = t0 & t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x95_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b & a;
const uint_fast32_t t1 = c ^ t0;
const uint_fast32_t t2 = ~t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x96_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b ^ c;
const uint_fast32_t t1 = a ^ t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x97_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~b;
const uint_fast32_t t1 = t0 | a;
const uint_fast32_t t2 = t1 ^ a;
const uint_fast32_t t3 = b ^ c;
const uint_fast32_t t4 = a ^ t3;
const uint_fast32_t t5 = t2 | t4;
return t5;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x98_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b ^ c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = a | b;
const uint_fast32_t t3 = t1 & t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x99_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, a);
const uint_fast32_t t0 = c ^ b;
const uint_fast32_t t1 = ~t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x9a_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~b;
const uint_fast32_t t1 = t0 & a;
const uint_fast32_t t2 = t1 ^ c;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x9b_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b ^ c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = ~a;
const uint_fast32_t t3 = t2 & c;
const uint_fast32_t t4 = t1 | t3;
return t4;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x9c_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~c;
const uint_fast32_t t1 = t0 & a;
const uint_fast32_t t2 = t1 ^ b;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x9d_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b ^ c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = ~a;
const uint_fast32_t t3 = t2 & b;
const uint_fast32_t t4 = t1 | t3;
return t4;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x9e_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b & c;
const uint_fast32_t t1 = a ^ b;
const uint_fast32_t t2 = c ^ t1;
const uint_fast32_t t3 = t0 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0x9f_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b ^ c;
const uint_fast32_t t1 = a & t0;
const uint_fast32_t t2 = ~t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xa0_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, b);
const uint_fast32_t t0 = c & a;
return t0;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xa1_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a ^ c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = ~b;
const uint_fast32_t t3 = t2 | a;
const uint_fast32_t t4 = t1 & t3;
return t4;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xa2_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~b;
const uint_fast32_t t1 = a | t0;
const uint_fast32_t t2 = c & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xa3_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~b;
const uint_fast32_t t1 = t0 | a;
const uint_fast32_t t2 = ~a;
const uint_fast32_t t3 = t2 | c;
const uint_fast32_t t4 = t1 & t3;
return t4;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xa4_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a ^ c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = a | b;
const uint_fast32_t t3 = t1 & t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xa5_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, b);
const uint_fast32_t t0 = c ^ a;
const uint_fast32_t t1 = ~t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xa6_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = t0 & b;
const uint_fast32_t t2 = t1 ^ c;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xa7_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a ^ c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = ~b;
const uint_fast32_t t3 = t2 & c;
const uint_fast32_t t4 = t1 | t3;
return t4;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xa8_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a | b;
const uint_fast32_t t1 = c & t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xa9_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b | a;
const uint_fast32_t t1 = c ^ t0;
const uint_fast32_t t2 = ~t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xaa_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, a);
HEDLEY_STATIC_CAST(
void, b);
return c;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xab_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b | a;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = c | t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xac_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a & c;
const uint_fast32_t t1 = ~a;
const uint_fast32_t t2 = t1 & b;
const uint_fast32_t t3 = t0 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xad_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a ^ c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = b & c;
const uint_fast32_t t3 = t1 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xae_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = t0 & b;
const uint_fast32_t t2 = t1 | c;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xaf_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, b);
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = c | t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xb0_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~b;
const uint_fast32_t t1 = t0 | c;
const uint_fast32_t t2 = a & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xb1_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~c;
const uint_fast32_t t1 = t0 | a;
const uint_fast32_t t2 = ~b;
const uint_fast32_t t3 = t2 | c;
const uint_fast32_t t4 = t1 & t3;
return t4;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xb2_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a & c;
const uint_fast32_t t1 = b & t0;
const uint_fast32_t t2 = ~b;
const uint_fast32_t t3 = a | c;
const uint_fast32_t t4 = t2 & t3;
const uint_fast32_t t5 = t1 | t4;
return t5;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xb3_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~b;
const uint_fast32_t t1 = a & c;
const uint_fast32_t t2 = t0 | t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xb4_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~c;
const uint_fast32_t t1 = t0 & b;
const uint_fast32_t t2 = t1 ^ a;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xb5_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a ^ c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = ~b;
const uint_fast32_t t3 = t2 & a;
const uint_fast32_t t4 = t1 | t3;
return t4;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xb6_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a & c;
const uint_fast32_t t1 = a ^ b;
const uint_fast32_t t2 = c ^ t1;
const uint_fast32_t t3 = t0 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xb7_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a ^ c;
const uint_fast32_t t1 = b & t0;
const uint_fast32_t t2 = ~t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xb8_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b & c;
const uint_fast32_t t1 = ~b;
const uint_fast32_t t2 = t1 & a;
const uint_fast32_t t3 = t0 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xb9_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b ^ c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = a & c;
const uint_fast32_t t3 = t1 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xba_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~b;
const uint_fast32_t t1 = t0 & a;
const uint_fast32_t t2 = t1 | c;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xbb_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, a);
const uint_fast32_t t0 = ~b;
const uint_fast32_t t1 = c | t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xbc_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a & c;
const uint_fast32_t t1 = a ^ b;
const uint_fast32_t t2 = t0 | t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xbd_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a ^ c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = a ^ b;
const uint_fast32_t t3 = t1 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xbe_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b ^ a;
const uint_fast32_t t1 = c | t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xbf_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b & a;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = c | t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xc0_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, c);
const uint_fast32_t t0 = b & a;
return t0;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xc1_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a ^ b;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = ~c;
const uint_fast32_t t3 = t2 | a;
const uint_fast32_t t4 = t1 & t3;
return t4;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xc2_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a ^ b;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = a | c;
const uint_fast32_t t3 = t1 & t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xc3_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, c);
const uint_fast32_t t0 = b ^ a;
const uint_fast32_t t1 = ~t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xc4_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~c;
const uint_fast32_t t1 = t0 | a;
const uint_fast32_t t2 = b & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xc5_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~c;
const uint_fast32_t t1 = t0 | a;
const uint_fast32_t t2 = ~a;
const uint_fast32_t t3 = t2 | b;
const uint_fast32_t t4 = t1 & t3;
return t4;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xc6_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = t0 & c;
const uint_fast32_t t2 = t1 ^ b;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xc7_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a ^ b;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = ~c;
const uint_fast32_t t3 = t2 & b;
const uint_fast32_t t4 = t1 | t3;
return t4;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xc8_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a | c;
const uint_fast32_t t1 = b & t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xc9_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a | c;
const uint_fast32_t t1 = b ^ t0;
const uint_fast32_t t2 = ~t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xca_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a & b;
const uint_fast32_t t1 = ~a;
const uint_fast32_t t2 = t1 & c;
const uint_fast32_t t3 = t0 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xcb_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a ^ b;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = b & c;
const uint_fast32_t t3 = t1 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xcc_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, a);
HEDLEY_STATIC_CAST(
void, c);
return b;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xcd_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a | c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = b | t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xce_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = t0 & c;
const uint_fast32_t t2 = t1 | b;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xcf_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, c);
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = b | t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xd0_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~c;
const uint_fast32_t t1 = b | t0;
const uint_fast32_t t2 = a & t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xd1_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b | c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = a & b;
const uint_fast32_t t3 = t1 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xd2_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~b;
const uint_fast32_t t1 = t0 & c;
const uint_fast32_t t2 = t1 ^ a;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xd3_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a ^ b;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = ~c;
const uint_fast32_t t3 = t2 & a;
const uint_fast32_t t4 = t1 | t3;
return t4;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xd4_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~c;
const uint_fast32_t t1 = b & t0;
const uint_fast32_t t2 = b ^ c;
const uint_fast32_t t3 = ~t2;
const uint_fast32_t t4 = a & t3;
const uint_fast32_t t5 = t1 | t4;
return t5;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xd5_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~c;
const uint_fast32_t t1 = a & b;
const uint_fast32_t t2 = t0 | t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xd6_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a & b;
const uint_fast32_t t1 = a ^ c;
const uint_fast32_t t2 = b ^ t1;
const uint_fast32_t t3 = t0 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xd7_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b ^ a;
const uint_fast32_t t1 = c & t0;
const uint_fast32_t t2 = ~t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xd8_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = c & b;
const uint_fast32_t t1 = ~c;
const uint_fast32_t t2 = t1 & a;
const uint_fast32_t t3 = t0 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xd9_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b ^ c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = a & b;
const uint_fast32_t t3 = t1 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xda_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a & b;
const uint_fast32_t t1 = a ^ c;
const uint_fast32_t t2 = t0 | t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xdb_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a ^ b;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = a ^ c;
const uint_fast32_t t3 = t1 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xdc_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~c;
const uint_fast32_t t1 = t0 & a;
const uint_fast32_t t2 = t1 | b;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xdd_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, a);
const uint_fast32_t t0 = ~c;
const uint_fast32_t t1 = b | t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xde_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a ^ c;
const uint_fast32_t t1 = b | t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xdf_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a & c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = b | t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xe0_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b | c;
const uint_fast32_t t1 = a & t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xe1_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b | c;
const uint_fast32_t t1 = a ^ t0;
const uint_fast32_t t2 = ~t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xe2_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b & a;
const uint_fast32_t t1 = ~b;
const uint_fast32_t t2 = t1 & c;
const uint_fast32_t t3 = t0 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xe3_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a ^ b;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = a & c;
const uint_fast32_t t3 = t1 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xe4_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = c & a;
const uint_fast32_t t1 = ~c;
const uint_fast32_t t2 = t1 & b;
const uint_fast32_t t3 = t0 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xe5_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a ^ c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = a & b;
const uint_fast32_t t3 = t1 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xe6_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a & b;
const uint_fast32_t t1 = b ^ c;
const uint_fast32_t t2 = t0 | t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xe7_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b ^ c;
const uint_fast32_t t1 = ~a;
const uint_fast32_t t2 = t1 ^ c;
const uint_fast32_t t3 = t0 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xe8_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b & c;
const uint_fast32_t t1 = b ^ c;
const uint_fast32_t t2 = a & t1;
const uint_fast32_t t3 = t0 | t2;
return t3;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xe9_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = b ^ c;
const uint_fast32_t t2 = t0 ^ t1;
const uint_fast32_t t3 = a & b;
const uint_fast32_t t4 = t2 | t3;
return t4;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xea_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b & a;
const uint_fast32_t t1 = c | t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xeb_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b ^ a;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = c | t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xec_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a & c;
const uint_fast32_t t1 = b | t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xed_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = a ^ c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = b | t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xee_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, a);
const uint_fast32_t t0 = c | b;
return t0;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xef_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~a;
const uint_fast32_t t1 = b | c;
const uint_fast32_t t2 = t0 | t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xf0_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, b);
HEDLEY_STATIC_CAST(
void, c);
return a;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xf1_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = b | c;
const uint_fast32_t t1 = ~t0;
const uint_fast32_t t2 = a | t1;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xf2_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
const uint_fast32_t t0 = ~b;
const uint_fast32_t t1 = t0 & c;
const uint_fast32_t t2 = t1 | a;
return t2;
}
SIMDE_FUNCTION_ATTRIBUTES
uint_fast32_t
simde_x_ternarylogic_0xf3_impl_(uint_fast32_t a, uint_fast32_t b, uint_fast32_t c) {
HEDLEY_STATIC_CAST(
void, c);
const uint_fast32_t t0 = ~b;
const uint_fast32_t t1 = a | t0;
return t1;
}
SIMDE_FUNCTION_ATTRIBUTES
--> --------------------
--> maximum size reached
--> --------------------