https://access.redhat.com/solutions/2447361
Is it possible to use dpd type gcc option in RHEL7 x86_64?
SOLUTION 已验证 - 已更新 2016年七月18日13:30 -
环境
- Red Hat enterprise Linux 7
问题
- What decimal type have gcc option in IBM PPC architecture RHEL7?
- Does rhel7 ppc have a dpd type option?
- Is it possible to use dpd type gcc option in RHEL7 x86_64?
决议
--enable-decimal-float=bid
--enable-decimal-float=dpd
- Enable (or disable) support for the C decimal floating point extension that is in the IEEE 754-2008 standard. This is enabled by default only on PowerPC, i386, and x86_64 GNU/Linux systems. Other systems may also support it, but require the user to specifically enable it. You can optionally control which decimal floating point format is used (either ‘bid’ or ‘dpd’).
- Further reading
根源
- x86_64's default type is BID(Binary Integer Decimal)
- PPC's default type is DPD(Densely Packed Decimal)