This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/51622] GCC generates bad code that generate big executable sizes when using _Decimal*
- From: "mingodad at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 20 Dec 2011 17:30:55 +0000
- Subject: [Bug c/51622] GCC generates bad code that generate big executable sizes when using _Decimal*
- Auto-submitted: auto-generated
- References: <bug-51622-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51622
--- Comment #9 from Domingo Alvarez <mingodad at gmail dot com> 2011-12-20 17:30:55 UTC ---
Some mistakes corrected and it was compiled with mingw 4.6.1 and wotk as
expected.
The results:
lua 5.1.4 with _Decimal64 from 2.4MB to 681KB
sqlite3 with _Decimal64 from 3MB to 1.239KB
http://code.google.com/p/luafltk/downloads/detail?name=bid_decimal-splited-2.zip&can=2&q=
dfp-filenames =
ifneq ($(D32PBIT)$(D64PBIT)$(D128PBIT),)
ifeq ($(enable_decimal_float),bid)
dfp-filenames += bid_decimal_globals bid_decimal_data \
++++++++++++++++
bid_bd_to_bid32 bid_bd_to_bid64 bid_bd_to_bid128 \
bid_bd_to_binary32 bid_bd_to_binary64 \
bid_bd_to_binary80 bid_bd_to_binary128 \
bid_bd_power_five bid_bd_roundbound_128 \
++++++++++++++++
bid_convert_data \
_isinfd32 _isinfd64 _isinfd128 bid64_noncomp \
bid128_noncomp bid128_fma bid_round bid_from_int \
bid64_add bid128_add bid64_div bid128_div \
bid64_mul bid128_mul bid64_compare bid128_compare \
bid128 bid32_to_bid64 bid32_to_bid128 bid64_to_bid128 \
bid64_to_int32 bid64_to_int64 \
bid64_to_uint32 bid64_to_uint64 \
bid128_to_int32 bid128_to_int64 \
bid128_to_uint32 bid128_to_uint64
else
dfp-filenames += decContext decNumber decExcept decRound decLibrary decDouble
decPacked decQuad decSingle
endif
endif