Home
last modified time | relevance | path

Searched +full:4 +full:x2 (Results 1 – 25 of 1148) sorted by relevance

12345678910>>...46

/freebsd/lib/libc/aarch64/string/
H A Dstrcmp.S47 shrn v5.8b, v5.8h, #4
48 shrn v6.8b, v6.8h, #4
52 adrp x2, shift_data
53 add x2, x2, :lo12:shift_data
59 ldr q4, [x2, x9] // load permutation table
63 .p2align 4
70 ldr q4, [x2, x11]
75 .p2align 4
87 shrn v2.8b, v2.8h, #4
104 shrn v1.8b, v1.8h, #4
[all …]
H A Dstrncmp.S21 subs x2, x2, #1
38 cmp x2,#16
53 shrn v5.8b, v5.8h, #4
54 shrn v6.8b, v6.8h, #4
69 .p2align 4
81 .p2align 4
92 shrn v2.8b, v2.8h, #4
100 add x2, x2, x11
101 sub x2, x2, #16
107 .p2align 4
[all …]
H A Dstrlcpy.S14 subs x2, x2, #1
28 shrn v1.8b, v1.8h, #4
41 subs x2, x2, x8
45 shrn v1.8b, v1.8h, #4
56 subs x2, x2, #16 // enough left for another round?
60 .p2align 4
63 shrn v2.8b, v2.8h, #4
71 cmp x2, #16 // more than a full chunk left?
78 shrn v2.8b, v2.8h, #4
80 cbnz x5, 4f // process chunk if match
[all …]
H A Dtimingsafe_bcmp.S10 cmp x2, #32 // at least 33 bytes to process?
13 cmp x2, #16 // at least 17 bytes to process?
16 cmp x2, #8 // at least 9 bytes to process?
19 cmp x2, #4 // at least 5 bytes to process?
22 cmp x2, #2 // at least 3 bytes to process?
25 cbnz x2, .L0102 // buffer empty?
32 sub x2, x2, #1
33 ldrb w5, [x0, x2] // load last bytes
34 ldrb w6, [x1, x2]
42 sub x2, x2, #2
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/
H A Dcurve25519_sandy2x.c21 #define x2 var[1] macro
47 z_51.v[2] = (z2[5] << 26) + z2[4]; in crypto_scalarmult_curve25519_sandy2x()
49 z_51.v[4] = (z2[9] << 26) + z2[8]; in crypto_scalarmult_curve25519_sandy2x()
51 x_51.v[0] = (x2[1] << 26) + x2[0]; in crypto_scalarmult_curve25519_sandy2x()
52 x_51.v[1] = (x2[3] << 26) + x2[2]; in crypto_scalarmult_curve25519_sandy2x()
53 x_51.v[2] = (x2[5] << 26) + x2[4]; in crypto_scalarmult_curve25519_sandy2x()
54 x_51.v[3] = (x2[7] << 26) + x2[6]; in crypto_scalarmult_curve25519_sandy2x()
55 x_51.v[4] = (x2[9] << 26) + x2[8]; in crypto_scalarmult_curve25519_sandy2x()
64 #undef x2
67 #define x2 var[0] macro
[all …]
/freebsd/contrib/bearssl/src/symcipher/
H A Daes_pwr8_ctrcbc.c107 vcipher(x, x, 4) \
120 vcipher(x, x, 4) \
135 vcipher(x, x, 4) \
156 vcipher(x, x, 4) \
157 vcipher(y, y, 4) \
180 vcipher(x, x, 4) \
181 vcipher(y, y, 4) \
208 vcipher(x, x, 4) \
209 vcipher(y, y, 4) \
231 #define BLOCK_ENCRYPT_X4_128(x0, x1, x2, x3) \ argument
[all …]
H A Daes_x86ni_ctr.c65 sk[u] = _mm_loadu_si128((void *)(ctx->skey.skni + (u << 4))); in br_aes_x86ni_ctr_run()
69 __m128i x0, x1, x2, x3; in br_aes_x86ni_ctr_run() local
73 x2 = _mm_insert_epi32(ivx, br_bswap32(cc + 2), 3); in br_aes_x86ni_ctr_run()
77 x2 = _mm_xor_si128(x2, sk[0]); in br_aes_x86ni_ctr_run()
81 x2 = _mm_aesenc_si128(x2, sk[1]); in br_aes_x86ni_ctr_run()
85 x2 = _mm_aesenc_si128(x2, sk[2]); in br_aes_x86ni_ctr_run()
89 x2 = _mm_aesenc_si128(x2, sk[3]); in br_aes_x86ni_ctr_run()
91 x0 = _mm_aesenc_si128(x0, sk[4]); in br_aes_x86ni_ctr_run()
92 x1 = _mm_aesenc_si128(x1, sk[4]); in br_aes_x86ni_ctr_run()
93 x2 = _mm_aesenc_si128(x2, sk[4]); in br_aes_x86ni_ctr_run()
[all …]
H A Daes_x86ni_cbcdec.c63 sk[u] = _mm_loadu_si128((void *)(ctx->skey.skni + (u << 4))); in br_aes_x86ni_cbcdec_run()
66 __m128i x0, x1, x2, x3, e0, e1, e2, e3; in br_aes_x86ni_cbcdec_run() local
71 x2 = _mm_loadu_si128((void *)(buf + 32)); in br_aes_x86ni_cbcdec_run()
78 x2 = _mm_loadu_si128( in br_aes_x86ni_cbcdec_run()
80 x3 = x2; in br_aes_x86ni_cbcdec_run()
82 x2 = x0; in br_aes_x86ni_cbcdec_run()
87 x2 = x0; in br_aes_x86ni_cbcdec_run()
93 e2 = x2; in br_aes_x86ni_cbcdec_run()
97 x2 = _mm_xor_si128(x2, sk[0]); in br_aes_x86ni_cbcdec_run()
101 x2 = _mm_aesdec_si128(x2, sk[1]); in br_aes_x86ni_cbcdec_run()
[all …]
H A Daes_x86ni_ctrcbc.c64 sk[u] = _mm_loadu_si128((void *)(ctx->skey.skni + (u << 4))); in br_aes_x86ni_ctrcbc_ctr()
70 erev = _mm_set_epi8(0, 1, 2, 3, 4, 5, 6, 7, in br_aes_x86ni_ctrcbc_ctr()
74 four = _mm_set_epi64x(0, 4); in br_aes_x86ni_ctrcbc_ctr()
92 __m128i x0, x1, x2, x3; in br_aes_x86ni_ctrcbc_ctr() local
100 x2 = _mm_shuffle_epi8(ivx2, erev); in br_aes_x86ni_ctrcbc_ctr()
105 x2 = _mm_xor_si128(x2, sk[0]); in br_aes_x86ni_ctrcbc_ctr()
109 x2 = _mm_aesenc_si128(x2, sk[1]); in br_aes_x86ni_ctrcbc_ctr()
113 x2 = _mm_aesenc_si128(x2, sk[2]); in br_aes_x86ni_ctrcbc_ctr()
117 x2 = _mm_aesenc_si128(x2, sk[3]); in br_aes_x86ni_ctrcbc_ctr()
119 x0 = _mm_aesenc_si128(x0, sk[4]); in br_aes_x86ni_ctrcbc_ctr()
[all …]
H A Daes_ct64.c41 uint64_t x0, x1, x2, x3, x4, x5, x6, x7; in br_aes_ct64_bitslice_Sbox() local
58 x2 = q[5]; in br_aes_ct64_bitslice_Sbox()
59 x3 = q[4]; in br_aes_ct64_bitslice_Sbox()
72 t0 = x1 ^ x2; in br_aes_ct64_bitslice_Sbox()
197 q[4] = s3; in br_aes_ct64_bitslice_Sbox()
218 #define SWAP8(x, y) SWAPN(0x0F0F0F0F0F0F0F0F, 0xF0F0F0F0F0F0F0F0, 4, x, y) in br_aes_ct64_ortho()
222 SWAP2(q[4], q[5]); in br_aes_ct64_ortho()
227 SWAP4(q[4], q[6]); in br_aes_ct64_ortho()
230 SWAP8(q[0], q[4]); in br_aes_ct64_ortho()
240 uint64_t x0, x1, x2, x3; in br_aes_ct64_interleave_in() local
[all …]
/freebsd/sys/crypto/openssl/aarch64/
H A Daesv8-armx.S25 cmp x2,#0
41 ld1 {v1.4s,v2.4s},[x3],#32
47 .align 4
51 st1 {v3.4s},[x2],#16
65 ld1 {v1.4s},[x3]
69 st1 {v3.4s},[x2],#16
83 st1 {v3.4s},[x2],#16
93 st1 {v3.4s},[x2]
94 add x2,x2,#0x50
99 .align 4
[all …]
H A Darmv8-mont.S40 ldr x9,[x2],#8 // bp[0]
111 ldr x9,[x2],#8 // bp[i]
243 .align 4
248 sub x7,x7,x5,lsl#4
269 ld1 {v0.4s,v1.4s},[x1],#32
271 ldr s30,[x4],#4
275 .align 4
277 ldr s28,[x2],#4 // *b++
278 uxtl v28.4s,v28.4h
280 ld1 {v2.4s,v3.4s},[x3],#32
[all …]
/freebsd/contrib/arm-optimized-routines/math/
H A Dsincosf.h14 /* PI / 4. */
20 double sign[4]; /* Sign of sine in quadrants 0..3. */
37 /* Compute the sine and cosine of inputs X and X2 (X squared), using the
41 sincosf_poly (double x, double x2, const sincos_t *p, int n, float *sinp, in sincosf_poly() argument
46 x4 = x2 * x2; in sincosf_poly()
47 x3 = x2 * x; in sincosf_poly()
48 c2 = p->c3 + x2 * p->c4; in sincosf_poly()
49 s1 = p->s2 + x2 * p->s3; in sincosf_poly()
56 c1 = p->c0 + x2 * p->c1; in sincosf_poly()
57 x5 = x3 * x2; in sincosf_poly()
[all …]
H A Dpoly_generic.h18 static inline VTYPE VWRAP (pairwise_poly_3) (VTYPE x, VTYPE x2, in VWRAP()
24 return FMA (p23, x2, p01); in VWRAP()
27 static inline VTYPE VWRAP (estrin_4) (VTYPE x, VTYPE x2, VTYPE x4, in VWRAP()
30 VTYPE p03 = VWRAP (pairwise_poly_3) (x, x2, poly); in VWRAP()
31 return FMA (poly[4], x4, p03); in VWRAP()
33 static inline VTYPE VWRAP (estrin_5) (VTYPE x, VTYPE x2, VTYPE x4, in VWRAP()
36 VTYPE p03 = VWRAP (pairwise_poly_3) (x, x2, poly); in VWRAP()
37 VTYPE p45 = FMA (poly[5], x, poly[4]); in VWRAP()
40 static inline VTYPE VWRAP (estrin_6) (VTYPE x, VTYPE x2, VTYPE x4, in VWRAP()
43 VTYPE p03 = VWRAP (pairwise_poly_3) (x, x2, poly); in VWRAP()
[all …]
H A Derf.c58 double x2 = x * x; in erf() local
62 double r1 = fma (x2, PA[1], PA[0]); in erf()
63 double r2 = fma (x2, PA[3], PA[2]); in erf()
64 double r3 = fma (x2, PA[5], PA[4]); in erf()
65 double r4 = fma (x2, PA[7], PA[6]); in erf()
66 double r5 = fma (x2, PA[9], PA[8]); in erf()
67 double x4 = x2 * x2; in erf()
79 r1n = fma (x2, NA[1], NA[0]); in erf()
80 x4 = x2 * x2; in erf()
81 r2n = fma (x2, NA[3], NA[2]); in erf()
[all …]
/freebsd/sys/contrib/device-tree/src/powerpc/fsl/
H A Dmpc8569mds.dts34 0x2 0x0 0x0 0xf0000000 0x04000000
91 pib@4,0 {
93 reg = <4 0 0x8000>;
143 0x2 0x1f 0x1 0x0 0x1 0x0 /* QE_MUX_MDC */
144 0x2 0x1e 0x3 0x0 0x2 0x0 /* QE_MUX_MDIO */
145 0x2 0x0b 0x2 0x0 0x1 0x0 /* CLK12*/
148 0x0 0x2 0x1 0x0 0x1 0x0 /* ENET1_TXD2_SER1_TXD2 */
149 0x0 0x3 0x1 0x0 0x2 0x0 /* ENET1_TXD3_SER1_TXD3 */
150 0x0 0x6 0x2 0x0 0x3 0x0 /* ENET1_RXD0_SER1_RXD0 */
151 0x0 0x7 0x2 0x0 0x1 0x0 /* ENET1_RXD1_SER1_RXD1 */
[all …]
H A Dp1025rdb.dtsi102 /* 4MB for Linux Kernel Image */
108 /* 4MB for Compressed Root file System Image */
158 /* 4MB for Linux Kernel Image */
164 /* 4MB for Compressed RFS Image */
253 0x0 0x17 0x2 0x0 0x2 0x0 /* CLK12 */
254 0x0 0x18 0x2 0x0 0x1 0x0 /* CLK9 */
255 0x0 0x7 0x1 0x0 0x2 0x0 /* ENET1_TXD0_SER1_TXD0 */
256 0x0 0x9 0x1 0x0 0x2 0x0 /* ENET1_TXD1_SER1_TXD1 */
257 0x0 0xb 0x1 0x0 0x2 0x0 /* ENET1_TXD2_SER1_TXD2 */
258 0x0 0xc 0x1 0x0 0x2 0x0 /* ENET1_TXD3_SER1_TXD3 */
[all …]
/freebsd/contrib/arm-optimized-routines/math/aarch64/sve/
H A Dsv_poly_generic.h22 static inline VTYPE VWRAP (pairwise_poly_3) (svbool_t pg, VTYPE x, VTYPE x2, in VWRAP()
28 return svmla_x (pg, p01, p23, x2); in VWRAP()
31 static inline VTYPE VWRAP (estrin_4) (svbool_t pg, VTYPE x, VTYPE x2, VTYPE x4, in VWRAP()
34 VTYPE p03 = VWRAP (pairwise_poly_3) (pg, x, x2, poly); in VWRAP()
35 return svmla_x (pg, p03, x4, poly[4]); in VWRAP()
37 static inline VTYPE VWRAP (estrin_5) (svbool_t pg, VTYPE x, VTYPE x2, VTYPE x4, in VWRAP()
40 VTYPE p03 = VWRAP (pairwise_poly_3) (pg, x, x2, poly); in VWRAP()
41 VTYPE p45 = svmla_x (pg, DUP (poly[4]), x, poly[5]); in VWRAP()
44 static inline VTYPE VWRAP (estrin_6) (svbool_t pg, VTYPE x, VTYPE x2, VTYPE x4, in VWRAP()
47 VTYPE p03 = VWRAP (pairwise_poly_3) (pg, x, x2, poly); in VWRAP()
[all …]
/freebsd/crypto/heimdal/lib/wind/
H A Derrorlist_table.c58 …{0xfdd0, 0x20, WIND_PROFILE_NAME|WIND_PROFILE_LDAP|WIND_PROFILE_SASL}, /* C.4: [NONCHARACTER CODE …
65 …{0xfffe, 0x2, WIND_PROFILE_NAME|WIND_PROFILE_LDAP|WIND_PROFILE_SASL}, /* C.4: [NONCHARACTER CODE P…
67 …{0x1fffe, 0x2, WIND_PROFILE_NAME|WIND_PROFILE_LDAP|WIND_PROFILE_SASL}, /* C.4: [NONCHARACTER CODE …
68 …{0x2fffe, 0x2, WIND_PROFILE_NAME|WIND_PROFILE_LDAP|WIND_PROFILE_SASL}, /* C.4: [NONCHARACTER CODE …
69 …{0x3fffe, 0x2, WIND_PROFILE_NAME|WIND_PROFILE_LDAP|WIND_PROFILE_SASL}, /* C.4: [NONCHARACTER CODE …
70 …{0x4fffe, 0x2, WIND_PROFILE_NAME|WIND_PROFILE_LDAP|WIND_PROFILE_SASL}, /* C.4: [NONCHARACTER CODE …
71 …{0x5fffe, 0x2, WIND_PROFILE_NAME|WIND_PROFILE_LDAP|WIND_PROFILE_SASL}, /* C.4: [NONCHARACTER CODE …
72 …{0x6fffe, 0x2, WIND_PROFILE_NAME|WIND_PROFILE_LDAP|WIND_PROFILE_SASL}, /* C.4: [NONCHARACTER CODE …
73 …{0x7fffe, 0x2, WIND_PROFILE_NAME|WIND_PROFILE_LDAP|WIND_PROFILE_SASL}, /* C.4: [NONCHARACTER CODE …
74 …{0x8fffe, 0x2, WIND_PROFILE_NAME|WIND_PROFILE_LDAP|WIND_PROFILE_SASL}, /* C.4: [NONCHARACTER CODE …
[all …]
/freebsd/crypto/krb5/src/plugins/preauth/spake/
H A Dedwards25519_fiat.h29 uint64_t x2 = (x1 & UINT64_C(0x7ffffffffffff)); in fiat_25519_addcarryx_u51() local
31 *out1 = x2; in fiat_25519_addcarryx_u51()
46 fiat_25519_int1 x2 = (fiat_25519_int1)(x1 >> 51); in fiat_25519_subborrowx_u51() local
49 *out2 = (fiat_25519_uint1)(0x0 - x2); in fiat_25519_subborrowx_u51()
62 uint64_t x2 = ((fiat_25519_int1)(0x0 - x1) & UINT64_C(0xffffffffffffffff)); in fiat_25519_cmovznz_u64() local
63 uint64_t x3 = ((x2 & arg3) | ((~x2) & arg2)); in fiat_25519_cmovznz_u64()
75 fiat_25519_uint128 x1 = ((fiat_25519_uint128)(arg1[4]) * ((arg2[4]) * (uint64_t)UINT8_C(0x13))); in fiat_25519_carry_mul()
76 fiat_25519_uint128 x2 = ((fiat_25519_uint128)(arg1[4]) * ((arg2[3]) * (uint64_t)UINT8_C(0x13))); in fiat_25519_carry_mul() local
77 fiat_25519_uint128 x3 = ((fiat_25519_uint128)(arg1[4]) * ((arg2[2]) * (uint64_t)UINT8_C(0x13))); in fiat_25519_carry_mul()
78 fiat_25519_uint128 x4 = ((fiat_25519_uint128)(arg1[4]) * ((arg2[1]) * (uint64_t)UINT8_C(0x13))); in fiat_25519_carry_mul()
[all …]
/freebsd/contrib/bearssl/src/ec/
H A Dec_c25519_m62.c92 w = m & (a[4] ^ b[4]); a[4] ^= w; b[4] ^= w; in f255_cswap()
105 d[4] = a[4] + b[4]; in f255_add()
143 d[4] = ((uint64_t)1 << 61) + a[4] - b[4] - cc; in f255_sub()
150 d[0] += 19 * (d[4] >> 51); in f255_sub()
151 d[4] &= MASK51; in f255_sub()
200 * sum will be at most 5*(2^57-1) + 4*(2^51-1) (for t[5]), in f255_mul()
213 UMUL51(t[4], lo, a[3], b[0]); t[3] += lo; in f255_mul()
214 UMUL51(hi, lo, a[2], b[1]); t[3] += lo; t[4] += hi; in f255_mul()
215 UMUL51(hi, lo, a[1], b[2]); t[3] += lo; t[4] += hi; in f255_mul()
216 UMUL51(hi, lo, a[0], b[3]); t[3] += lo; t[4] += hi; in f255_mul()
[all …]
/freebsd/sys/arm64/arm64/
H A Dbus_space_asm.S32 ldrb w0, [x1, x2]
37 ldrh w0, [x1, x2]
42 ldr w0, [x1, x2]
47 ldr x0, [x1, x2]
56 add x0, x1, x2
77 add x0, x1, x2
98 add x0, x1, x2
107 str w1, [x3], #4
119 add x0, x1, x2
140 add x0, x1, x2
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dpopcountdi2.c18 du_int x2 = (du_int)a; in __popcountdi2() local
19 x2 = x2 - ((x2 >> 1) & 0x5555555555555555uLL); in __popcountdi2()
21 x2 = ((x2 >> 2) & 0x3333333333333333uLL) + (x2 & 0x3333333333333333uLL); in __popcountdi2()
22 // Every 4 bits holds the sum of every 4-set of bits (3 significant bits) (16) in __popcountdi2()
23 x2 = (x2 + (x2 >> 4)) & 0x0F0F0F0F0F0F0F0FuLL; in __popcountdi2()
24 // Every 8 bits holds the sum of every 8-set of bits (4 significant bits) (8) in __popcountdi2()
25 su_int x = (su_int)(x2 + (x2 >> 32)); in __popcountdi2()
/freebsd/lib/msun/src/
H A Ds_tanhl.c54 T17 = 5.8645267876296793e-4, /* 0x13378589b85aa7.0p-63 */
55 T19 = -2.1121033571392224e-4; /* -0x1baf0af80c4090.0p-65 */
70 T17 = 5.9002744094556621e-4, /* 0x1355824803668e.0p-63 */
71 T19 = -2.3912911424260516e-4, /* -0x1f57d7734c8dde.0p-65 */
111 long double hi,lo,s,x2,x4,z; in tanhl() local
135 x2 = x*x; in tanhl()
137 x4 = x2*x2; in tanhl()
138 RETURNI(((T19*x2 + T17)*x4 + (T15*x2 + T13))*(x2*x*x2*x4*x4) + in tanhl()
139 ((T11*x2 + T9)*x4 + (T7*x2 + T5))*(x2*x*x2) + in tanhl()
140 T3*(x2*x) + x); in tanhl()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/sse/
H A Dpwhash_scryptsalsa208sha256_sse.c68 ARX(X2, X1, X0, 9) \
69 ARX(X3, X2, X1, 13) \
70 ARX(X0, X3, X2, 18) \
74 X2 = _mm_shuffle_epi32(X2, 0x4E); \
79 ARX(X2, X3, X0, 9) \
80 ARX(X1, X2, X3, 13) \
81 ARX(X0, X1, X2, 18) \
85 X2 = _mm_shuffle_epi32(X2, 0x4E); \
95 __m128i Y2 = X2 = _mm_xor_si128(X2, (in)[2]); \
102 (out)[2] = X2 = _mm_add_epi32(X2, Y2); \
[all …]

12345678910>>...46