/openbmc/linux/crypto/ |
H A D | rmd160.c | 43 #define ROUND(a, b, c, d, e, f, k, x, s) { \ macro 67 /* round 1: left lane */ in rmd160_transform() 68 ROUND(aa, bb, cc, dd, ee, F1, K1, in[0], 11); in rmd160_transform() 69 ROUND(ee, aa, bb, cc, dd, F1, K1, in[1], 14); in rmd160_transform() 70 ROUND(dd, ee, aa, bb, cc, F1, K1, in[2], 15); in rmd160_transform() 71 ROUND(cc, dd, ee, aa, bb, F1, K1, in[3], 12); in rmd160_transform() 72 ROUND(bb, cc, dd, ee, aa, F1, K1, in[4], 5); in rmd160_transform() 73 ROUND(aa, bb, cc, dd, ee, F1, K1, in[5], 8); in rmd160_transform() 74 ROUND(ee, aa, bb, cc, dd, F1, K1, in[6], 7); in rmd160_transform() 75 ROUND(dd, ee, aa, bb, cc, F1, K1, in[7], 9); in rmd160_transform() [all …]
|
H A D | blowfish_generic.c | 24 * Round loop unrolling macros, S is a pointer to a S-Box array 35 #define ROUND(a, b, n) ({ b ^= P[n]; a ^= bf_F(b); }) macro 45 ROUND(yr, yl, 0); in bf_encrypt() 46 ROUND(yl, yr, 1); in bf_encrypt() 47 ROUND(yr, yl, 2); in bf_encrypt() 48 ROUND(yl, yr, 3); in bf_encrypt() 49 ROUND(yr, yl, 4); in bf_encrypt() 50 ROUND(yl, yr, 5); in bf_encrypt() 51 ROUND(yr, yl, 6); in bf_encrypt() 52 ROUND(yl, yr, 7); in bf_encrypt() [all …]
|
H A D | blake2b_generic.c | 58 #define ROUND(r) \ macro 92 ROUND(0); in blake2b_compress_one_generic() 93 ROUND(1); in blake2b_compress_one_generic() 94 ROUND(2); in blake2b_compress_one_generic() 95 ROUND(3); in blake2b_compress_one_generic() 96 ROUND(4); in blake2b_compress_one_generic() 97 ROUND(5); in blake2b_compress_one_generic() 98 ROUND(6); in blake2b_compress_one_generic() 99 ROUND(7); in blake2b_compress_one_generic() 100 ROUND(8); in blake2b_compress_one_generic() [all …]
|
/openbmc/linux/arch/arm64/crypto/ |
H A D | sm3-neon-core.S | 94 /* Round function macros. */ 121 #define R(i, a, b, c, d, e, f, g, h, k, K_LOAD, round, widx, wtype, IOP, iop_param) \ argument 122 K_LOAD(round); \ 123 ldr t5, [sp, #(wtype##_W1_ADDR(round, widx))]; \ 127 ldr t6, [sp, #(wtype##_W1W2_ADDR(round, widx))]; \ 155 #define R1(a, b, c, d, e, f, g, h, k, K_LOAD, round, widx, wtype, IOP, iop_param) \ argument 156 R(1, ##a, ##b, ##c, ##d, ##e, ##f, ##g, ##h, ##k, K_LOAD, round, widx, wtype, IOP, iop_param) 158 #define R2(a, b, c, d, e, f, g, h, k, K_LOAD, round, widx, wtype, IOP, iop_param) \ argument 159 R(2, ##a, ##b, ##c, ##d, ##e, ##f, ##g, ##h, ##k, K_LOAD, round, widx, wtype, IOP, iop_param) 161 #define KL(round) \ argument [all …]
|
H A D | aes-ce-ccm-core.S | 31 1: ld1 {v3.4s}, [x4] /* load first round key */ 41 ld1 {v5.4s}, [x6], #16 /* load 2nd round key */ 44 4: ld1 {v3.4s}, [x6], #16 /* load next round key */ 47 5: ld1 {v4.4s}, [x6], #16 /* load next round key */ 51 ld1 {v5.4s}, [x6], #16 /* load next round key */ 55 eor v0.16b, v0.16b, v5.16b /* final round */ 90 ld1 {v3.4s}, [x2], #16 /* load first round key */ 100 1: ld1 {v5.4s}, [x2], #16 /* load next round key */ 105 2: ld1 {v3.4s}, [x2], #16 /* load next round key */ 110 3: ld1 {v4.4s}, [x2], #16 /* load next round key */ [all …]
|
/openbmc/linux/fs/ext4/ |
H A D | hash.c | 39 * The generic round function. The application is so specific that 44 #define ROUND(f, a, b, c, d, x, s) \ macro 57 /* Round 1 */ in half_md4_transform() 58 ROUND(F, a, b, c, d, in[0] + K1, 3); in half_md4_transform() 59 ROUND(F, d, a, b, c, in[1] + K1, 7); in half_md4_transform() 60 ROUND(F, c, d, a, b, in[2] + K1, 11); in half_md4_transform() 61 ROUND(F, b, c, d, a, in[3] + K1, 19); in half_md4_transform() 62 ROUND(F, a, b, c, d, in[4] + K1, 3); in half_md4_transform() 63 ROUND(F, d, a, b, c, in[5] + K1, 7); in half_md4_transform() 64 ROUND(F, c, d, a, b, in[6] + K1, 11); in half_md4_transform() [all …]
|
/openbmc/qemu/tests/tcg/multiarch/ |
H A D | sha512.c | 261 /** One round of SHA-512. */ 262 static void Round(uint64_t a, uint64_t b, uint64_t c, uint64_t *d, uint64_t e, uint64_t f, uint64_t… in Round() function 276 Round(a, b, c, &d, e, f, g, &h, 0x428a2f98d728ae22ull, w0 = be64_to_cpu(chunk[0])); in Transform() 277 Round(h, a, b, &c, d, e, f, &g, 0x7137449123ef65cdull, w1 = be64_to_cpu(chunk[1])); in Transform() 278 Round(g, h, a, &b, c, d, e, &f, 0xb5c0fbcfec4d3b2full, w2 = be64_to_cpu(chunk[2])); in Transform() 279 Round(f, g, h, &a, b, c, d, &e, 0xe9b5dba58189dbbcull, w3 = be64_to_cpu(chunk[3])); in Transform() 280 Round(e, f, g, &h, a, b, c, &d, 0x3956c25bf348b538ull, w4 = be64_to_cpu(chunk[4])); in Transform() 281 Round(d, e, f, &g, h, a, b, &c, 0x59f111f1b605d019ull, w5 = be64_to_cpu(chunk[5])); in Transform() 282 Round(c, d, e, &f, g, h, a, &b, 0x923f82a4af194f9bull, w6 = be64_to_cpu(chunk[6])); in Transform() 283 Round(b, c, d, &e, f, g, h, &a, 0xab1c5ed5da6d8118ull, w7 = be64_to_cpu(chunk[7])); in Transform() [all …]
|
/openbmc/linux/arch/m68k/math-emu/ |
H A D | fp_util.S | 238 jne fp_e2e_roundother | %d2 == 0, round to nearest 242 jne fp_e2e_doroundup | round to infinity 244 jeq 9f | round to zero 258 jcs 9b | %d2 < 2, round to zero 259 jhi 1f | %d2 > 2, round to +infinity 261 jne fp_e2e_doroundup | negative, round to infinity 262 jra 9b | positive, round to zero 264 jeq fp_e2e_doroundup | positive, round to infinity 265 jra 9b | negative, round to zero 462 jne fp_ne_roundother | %d2 == 0, round to nearest [all …]
|
/openbmc/qemu/tests/tcg/i386/ |
H A D | test-i386-fldcst.c | 13 /* Round to nearest. */ in main() 22 /* Round downward. */ in main() 31 /* Round toward zero. */ in main() 40 /* Round upward. */ in main() 50 /* Round to nearest. */ in main() 59 /* Round downward. */ in main() 68 /* Round toward zero. */ in main() 77 /* Round upward. */ in main() 87 /* Round to nearest. */ in main() 96 /* Round downward. */ in main() [all …]
|
/openbmc/qemu/target/arm/tcg/ |
H A D | vec_internal.h | 80 bool round, uint32_t *sat) in do_sqrshl_bhs() argument 84 if (round) { in do_sqrshl_bhs() 89 if (round) { in do_sqrshl_bhs() 115 bool round, uint32_t *sat) in do_uqrshl_bhs() argument 117 if (shift <= -(bits + round)) { in do_uqrshl_bhs() 120 if (round) { in do_uqrshl_bhs() 146 bool round, uint32_t *sat) in do_suqrshl_bhs() argument 152 return do_uqrshl_bhs(src, shift, bits, round, sat); in do_suqrshl_bhs() 156 bool round, uint32_t *sat) in do_sqrshl_d() argument 160 if (round) { in do_sqrshl_d() [all …]
|
/openbmc/linux/arch/x86/crypto/ |
H A D | cast5-avx-x86_64-asm_64.S | 149 #define round(l, r, n, f) \ macro 252 round(RL, RR, 0, 1); 253 round(RR, RL, 1, 2); 254 round(RL, RR, 2, 3); 255 round(RR, RL, 3, 1); 256 round(RL, RR, 4, 2); 257 round(RR, RL, 5, 3); 258 round(RL, RR, 6, 1); 259 round(RR, RL, 7, 2); 260 round(RL, RR, 8, 3); [all …]
|
/openbmc/linux/lib/crypto/ |
H A D | blake2s-generic.c | 78 #define ROUND(r) do { \ in blake2s_compress_generic() macro 88 ROUND(0); in blake2s_compress_generic() 89 ROUND(1); in blake2s_compress_generic() 90 ROUND(2); in blake2s_compress_generic() 91 ROUND(3); in blake2s_compress_generic() 92 ROUND(4); in blake2s_compress_generic() 93 ROUND(5); in blake2s_compress_generic() 94 ROUND(6); in blake2s_compress_generic() 95 ROUND(7); in blake2s_compress_generic() 96 ROUND(8); in blake2s_compress_generic() [all …]
|
/openbmc/qemu/tests/tcg/xtensa/ |
H A D | test_fp0_conv.S | 80 test_ftoi round.s, a2, f0, 0xffc00001, 0, 0x7fffffff, FSR_V 81 test_ftoi round.s, a2, f0, 0xff800001, 0, 0x7fffffff, FSR_V 84 test_ftoi round.s, a2, f0, 0xff800000, 0, 0x80000000, FSR_V 87 test_ftoi round.s, a2, f0, 0xceffffff, 1, 0x80000000, FSR_V 88 test_ftoi round.s, a2, f0, 0xcf000000, 0, 0x80000000, FSR__ 89 test_ftoi round.s, a2, f0, 0xceffffff, 0, 0x80000080, FSR__ 92 test_ftoi round.s, a2, f0, 0xbfa00000, 1, -2, FSR_I /* -1.25 * 2 */ 93 test_ftoi round.s, a2, f0, 0xbfc00000, 0, -2, FSR_I /* -1.5 */ 94 test_ftoi round.s, a2, f0, 0xbf800000, 1, -2, FSR__ /* -1 * 2 */ 95 test_ftoi round.s, a2, f0, 0xbf800000, 0, -1, FSR__ /* -1 */ [all …]
|
/openbmc/linux/arch/mips/math-emu/ |
H A D | dp_rint.c | 19 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()
|
H A D | sp_rint.c | 19 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()
|
H A D | sp_tlong.c | 15 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()
|
H A D | dp_tint.c | 15 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()
|
H A D | sp_tint.c | 15 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()
|
H A D | dp_tlong.c | 15 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()
|
/openbmc/linux/arch/parisc/math-emu/ |
H A D | frnd.c | 12 * Single Floating-point Round to Integer 13 * Double Floating-point Round to Integer 14 * Quad Floating-point Round to Integer (returns unimplemented) 30 * Single Floating-point Round to Integer 66 * Need to round? in sgl_frnd() 82 /* round result */ in sgl_frnd() 108 /* round result */ in sgl_frnd() 134 * Double Floating-point Round to Integer 171 * Need to round? in dbl_frnd() 188 /* round result */ in dbl_frnd() [all …]
|
/openbmc/linux/arch/m68k/fpsp040/ |
H A D | round.S | 2 | round.sa 3.4 7/29/91 14 |ROUND idnt 2,1 | Motorola 040 Floating Point Software Package 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. 76 | ROUND PLUS INFINITY 81 swap %d1 |set up d1 for round prec. 89 | ROUND MINUS INFINITY [all …]
|
H A D | res_func.S | 36 |xref round 111 | The routine round is used to correctly round the input for the 178 | If bit 2 is set, round is forced to double. If it is clear, 179 | and bit 6 is set, round is forced to single. If both are clear, 180 | the round precision is found in the fpcr. If the rounding precision 181 | is double or single, round the result before the write. 203 | The move is fdmove or round precision is double. 213 clrl %d0 |clear g,r,s for round 216 bsrl round 227 | The move is fsmove or round precision is single. [all …]
|
H A D | x_unfl.S | 34 |xref round 53 bsrl unf_res |denormalize, round & store interm op 146 | ;upper word for round 161 | the user's precision for the round routine. 168 bnes unf_cont |if not, use fpcr prec in round 183 | ;d0 has guard,round sticky bit 185 | ;before it reaches the round subroutine 189 | Set up d1 for round subroutine d1 contains the PREC/MODE 197 | round subroutines. All code between these two subroutines 201 | Perform Round [all …]
|
/openbmc/linux/Documentation/gpu/amdgpu/display/ |
H A D | single-display-mpo-multi-video.svg | 161 …0000;fill-opacity:1;stroke:#000000;stroke-width:0.62916809;stroke-linecap:round;stroke-linejoin:be… 169 …8000;fill-opacity:1;stroke:#000000;stroke-width:0.14891468;stroke-linecap:round;stroke-linejoin:be… 177 …8000;fill-opacity:1;stroke:#000000;stroke-width:0.14891469;stroke-linecap:round;stroke-linejoin:be… 185 …8000;fill-opacity:1;stroke:#000000;stroke-width:0.14891469;stroke-linecap:round;stroke-linejoin:be… 193 …8000;fill-opacity:1;stroke:#000000;stroke-width:0.14891469;stroke-linecap:round;stroke-linejoin:be… 201 …8000;fill-opacity:1;stroke:#000000;stroke-width:0.14891469;stroke-linecap:round;stroke-linejoin:be… 209 …8000;fill-opacity:1;stroke:#000000;stroke-width:0.14891469;stroke-linecap:round;stroke-linejoin:be… 212 …8080;fill-opacity:1;stroke:#808080;stroke-width:0.62916809;stroke-linecap:round;stroke-linejoin:be… 220 …style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.14891468;stroke-linecap:round;stroke… 228 …style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.14891469;stroke-linecap:round;stroke… [all …]
|
/openbmc/linux/include/linux/ |
H A D | math.h | 18 * round_up - round up to next specified power of 2 19 * @x: the value to round 20 * @y: multiple to round up to (must be a power of 2) 28 * round_down - round down to next specified power of 2 29 * @x: the value to round 30 * @y: multiple to round down to (must be a power of 2) 52 * roundup - round up to the next specified multiple 54 * @y: multiple to round up to 66 * rounddown - round down to next specified multiple 67 * @x: the value to round [all …]
|