[Bug other/66250] New: Can't adjust complex nor decimal floating point modes

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu May 21 21:45:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66250

            Bug ID: 66250
           Summary: Can't adjust complex nor decimal floating point modes
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---

machmode.def has

/* Allow the target to specify additional modes of various kinds.  */
#if HAVE_EXTRA_MODES
# include EXTRA_MODES_FILE
#endif

/* Complex modes.  */
COMPLEX_MODES (INT);
COMPLEX_MODES (FLOAT);

/* Decimal floating point modes.  */
DECIMAL_FLOAT_MODE (SD, 4, decimal_single_format);
DECIMAL_FLOAT_MODE (DD, 8, decimal_double_format);
DECIMAL_FLOAT_MODE (TD, 16, decimal_quad_format);

We can't adjust any complex nor DFP modes in i386-modes.def since they
aren't available yet.  But we need to include i386-modes.def before

COMPLEX_MODES (INT);
COMPLEX_MODES (FLOAT);

to get extra modes. Should we add an EXTRA_ADJUSTMENTS_FILE and include it
after all modes are created?



More information about the Gcc-bugs mailing list