i386.h (SHIFT_COUNT_TRUNCATED): Expand comment.
authorUros Bizjak <uros@gcc.gnu.org>
Thu, 15 Jul 2010 06:09:38 +0000 (08:09 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 15 Jul 2010 06:09:38 +0000 (08:09 +0200)
* config/i386/i386.h (SHIFT_COUNT_TRUNCATED): Expand comment.

From-SVN: r162206

gcc/ChangeLog
gcc/config/i386/i386.h

index 2c1518d6ab4af93f990fff3e917ca7c71282311c..3a2e01b82caa4be92b7f44ce2a23c254d3dd6a2a 100644 (file)
@@ -1,10 +1,13 @@
+2010-07-15  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.h (SHIFT_COUNT_TRUNCATED): Expand comment.
+
 2010-07-15  Magnus Granberg  <zorry@gentoo.org>
            Kevin F. Quinn  <kevquinn@gentoo.org>
 
-        * builtins.c (expand_builtin_init_trampoline): If
-       -Wtrampolines make a warning.
-       * common.opt:   Add -Wtrampolines.
-        * doc/invoke.texi:      Add -Wtrampolines.
+       * builtins.c (expand_builtin_init_trampoline): Warn for -Wtrampolines.
+       * common.opt: Add -Wtrampolines.
+       * doc/invoke.texi: Add -Wtrampolines.
 
 2010-07-15  Jie Zhang  <jie@codesourcery.com>
 
@@ -84,8 +87,7 @@
 2010-07-14  Bernd Schmidt  <bernds@codesourcery.com>
 
        * ira-int.h (struct ira_object): New.
-       (ira_object_t): New typedef.  Add DEF_VEC_P and DEF_VEC_ALLOC_P
-       for it.
+       (ira_object_t): New typedef.  Add DEF_VEC_P and DEF_VEC_ALLOC_P for it.
        (struct ira_allocno): Remove members min, max,
        conflict_allocno_array, conflict_id, conflict_allocno_array_size,
        conflict_allocnos_num and conflict_vec_p.  Add new member object.
        (ira_allocno_conflict_iter_init, ira_allocno_conflict_iter_cond):
        Changed to take into account that conflicts are now tracked for
        objects.
-       * ira-conflicts.c (OBJECTS_CONFLICT_P): Renamed from
-       CONFLICT_ALLOCNO_P.  Args changed to accept ira_object_t.  All
-       uses changed.
+       * ira-conflicts.c (OBJECTS_CONFLICT_P): Renamed from CONFLICT_ALLOCNO_P.
+       Args changed to accept ira_object_t.  All uses changed.
        (allocnos_conflict_p): New static function.
        (collected_conflict_objects): Renamed from collected_allocno_objects;
        now a vector of ira_object_t.  All uses changed.
        compress_conflict_vecs, remove_low_level_allocnos, ira_flattening,
        setup_min_max_allocno_live_range_point, allocno_range_compare_func,
        setup_min_max_conflict_allocno_ids, ):  Likewise.
-       ((add_to_conflicts): Renamed from add_to_allocno_conflicts, args changed
+       (add_to_conflicts): Renamed from add_to_allocno_conflicts, args changed
        to ira_object_t; all callers changed.
        (ira_add_conflict): Renamed from ira_add_allocno_conflict, args changed
        to ira_object_t, all callers changed.
        dealing with objects.
        * ira.c (ira_bad_reload_regno_1): Adjusted for dealing with objects.
 
-       * ira-int.h (struct live_range): Rename allocno member to object and change
-       type to ira_object_t.
+       * ira-int.h (struct live_range): Rename allocno member to object
+       and change type to ira_object_t.
        (struct ira_object): New member live_ranges.
        (struct ira_allocno): Remove member live_ranges.
        (ALLOCNO_LIVE_RANGES): Remove.
        changed to ira_object_t, all callers changed.
        (copy_live_range): Rename from copy_allocno_live_range, all callers
        changed.
-       (ira_copy_live_range_list): Rename from ira_copy_allocno_live_range_list,
-       all callers changed.
+       (ira_copy_live_range_list): Rename from
+       ira_copy_allocno_live_range_list, all callers changed.
        (ira_merge_live_ranges): Rename from ira_merge_allocno_live_range_list,
        all callers changed.
        (ira_live_ranges_intersect_p): Rename from
        (can_copy_p): Remove can_copy_init_p.
        * target-globals.h (this_target_gcse): Declare.
        (target_globals): Add a gcse field.
-       (restore_target_globals): Copy the gcse field to
-       this_target_gcse.
+       (restore_target_globals): Copy the gcse field to this_target_gcse.
        * target-globals.c: Include gcse.h.
        (default_target_globals): Initialize the gcse field.
        (save_target_globals): Likewise.
 
 2010-07-12  Richard Sandiford  <rdsandiford@googlemail.com>
 
-       * regs.h (target_regs): Add x_hard_regs_of_mode, x_contains_reg_of_mode,
-       x_move_cost, x_may_move_in_cost, x_may_move_out_cost and
-       x_last_mode_for_init_move_cost.
+       * regs.h (target_regs): Add x_hard_regs_of_mode,
+       x_contains_reg_of_mode, x_move_cost, x_may_move_in_cost,
+       x_may_move_out_cost and x_last_mode_for_init_move_cost.
        (have_regs_of_mode, contains_reg_of_mode, move_cost)
        (may_move_in_cost, may_move_out_cost): Redefine as macros.
        * reginfo.c (have_regs_of_mode, contains_reg_of_mode, move_cost)
index eb3eb9f69b59e2c69328dc8a21c6e78a24dd1366..b5c6b9ae2f9f7411e53c94bacd35198719263d5a 100644 (file)
@@ -1815,10 +1815,11 @@ typedef struct ix86_args {
 
 #define CLEAR_RATIO(speed) ((speed) ? MIN (6, ix86_cost->move_ratio) : 2)
 
-/* Define if shifts truncate the shift count
-   which implies one can omit a sign-extension or zero-extension
-   of a shift count.  */
-/* On i386, shifts do truncate the count.  But bit opcodes don't.  */
+/* Define if shifts truncate the shift count which implies one can
+   omit a sign-extension or zero-extension of a shift count.
+
+   On i386, shifts do truncate the count.  But bit test instructions
+   take the modulo of the bit offset operand.  */
 
 /* #define SHIFT_COUNT_TRUNCATED */