25 "\n\t.reg .u64 x<4>, z<4>;"
48 "+l"(z0),
"+l"(z1),
"+l"(z2),
"+l"(z3)
50 "l"(x0),
"l"(x1),
"l"(x2),
"l"(x3)
53 z[0] = z0, z[1] = z1, z[2] = z2, z[3] = z3;
uint64_t fr_t[4]
Subgroup element stored as a 256-bit array (a 4-element little-endian array of uint64_t)....
__device__ void fr_add(fr_t &z, const fr_t &x)
Computes the sum of two residues x and z modulo r and stores it in z. Device only function.
#define FR_ADD(Z, X, Y)
Device macro for Z = X+Y with overflow check.