fixunssfsi.c: Replace H8/S with H8S.
authorKazu Hirata <kazu@cs.umass.edu>
Fri, 13 Sep 2002 20:35:07 +0000 (20:35 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Fri, 13 Sep 2002 20:35:07 +0000 (20:35 +0000)
* config/h8300/fixunssfsi.c: Replace H8/S with H8S.
* config/h8300/h8300.c: Likewise.
* config/h8300/h8300.h: Likewise.
* config/h8300/h8300.md: Likewise.
* doc/invoke.texi: Likewise.

From-SVN: r57118

gcc/ChangeLog
gcc/config/h8300/fixunssfsi.c
gcc/config/h8300/h8300.c
gcc/config/h8300/h8300.h
gcc/config/h8300/h8300.md
gcc/doc/invoke.texi

index 3767a43e15570a6e0c5ebcca831ae187417d83ca..6fd649e03ea8d4d7018d6ceef3b1492c8e184ce6 100644 (file)
@@ -1,3 +1,11 @@
+2002-09-13  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/fixunssfsi.c: Replace H8/S with H8S.
+       * config/h8300/h8300.c: Likewise.
+       * config/h8300/h8300.h: Likewise.
+       * config/h8300/h8300.md: Likewise.
+       * doc/invoke.texi: Likewise.
+
 2002-09-13  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/h8300/h8300.c (h8300_init_once): Fix formatting.
index 80339f2599d86ca458608e00f9a076475bf72fd4..87c288292979f39bd00921163e25e033aef52978 100644 (file)
@@ -30,7 +30,7 @@ Boston, MA 02111-1307, USA.  */
 
 /* The libgcc2.c implementation gets confused by our type setup and creates
    a directly recursive call, so we do our own implementation.  For
-   the H8/300, that's in lib1funcs.asm, for H8/300H and H8/S, it's here.  */
+   the H8/300, that's in lib1funcs.asm, for H8/300H and H8S, it's here.  */
 
 #ifndef __H8300__
 long
index a3e1979328a9133bb9d052ea3d6945e3b300e1d8..f6f6aad6db5e9dab7ce496976dd75b2d3659d5d8 100644 (file)
@@ -301,7 +301,7 @@ h8300_init_once ()
     }
   else
     {
-      /* For this we treat the H8/300H and H8/S the same.  */
+      /* For this we treat the H8/300H and H8S the same.  */
       cpu_type = (int) CPU_H8300H;
       h8_reg_names = names_extended;
     }
@@ -392,7 +392,7 @@ dosize (file, op, size)
      const char *op;
      unsigned int size;
 {
-  /* On the H8/300H and H8/S, for sizes <= 8 bytes, it is as good or
+  /* On the H8/300H and H8S, for sizes <= 8 bytes, it is as good or
      better to use adds/subs insns rather than add.l/sub.l with an
      immediate value.
 
@@ -2036,7 +2036,7 @@ compute_logical_op_cc (mode, operands)
 
    We devote a fair bit of code to getting efficient shifts since we
    can only shift one bit at a time on the H8/300 and H8/300H and only
-   one or two bits at a time on the H8/S.
+   one or two bits at a time on the H8S.
 
    All shift code falls into one of the following ways of
    implementation:
@@ -2055,7 +2055,7 @@ compute_logical_op_cc (mode, operands)
      16.  This case also includes other oddballs that are not worth
      explaning here.
 
-   o SHIFT_LOOP: Emit a loop using one (or two on H8/S) bit shifts.
+   o SHIFT_LOOP: Emit a loop using one (or two on H8S) bit shifts.
 
    Here are some thoughts on what the absolutely positively best code
    is.  "Best" here means some rational trade-off between code size
@@ -2120,15 +2120,15 @@ compute_logical_op_cc (mode, operands)
             do 24 bit shift, inline rest
    31     - shll, subx byte 0, sign extend byte 0, sign extend word 0
 
-   H8/S QImode shifts
+   H8S QImode shifts
    7      - ASHIFTRT: shll, subx (propagate carry bit to all bits)
 
-   H8/S HImode shifts
+   H8S HImode shifts
    8      - move byte, zero (ASHIFT | LSHIFTRT) or sign extend other (ASHIFTRT)
    9-12   - do shift by 8, inline remaining shifts
    15     - ASHIFTRT: shll, subx, set other byte
 
-   H8/S SImode shifts
+   H8S SImode shifts
    (These are complicated by the fact that we don't have byte level access to
    the top word.)
    A word is: bytes 3,2,1,0 (msb -> lsb), word 1,0 (msw -> lsw)
@@ -2812,7 +2812,7 @@ h8300_shift_needs_scratch_p (count, mode)
       abort ();
     }
 
-  /* On H8/300H and H8/S, count == 8 uses the scratch register.  */
+  /* On H8/300H and H8S, count == 8 uses the scratch register.  */
   return (a == SHIFT_LOOP || lr == SHIFT_LOOP || ar == SHIFT_LOOP
          || (!TARGET_H8300 && mode == SImode && count == 8));
 }
@@ -3304,7 +3304,7 @@ emit_a_rotate (code, operands)
          break;
 
        case SImode:
-         /* This code works on the H8/300H and H8/S.  */
+         /* This code works on the H8/300H and H8S.  */
          insn_buf = "xor.w\t%e0,%f0\n\txor.w\t%f0,%e0\n\txor.w\t%e0,%f0";
          output_asm_insn (insn_buf, operands);
          break;
@@ -3728,7 +3728,7 @@ h8300_adjust_insn_length (insn, length)
        }
       else
        {
-         /* On the H8/300H and H8/S, we subtract the difference
+         /* On the H8/300H and H8S, we subtract the difference
              between the actual length and the longest one, which is
              @(d:24,ERs).  */
 
@@ -3837,7 +3837,7 @@ h8300_adjust_insn_length (insn, length)
          states += 6;
        }
 
-      /* We use 2-bit rotatations on the H8/S.  */
+      /* We use 2-bit rotatations on the H8S.  */
       if (TARGET_H8300S)
        amount = amount / 2 + amount % 2;
 
index f291c12b09ad6436065002c448f28eef09d530ec..0fc4a375663025351b4be1dc382a728b05057656 100644 (file)
@@ -115,10 +115,10 @@ extern int target_flags;
    An empty string NAME is used to identify the default VALUE.  */
 
 #define TARGET_SWITCHES  \
-  { {"s",              1,     N_("Generate H8/S code")},               \
-    {"no-s",           -1,    N_("Do not generate H8/S code")},        \
-    {"s2600",          2,     N_("Generate H8/S2600 code")},           \
-    {"no-s2600",       -2,    N_("Do not generate H8/S2600 code")},    \
+  { {"s",              1,     N_("Generate H8S code")},                \
+    {"no-s",           -1,    N_("Do not generate H8S code")}, \
+    {"s2600",          2,     N_("Generate H8S/2600 code")},           \
+    {"no-s2600",       -2,    N_("Do not generate H8S/2600 code")},    \
     {"int32",          8,     N_("Make integers 32 bits wide")},       \
     {"addresses",      64,    NULL},                                   \
     {"quickcall",      128,                                            \
@@ -228,7 +228,7 @@ extern int target_flags;
 #define PCC_BITFIELD_TYPE_MATTERS  0
 
 /* No data type wants to be aligned rounder than this.
-   32 bit values are aligned as such on the H8/300H and H8/S for speed.  */
+   32 bit values are aligned as such on the H8/300H and H8S for speed.  */
 #define BIGGEST_ALIGNMENT \
 (((TARGET_H8300H || TARGET_H8300S) && ! TARGET_ALIGN_300) ? 32 : 16)
 
@@ -835,7 +835,7 @@ struct cum_arg
           && (INTVAL (X) & 0x0000FFFF) <= 0xffff)))
 
 /* Nonzero if X is a constant address suitable as an 16-bit absolute
-   on H8/300H and H8/S.  */
+   on H8/300H and H8S.  */
 
 #define TINY_CONSTANT_ADDRESS_P(X)                                     \
   ((GET_CODE (X) == CONST_INT)                                         \
@@ -851,7 +851,7 @@ struct cum_arg
    i.e. a register, register indirect, or the eightbit memory region
    (a SYMBOL_REF with an SYMBOL_REF_FLAG set).
 
-   On the H8/S 'U' can also be a 16bit or 32bit absolute.  */
+   On the H8S 'U' can also be a 16bit or 32bit absolute.  */
 #define OK_FOR_U(OP)                                                   \
   ((GET_CODE (OP) == REG && REG_OK_FOR_BASE_P (OP))                    \
    || (GET_CODE (OP) == MEM && GET_CODE (XEXP (OP, 0)) == REG          \
index 6b4c05902f3379c5bddf49879fa71d323c5ebd59..5df7be3e0c5b6c9df8862a2b48a9afd2329c9b60 100644 (file)
@@ -28,7 +28,7 @@
 ;; "worst case" and then be adjusted to their correct values by
 ;; h8300_adjust_insn_length.
 
-;; On the H8/300H and H8/S, adds/subs operate on the 32bit "er"
+;; On the H8/300H and H8S, adds/subs operate on the 32bit "er"
 ;; registers.  Right now GCC doesn't expose the "e" half to the
 ;; compiler, so using add/subs for addhi and subhi is safe.  Long
 ;; term, we want to expose the "e" half to the compiler (gives us 8
 
 ;; Call subroutine with no return value.
 
-;; ??? Even though we use HImode here, this works on the H8/300H and H8/S.
+;; ??? Even though we use HImode here, this works on the H8/300H and H8S.
 
 (define_insn "call"
   [(call (match_operand:QI 0 "call_insn_operand" "or")
 ;; Call subroutine, returning value in operand 0
 ;; (which must be a hard register).
 
-;; ??? Even though we use HImode here, this works on the H8/300H and H8/S.
+;; ??? Even though we use HImode here, this works on the H8/300H and H8S.
 
 (define_insn "call_value"
   [(set (match_operand 0 "" "=r")
index 25f6ec4ef172b9e450d347258a256f621dfd6de8..48d87a2ec48e27e5ea50c4da392f6ae915122575 100644 (file)
@@ -8381,11 +8381,11 @@ Generate code for the H8/300H@.
 
 @item -ms
 @opindex ms
-Generate code for the H8/S@.
+Generate code for the H8S@.
 
 @item -ms2600
 @opindex ms2600
-Generate code for the H8/S2600.  This switch must be used with @option{-ms}.
+Generate code for the H8S/2600.  This switch must be used with @option{-ms}.
 
 @item -mint32
 @opindex mint32
@@ -8393,8 +8393,8 @@ Make @code{int} data 32 bits by default.
 
 @item -malign-300
 @opindex malign-300
-On the H8/300H and H8/S, use the same alignment rules as for the H8/300.
-The default for the H8/300H and H8/S is to align longs and floats on 4
+On the H8/300H and H8S, use the same alignment rules as for the H8/300.
+The default for the H8/300H and H8S is to align longs and floats on 4
 byte boundaries.
 @option{-malign-300} causes them to be aligned on 2 byte boundaries.
 This option has no effect on the H8/300.