diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2009-04-22 08:59:26 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gcc.gnu.org> | 2009-04-22 08:59:26 +0000 |
commit | baa48dfaed600d9bc9340e88ea7f0d8ba87cee00 (patch) | |
tree | 09b753c4462efb6b8af11a2d717ba058463fef39 | |
parent | feec4372c1d33b1d7de0442d9d6308c2b96255ca (diff) | |
download | gcc-baa48dfaed600d9bc9340e88ea7f0d8ba87cee00.zip gcc-baa48dfaed600d9bc9340e88ea7f0d8ba87cee00.tar.gz gcc-baa48dfaed600d9bc9340e88ea7f0d8ba87cee00.tar.bz2 |
sparc.h (POINTER_SIZE): Fix comment.
2009-04-22 Paolo Bonzini <bonzini@gnu.org>
* config/sparc/sparc.h (POINTER_SIZE): Fix comment.
(Pmode): Move above.
From-SVN: r146552
-rw-r--r-- | gcc/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.h | 9 |
2 files changed, 9 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a9daf8f..2357c2a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-04-22 Paolo Bonzini <bonzini@gnu.org> + + * config/sparc/sparc.h (POINTER_SIZE): Fix comment. + (Pmode): Move above. + 2009-04-22 Uros Bizjak <ubizjak@gmail.com> * config/alpha/alpha.c: Use REG_P, MEM_P, CONST_INT_P, JUMP_P, @@ -38,10 +43,6 @@ * config/mmix/mmix.h (GO_IF_MODE_DEPENDENT_ADDRESS): Delete. * config/bfin/bfin.h (GO_IF_MODE_DEPENDENT_ADDRESS): Delete. -2009-04-22 Paolo Bonzini <bonzini@gnu.org> - - * config/sparc/sparc.h (POINTER_SIZE): Clarify comment. - 2009-04-22 Laurynas Biveinis <laurynas.biveinis@gmail.com> * cfghooks.c (tidy_fallthru_edges): Remove find_basic_blocks diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 6a46093..c066770 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -625,10 +625,12 @@ extern struct sparc_cpu_select sparc_select[]; /* The widest floating-point format really supported by the hardware. */ #define WIDEST_HARDWARE_FP_SIZE 64 -/* Width in bits of a pointer. - See also the macro `Pmode' defined below. */ +/* Width in bits of a pointer. This is the size of ptr_mode. */ #define POINTER_SIZE (TARGET_PTR64 ? 64 : 32) +/* This is the machine mode used for addresses. */ +#define Pmode (TARGET_ARCH64 ? DImode : SImode) + /* If we have to extend pointers (only when TARGET_ARCH64 and not TARGET_PTR64), we want to do it unsigned. This macro does nothing if ptr_mode and Pmode are the same. */ @@ -2026,9 +2028,6 @@ do { \ is done just by pretending it is already truncated. */ #define TRULY_NOOP_TRUNCATION(OUTPREC, INPREC) 1 -/* Specify the machine mode used for addresses. */ -#define Pmode (TARGET_ARCH64 ? DImode : SImode) - /* Given a comparison code (EQ, NE, etc.) and the first operand of a COMPARE, return the mode to be used for the comparison. For floating-point, CCFP[E]mode is used. CC_NOOVmode should be used when the first operand |