Lines Matching defs:table
1077 * @brief Prepare a vtable lookup table for use with the native SIMD size.
1085 * @brief Prepare a vtable lookup table for use with the native SIMD size.
1094 * @brief Prepare a vtable lookup table for use with the native SIMD size.
1107 * @brief Perform an 8-bit 16-entry table lookup, with 32-bit indexes.
1111 uint8_t table[16];
1113 std::memcpy(table + 0, t0.m, 4 * sizeof(int));
1115 return vint4(table[idx.lane<0>()],
1116 table[idx.lane<1>()],
1117 table[idx.lane<2>()],
1118 table[idx.lane<3>()]);
1123 * @brief Perform an 8-bit 32-entry table lookup, with 32-bit indexes.
1127 uint8_t table[32];
1129 std::memcpy(table + 0, t0.m, 4 * sizeof(int));
1130 std::memcpy(table + 16, t1.m, 4 * sizeof(int));
1132 return vint4(table[idx.lane<0>()],
1133 table[idx.lane<1>()],
1134 table[idx.lane<2>()],
1135 table[idx.lane<3>()]);
1139 * @brief Perform an 8-bit 64-entry table lookup, with 32-bit indexes.
1143 uint8_t table[64];
1145 std::memcpy(table + 0, t0.m, 4 * sizeof(int));
1146 std::memcpy(table + 16, t1.m, 4 * sizeof(int));
1147 std::memcpy(table + 32, t2.m, 4 * sizeof(int));
1148 std::memcpy(table + 48, t3.m, 4 * sizeof(int));
1150 return vint4(table[idx.lane<0>()],
1151 table[idx.lane<1>()],
1152 table[idx.lane<2>()],
1153 table[idx.lane<3>()]);