8#include "../columns.hpp"
17 static constexpr std::string_view
NAME =
"LOOKUP_BITWISE_INTEGRAL_TAG_LENGTH";
22 static constexpr Column COUNTS = Column::lookup_bitwise_integral_tag_length_counts;
23 static constexpr Column INVERSES = Column::lookup_bitwise_integral_tag_length_inv;
24 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
SRC_COLUMNS = { ColumnAndShifts::bitwise_tag_a,
25 ColumnAndShifts::bitwise_ctr };
26 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
DST_COLUMNS = {
27 ColumnAndShifts::precomputed_clk, ColumnAndShifts::precomputed_tag_byte_length
32template <
typename FF_>
39 static constexpr std::string_view
NAME =
"LOOKUP_BITWISE_BYTE_OPERATIONS";
44 static constexpr Column COUNTS = Column::lookup_bitwise_byte_operations_counts;
45 static constexpr Column INVERSES = Column::lookup_bitwise_byte_operations_inv;
46 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
SRC_COLUMNS = { ColumnAndShifts::bitwise_op_id,
47 ColumnAndShifts::bitwise_ia_byte,
48 ColumnAndShifts::bitwise_ib_byte,
49 ColumnAndShifts::bitwise_ic_byte };
50 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
DST_COLUMNS = {
51 ColumnAndShifts::precomputed_bitwise_op_id,
52 ColumnAndShifts::precomputed_bitwise_input_a,
53 ColumnAndShifts::precomputed_bitwise_input_b,
54 ColumnAndShifts::precomputed_bitwise_output
59template <
typename FF_>
65 static constexpr std::string_view
NAME =
"LOOKUP_BITWISE_DISPATCH_EXEC_BITWISE";
70 static constexpr Column COUNTS = Column::lookup_bitwise_dispatch_exec_bitwise_counts;
71 static constexpr Column INVERSES = Column::lookup_bitwise_dispatch_exec_bitwise_inv;
72 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
SRC_COLUMNS = {
73 ColumnAndShifts::execution_subtrace_operation_id, ColumnAndShifts::execution_sel_opcode_error,
74 ColumnAndShifts::execution_register_0_, ColumnAndShifts::execution_mem_tag_reg_0_,
75 ColumnAndShifts::execution_register_1_, ColumnAndShifts::execution_mem_tag_reg_1_,
76 ColumnAndShifts::execution_register_2_, ColumnAndShifts::execution_mem_tag_reg_2_
78 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
DST_COLUMNS = {
79 ColumnAndShifts::bitwise_op_id, ColumnAndShifts::bitwise_err, ColumnAndShifts::bitwise_acc_ia,
80 ColumnAndShifts::bitwise_tag_a, ColumnAndShifts::bitwise_acc_ib, ColumnAndShifts::bitwise_tag_b,
81 ColumnAndShifts::bitwise_acc_ic, ColumnAndShifts::bitwise_tag_c
86template <
typename FF_>
This file contains the template for the generic lookup that can be specialized to enforce various loo...
static constexpr Column INVERSES
static constexpr Column DST_SELECTOR
static constexpr std::string_view NAME
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS
static constexpr Column COUNTS
static constexpr Column SRC_SELECTOR
static constexpr size_t LOOKUP_TUPLE_SIZE
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
static constexpr std::string_view RELATION_NAME
static constexpr size_t LOOKUP_TUPLE_SIZE
static constexpr Column DST_SELECTOR
static constexpr Column COUNTS
static constexpr std::string_view RELATION_NAME
static constexpr Column SRC_SELECTOR
static constexpr Column INVERSES
static constexpr std::string_view NAME
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
static constexpr std::string_view RELATION_NAME
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS
static constexpr Column COUNTS
static constexpr Column DST_SELECTOR
static constexpr Column SRC_SELECTOR
static constexpr Column INVERSES
static constexpr size_t LOOKUP_TUPLE_SIZE
static constexpr std::string_view NAME