Home
last modified time | relevance | path

Searched refs:from_fixed (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/target/sparc/
H A Dvis_helper.c350 int32_t from_fixed = scaled >> 7; in helper_fpack16() local
352 val = (from_fixed < 0 ? 0 : in helper_fpack16()
353 from_fixed > 255 ? 255 : from_fixed); in helper_fpack16()
372 int64_t from_fixed = scaled >> 23; in helper_fpack32() local
374 val = (from_fixed < 0 ? 0 : in helper_fpack32()
375 (from_fixed > 255) ? 255 : from_fixed); in helper_fpack32()
393 int64_t from_fixed = scaled >> 16; in helper_fpackfix() local
395 val = (from_fixed < -32768 ? -32768 : in helper_fpackfix()
396 from_fixed > 32767 ? 32767 : from_fixed); in helper_fpackfix()
/openbmc/linux/arch/sparc/kernel/
H A Dvisemul.c494 int from_fixed = scaled >> 7; in pformat() local
496 val = ((from_fixed < 0) ? in pformat()
498 (from_fixed > 255) ? in pformat()
499 255 : from_fixed); in pformat()
517 s64 from_fixed = scaled >> 23; in pformat() local
519 val = ((from_fixed < 0) ? in pformat()
521 (from_fixed > 255) ? in pformat()
522 255 : from_fixed); in pformat()
540 s64 from_fixed = scaled >> 16; in pformat() local
544 (from_fixed > 32767) ? in pformat()
[all …]