aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2007-01-03 06:44:38 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2007-01-03 06:44:38 +0000
commit8a2fcf9128e43e6ca5e5c80f7a4d4c6eb909a20e (patch)
tree73a60a71f79593854f65b0970c1fa197c8e10cf0 /gcc
parente1c463c4dd0e60e80d196c54f52c338d2b779788 (diff)
downloadgcc-8a2fcf9128e43e6ca5e5c80f7a4d4c6eb909a20e.zip
gcc-8a2fcf9128e43e6ca5e5c80f7a4d4c6eb909a20e.tar.gz
gcc-8a2fcf9128e43e6ca5e5c80f7a4d4c6eb909a20e.tar.bz2
i386.h (NON_STACK_REG_P, [...]): Remove.
* config/i386/i386.h (NON_STACK_REG_P, REGNO_OK_FOR_SIREG_P, REGNO_OK_FOR_DIREG_P, REWRITE_ADDRESS, ASM_OPERAND_LETTER, RET, AT_SP): Remove. * config/i386/i386.md (*sse_prologue_save_insn): Use return instead of RET. From-SVN: r120383
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/config/i386/i386.h19
-rw-r--r--gcc/config/i386/i386.md4
3 files changed, 12 insertions, 19 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3716690..23c6098 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+2007-01-03 Kazu Hirata <kazu@codesourcery.com>
+
+ * config/i386/i386.h (NON_STACK_REG_P, REGNO_OK_FOR_SIREG_P,
+ REGNO_OK_FOR_DIREG_P, REWRITE_ADDRESS, ASM_OPERAND_LETTER,
+ RET, AT_SP): Remove.
+ * config/i386/i386.md (*sse_prologue_save_insn): Use return
+ instead of RET.
+
2006-01-03 Zdenek Dvorak <dvorakz@suse.cz>
* loop-unswitch.c (unswitch_loop): Pass probabilities to loopify.
diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h
index 5e5678f..7ccecaf 100644
--- a/gcc/config/i386/i386.h
+++ b/gcc/config/i386/i386.h
@@ -1,6 +1,7 @@
/* Definitions of target machine for GCC for IA-32.
Copyright (C) 1988, 1992, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
- 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+ 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation,
+ Inc.
This file is part of GCC.
@@ -1270,8 +1271,6 @@ enum reg_class
#define MMX_REGNO_P(N) IN_RANGE ((N), FIRST_MMX_REG, LAST_MMX_REG)
#define STACK_REG_P(XOP) (REG_P (XOP) && STACK_REGNO_P (REGNO (XOP)))
-#define NON_STACK_REG_P(XOP) \
- (REG_P (XOP) && ! STACK_REGNO_P (REGNO (XOP)))
#define STACK_REGNO_P(N) IN_RANGE ((N), FIRST_STACK_REG, LAST_STACK_REG)
#define STACK_TOP_P(XOP) (REG_P (XOP) && REGNO (XOP) == FIRST_STACK_REG)
@@ -1630,11 +1629,6 @@ typedef struct ix86_args {
|| (REGNO) == FRAME_POINTER_REGNUM \
|| GENERAL_REGNO_P ((unsigned) reg_renumber[(REGNO)]))
-#define REGNO_OK_FOR_SIREG_P(REGNO) \
- ((REGNO) == 4 || reg_renumber[(REGNO)] == 4)
-#define REGNO_OK_FOR_DIREG_P(REGNO) \
- ((REGNO) == 5 || reg_renumber[(REGNO)] == 5)
-
/* The macros REG_OK_FOR..._P assume that the arg is a REG rtx
and check its validity for a certain class.
We have two alternate definitions for each of them.
@@ -1749,8 +1743,6 @@ do { \
goto WIN; \
} while (0)
-#define REWRITE_ADDRESS(X) rewrite_address (X)
-
/* Nonzero if the constant value X is a legitimate general operand
when generating PIC code. It is given that flag_pic is on and
that X satisfies CONSTANT_P or is a CONST_DOUBLE. */
@@ -2095,13 +2087,6 @@ do { \
if (! output_addr_const_extra (FILE, (X))) \
goto FAIL; \
} while (0);
-
-/* a letter which is not needed by the normal asm syntax, which
- we can use for operand syntax in the extended asm */
-
-#define ASM_OPERAND_LETTER '#'
-#define RET return ""
-#define AT_SP(MODE) (gen_rtx_MEM ((MODE), stack_pointer_rtx))
/* Which processor to schedule for. The cpu attribute defines a list that
mirrors this list, so changes to i386.md must be made at the same time. */
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index 10c8746..7066c63 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -1,6 +1,6 @@
;; GCC machine description for IA-32 and x86-64.
;; Copyright (C) 1988, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
-;; 2001, 2002, 2003, 2004, 2005, 2006
+;; 2001, 2002, 2003, 2004, 2005, 2006, 2007
;; Free Software Foundation, Inc.
;; Mostly by William Schelter.
;; x86_64 support added by Jan Hubicka
@@ -20813,7 +20813,7 @@
}
(*targetm.asm_out.internal_label) (asm_out_file, \"L\",
CODE_LABEL_NUMBER (operands[3]));
- RET;
+ return \"\";
}
"
[(set_attr "type" "other")