aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2009-04-22 08:59:26 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2009-04-22 08:59:26 +0000
commitbaa48dfaed600d9bc9340e88ea7f0d8ba87cee00 (patch)
tree09b753c4462efb6b8af11a2d717ba058463fef39 /gcc/config
parentfeec4372c1d33b1d7de0442d9d6308c2b96255ca (diff)
downloadgcc-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
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/sparc/sparc.h9
1 files changed, 4 insertions, 5 deletions
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