mirror of git://gcc.gnu.org/git/gcc.git
m68k.c: Include "system.h" instead of <stdio.h>.
* config/m68k/m68k.c: Include "system.h" instead of <stdio.h>.
Include "toplev.h".
(valid_dbcc_comparison_p): Mark mode argument as unused.
(symbolic_operand): Likewise.
(legitimize_pic_address): Likewise.
(const_uint32_operand): Likewise.
(const_sint32_operand): Likewise.
* sched.c [!INSN_SCHEDULING]: Define only dummy function
schedule_insns and comment out rest of file.
From-SVN: r21779
This commit is contained in:
parent
38198304cc
commit
f5220a5dd3
|
|
@ -1,5 +1,15 @@
|
||||||
Mon Aug 17 09:23:42 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
|
Mon Aug 17 09:23:42 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
|
||||||
|
|
||||||
|
* config/m68k/m68k.c: Include "system.h" instead of <stdio.h>.
|
||||||
|
Include "toplev.h".
|
||||||
|
(valid_dbcc_comparison_p): Mark mode argument as unused.
|
||||||
|
(symbolic_operand): Likewise.
|
||||||
|
(legitimize_pic_address): Likewise.
|
||||||
|
(const_uint32_operand): Likewise.
|
||||||
|
(const_sint32_operand): Likewise.
|
||||||
|
* sched.c [!INSN_SCHEDULING]: Define only dummy function
|
||||||
|
schedule_insns and comment out rest of file.
|
||||||
|
|
||||||
* m68k.c (output_move_simode_const): Use subl to move a zero into an
|
* m68k.c (output_move_simode_const): Use subl to move a zero into an
|
||||||
address register.
|
address register.
|
||||||
(output_move_[hq]imode): Likewise.
|
(output_move_[hq]imode): Likewise.
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
/* Some output-actions in m68k.md need these. */
|
/* Some output-actions in m68k.md need these. */
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include <stdio.h>
|
#include "system.h"
|
||||||
#include "tree.h"
|
#include "tree.h"
|
||||||
#include "rtl.h"
|
#include "rtl.h"
|
||||||
#include "regs.h"
|
#include "regs.h"
|
||||||
|
|
@ -33,6 +33,7 @@ Boston, MA 02111-1307, USA. */
|
||||||
#include "output.h"
|
#include "output.h"
|
||||||
#include "insn-attr.h"
|
#include "insn-attr.h"
|
||||||
#include "recog.h"
|
#include "recog.h"
|
||||||
|
#include "toplev.h"
|
||||||
|
|
||||||
/* Needed for use_return_insn. */
|
/* Needed for use_return_insn. */
|
||||||
#include "flags.h"
|
#include "flags.h"
|
||||||
|
|
@ -866,7 +867,7 @@ not_sp_operand (op, mode)
|
||||||
int
|
int
|
||||||
valid_dbcc_comparison_p (x, mode)
|
valid_dbcc_comparison_p (x, mode)
|
||||||
rtx x;
|
rtx x;
|
||||||
enum machine_mode mode;
|
enum machine_mode mode ATTRIBUTE_UNUSED;
|
||||||
{
|
{
|
||||||
switch (GET_CODE (x))
|
switch (GET_CODE (x))
|
||||||
{
|
{
|
||||||
|
|
@ -1243,7 +1244,7 @@ output_btst (operands, countop, dataop, insn, signpos)
|
||||||
int
|
int
|
||||||
symbolic_operand (op, mode)
|
symbolic_operand (op, mode)
|
||||||
register rtx op;
|
register rtx op;
|
||||||
enum machine_mode mode;
|
enum machine_mode mode ATTRIBUTE_UNUSED;
|
||||||
{
|
{
|
||||||
switch (GET_CODE (op))
|
switch (GET_CODE (op))
|
||||||
{
|
{
|
||||||
|
|
@ -1331,7 +1332,7 @@ extend_operator(x, mode)
|
||||||
rtx
|
rtx
|
||||||
legitimize_pic_address (orig, mode, reg)
|
legitimize_pic_address (orig, mode, reg)
|
||||||
rtx orig, reg;
|
rtx orig, reg;
|
||||||
enum machine_mode mode;
|
enum machine_mode mode ATTRIBUTE_UNUSED;
|
||||||
{
|
{
|
||||||
rtx pic_ref = orig;
|
rtx pic_ref = orig;
|
||||||
|
|
||||||
|
|
@ -3252,7 +3253,7 @@ strict_low_part_peephole_ok (mode, first_insn, target)
|
||||||
int
|
int
|
||||||
const_uint32_operand (op, mode)
|
const_uint32_operand (op, mode)
|
||||||
rtx op;
|
rtx op;
|
||||||
enum machine_mode mode;
|
enum machine_mode mode ATTRIBUTE_UNUSED;
|
||||||
{
|
{
|
||||||
if (GET_CODE (op) == CONSTANT_P_RTX)
|
if (GET_CODE (op) == CONSTANT_P_RTX)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
@ -3273,7 +3274,7 @@ const_uint32_operand (op, mode)
|
||||||
int
|
int
|
||||||
const_sint32_operand (op, mode)
|
const_sint32_operand (op, mode)
|
||||||
rtx op;
|
rtx op;
|
||||||
enum machine_mode mode;
|
enum machine_mode mode ATTRIBUTE_UNUSED;
|
||||||
{
|
{
|
||||||
if (GET_CODE (op) == CONSTANT_P_RTX)
|
if (GET_CODE (op) == CONSTANT_P_RTX)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
|
||||||
18
gcc/sched.c
18
gcc/sched.c
|
|
@ -127,10 +127,17 @@ Boston, MA 02111-1307, USA. */
|
||||||
#include "insn-config.h"
|
#include "insn-config.h"
|
||||||
#include "insn-attr.h"
|
#include "insn-attr.h"
|
||||||
|
|
||||||
|
#ifndef INSN_SCHEDULING
|
||||||
|
void
|
||||||
|
schedule_insns (dump_file)
|
||||||
|
FILE *dump_file ATTRIBUTE_UNUSED;
|
||||||
|
{
|
||||||
|
}
|
||||||
|
#else /* INSN_SCHEDULING -- rest of file */
|
||||||
|
|
||||||
extern char *reg_known_equiv_p;
|
extern char *reg_known_equiv_p;
|
||||||
extern rtx *reg_known_value;
|
extern rtx *reg_known_value;
|
||||||
|
|
||||||
#ifdef INSN_SCHEDULING
|
|
||||||
/* Arrays set up by scheduling for the same respective purposes as
|
/* Arrays set up by scheduling for the same respective purposes as
|
||||||
similar-named arrays set up by flow analysis. We work with these
|
similar-named arrays set up by flow analysis. We work with these
|
||||||
arrays during the scheduling pass so we can compare values against
|
arrays during the scheduling pass so we can compare values against
|
||||||
|
|
@ -342,8 +349,6 @@ static void update_flow_info PROTO((rtx, rtx, rtx, rtx));
|
||||||
|
|
||||||
/* Main entry point of this file. */
|
/* Main entry point of this file. */
|
||||||
void schedule_insns PROTO((FILE *));
|
void schedule_insns PROTO((FILE *));
|
||||||
|
|
||||||
#endif /* INSN_SCHEDULING */
|
|
||||||
|
|
||||||
#define SIZE_FOR_MODE(X) (GET_MODE_SIZE (GET_MODE (X)))
|
#define SIZE_FOR_MODE(X) (GET_MODE_SIZE (GET_MODE (X)))
|
||||||
|
|
||||||
|
|
@ -451,13 +456,6 @@ remove_dependence (insn, elem)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef INSN_SCHEDULING
|
|
||||||
void
|
|
||||||
schedule_insns (dump_file)
|
|
||||||
FILE *dump_file;
|
|
||||||
{
|
|
||||||
}
|
|
||||||
#else
|
|
||||||
#ifndef __GNUC__
|
#ifndef __GNUC__
|
||||||
#define __inline
|
#define __inline
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue