summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/sprintf.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2008-01-11 18:59:35 +0000
committerbde <bde@FreeBSD.org>2008-01-11 18:59:35 +0000
commit7371ad79e8998ef3d3819010004ceca320ee3709 (patch)
treef5212ff2778a33313e708a8f2f26ee5e0089eaea /lib/libc/stdio/sprintf.c
parentb1a379ee656f7f3ee5bb8d3f47b2fd30ee48b8eb (diff)
downloadFreeBSD-src-7371ad79e8998ef3d3819010004ceca320ee3709.zip
FreeBSD-src-7371ad79e8998ef3d3819010004ceca320ee3709.tar.gz
MFamd64 (everything possible up to 1.19; mainly the amd64 implementations
of fpget*() and fpset*()). The i386 fpget*() were efficient but a bit obfuscated (using macros and a case statement to demultiplex them through a single inline). The demultiplexing mainly gave smaller source code. The i386 fpset*() were obfuscated in the same way and were very inefficient due to the case statement not having enough cases or complexity so all cases used the FP environment. This also fixes a harmless bug in rev.1.12. fpsetmask() extracted the old value from the bit-field twice, but the doubled shift was harmless since the shift count is 0. All fp*() interfaces are now inline functions on i386. They used to be macros that call (a different set of) inline functions. This is a small ABI change which shouldn't cause problems since cases where inlining fails (mainly -O0) only give (working) static functions.
Diffstat (limited to 'lib/libc/stdio/sprintf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud