Home
last modified time | relevance | path

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

123456

/Linux-v4.19/arch/mips/math-emu/
Ddp_rint.c30 int round; in ieee754dp_rint() local
53 round = 0; in ieee754dp_rint()
58 round = (residue >> 63) != 0; in ieee754dp_rint()
67 if (round && (sticky || odd)) in ieee754dp_rint()
73 if ((round || sticky) && !xs) in ieee754dp_rint()
77 if ((round || sticky) && xs) in ieee754dp_rint()
82 if (round || sticky) in ieee754dp_rint()
Dsp_rint.c30 int round; in ieee754sp_rint() local
53 round = 0; in ieee754sp_rint()
59 round = (residue >> 31) != 0; in ieee754sp_rint()
68 if (round && (sticky || odd)) in ieee754sp_rint()
74 if ((round || sticky) && !xs) in ieee754sp_rint()
78 if ((round || sticky) && xs) in ieee754sp_rint()
83 if (round || sticky) in ieee754sp_rint()
Dsp_tlong.c27 int round; in ieee754sp_tlong() local
70 round = 0; in ieee754sp_tlong()
75 round = (residue >> 31) != 0; in ieee754sp_tlong()
82 if (round && (sticky || odd)) in ieee754sp_tlong()
88 if ((round || sticky) && !xs) in ieee754sp_tlong()
92 if ((round || sticky) && xs) in ieee754sp_tlong()
101 if (round || sticky) in ieee754sp_tlong()
Ddp_tint.c27 int round; in ieee754dp_tint() local
67 round = 0; in ieee754dp_tint()
72 round = (residue >> 63) != 0; in ieee754dp_tint()
81 if (round && (sticky || odd)) in ieee754dp_tint()
87 if ((round || sticky) && !xs) in ieee754dp_tint()
91 if ((round || sticky) && xs) in ieee754dp_tint()
101 if (round || sticky) in ieee754dp_tint()
Ddp_tlong.c27 int round; in ieee754dp_tlong() local
70 round = 0; in ieee754dp_tlong()
79 round = (residue >> 63) != 0; in ieee754dp_tlong()
86 if (round && (sticky || odd)) in ieee754dp_tlong()
92 if ((round || sticky) && !xs) in ieee754dp_tlong()
96 if ((round || sticky) && xs) in ieee754dp_tlong()
105 if (round || sticky) in ieee754dp_tlong()
Dsp_tint.c27 int round; in ieee754sp_tint() local
70 round = 0; in ieee754sp_tint()
79 round = (residue >> 31) != 0; in ieee754sp_tint()
86 if (round && (sticky || odd)) in ieee754sp_tint()
92 if ((round || sticky) && !xs) in ieee754sp_tint()
96 if ((round || sticky) && xs) in ieee754sp_tint()
105 if (round || sticky) in ieee754sp_tint()
/Linux-v4.19/arch/x86/crypto/
Dcast5-avx-x86_64-asm_64.S160 #define round(l, r, n, f) \ macro
264 round(RL, RR, 0, 1);
265 round(RR, RL, 1, 2);
266 round(RL, RR, 2, 3);
267 round(RR, RL, 3, 1);
268 round(RL, RR, 4, 2);
269 round(RR, RL, 5, 3);
270 round(RL, RR, 6, 1);
271 round(RR, RL, 7, 2);
272 round(RL, RR, 8, 3);
[all …]
Dtwofish-x86_64-asm_64.S79 #define encrypt_round(a,b,c,d,round)\ argument
101 add k+round(%r11), %r9d;\
104 add k+4+round(%r11),%r8d;\
115 #define encrypt_last_round(a,b,c,d,round)\ argument
139 add k+round(%r11), %r9d;\
142 add k+4+round(%r11),%r8d;\
152 #define decrypt_round(a,b,c,d,round)\ argument
174 add k+round(%r11), %r9d;\
176 add k+4+round(%r11),%r8d;\
188 #define decrypt_last_round(a,b,c,d,round)\ argument
[all …]
Dtwofish-i586-asm_32.S80 #define encrypt_round(a,b,c,d,round)\ argument
104 add k+round(%ebp), %esi;\
107 add k+4+round(%ebp),d ## D;\
118 #define encrypt_last_round(a,b,c,d,round)\ argument
142 add k+round(%ebp), %esi;\
145 add k+4+round(%ebp),d ## D;\
155 #define decrypt_round(a,b,c,d,round)\ argument
179 add k+round(%ebp), c ## D;\
181 add k+4+round(%ebp),%esi;\
193 #define decrypt_last_round(a,b,c,d,round)\ argument
[all …]
Daes-x86_64-asm_64.S80 #define round(TAB,OFFSET,r1,r2,r3,r4,r5,r6,r7,r8,ra,rb,rc,rd) \ macro
136 round(TAB,OFFSET,R1,R2,R3,R4,R5,R6,R7,R10,R5,R6,R3,R4) \
140 round(TAB,OFFSET,R1,R2,R3,R4,R5,R6,R7,R10,R5,R6,R3,R4)
143 round(TAB,OFFSET,R2,R1,R4,R3,R6,R5,R7,R10,R5,R6,R3,R4) \
147 round(TAB,OFFSET,R2,R1,R4,R3,R6,R5,R7,R10,R5,R6,R3,R4)
/Linux-v4.19/tools/power/cpupower/bench/
Dsystem.c143 unsigned int round; in prepare_user() local
145 for (round = 0; round < config->rounds; round++) { in prepare_user()
147 (config->sleep + config->sleep_step * round); in prepare_user()
149 (config->load + config->load_step * round) + in prepare_user()
150 (config->load + config->load_step * round * 4); in prepare_user()
/Linux-v4.19/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.S87 .macro do_crypt, round, ttab, ltab, bsz
107 0: \round w8, w9, w10, w11, w4, w5, w6, w7
108 \round w4, w5, w6, w7, w8, w9, w10, w11
111 \round w8, w9, w10, w11, w4, w5, w6, w7
113 2: \round w4, w5, w6, w7, w8, w9, w10, w11
116 \round w4, w5, w6, w7, w8, w9, w10, w11, \bsz, b
Dsm3-ce-core.S46 .macro round, ab, s0, t0, t1, i macro
64 round \ab, \s0, v11, v12, 0
65 round \ab, \s0, v12, v11, 1
66 round \ab, \s0, v11, v12, 2
67 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 …]
/Linux-v4.19/crypto/
Daes_ti.c272 int round; in aesti_encrypt() local
284 for (round = 0;; round += 2, rkp += 8) { in aesti_encrypt()
290 if (round == rounds - 2) in aesti_encrypt()
311 int round; in aesti_decrypt() local
323 for (round = 0;; round += 2, rkp += 8) { in aesti_decrypt()
329 if (round == rounds - 2) in aesti_decrypt()
Dsha3_generic.c157 int round; in keccakf() local
159 for (round = 0; round < KECCAK_ROUNDS; round++) { in keccakf()
162 st[0] ^= keccakf_rndc[round]; in keccakf()
/Linux-v4.19/arch/m68k/fpsp040/
Dround.S2 | round.sa 3.4 7/29/91
21 | round --- round result according to precision/mode
44 .global round
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
/Linux-v4.19/arch/arm/crypto/
Daes-cipher-core.S118 .macro do_crypt, round, ttab, ltab, bsz
145 0: \round r8, r9, r10, r11, r4, r5, r6, r7
146 \round r4, r5, r6, r7, r8, r9, r10, r11
149 \round r8, r9, r10, r11, r4, r5, r6, r7
151 \round r4, r5, r6, r7, r8, r9, r10, r11
155 \round r4, r5, r6, r7, r8, r9, r10, r11, \bsz, b
Daes-ce-core.S130 add ip, r2, #32 @ 3rd round key
137 add ip, r2, #32 @ 3rd round key
143 add ip, r2, #32 @ 3rd round key
149 add ip, r2, #32 @ 3rd round key
155 vld1.8 {q8-q9}, [\rk] @ load first 2 round keys
156 vld1.8 {q14}, [ip] @ load last round key
263 vmov q15, q14 @ preserve last round key
387 add ip, r6, #32 @ 3rd round key of key 2
480 add ip, r2, #32 @ 3rd round key
/Linux-v4.19/tools/virtio/virtio-trace/
Dtrace-agent.c74 unsigned long value, round; in parse_size() local
98 round = value & (PAGE_SIZE - 1); in parse_size()
99 value = value - round; in parse_size()

123456