This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

FIX/FIX_UNSIGNED inconsistency


Hi
The docs seems to be quite inconsistent concerning the FIX/FIX_UNSIGNED.

The .info decscibes fix first as unspecified on non-integer opreands
and later as rounding towards zero.
fix_unsigned is documented as unspecified.

The rtl.def file documents roudning towards zero to FIX and says nothing
about FIX_UNSIGNED.

This simplify-rtx seems to always simplify FIX and FIX_UNSIGNED with
rounding towards zero.

So I guess all docs should be updated to mention that rounding is towards
zero or is that too problematic?

Honza


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]