26 "\n\t.reg .u64 x<4>, z<4>;"
49 "+l"(z0),
"+l"(z1),
"+l"(z2),
"+l"(z3)
51 "l"(x0),
"l"(x1),
"l"(x2),
"l"(x3)
54 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_sub(fr_t &z, const fr_t &x)
Calculates the difference of two residues modulo p and stores it into z.
#define FR_SUB(Z, X, Y)
Macro for Z=X-Y. Consider that X is in registers X0..X3 and Y in Y0..Y3. Z and X can overlap.