Commit a8efe40d by Richard Kenner

*** empty log message ***

From-SVN: r192
parent c66e0741
/* Machine mode definitions for GNU C-Compiler; included by rtl.h and tree.h. /* Machine mode definitions for GNU C-Compiler; included by rtl.h and tree.h.
Copyright (C) 1990-1991 Free Software Foundation, Inc. Copyright (C) 1991 Free Software Foundation, Inc.
This file is part of GNU CC. This file is part of GNU CC.
......
/* Declarations for insn-output.c. These functions are defined in recog.c, /* Declarations for insn-output.c. These functions are defined in recog.c,
final.c, and varasm.c. final.c, and varasm.c.
Copyright (C) 1987-1991 Free Software Foundation, Inc. Copyright (C) 1987, 1991 Free Software Foundation, Inc.
This file is part of GNU CC. This file is part of GNU CC.
......
/* Print RTL for GNU C Compiler. /* Print RTL for GNU C Compiler.
Copyright (C) 1987-1991 Free Software Foundation, Inc. Copyright (C) 1987, 1991 Free Software Foundation, Inc.
This file is part of GNU CC. This file is part of GNU CC.
......
/* Subroutines used by or related to instruction recognition. /* Subroutines used by or related to instruction recognition.
Copyright (C) 1987-1991 Free Software Foundation, Inc. Copyright (C) 1987, 1988, 1991 Free Software Foundation, Inc.
This file is part of GNU CC. This file is part of GNU CC.
......
/* Compute register class preferences for pseudo-registers. /* Compute register class preferences for pseudo-registers.
Copyright (C) 1987-1991 Free Software Foundation, Inc. Copyright (C) 1987, 1988, 1991 Free Software Foundation, Inc.
This file is part of GNU CC. This file is part of GNU CC.
...@@ -327,7 +327,7 @@ fix_register (name, fixed, call_used) ...@@ -327,7 +327,7 @@ fix_register (name, fixed, call_used)
the register info. */ the register info. */
for (i = 0; i < FIRST_PSEUDO_REGISTER; i++) for (i = 0; i < FIRST_PSEUDO_REGISTER; i++)
if (!strcmp (reg_names[i], name)) if (reg_names[i][0] && ! strcmp (reg_names[i], name))
{ {
fixed_regs[i] = fixed; fixed_regs[i] = fixed;
call_used_regs[i] = call_used; call_used_regs[i] = call_used;
......
/* Allocate and read RTL for GNU C Compiler. /* Allocate and read RTL for GNU C Compiler.
Copyright (C) 1987-1991 Free Software Foundation, Inc. Copyright (C) 1987, 1988, 1991 Free Software Foundation, Inc.
This file is part of GNU CC. This file is part of GNU CC.
......
/* Register Transfer Language (RTL) definitions for GNU C-Compiler /* Register Transfer Language (RTL) definitions for GNU C-Compiler
Copyright (C) 1987-1991 Free Software Foundation, Inc. Copyright (C) 1987, 1991 Free Software Foundation, Inc.
This file is part of GNU CC. This file is part of GNU CC.
...@@ -649,22 +649,21 @@ extern rtx pc_rtx; ...@@ -649,22 +649,21 @@ extern rtx pc_rtx;
extern rtx cc0_rtx; extern rtx cc0_rtx;
extern rtx const0_rtx; extern rtx const0_rtx;
extern rtx const1_rtx; extern rtx const1_rtx;
extern rtx const2_rtx;
extern rtx constm1_rtx; extern rtx constm1_rtx;
extern rtx const_true_rtx; extern rtx const_true_rtx;
extern rtx fconst0_rtx;
extern rtx fconst1_rtx; extern rtx const_tiny_rtx[3][(int) MAX_MACHINE_MODE];
extern rtx fconst2_rtx;
extern rtx dconst0_rtx; /* Returns a constant 0 rtx in mode MODE. Integer modes are treated the
extern rtx dconst1_rtx; same as VOIDmode. */
extern rtx dconst2_rtx;
#define CONST0_RTX(MODE) (const_tiny_rtx[0][(int) (MODE)])
/* Returns a constant 0 rtx in mode MODE. */
/* Likewise, for the constants 1 and 2. */
#define CONST0_RTX(MODE) \
((MODE == SFmode) ? fconst0_rtx \ #define CONST1_RTX(MODE) (const_tiny_rtx[1][(int) (MODE)])
: ((MODE == DFmode) ? dconst0_rtx \ #define CONST2_RTX(MODE) (const_tiny_rtx[2][(int) (MODE)])
: ((GET_MODE_CLASS (MODE) == MODE_INT) ? const0_rtx \
: (abort (), NULL_RTX))))
/* All references to certain hard regs, except those created /* All references to certain hard regs, except those created
by allocating pseudo regs into them (when that's possible), by allocating pseudo regs into them (when that's possible),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment