/openbmc/linux/arch/loongarch/kernel/ |
H A D | unaligned.c | 265 sign = true; in emulate_load_store_insn() 275 sign = true; in emulate_load_store_insn() 280 sign = true; in emulate_load_store_insn() 290 sign = true; in emulate_load_store_insn() 295 sign = true; in emulate_load_store_insn() 300 sign = true; in emulate_load_store_insn() 306 sign = true; in emulate_load_store_insn() 312 sign = true; in emulate_load_store_insn() 318 sign = true; in emulate_load_store_insn() 324 sign = true; in emulate_load_store_insn() [all …]
|
/openbmc/linux/lib/crypto/mpi/ |
H A D | mpi-inv.c | 35 int sign; in mpi_invm() local 66 t2->sign = 1; in mpi_invm() 69 t3->sign = !t3->sign; in mpi_invm() 99 if (!t3->sign) { in mpi_invm() 106 sign = u->sign; u->sign = !u->sign; in mpi_invm() 109 u->sign = sign; in mpi_invm() 110 sign = t3->sign; t3->sign = !t3->sign; in mpi_invm() 112 t3->sign = sign; in mpi_invm() 118 if (t1->sign) { in mpi_invm()
|
H A D | mpiutil.c | 107 a->sign = 0; in mpi_alloc() 203 b->sign = a->sign; in mpi_copy() 225 b->sign = 0; in mpi_alloc_like() 240 w->sign = u->sign; in mpi_snatch() 254 int usign = u->sign; in mpi_set() 265 w->sign = usign; in mpi_set() 280 w->sign = 0; in mpi_set_ui() 291 w->sign = 0; in mpi_alloc_set_ui() 324 x = mask & (a->sign ^ b->sign); in mpi_swap_cond() 325 a->sign = a->sign ^ x; in mpi_swap_cond() [all …]
|
H A D | mpi-div.c | 22 int divisor_sign = divisor->sign; in mpi_fdiv_r() 52 int divisor_sign = divisor->sign; in mpi_fdiv_qr() 62 if ((divisor_sign ^ dividend->sign) && rem->nlimbs) { in mpi_fdiv_qr() 90 mpi_size_t sign_remainder = num->sign; in mpi_tdiv_qr() 91 mpi_size_t sign_quotient = num->sign ^ den->sign; in mpi_tdiv_qr() 108 rem->sign = num->sign; in mpi_tdiv_qr() 116 quot->sign = 0; in mpi_tdiv_qr() 137 quot->sign = sign_quotient; in mpi_tdiv_qr() 143 rem->sign = sign_remainder; in mpi_tdiv_qr() 217 quot->sign = sign_quotient; in mpi_tdiv_qr() [all …]
|
H A D | mpi-add.c | 27 usign = u->sign; in mpi_add_ui() 63 w->sign = wsign; in mpi_add_ui() 75 usign = v->sign; in mpi_add() 77 vsign = u->sign; in mpi_add() 85 usign = u->sign; in mpi_add() 87 vsign = v->sign; in mpi_add() 130 w->sign = wsign; in mpi_add() 137 vv->sign = !vv->sign; in mpi_sub()
|
H A D | mpi-sub-ui.c | 44 w->sign = (vval != 0); in mpi_sub_ui() 52 if (u->sign) { in mpi_sub_ui() 58 w->sign = 1; in mpi_sub_ui() 66 w->sign = 1; in mpi_sub_ui() 71 w->sign = 0; in mpi_sub_ui()
|
H A D | mpi-mul.c | 28 usign = v->sign; in mpi_mul() 31 vsign = u->sign; in mpi_mul() 35 usign = u->sign; in mpi_mul() 38 vsign = v->sign; in mpi_mul() 81 w->sign = sign_product; in mpi_mul()
|
H A D | mpicoder.c | 62 val->sign = 0; in mpi_read_raw_data() 118 int sign = 0; in mpi_fromstr() local 125 sign = 1; in mpi_fromstr() 151 val->sign = sign; in mpi_fromstr() 251 int *sign) in mpi_read_buffer() argument 267 if (sign) in mpi_read_buffer() 268 *sign = a->sign; in mpi_read_buffer() 355 int *sign) in mpi_write_to_sgl() argument 370 if (sign) in mpi_write_to_sgl() 371 *sign = a->sign; in mpi_write_to_sgl() [all …]
|
H A D | mpi-mod.c | 102 int sign; in mpi_mod_barrett() local 110 sign = x->sign; in mpi_mod_barrett() 111 x->sign = 0; in mpi_mod_barrett() 149 x->sign = sign; in mpi_mod_barrett()
|
/openbmc/qemu/target/arm/tcg/ |
H A D | a64.decode | 310 &ldlit rt imm sz sign 313 LD_lit 00 011 0 00 ................... ..... @ldlit sz=2 sign=0 314 LD_lit 01 011 0 00 ................... ..... @ldlit sz=3 sign=0 315 LD_lit 10 011 0 00 ................... ..... @ldlit sz=2 sign=1 316 LD_lit_v 00 011 1 00 ................... ..... @ldlit sz=2 sign=0 317 LD_lit_v 01 011 1 00 ................... ..... @ldlit sz=3 sign=0 318 LD_lit_v 10 011 1 00 ................... ..... @ldlit sz=4 sign=0 323 &ldstpair rt2 rt rn imm sz sign w p 385 &ldst_imm rt rn imm sz sign w p unpriv ext 479 &ldst rm rn rt sign ext sz opt s [all …]
|
/openbmc/qemu/target/hexagon/ |
H A D | fma_emu.c | 176 p->sign = 0; in accum_init() 235 if (a.sign != b.sign) { in accum_sub() 236 b.sign = !b.sign; in accum_sub() 269 ret.sign = a.sign; in accum_sub() 279 ret.sign = !ret.sign; in accum_sub() 288 if (a.sign != b.sign) { in accum_add() 289 b.sign = !b.sign; in accum_add() 321 ret.sign = a.sign; in accum_add() 334 if (sign) { in infinite_float64() 505 ret.sign = a.sign; \ [all …]
|
/openbmc/linux/arch/parisc/math-emu/ |
H A D | denormal.c | 47 int sign, exponent; in sgl_denormalize() local 53 sign = Sgl_sign(opnd); in sgl_denormalize() 58 if (sign == 0) { in sgl_denormalize() 63 if (sign != 0) { in sgl_denormalize() 75 Sgl_set_sign(opnd,sign); in sgl_denormalize() 88 int sign, exponent; in dbl_denormalize() local 95 sign = Dbl_sign(opndp1); in dbl_denormalize() 100 if (sign == 0) { in dbl_denormalize() 105 if (sign != 0) { in dbl_denormalize() 117 Dbl_set_sign(opndp1,sign); in dbl_denormalize()
|
/openbmc/linux/arch/m68k/math-emu/ |
H A D | fp_arith.c | 50 dest->sign = !dest->sign; in fp_fneg() 71 if (IS_INF(src) && (src->sign != dest->sign)) in fp_fadd() 82 if (src->sign != dest->sign) { in fp_fadd() 100 if (dest->sign == src->sign) { in fp_fadd() 107 dest->sign = !dest->sign; in fp_fadd() 125 src->sign = !src->sign; in fp_fsub() 136 src->sign = !src->sign; in fp_fcmp() 161 dest->sign = src->sign ^ dest->sign; in fp_fmul() 239 dest->sign = src->sign ^ dest->sign; in fp_fdiv() 319 dest->sign = src->sign ^ dest->sign; in fp_fsglmul() [all …]
|
/openbmc/linux/tools/testing/selftests/arm64/pauth/ |
H A D | pac.c | 41 sign->keyia = keyia_sign(val); in sign_specific() 42 sign->keyib = keyib_sign(val); in sign_specific() 43 sign->keyda = keyda_sign(val); in sign_specific() 44 sign->keydb = keydb_sign(val); in sign_specific() 49 sign->keyia = keyia_sign(val); in sign_all() 50 sign->keyib = keyib_sign(val); in sign_all() 51 sign->keyda = keyda_sign(val); in sign_all() 52 sign->keydb = keydb_sign(val); in sign_all() 53 sign->keyg = keyg_sign(val); in sign_all() 75 vals[0] = sign->keyia & PAC_MASK; in n_same_single_set() [all …]
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | vce_v1_0.c | 186 if (i == le32_to_cpu(sign->num)) in vce_v1_0_load_fw() 190 data[0] = sign->val[i].nonce[0]; in vce_v1_0_load_fw() 191 data[1] = sign->val[i].nonce[1]; in vce_v1_0_load_fw() 192 data[2] = sign->val[i].nonce[2]; in vce_v1_0_load_fw() 193 data[3] = sign->val[i].nonce[3]; in vce_v1_0_load_fw() 197 memcpy(&data[16], &sign[1], rdev->vce_fw->size - sizeof(*sign)); in vce_v1_0_load_fw() 199 data += (le32_to_cpu(sign->len) + 64) / 4; in vce_v1_0_load_fw() 200 data[0] = sign->val[i].sigval[0]; in vce_v1_0_load_fw() 201 data[1] = sign->val[i].sigval[1]; in vce_v1_0_load_fw() 202 data[2] = sign->val[i].sigval[2]; in vce_v1_0_load_fw() [all …]
|
/openbmc/linux/arch/x86/math-emu/ |
H A D | fpu_trig.c | 156 u_char sign; in convert_l2reg() local 165 sign = SIGN_POS; in convert_l2reg() 168 sign = SIGN_NEG; in convert_l2reg() 176 setsign(dest, sign); in convert_l2reg() 358 u_char sign; in fxtract() local 511 u_char sign; in frndint_() local 822 sign); in do_fprem() 883 u_char sign; in do_fprem() local 1030 u_char sign; in fyl2x() local 1103 u_char sign; in fyl2x() local [all …]
|
H A D | reg_divide.c | 33 u_char taga, tagb, signa, signb, sign, saved_sign; in FPU_div() local 70 sign = signa ^ signb; in FPU_div() 81 tag = FPU_u_div(&x, &y, dest, control_w, sign); in FPU_div() 103 tag = FPU_u_div(&x, &y, dest, control_w, sign); in FPU_div() 119 setsign(dest, sign); in FPU_div() 128 return FPU_divide_by_zero(deststnr, sign); in FPU_div() 163 setsign(dest, sign); in FPU_div() 172 setsign(dest, sign); in FPU_div()
|
H A D | reg_mul.c | 36 u_char sign = (getsign(a) ^ getsign(b)); in FPU_mul() local 43 FPU_u_mul(a, b, dest, control_w, sign, in FPU_mul() 67 tag = FPU_u_mul(&x, &y, dest, control_w, sign, in FPU_mul() 87 setsign(dest, sign); in FPU_mul() 101 setsign(dest, sign); in FPU_mul() 105 setsign(dest, sign); in FPU_mul()
|
/openbmc/linux/arch/arm/vfp/ |
H A D | vfpdouble.c | 44 .sign = 0, 459 vsd.sign = vdm.sign; in vfp_double_fcvts() 697 if (vdn->sign ^ vdm->sign) { in vfp_double_fadd_nonnumber() 772 if (vdn->sign ^ vdm->sign) { in vfp_double_add() 775 vdd->sign = vfp_sign_negate(vdd->sign); in vfp_double_add() 808 vdd->sign = vdn->sign ^ vdm->sign; in vfp_double_multiply() 866 vdp.sign = vfp_sign_negate(vdp.sign); in vfp_double_multiply_accumulate() 872 vdn.sign = vfp_sign_negate(vdn.sign); in vfp_double_multiply_accumulate() 952 vdd.sign = vfp_sign_negate(vdd.sign); in vfp_double_fnmul() 997 vdm.sign = vfp_sign_negate(vdm.sign); in vfp_double_fsub() [all …]
|
H A D | vfpsingle.c | 44 .sign = 0, 502 vdd.sign = vsm.sign; in vfp_single_fcvtd() 529 vs.sign = 0; in vfp_single_fuito() 743 if (vsn->sign ^ vsm->sign) { in vfp_single_fadd_nonnumber() 817 if (vsn->sign ^ vsm->sign) { in vfp_single_add() 820 vsd->sign = vfp_sign_negate(vsd->sign); in vfp_single_add() 852 vsd->sign = vsn->sign ^ vsm->sign; in vfp_single_multiply() 913 vsp.sign = vfp_sign_negate(vsp.sign); in vfp_single_multiply_accumulate() 921 vsn.sign = vfp_sign_negate(vsn.sign); in vfp_single_multiply_accumulate() 1007 vsd.sign = vfp_sign_negate(vsd.sign); in vfp_single_fnmul() [all …]
|
/openbmc/qemu/target/s390x/tcg/ |
H A D | int_helper.c | 105 int digit, sign; in HELPER() local 107 sign = dec & 0xf; in HELPER() 108 if (sign < 0xa) { in HELPER() 123 if (sign == 0xb || sign == 0xd) { in HELPER() 138 int digit, i, sign; in HELPER() local 140 sign = dec64[0] & 0xf; in HELPER() 141 if (sign < 0xa) { in HELPER() 145 pow10 = (sign == 0xb || sign == 0xd) ? -1 : 1; in HELPER()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | atomic.h | 49 #define ATOMIC_OP(op, asm_op, suffix, sign, ...) \ argument 60 : "r"#sign (a), "r" (&v->counter) \ 64 #define ATOMIC_OP_RETURN_RELAXED(op, asm_op, suffix, sign, ...) \ argument 75 : "r"#sign (a), "r" (&v->counter) \ 81 #define ATOMIC_FETCH_OP_RELAXED(op, asm_op, suffix, sign, ...) \ argument 92 : "r"#sign (a), "r" (&v->counter) \ 98 #define ATOMIC_OPS(op, asm_op, suffix, sign, ...) \ argument 99 ATOMIC_OP(op, asm_op, suffix, sign, ##__VA_ARGS__) \ 113 #define ATOMIC_OPS(op, asm_op, suffix, sign) \ argument 114 ATOMIC_OP(op, asm_op, suffix, sign) \ [all …]
|
/openbmc/qemu/fpu/ |
H A D | softfloat-parts.c.inc | 424 bool sign = a->sign ^ b->sign; 438 a->sign = sign; 456 a->sign = sign; 462 a->sign = sign; 503 a->sign ^= b->sign; 537 a->sign = c->sign; 542 p_widen.sign = a->sign; 565 a->sign = p_widen.sign; 602 bool sign = a->sign ^ b->sign; 605 a->sign = sign; [all …]
|
/openbmc/linux/arch/x86/boot/ |
H A D | printf.c | 48 char c, sign, locase; in number() local 59 sign = 0; in number() 62 sign = '-'; in number() 66 sign = '+'; in number() 69 sign = ' '; in number() 91 if (sign) in number() 92 *str++ = sign; in number()
|
/openbmc/linux/arch/m68k/fpsp040/ |
H A D | do_func.S | 184 | the sign and return operr if negative. 302 moveb ETEMP(%a6),%d1 |get sign of src op 303 moveb FPTEMP(%a6),%d0 |get sign of dst op 304 eorb %d0,%d1 |get exor of sign bits 305 btstl #7,%d1 |test for sign 306 beqs smod_zsn |if clr, do not set sign big 314 moveb ETEMP(%a6),%d1 |get sign of src op 315 moveb FPTEMP(%a6),%d0 |get sign of dst op 316 eorb %d0,%d1 |get exor of sign bits 317 btstl #7,%d1 |test for sign [all …]
|