diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2000-04-10 16:18:21 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2000-04-10 16:18:21 +0000 |
commit | 4b7ee6157ab47830d9b198c2f968dbef9388e768 (patch) | |
tree | 9ec67c01ad5da2b351a0eb8c1ca52cbc4af6d209 | |
parent | 08158df35aaccfdb532a7ad441f5f2a93513b9df (diff) | |
download | gcc-4b7ee6157ab47830d9b198c2f968dbef9388e768.zip gcc-4b7ee6157ab47830d9b198c2f968dbef9388e768.tar.gz gcc-4b7ee6157ab47830d9b198c2f968dbef9388e768.tar.bz2 |
rtl.def (ASHIFT, [...]): Recomment.
* rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
Recomment.
* tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
From-SVN: r33060
-rw-r--r-- | gcc/ChangeLog | 50 | ||||
-rw-r--r-- | gcc/rtl.def | 14 | ||||
-rw-r--r-- | gcc/tree.def | 4 |
3 files changed, 11 insertions, 57 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6e68d12..b1dd20e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,48 +1,8 @@ -Mon Apr 10 07:21:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> - - * sbitmap.h: Whitespace changes and use upper-case macro args. - (struct simple_bitmap_def): All sizes now unsigned. - (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_. - * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars. - (sbitmap_vector_alloc): Parms and local vars now unsigned. - (sbitmap_zero): Cast bzero arg to PTR. - (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned. - (sbitmap_union_of_diffs): Change loop index to unsigned and rework - loop to make structure clearer. - (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise. - (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise. - (sbitmap_a_and_b_or_c): Likewise. - (sbitmap_intersection_of_succs): Minor cleanups. - (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise. - (sbitmap_union_of_preds): Likewise. - (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned. - (debug_sbitmap): New function. - - * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE. - * c-typeck.c (convert_for_assignment): Likewise. - - * expmed.c (init_expmed): Don't free objects we make. - * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups. - - * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases. - (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field. - - * gcse.c (expr_hash_table_size): Now unsigned. - (compute_ae_gen): Local variable `i' now unsigned. - (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise. - (compute_transout, hoist_code): Likewise. - (compute_local_properties): Likewise, also hash_table_size. - (alloc_expr_hash_table): N_INSNS now unsigned. - (delete_null_pointer_checks): Mark arg F as unused. +2000-04-10 Nathan Sidwell <nathan@codesourcery.com> - * regrename.c: Minor cleanups, including chang some variables - to unsigned int. - -2000-04-10 Neil Booth <NeilB@earthling.net> - - * cpplex.c (skip_block_comment): Use pointer arithmetic rather - than GETC (). - * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New. + * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT): + Recomment. + * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment. 2000-04-10 Martin v. Löwis <loewis@informatik.hu-berlin.de> @@ -23607,5 +23567,3 @@ Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com) gcc-2.95 branch. See ChangeLog.1 for earlier changes. - -
\ No newline at end of file diff --git a/gcc/rtl.def b/gcc/rtl.def index 69c14e0..58d24e9 100644 --- a/gcc/rtl.def +++ b/gcc/rtl.def @@ -688,15 +688,11 @@ DEF_RTL_EXPR(NOT, "not", "e", '1') /* Operand: 0: value to be shifted. 1: number of bits. */ -DEF_RTL_EXPR(ASHIFT, "ashift", "ee", '2') -DEF_RTL_EXPR(ROTATE, "rotate", "ee", '2') - -/* Right shift operations, for machines where these are not the same - as left shifting with a negative argument. */ - -DEF_RTL_EXPR(ASHIFTRT, "ashiftrt", "ee", '2') -DEF_RTL_EXPR(LSHIFTRT, "lshiftrt", "ee", '2') -DEF_RTL_EXPR(ROTATERT, "rotatert", "ee", '2') +DEF_RTL_EXPR(ASHIFT, "ashift", "ee", '2') /* shift left */ +DEF_RTL_EXPR(ROTATE, "rotate", "ee", '2') /* rotate left */ +DEF_RTL_EXPR(ASHIFTRT, "ashiftrt", "ee", '2') /* arithmetic shift right */ +DEF_RTL_EXPR(LSHIFTRT, "lshiftrt", "ee", '2') /* logical shift right */ +DEF_RTL_EXPR(ROTATERT, "rotatert", "ee", '2') /* rotate right */ /* Minimum and maximum values of two operands. We need both signed and unsigned forms. (We cannot use MIN for SMIN because it conflicts diff --git a/gcc/tree.def b/gcc/tree.def index 92bc594..e3fb8b4 100644 --- a/gcc/tree.def +++ b/gcc/tree.def @@ -602,8 +602,8 @@ DEFTREECODE (ABS_EXPR, "abs_expr", '1', 1) DEFTREECODE (FFS_EXPR, "ffs_expr", '1', 1) /* Shift operations for shift and rotate. - Shift is supposed to mean logical shift if done on an - unsigned type, arithmetic shift on a signed type. + Shift means logical shift if done on an + unsigned type, arithmetic shift if done on a signed type. The second operand is the number of bits to shift by; it need not be the same type as the first operand and result. */ DEFTREECODE (LSHIFT_EXPR, "lshift_expr", '2', 2) |