This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: define_constraints patch, re-revised


On Tue, Oct 03, 2006 at 11:09:41PM -0700, Zack Weinberg wrote:
> 
> Here is a patch which I believe will fix this problem and a number of
> related problems.  Assuming this message gets through - I keep getting
> "quota exceeded" bounces - would you please test it on your
> architecture, Rask?  It has passed an i686-linux bootstrap, and manual
> inspection of the relevant generated files suggests the problem is
> gone, but that target is not terribly interesting.

   Thanks. Your patch seems to fix the problem. The warnings are gone and
the generated files look correct to me. Here's what the first and last
satisfies_constraint_FOO functions look like with the patch:

/* Generated automatically by the program 'build/genpreds'
   from the machine description file '../../../cvssrc/gcc/gcc/config/ia16/ia16.md'.  */

#ifndef GCC_TM_CONSTRS_H
#define GCC_TM_CONSTRS_H

static inline bool
satisfies_constraint_I0 (rtx op)
{
  HOST_WIDE_INT ival = 0;
  if (GET_CODE (op) == CONST_INT)
    ival = INTVAL (op);
  return (GET_CODE (op) == CONST_INT) && (
#line 39 "../../../cvssrc/gcc/gcc/config/ia16/constraints.md"
(ival == 0));
}
[cut]
static inline bool
satisfies_constraint_Ipu (rtx op)
{
  return (GET_CODE (op) == CONST_INT) && (
#line 95 "../../../cvssrc/gcc/gcc/config/ia16/constraints.md"
(TARGET_18x ? true : false));
}
#endif /* tm-constrs.h */

   And I'll try to do something about the "quota exceeded" messages.

-- 
Rask Ingemann Lambertsen


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