binius_field/arch/x86_64/
packed_128.rs

1// Copyright 2024-2025 Irreducible Inc.
2
3use super::{m128::M128, packed_macros::*};
4use crate::{
5	arch::portable::{
6		packed::PackedPrimitiveType,
7		packed_arithmetic::{alphas, impl_tower_constants},
8		packed_macros::*,
9	},
10	arithmetic_traits::impl_transformation_with_strategy,
11};
12
13define_packed_binary_fields!(
14	underlier: M128,
15	packed_fields: [
16		packed_field {
17			name: PackedBinaryField128x1b,
18			scalar: BinaryField1b,
19			alpha_idx: 0,
20			mul:       (None),
21			square:    (None),
22			invert:    (None),
23			mul_alpha: (None),
24			transform: (SimdStrategy),
25		},
26	]
27);