summaryrefslogtreecommitdiff
path: root/gcc/regs.h
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-27 15:32:18 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-27 15:32:18 +0000
commiteda949d5609f24804969aa7b8bbc0b0f7725a5ba (patch)
tree0ebd56d67867b2fffb18604276462ab609a63247 /gcc/regs.h
parente6fa9c609e3ed3eb3bf662d9ab945221506c48b6 (diff)
downloadgcc-eda949d5609f24804969aa7b8bbc0b0f7725a5ba.tar.gz
* ia64/aix.h (REG_SIZE): Don't #undef.
* sparc.h (REG_SIZE): Delete. * flow.c (mark_used_regs): Don't use REG_SIZE. * regs.h (REG_SIZE): Delete. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47378 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/regs.h')
-rw-r--r--gcc/regs.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/gcc/regs.h b/gcc/regs.h
index e55c807fb68..0b35f07dee0 100644
--- a/gcc/regs.h
+++ b/gcc/regs.h
@@ -24,24 +24,10 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#define REG_BYTES(R) mode_size[(int) GET_MODE (R)]
-/* Get the number of consecutive hard regs required to hold the REG or
- SUBREG rtx R.
- When something may be an explicit hard reg, REG_SIZE is the only
- valid way to get this value. You cannot get it from the regno.
-
- A target may override this definition, the case where you would do
- this is where there are registers which are smaller than WORD_SIZE
- such as the SFmode registers on sparc64. */
-
-#ifndef REG_SIZE
-#define REG_SIZE(R) \
- ((mode_size[(int) GET_MODE (R)] + UNITS_PER_WORD - 1) / UNITS_PER_WORD)
-#endif
-
/* When you only have the mode of a pseudo register before it has a hard
register chosen for it, this reports the size of each hard register
- a pseudo in such a mode would get allocated to. Like REG_SIZE, a
- target may override this. */
+ a pseudo in such a mode would get allocated to. A target may
+ override this. */
#ifndef REGMODE_NATURAL_SIZE
#define REGMODE_NATURAL_SIZE(MODE) UNITS_PER_WORD