Commit 4b7ee615 by Nathan Sidwell Committed by Nathan Sidwell

rtl.def (ASHIFT, [...]): Recomment.

	* rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
	Recomment.
	* tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.

From-SVN: r33060
parent 08158df3
Mon Apr 10 07:21:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> 2000-04-10 Nathan Sidwell <nathan@codesourcery.com>
* 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.
* regrename.c: Minor cleanups, including chang some variables * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
to unsigned int. Recomment.
* tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
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.
2000-04-10 Martin v. Lwis <loewis@informatik.hu-berlin.de> 2000-04-10 Martin v. Lwis <loewis@informatik.hu-berlin.de>
...@@ -23607,5 +23567,3 @@ Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com) ...@@ -23607,5 +23567,3 @@ Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
gcc-2.95 branch. gcc-2.95 branch.
See ChangeLog.1 for earlier changes. See ChangeLog.1 for earlier changes.
\ No newline at end of file
...@@ -688,15 +688,11 @@ DEF_RTL_EXPR(NOT, "not", "e", '1') ...@@ -688,15 +688,11 @@ DEF_RTL_EXPR(NOT, "not", "e", '1')
/* Operand: /* Operand:
0: value to be shifted. 0: value to be shifted.
1: number of bits. */ 1: number of bits. */
DEF_RTL_EXPR(ASHIFT, "ashift", "ee", '2') DEF_RTL_EXPR(ASHIFT, "ashift", "ee", '2') /* shift left */
DEF_RTL_EXPR(ROTATE, "rotate", "ee", '2') DEF_RTL_EXPR(ROTATE, "rotate", "ee", '2') /* rotate left */
DEF_RTL_EXPR(ASHIFTRT, "ashiftrt", "ee", '2') /* arithmetic shift right */
/* Right shift operations, for machines where these are not the same DEF_RTL_EXPR(LSHIFTRT, "lshiftrt", "ee", '2') /* logical shift right */
as left shifting with a negative argument. */ DEF_RTL_EXPR(ROTATERT, "rotatert", "ee", '2') /* rotate right */
DEF_RTL_EXPR(ASHIFTRT, "ashiftrt", "ee", '2')
DEF_RTL_EXPR(LSHIFTRT, "lshiftrt", "ee", '2')
DEF_RTL_EXPR(ROTATERT, "rotatert", "ee", '2')
/* Minimum and maximum values of two operands. We need both signed and /* Minimum and maximum values of two operands. We need both signed and
unsigned forms. (We cannot use MIN for SMIN because it conflicts unsigned forms. (We cannot use MIN for SMIN because it conflicts
......
...@@ -602,8 +602,8 @@ DEFTREECODE (ABS_EXPR, "abs_expr", '1', 1) ...@@ -602,8 +602,8 @@ DEFTREECODE (ABS_EXPR, "abs_expr", '1', 1)
DEFTREECODE (FFS_EXPR, "ffs_expr", '1', 1) DEFTREECODE (FFS_EXPR, "ffs_expr", '1', 1)
/* Shift operations for shift and rotate. /* Shift operations for shift and rotate.
Shift is supposed to mean logical shift if done on an Shift means logical shift if done on an
unsigned type, arithmetic shift on a signed type. unsigned type, arithmetic shift if done on a signed type.
The second operand is the number of bits to The second operand is the number of bits to
shift by; it need not be the same type as the first operand and result. */ shift by; it need not be the same type as the first operand and result. */
DEFTREECODE (LSHIFT_EXPR, "lshift_expr", '2', 2) DEFTREECODE (LSHIFT_EXPR, "lshift_expr", '2', 2)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment