Home
last modified time | relevance | path

Searched refs:round (Results 1 – 25 of 60) sorted by relevance

123

/arch/mips/math-emu/
Ddp_rint.c19 int round; in ieee754dp_rint() local
42 round = 0; in ieee754dp_rint()
47 round = (residue >> 63) != 0; in ieee754dp_rint()
56 if (round && (sticky || odd)) in ieee754dp_rint()
62 if ((round || sticky) && !xs) in ieee754dp_rint()
66 if ((round || sticky) && xs) in ieee754dp_rint()
71 if (round || sticky) in ieee754dp_rint()
Dsp_rint.c19 int round; in ieee754sp_rint() local
42 round = 0; in ieee754sp_rint()
48 round = (residue >> 31) != 0; in ieee754sp_rint()
57 if (round && (sticky || odd)) in ieee754sp_rint()
63 if ((round || sticky) && !xs) in ieee754sp_rint()
67 if ((round || sticky) && xs) in ieee754sp_rint()
72 if (round || sticky) in ieee754sp_rint()
Dsp_tlong.c15 int round; in ieee754sp_tlong() local
58 round = 0; in ieee754sp_tlong()
63 round = (residue >> 31) != 0; in ieee754sp_tlong()
70 if (round && (sticky || odd)) in ieee754sp_tlong()
76 if ((round || sticky) && !xs) in ieee754sp_tlong()
80 if ((round || sticky) && xs) in ieee754sp_tlong()
89 if (round || sticky) in ieee754sp_tlong()
Ddp_tint.c15 int round; in ieee754dp_tint() local
55 round = 0; in ieee754dp_tint()
60 round = (residue >> 63) != 0; in ieee754dp_tint()
69 if (round && (sticky || odd)) in ieee754dp_tint()
75 if ((round || sticky) && !xs) in ieee754dp_tint()
79 if ((round || sticky) && xs) in ieee754dp_tint()
89 if (round || sticky) in ieee754dp_tint()
Dsp_tint.c15 int round; in ieee754sp_tint() local
58 round = 0; in ieee754sp_tint()
67 round = (residue >> 31) != 0; in ieee754sp_tint()
74 if (round && (sticky || odd)) in ieee754sp_tint()
80 if ((round || sticky) && !xs) in ieee754sp_tint()
84 if ((round || sticky) && xs) in ieee754sp_tint()
93 if (round || sticky) in ieee754sp_tint()
Ddp_tlong.c15 int round; in ieee754dp_tlong() local
58 round = 0; in ieee754dp_tlong()
67 round = (residue >> 63) != 0; in ieee754dp_tlong()
74 if (round && (sticky || odd)) in ieee754dp_tlong()
80 if ((round || sticky) && !xs) in ieee754dp_tlong()
84 if ((round || sticky) && xs) in ieee754dp_tlong()
93 if (round || sticky) in ieee754dp_tlong()
/arch/x86/crypto/
Dcast5-avx-x86_64-asm_64.S145 #define round(l, r, n, f) \ macro
249 round(RL, RR, 0, 1);
250 round(RR, RL, 1, 2);
251 round(RL, RR, 2, 3);
252 round(RR, RL, 3, 1);
253 round(RL, RR, 4, 2);
254 round(RR, RL, 5, 3);
255 round(RL, RR, 6, 1);
256 round(RR, RL, 7, 2);
257 round(RL, RR, 8, 3);
[all …]
Dtwofish-x86_64-asm_64.S66 #define encrypt_round(a,b,c,d,round)\ argument
88 add k+round(%r11), %r9d;\
91 add k+4+round(%r11),%r8d;\
102 #define encrypt_last_round(a,b,c,d,round)\ argument
126 add k+round(%r11), %r9d;\
129 add k+4+round(%r11),%r8d;\
139 #define decrypt_round(a,b,c,d,round)\ argument
161 add k+round(%r11), %r9d;\
163 add k+4+round(%r11),%r8d;\
175 #define decrypt_last_round(a,b,c,d,round)\ argument
[all …]
Dtwofish-i586-asm_32.S67 #define encrypt_round(a,b,c,d,round)\ argument
91 add k+round(%ebp), %esi;\
94 add k+4+round(%ebp),d ## D;\
105 #define encrypt_last_round(a,b,c,d,round)\ argument
129 add k+round(%ebp), %esi;\
132 add k+4+round(%ebp),d ## D;\
142 #define decrypt_round(a,b,c,d,round)\ argument
166 add k+round(%ebp), c ## D;\
168 add k+4+round(%ebp),%esi;\
180 #define decrypt_last_round(a,b,c,d,round)\ argument
[all …]
Daesni-intel_asm.S1324 AESENCLAST \TMP3, \XMM1 # last round
1856 AESKEYGENASSIST 0x1 %xmm2 %xmm1 # round 1
1860 AESKEYGENASSIST 0x2 %xmm2 %xmm1 # round 2
1864 AESKEYGENASSIST 0x4 %xmm2 %xmm1 # round 3
1868 AESKEYGENASSIST 0x8 %xmm2 %xmm1 # round 4
1872 AESKEYGENASSIST 0x10 %xmm2 %xmm1 # round 5
1876 AESKEYGENASSIST 0x20 %xmm2 %xmm1 # round 6
1880 AESKEYGENASSIST 0x40 %xmm2 %xmm1 # round 7
1885 AESKEYGENASSIST 0x1 %xmm2 %xmm1 # round 1
1887 AESKEYGENASSIST 0x2 %xmm2 %xmm1 # round 2
[all …]
/arch/arm64/crypto/
Dsha512-core.S_shipped41 // 10% (or by 1 cycle per round), but at the cost of 20% loss
42 // on Cortex-A53 (or by 4 cycles per round).
57 // all-round performance. For example it executes ~30% faster on X-Gene
106 eor x19,x20,x21 // a^b, b^c in next round
117 ldr x28,[x30],#8 // *K++, x19 in next round
131 eor x28,x27,x20 // a^b, b^c in next round
142 ldr x19,[x30],#8 // *K++, x28 in next round
155 eor x19,x26,x27 // a^b, b^c in next round
166 ldr x28,[x30],#8 // *K++, x19 in next round
180 eor x28,x25,x26 // a^b, b^c in next round
[all …]
Daes-cipher-core.S84 .macro do_crypt, round, ttab, ltab, bsz
104 0: \round w8, w9, w10, w11, w4, w5, w6, w7
105 \round w4, w5, w6, w7, w8, w9, w10, w11
108 \round w8, w9, w10, w11, w4, w5, w6, w7
110 2: \round w4, w5, w6, w7, w8, w9, w10, w11
113 \round w4, w5, w6, w7, w8, w9, w10, w11, \bsz, b
Dsm3-ce-core.S43 .macro round, ab, s0, t0, t1, i macro
61 round \ab, \s0, v11, v12, 0
62 round \ab, \s0, v12, v11, 1
63 round \ab, \s0, v11, v12, 2
64 round \ab, \s0, v12, v11, 3
Dsha256-core.S_shipped41 // 10% (or by 1 cycle per round), but at the cost of 20% loss
42 // on Cortex-A53 (or by 4 cycles per round).
57 // all-round performance. For example it executes ~30% faster on X-Gene
120 eor w19,w20,w21 // a^b, b^c in next round
131 ldr w28,[x30],#4 // *K++, w19 in next round
145 eor w28,w27,w20 // a^b, b^c in next round
156 ldr w19,[x30],#4 // *K++, w28 in next round
169 eor w19,w26,w27 // a^b, b^c in next round
180 ldr w28,[x30],#4 // *K++, w19 in next round
194 eor w28,w25,w26 // a^b, b^c in next round
[all …]
/arch/arm/crypto/
Daes-cipher-core.S124 .macro do_crypt, round, ttab, ltab, bsz
171 0: \round r8, r9, r10, r11, r4, r5, r6, r7
172 \round r4, r5, r6, r7, r8, r9, r10, r11
175 \round r8, r9, r10, r11, r4, r5, r6, r7
177 \round r4, r5, r6, r7, r8, r9, r10, r11
194 \round r4, r5, r6, r7, r8, r9, r10, r11, \bsz, b, rounds
Dsha256-core.S_shipped168 eor r12,r4,r5 @ a^b, b^c in next round
171 eor r12,r4,r5 @ a^b, b^c in next round
226 eor r3,r11,r4 @ a^b, b^c in next round
229 eor r3,r11,r4 @ a^b, b^c in next round
284 eor r12,r10,r11 @ a^b, b^c in next round
287 eor r12,r10,r11 @ a^b, b^c in next round
342 eor r3,r9,r10 @ a^b, b^c in next round
345 eor r3,r9,r10 @ a^b, b^c in next round
400 eor r12,r8,r9 @ a^b, b^c in next round
403 eor r12,r8,r9 @ a^b, b^c in next round
[all …]
Daes-ce-core.S139 add ip, r2, #32 @ 3rd round key
146 add ip, r2, #32 @ 3rd round key
152 add ip, r2, #32 @ 3rd round key
158 add ip, r2, #32 @ 3rd round key
164 vld1.32 {q8-q9}, [\rk] @ load first 2 round keys
165 vld1.32 {q14}, [ip] @ load last round key
274 vmov q6, q14 @ preserve last round key
498 add ip, r6, #32 @ 3rd round key of key 2
/arch/m68k/fpsp040/
Dround.S2 | round.sa 3.4 7/29/91
21 | round --- round result according to precision/mode
44 .global round symbol
45 round: label
46 | If g=r=s=0 then result is exact and round is done, else set
55 swap %d1 |set up d1.w for round prec.
81 swap %d1 |set up d1 for round prec.
106 swap %d1 |set up d1 for round prec.
113 | Note that this will round to even in case of a tie.
116 swap %d1 |set up d1 for round prec.
[all …]
Dres_func.S36 |xref round
111 | The routine round is used to correctly round the input for the
474 | If bit 2 is set, round is forced to double. If it is clear,
475 | and bit 6 is set, round is forced to single. If both are clear,
476 | the round precision is found in the fpcr. If the rounding precision
496 | The move is fdmove or round precision is double. Result is zero.
511 | The move is fsmove or round precision is single. Result is zero.
787 | ;round precision/mode. This
827 | precision. We can then call round with no sticky and the result
890 orl %d0,%d1 |set up for round call
[all …]
Dx_unfl.S34 |xref round
53 bsrl unf_res |denormalize, round & store interm op
146 | ;upper word for round
189 | Set up d1 for round subroutine d1 contains the PREC/MODE
197 | round subroutines. All code between these two subroutines
203 | d0{31:29} has guard, round, sticky
209 bsrl round |returns rounded denorm at (a0)
Dfpsp.h159 .set WBTEMP_GRS,LV-40 | alias wbtemp guard, round, sticky
161 .set round_bit,0 | round bit is bit number 0
289 .set x_mode,0x00 | round to extended
290 .set s_mode,0x40 | round to single
291 .set d_mode,0x80 | round to double
293 .set rn_mode,0x00 | round nearest
294 .set rz_mode,0x10 | round to zero
295 .set rm_mode,0x20 | round to minus infinity
296 .set rp_mode,0x30 | round to plus infinity
305 .set rnd_stky_bit,29 | round/sticky bit of mantissa
Dsint.S35 | sintrz, force round-to-zero mode.
65 |xref round
217 | ;used by round
221 bsr round |round the unnorm based on users
Dslog2.S34 | Notes: Default means round-to-nearest mode, no floating-point
49 | Notes: Default means round-to-nearest mode, no floating-point
63 | Notes: Default means round-to-nearest mode, no floating-point
78 | Notes: Default means round-to-nearest mode, no floating-point
DMakefile7 kernel_ex.o res_func.o round.o sacos.o sasin.o satan.o satanh.o \
/arch/parisc/math-emu/
Dfmpyfadd.c442 goto round; in dbl_fmpyfadd()
551 goto round; in dbl_fmpyfadd()
617 round: in dbl_fmpyfadd()
1102 goto round;
1211 goto round;
1277 round:
1755 goto round;
1860 goto round;
1921 round:
2397 goto round;
[all …]

123