Home
last modified time | relevance | path

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

12345

/openbmc/qemu/target/arm/tcg/
H A Dvec_internal.h84 bool round, uint32_t *sat) in do_sqrshl_bhs() argument
88 if (round) { in do_sqrshl_bhs()
93 if (round) { in do_sqrshl_bhs()
119 bool round, uint32_t *sat) in do_uqrshl_bhs() argument
121 if (shift <= -(bits + round)) { in do_uqrshl_bhs()
124 if (round) { in do_uqrshl_bhs()
150 bool round, uint32_t *sat) in do_suqrshl_bhs() argument
156 return do_uqrshl_bhs(src, shift, bits, round, sat); in do_suqrshl_bhs()
160 bool round, uint32_t *sat) in do_sqrshl_d() argument
164 if (round) { in do_sqrshl_d()
[all …]
/openbmc/qemu/tests/tcg/xtensa/
H A Dtest_fp0_conv.S80 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/qemu/target/hexagon/
H A Dfma_emu.c107 uint8_t round; member
117 p->round = 0; in accum_init()
126 a.guard = a.round; in accum_norm_left()
127 a.round = a.sticky; in accum_norm_left()
136 a.round | a.guard | int128_nz(a.mant); in accum_norm_right()
137 a.guard = a.round = 0; in accum_norm_right()
144 a.sticky |= a.round | a.guard | (int128_getlo(a.mant) != 0); in accum_norm_right()
146 a.round = (int128_getlo(a.mant) >> 62) & 1; in accum_norm_right()
153 a.sticky |= a.round; in accum_norm_right()
154 a.round = a.guard; in accum_norm_right()
[all …]
/openbmc/u-boot/lib/
H A Daes.c548 u32 round; in aes_encrypt() local
553 for (round = 1; round < AES_ROUNDS + 1; round++) { in aes_encrypt()
554 if (round < AES_ROUNDS) in aes_encrypt()
560 (u32 *)expkey + round * AES_STATECOLS); in aes_encrypt()
569 int round; in aes_decrypt() local
577 for (round = AES_ROUNDS; round--; ) { in aes_decrypt()
579 (u32 *)expkey + round * AES_STATECOLS); in aes_decrypt()
580 if (round) in aes_decrypt()
/openbmc/openbmc/meta-facebook/recipes-fb/reconfig-interface-duid-ll/reconfig-interface-duid-ll/
H A Dreconfig-interface-duid-ll
/openbmc/dbus-sensors/src/
H A DPwmSensor.cpp87 auto reqInt = static_cast<uint32_t>(std::round(reqValue)); in PwmSensor()
88 auto respInt = static_cast<uint32_t>(std::round(respValue)); in PwmSensor()
103 auto currInt = static_cast<uint32_t>(std::round(currScaled)); in PwmSensor()
137 auto roundValue = std::round(scaledValue * pwmMax); in PwmSensor()
148 auto roundValue = std::round(scaledValue * targetIfaceMax); in PwmSensor()
/openbmc/qemu/libdecnumber/
H A DdecContext.c96 context->round=DEC_ROUND_HALF_UP; /* 0.5 rises */ in decContextDefault()
111 context->round=DEC_ROUND_HALF_EVEN; /* 0.5 to nearest even */ in decContextDefault()
122 context->round=DEC_ROUND_HALF_EVEN; /* 0.5 to nearest even */ in decContextDefault()
133 context->round=DEC_ROUND_HALF_EVEN; /* 0.5 to nearest even */ in decContextDefault()
166 return context->round; in decContextGetRounding()
225 context->round=newround; in decContextSetRounding()
/openbmc/u-boot/drivers/i2c/
H A Drcar_i2c.c244 u32 scgd, cdf, round, ick, sum, scl; in rcar_i2c_set_speed() local
279 round = (ick + 500000) / 1000000 * sum; in rcar_i2c_set_speed()
280 round = (round + 500) / 1000; in rcar_i2c_set_speed()
295 scl = ick / (20 + (scgd * 8) + round); in rcar_i2c_set_speed()
304 scl, bus_freq_hz, clk_get_rate(&priv->clk), round, cdf, scgd); in rcar_i2c_set_speed()
/openbmc/intel-ipmi-oem/include/
H A Dsensorutils.hpp226 mValue = static_cast<int16_t>(std::round(dM)); in getSensorAttributes()
257 bValue = static_cast<int16_t>(std::round(dB)); in getSensorAttributes()
287 auto scaledValue = static_cast<int32_t>(std::round(dX)); in scaleIPMIValueFromDouble()
/openbmc/phosphor-host-ipmid/dbus-sdr/
H A Dsensorutils.cpp221 mValue = static_cast<int16_t>(std::round(dM)); in getSensorAttributes()
253 bValue = static_cast<int16_t>(std::round(dB)); in getSensorAttributes()
283 auto scaledValue = static_cast<int32_t>(std::round(dX)); in scaleIPMIValueFromDouble()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/multipath-tools/files/
H A Dmultipath.conf.example29 # selector "round-robin 0"
62 # path_selector "round-robin 0"
79 # path_selector "round-robin 0"
/openbmc/qemu/net/
H A Dannounce.c25 (timer->params.rounds - timer->round - 1) * in qemu_announce_timer_step()
86 timer->round = params->rounds; in qemu_announce_timer_reset()
181 if (--timer->round) { in qemu_announce_self_once()
/openbmc/pldm/libpldmresponder/
H A Dplatform_numeric_effecter.hpp48 round(effecterValue - pdr->offset) / pdr->resolution); in getEffecterRawValue()
71 round(effecterValue - pdr->offset) / pdr->resolution); in getEffecterRawValue()
84 round(effecterValue - pdr->offset) / pdr->resolution); in getEffecterRawValue()
107 round(effecterValue - pdr->offset) / pdr->resolution); in getEffecterRawValue()
130 round(effecterValue - pdr->offset) / pdr->resolution); in getEffecterRawValue()
153 round(effecterValue - pdr->offset) / pdr->resolution); in getEffecterRawValue()
/openbmc/qemu/tests/tcg/multiarch/
H A Dtest-aes-main.c.inc57 { { 0xa0, 0xfa, 0xfe, 0x17, /* round key */
78 { { 0xf2, 0xc2, 0x95, 0xf2, /* round key */
99 { { 0x3d, 0x80, 0x47, 0x7d, /* round key */
172 * We must compute a different round key: apply InvMixColumns to
173 * the standard round key, per KeyExpansion vs KeyExpansionEIC.
/openbmc/qemu/tests/fp/
H A Dwrap.c.inc167 static fast_type name(type##_t a, uint_fast8_t round, bool exact) \
171 qsf.float_rounding_mode = sf_rounding_to_qemu(round); \
325 static fast_type name(const extFloat80_t *ap, uint_fast8_t round, \
331 qsf.float_rounding_mode = sf_rounding_to_qemu(round); \
357 static fast_type name(const float128_t *ap, uint_fast8_t round, \
363 qsf.float_rounding_mode = sf_rounding_to_qemu(round); \
412 static type##_t name(type##_t a, uint_fast8_t round, bool exact) \
417 qsf.float_rounding_mode = sf_rounding_to_qemu(round); \
427 static void qemu_extF80M_roundToInt(const extFloat80_t *ap, uint_fast8_t round,
434 qsf.float_rounding_mode = sf_rounding_to_qemu(round);
[all …]
/openbmc/qemu/tests/tcg/hexagon/
H A Dtest_round.S15 r2 = round(r1, #4)
/openbmc/qemu/include/net/
H A Dannounce.h19 int round; member
/openbmc/qemu/libdecnumber/dpd/
H A Ddecimal32.c102 dc.round=set->round; /* use supplied rounding */ in decimal32FromNumber()
395 dc.round=set->round; /* use supplied rounding */ in decimal32FromString()
H A Ddecimal128.c106 dc.round=set->round; /* use supplied rounding */ in decimal128FromNumber()
466 dc.round=set->round; /* use supplied rounding */ in decimal128FromString()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ipvsadm/
H A Dipvsadm_1.31.bb10 (round robin, weighted round robin, least-connec-tion, weighted least-connection, \
/openbmc/qemu/target/riscv/
H A Dvector_helper.c2185 * As fixed point instructions probably have round mode and saturation,
2597 if (vxrm == 0) { /* round-to-nearest-up (add +0.5 LSB) */ in RVVCALL()
2599 } else if (vxrm == 1) { /* round-to-nearest-even */ in RVVCALL()
2606 } else if (vxrm == 3) { /* round-to-odd (OR bits into LSB, aka "jam") */ in RVVCALL()
2609 return 0; /* round-down (truncate) */ in RVVCALL()
2616 uint8_t round = get_round(vxrm, res, 1); in aadd32() local
2618 return (res >> 1) + round; in aadd32()
2625 uint8_t round = get_round(vxrm, res, 1); in aadd64() local
2629 return ((res >> 1) ^ over) + round; in aadd64()
2654 uint8_t round in RVVCALL() local
2663 uint8_t round = get_round(vxrm, res, 1); aaddu64() local
2691 uint8_t round = get_round(vxrm, res, 1); RVVCALL() local
2700 uint8_t round = get_round(vxrm, res, 1); asub64() local
2729 uint8_t round = get_round(vxrm, res, 1); RVVCALL() local
2738 uint8_t round = get_round(vxrm, res, 1); asubu64() local
2765 uint8_t round; RVVCALL() local
2785 uint8_t round; vsmul16() local
2805 uint8_t round; vsmul32() local
2825 uint8_t round; vsmul64() local
2873 uint8_t round, shift = b & 0x7; RVVCALL() local
2883 uint8_t round, shift = b & 0xf; vssrl16() local
2891 uint8_t round, shift = b & 0x1f; vssrl32() local
2899 uint8_t round, shift = b & 0x3f; vssrl64() local
2925 uint8_t round, shift = b & 0x7; RVVCALL() local
2933 uint8_t round, shift = b & 0xf; vssra16() local
2941 uint8_t round, shift = b & 0x1f; vssra32() local
2949 uint8_t round, shift = b & 0x3f; vssra64() local
2977 uint8_t round, shift = b & 0xf; RVVCALL() local
2996 uint8_t round, shift = b & 0x1f; vnclip16() local
3015 uint8_t round, shift = b & 0x3f; vnclip32() local
3048 uint8_t round, shift = b & 0xf; RVVCALL() local
3064 uint8_t round, shift = b & 0x1f; vnclipu16() local
3080 uint8_t round, shift = b & 0x3f; vnclipu32() local
[all...]
/openbmc/phosphor-webui/app/common/styles/elements/
H A Dloader.scss32 stroke-linecap: round;
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-astor/
H A D0001-rtrip.py-convert-to-python3.patch33 This utility tests round-tripping of Python source to AST
/openbmc/qemu/target/rx/
H A Dhelper.h13 DEF_HELPER_2(round, i32, env, f32)
/openbmc/phosphor-webui/app/common/styles/layout/
H A Dheader.scss10 @mixin round-corners {
146 @include round-corners;

12345