aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2007-02-04 04:33:45 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2007-02-04 04:33:45 +0000
commit22f23985630f6664945bfb26fa996cd5ec19652a (patch)
treec3660bb16c6705028a0d5caecf1b8ea108bd85f8
parent3b426391d3efa5cfd0388f6c48192fe0e611dfa9 (diff)
downloadgcc-22f23985630f6664945bfb26fa996cd5ec19652a.zip
gcc-22f23985630f6664945bfb26fa996cd5ec19652a.tar.gz
gcc-22f23985630f6664945bfb26fa996cd5ec19652a.tar.bz2
v850.c, [...]: Follow spelling conventions.
* config/v850/v850.c, config/v850/v850.h, config/v850/v850.md: Follow spelling conventions. From-SVN: r121567
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/config/v850/v850.c10
-rw-r--r--gcc/config/v850/v850.h12
-rw-r--r--gcc/config/v850/v850.md6
4 files changed, 17 insertions, 14 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a12d12c..6dcac70 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -12,6 +12,9 @@
config/mt/mt.c, config/mt/mt.h, config/mt/mt.md: Follow
spelling conventions.
+ * config/v850/v850.c, config/v850/v850.h, config/v850/v850.md:
+ Follow spelling conventions.
+
2007-02-03 Douglas Gregor <doug.gregor@gmail.com>
* c-opts.c (c_common_post_options): If C++0x mode is enabled, don't
diff --git a/gcc/config/v850/v850.c b/gcc/config/v850/v850.c
index 22bb151..e741c73 100644
--- a/gcc/config/v850/v850.c
+++ b/gcc/config/v850/v850.c
@@ -854,10 +854,10 @@ output_move_single (rtx * operands)
{
HOST_WIDE_INT value = INTVAL (src);
- if (CONST_OK_FOR_J (value)) /* Signed 5 bit immediate. */
+ if (CONST_OK_FOR_J (value)) /* Signed 5-bit immediate. */
return "mov %1,%0";
- else if (CONST_OK_FOR_K (value)) /* Signed 16 bit immediate. */
+ else if (CONST_OK_FOR_K (value)) /* Signed 16-bit immediate. */
return "movea lo(%1),%.,%0";
else if (CONST_OK_FOR_L (value)) /* Upper 16 bits were set. */
@@ -876,10 +876,10 @@ output_move_single (rtx * operands)
const_double_split (src, &high, &low);
- if (CONST_OK_FOR_J (high)) /* Signed 5 bit immediate. */
+ if (CONST_OK_FOR_J (high)) /* Signed 5-bit immediate. */
return "mov %F1,%0";
- else if (CONST_OK_FOR_K (high)) /* Signed 16 bit immediate. */
+ else if (CONST_OK_FOR_K (high)) /* Signed 16-bit immediate. */
return "movea lo(%F1),%.,%0";
else if (CONST_OK_FOR_L (high)) /* Upper 16 bits were set. */
@@ -1921,7 +1921,7 @@ Saved %d bytes via epilogue function (%d vs. %d) in function %s\n",
}
}
- /* If no epilog save function is available, restore the registers the
+ /* If no epilogue save function is available, restore the registers the
old fashioned way (one by one). */
if (!restore_all)
{
diff --git a/gcc/config/v850/v850.h b/gcc/config/v850/v850.h
index 45bcead..b669153 100644
--- a/gcc/config/v850/v850.h
+++ b/gcc/config/v850/v850.h
@@ -179,7 +179,7 @@ extern struct small_memory_info small_memory[(int)SMALL_MEMORY_max];
/* Allocation boundary (in *bits*) for storing arguments in argument list. */
#define PARM_BOUNDARY 32
-/* The stack goes in 32 bit lumps. */
+/* The stack goes in 32-bit lumps. */
#define STACK_BOUNDARY 32
/* Allocation boundary (in *bits*) for the code of a function.
@@ -387,19 +387,19 @@ enum reg_class
#define INT_8_BITS(VALUE) ((unsigned) (VALUE) + 0x80 < 0x100)
/* zero */
#define CONST_OK_FOR_I(VALUE) ((VALUE) == 0)
-/* 5 bit signed immediate */
+/* 5-bit signed immediate */
#define CONST_OK_FOR_J(VALUE) ((unsigned) (VALUE) + 0x10 < 0x20)
-/* 16 bit signed immediate */
+/* 16-bit signed immediate */
#define CONST_OK_FOR_K(VALUE) ((unsigned) (VALUE) + 0x8000 < 0x10000)
/* valid constant for movhi instruction. */
#define CONST_OK_FOR_L(VALUE) \
(((unsigned) ((int) (VALUE) >> 16) + 0x8000 < 0x10000) \
&& CONST_OK_FOR_I ((VALUE & 0xffff)))
-/* 16 bit unsigned immediate */
+/* 16-bit unsigned immediate */
#define CONST_OK_FOR_M(VALUE) ((unsigned)(VALUE) < 0x10000)
-/* 5 bit unsigned immediate in shift instructions */
+/* 5-bit unsigned immediate in shift instructions */
#define CONST_OK_FOR_N(VALUE) ((unsigned) (VALUE) <= 31)
-/* 9 bit signed immediate for word multiply instruction. */
+/* 9-bit signed immediate for word multiply instruction. */
#define CONST_OK_FOR_O(VALUE) ((unsigned) (VALUE) + 0x100 < 0x200)
#define CONST_OK_FOR_P(VALUE) 0
diff --git a/gcc/config/v850/v850.md b/gcc/config/v850/v850.md
index 9b35306..6ef34c7 100644
--- a/gcc/config/v850/v850.md
+++ b/gcc/config/v850/v850.md
@@ -185,7 +185,7 @@
}")
;; This is the same as the following pattern, except that it includes
-;; support for arbitrary 32 bit immediates.
+;; support for arbitrary 32-bit immediates.
;; ??? This always loads addresses using hilo. If the only use of this address
;; was in a load/store, then we would get smaller code if we only loaded the
@@ -409,7 +409,7 @@
;; ??? The scheduling info is probably wrong.
-;; ??? This instruction can also generate the 32 bit highpart, but using it
+;; ??? This instruction can also generate the 32-bit highpart, but using it
;; may increase code size counter to the desired result.
;; ??? This instructions can also give a DImode result.
@@ -1646,7 +1646,7 @@
;; ----------------------------------------------------------------------
-;; HELPER INSTRUCTIONS for saving the prologue and epilog registers
+;; HELPER INSTRUCTIONS for saving the prologue and epilogue registers
;; ----------------------------------------------------------------------
;; This pattern will match a stack adjust RTX followed by any number of push