This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
FIX/FIX_UNSIGNED inconsistency
- To: gcc at gcc dot gnu dot org
- Subject: FIX/FIX_UNSIGNED inconsistency
- From: Jan Hubicka <jh at suse dot cz>
- Date: Fri, 2 Mar 2001 12:47:09 +0100
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