Home
last modified time | relevance | path

Searched refs:SIGN (Results 1 – 25 of 38) sorted by relevance

12

/openbmc/qemu/tests/tcg/hexagon/
H A Dload_unpack.c65 #define TEST_io(NAME, TYPE, SIGN, SIZE, EXT, EXP1, EXP2, EXP3, EXP4) \ argument
70 BxW_LOAD_io_##SIGN(result, buf, 0 * (SIZE)); \
72 BxW_LOAD_io_##SIGN(result, buf, 1 * (SIZE)); \
74 BxW_LOAD_io_##SIGN(result, buf, 2 * (SIZE)); \
76 BxW_LOAD_io_##SIGN(result, buf, 3 * (SIZE)); \
106 #define TEST_ur(NAME, TYPE, SIGN, SHIFT, EXT, RES1, RES2, RES3, RES4) \ argument
111 BxW_LOAD_ur_##SIGN(result, (SHIFT), 0); \
113 BxW_LOAD_ur_##SIGN(result, (SHIFT), 1); \
115 BxW_LOAD_ur_##SIGN(result, (SHIFT), 2); \
117 BxW_LOAD_ur_##SIGN(result, (SHIFT), 3); \
[all …]
/openbmc/linux/arch/alpha/boot/
H A Dstdio.c36 #define SIGN 2 /* unsigned/signed long */ macro
57 if (type & SIGN) { in number()
256 flags |= SIGN; in vsprintf()
270 if (flags & SIGN) in vsprintf()
274 if (flags & SIGN) in vsprintf()
280 if (flags & SIGN) in vsprintf()
284 if (flags & SIGN) in vsprintf()
/openbmc/linux/arch/powerpc/boot/
H A Dstdio.c72 #define SIGN 2 /* unsigned/signed long */ macro
93 if (type & SIGN) { in number()
292 flags |= SIGN; in vsprintf()
306 if (flags & SIGN) in vsprintf()
310 if (flags & SIGN) in vsprintf()
316 if (flags & SIGN) in vsprintf()
320 if (flags & SIGN) in vsprintf()
/openbmc/linux/arch/hexagon/lib/
H A Dchecksum.c21 #define SIGN(x, y) ((0x8000ULL*x)<<y) macro
25 #define VR_NEGATE(a, b, c, d) (SIGN(a, 48) + SIGN(b, 32) + SIGN(c, 16) \
26 + SIGN(d, 0))
/openbmc/linux/arch/x86/boot/
H A Dprintf.c28 #define SIGN 2 /* unsigned/signed long */ macro
60 if (type & SIGN) { in number()
255 flags |= SIGN; in vsprintf()
271 if (flags & SIGN) in vsprintf()
273 } else if (flags & SIGN) in vsprintf()
/openbmc/linux/tools/testing/selftests/kvm/lib/
H A Dguest_sprintf.c27 #define SIGN 2 /* unsigned/signed long */ macro
64 if (type & SIGN) { in number()
274 flags |= SIGN; in guest_vsnprintf()
290 if (flags & SIGN) in guest_vsnprintf()
292 } else if (flags & SIGN) in guest_vsnprintf()
/openbmc/linux/arch/m68k/fpsp040/
H A Dstanh.S95 |--Y = 2|X|, Z = EXPM1(Y), TANH(X) = SIGN(X) * Z / (Z+2).
129 |--TANH(X) = 1 - (2/[EXP(2X)+1]). LET Y = 2|X|, SGN = SIGN(X),
149 eorl #0xC0000000,%d0 | ...-SIGN(X)*2
150 fmoves %d0,%fp1 | ...-SIGN(X)*2 IN SGL FMT
151 fdivx %fp0,%fp1 | ...-SIGN(X)2 / [EXP(Y)+1 ]
177 eorl #0x80800000,%d0 | ...-SIGN(X)*EPS
H A Dsatanh.S76 |--Y = |X|, Z = 2Y/(1-Y), ATANH(X) = SIGN(X) * (1/2) * LOG1P(Z).
86 oril #0x3F000000,%d0 | ...SIGN(X)*HALF
H A Dsasin.S96 andil #0x80000000,%d0 | ...SIGN BIT OF X
98 movel %d0,-(%sp) | ...push SIGN(X) IN SGL-FMT
H A Dsatan.S402 |--IF |X| > 2^(100), RETURN SIGN(X)*(PI/2 - TINY). OTHERWISE,
403 |--RETURN SIGN(X)*PI/2 + ATAN(-1/X).
H A Dssin.S307 | ...LEAST SIG. BIT OF D0 IN SIGN POSITION
448 |--(SIGN(INARG)*2**63 + FP2) - SIGN(INARG)*2**63 WILL GIVE
455 oril #0x5F000000,%d2 | ...D2 IS SIGN(INARG)*2**63 IN SGL
H A Dssinh.S86 |--Y = |X|, Z = EXPM1(Y), SINH(X) = SIGN(X)*(1/2)*( Z + Z/(1+Z) )
/openbmc/linux/drivers/firmware/efi/libstub/
H A Dvsprintf.c144 #define SIGN 2 /* unsigned/signed long */ macro
229 if (!(flags & SIGN)) in get_sign()
427 flags |= SIGN; in vsnprintf()
446 num = get_number(flags & SIGN, qualifier, &args); in vsnprintf()
/openbmc/u-boot/lib/
H A Dvsprintf.c141 #define SIGN 2 /* unsigned/signed long */ macro
176 if (type & SIGN) { in number()
667 flags |= SIGN; in vsnprintf_internal()
683 if (flags & SIGN) in vsnprintf_internal()
691 if (flags & SIGN) in vsnprintf_internal()
695 if (flags & SIGN) in vsnprintf_internal()
/openbmc/qemu/target/hexagon/
H A Dmacros.h518 #define fLOAD(NUM, SIZE, SIGN, EA, DST) MEM_LOAD##SIZE##SIGN(DST, EA) argument
525 #define fLOAD(NUM, SIZE, SIGN, EA, DST) \ argument
528 DST = (size##SIZE##SIGN##_t)MEM_LOAD##SIZE(env, EA, GETPC()); \
532 #define fMEMOP(NUM, SIZE, SIGN, EA, FNTYPE, VALUE) argument
546 #define fLOAD_LOCKED(NUM, SIZE, SIGN, EA, DST) \ argument
547 gen_load_locked##SIZE##SIGN(DST, EA, ctx->mem_idx);
H A Dgen_tcg.h82 #define fGEN_TCG_LOAD_AP(RES, SIZE, SIGN) \ argument
86 fLOAD(1, SIZE, SIGN, EA, RES); \
158 #define fGEN_TCG_loadbXw2(GET_EA, SIGN) \ argument
166 gen_set_half(i, RdV, gen_get_byte(byte, i, tmp, (SIGN))); \
210 #define fGEN_TCG_loadbXw4(GET_EA, SIGN) \ argument
218 gen_set_half_i64(i, RddV, gen_get_byte(byte, i, tmp, (SIGN))); \
327 #define fGEN_TCG_PRED_LOAD(GET_EA, PRED, SIZE, SIGN) \ argument
335 fLOAD(1, SIZE, SIGN, EA, RdV); \
/openbmc/linux/lib/
H A Dvsprintf.c409 #define SIGN 1 /* unsigned/signed, must be 1 */ macro
417 static_assert(SIGN == 1);
475 if (spec.flags & SIGN) { in number()
670 spec.flags |= SIGN; in err_ptr()
2665 spec->flags |= SIGN; in format_decode()
2687 BUILD_BUG_ON(FORMAT_TYPE_ULONG + SIGN != FORMAT_TYPE_LONG); in format_decode()
2688 spec->type = FORMAT_TYPE_ULONG + (spec->flags & SIGN); in format_decode()
2694 BUILD_BUG_ON(FORMAT_TYPE_UBYTE + SIGN != FORMAT_TYPE_BYTE); in format_decode()
2695 spec->type = FORMAT_TYPE_UBYTE + (spec->flags & SIGN); in format_decode()
2697 BUILD_BUG_ON(FORMAT_TYPE_USHORT + SIGN != FORMAT_TYPE_SHORT); in format_decode()
[all …]
/openbmc/linux/drivers/usb/misc/
H A Dcytherm.c114 #define SIGN 0x34 /* RAM location for temperature sign */ macro
138 retval = vendor_command(cytherm->udev, READ_RAM, SIGN, 0, buffer, 8); in temp_show()
/openbmc/qemu/target/hexagon/idef-parser/
H A Didef-parser.y55 %token ZXT CONSTEXT LOCNT BREV SIGN LOAD STORE PC LPCFG
71 %type <signedness> SIGN
337 | LOAD '(' IMM ',' IMM ',' SIGN ',' var ',' lvalue ')'
/openbmc/linux/scripts/
H A DMakefile.modinst103 quiet_cmd_sign = SIGN $@
/openbmc/linux/kernel/bpf/
H A Dcore.c2019 #define COND_JMP(SIGN, OPCODE, CMP_OP) \ in ___bpf_prog_run() argument
2021 if ((SIGN##64) DST CMP_OP (SIGN##64) SRC) { \ in ___bpf_prog_run()
2027 if ((SIGN##32) DST CMP_OP (SIGN##32) SRC) { \ in ___bpf_prog_run()
2033 if ((SIGN##64) DST CMP_OP (SIGN##64) IMM) { \ in ___bpf_prog_run()
2039 if ((SIGN##32) DST CMP_OP (SIGN##32) IMM) { \ in ___bpf_prog_run()
/openbmc/linux/drivers/usb/renesas_usbhs/
H A Dcommon.h186 #define SIGN (1 << 5) /* Setup Transaction Error Interrupt Status */ macro
H A Dmod.c294 if (irq_state.intsts1 & SIGN) in usbhs_interrupt()
/openbmc/linux/include/linux/usb/
H A Dr8a66597.h322 #define SIGN 0x0020 /* b5: Setup ignore interrupt */ macro
/openbmc/u-boot/drivers/usb/host/
H A Dr8a66597-hcd.c304 r8a66597_write(r8a66597, ~(SIGN | SACK), INTSTS1); in send_setup_packet()
328 if (intsts1 & SIGN) { in send_setup_packet()

12