Checkpoint the party/runtime stack before share-program and malicious-mode work.
Ship the TLS mesh, composer, Beaver/Yao/leaf MPC, prep/online paths, apps, and docs so the tree is pushable before elevating share_expr, security_mode, and prep resume. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
695f8e84f7
commit
0d22946a0e
1835 changed files with 170291 additions and 2849 deletions
|
|
@ -47,6 +47,7 @@
|
|||
#include "portable-snippets/exact-int/exact-int.h"
|
||||
|
||||
#include "dpf/utils.hpp"
|
||||
#include "dpf/twiddle.hpp"
|
||||
#include "dpf/bit_array.hpp"
|
||||
|
||||
namespace dpf
|
||||
|
|
@ -55,16 +56,6 @@ namespace dpf
|
|||
namespace detail
|
||||
{
|
||||
|
||||
template <typename Iterator>
|
||||
struct extract_bit_simde_node
|
||||
{
|
||||
bool operator()(Iterator it) const
|
||||
{
|
||||
auto buf = reinterpret_cast<const char *>(&*it);
|
||||
return buf[0] & 1;
|
||||
}
|
||||
};
|
||||
|
||||
template <typename NodeT, typename Iterator>
|
||||
struct extract_bit;
|
||||
|
||||
|
|
@ -72,11 +63,23 @@ HEDLEY_PRAGMA(GCC diagnostic push)
|
|||
HEDLEY_PRAGMA(GCC diagnostic ignored "-Wignored-attributes")
|
||||
template <typename Iterator>
|
||||
struct extract_bit<simde__m128i, Iterator>
|
||||
: public extract_bit_simde_node<Iterator> { };
|
||||
{
|
||||
bool operator()(Iterator it) const
|
||||
{
|
||||
// Same lo-bit extract used by tree walk / correction packing.
|
||||
return static_cast<bool>(dpf::get_lo_bit(*it));
|
||||
}
|
||||
};
|
||||
|
||||
template <typename Iterator>
|
||||
struct extract_bit<simde__m256i, Iterator>
|
||||
: public extract_bit_simde_node<Iterator> { };
|
||||
{
|
||||
bool operator()(Iterator it) const
|
||||
{
|
||||
auto buf = reinterpret_cast<const char *>(&*it);
|
||||
return buf[0] & 1;
|
||||
}
|
||||
};
|
||||
HEDLEY_PRAGMA(GCC diagnostic pop)
|
||||
|
||||
} // namespace detail
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue