Commit 982afe02 by Geoffrey Keating Committed by Geoffrey Keating

* config/rs6000/rs6000.c: Clean up trailing whitespace.

From-SVN: r122066
parent 8e53f957
2007-02-16 Geoffrey Keating <geoffk@apple.com>
* config/rs6000/rs6000.c: Clean up trailing whitespace.
2007-02-16 Uros Bizjak <ubizjak@gmail.com> 2007-02-16 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.h (x86_use_xchgb): New. * config/i386/i386.h (x86_use_xchgb): New.
......
...@@ -696,7 +696,7 @@ static bool is_load_insn (rtx); ...@@ -696,7 +696,7 @@ static bool is_load_insn (rtx);
static rtx get_store_dest (rtx pat); static rtx get_store_dest (rtx pat);
static bool is_store_insn (rtx); static bool is_store_insn (rtx);
static bool set_to_load_agen (rtx,rtx); static bool set_to_load_agen (rtx,rtx);
static bool adjacent_mem_locations (rtx,rtx); static bool adjacent_mem_locations (rtx,rtx);
static int rs6000_adjust_priority (rtx, int); static int rs6000_adjust_priority (rtx, int);
static int rs6000_issue_rate (void); static int rs6000_issue_rate (void);
static bool rs6000_is_costly_dependence (dep_t, int, int); static bool rs6000_is_costly_dependence (dep_t, int, int);
...@@ -1639,7 +1639,7 @@ rs6000_override_options (const char *default_cpu) ...@@ -1639,7 +1639,7 @@ rs6000_override_options (const char *default_cpu)
rs6000_cost = &ppc630_cost; rs6000_cost = &ppc630_cost;
break; break;
case PROCESSOR_CELL: case PROCESSOR_CELL:
rs6000_cost = &ppccell_cost; rs6000_cost = &ppccell_cost;
break; break;
...@@ -1686,14 +1686,14 @@ rs6000_builtin_conversion (enum tree_code code, tree type) ...@@ -1686,14 +1686,14 @@ rs6000_builtin_conversion (enum tree_code code, tree type)
{ {
if (!TARGET_ALTIVEC) if (!TARGET_ALTIVEC)
return NULL_TREE; return NULL_TREE;
switch (code) switch (code)
{ {
case FLOAT_EXPR: case FLOAT_EXPR:
switch (TYPE_MODE (type)) switch (TYPE_MODE (type))
{ {
case V4SImode: case V4SImode:
return TYPE_UNSIGNED (type) ? return TYPE_UNSIGNED (type) ?
rs6000_builtin_decls[ALTIVEC_BUILTIN_VCFUX] : rs6000_builtin_decls[ALTIVEC_BUILTIN_VCFUX] :
rs6000_builtin_decls[ALTIVEC_BUILTIN_VCFSX]; rs6000_builtin_decls[ALTIVEC_BUILTIN_VCFSX];
default: default:
...@@ -1714,7 +1714,7 @@ rs6000_builtin_mul_widen_even (tree type) ...@@ -1714,7 +1714,7 @@ rs6000_builtin_mul_widen_even (tree type)
switch (TYPE_MODE (type)) switch (TYPE_MODE (type))
{ {
case V8HImode: case V8HImode:
return TYPE_UNSIGNED (type) ? return TYPE_UNSIGNED (type) ?
rs6000_builtin_decls[ALTIVEC_BUILTIN_VMULEUH] : rs6000_builtin_decls[ALTIVEC_BUILTIN_VMULEUH] :
rs6000_builtin_decls[ALTIVEC_BUILTIN_VMULESH]; rs6000_builtin_decls[ALTIVEC_BUILTIN_VMULESH];
...@@ -7514,7 +7514,7 @@ altivec_expand_vec_init_builtin (tree type, tree exp, rtx target) ...@@ -7514,7 +7514,7 @@ altivec_expand_vec_init_builtin (tree type, tree exp, rtx target)
gcc_assert (VECTOR_MODE_P (tmode)); gcc_assert (VECTOR_MODE_P (tmode));
gcc_assert (n_elt == call_expr_nargs (exp)); gcc_assert (n_elt == call_expr_nargs (exp));
for (i = 0; i < n_elt; ++i) for (i = 0; i < n_elt; ++i)
{ {
rtx x = expand_normal (CALL_EXPR_ARG (exp, i)); rtx x = expand_normal (CALL_EXPR_ARG (exp, i));
...@@ -8176,7 +8176,7 @@ rs6000_expand_builtin (tree exp, rtx target, rtx subtarget ATTRIBUTE_UNUSED, ...@@ -8176,7 +8176,7 @@ rs6000_expand_builtin (tree exp, rtx target, rtx subtarget ATTRIBUTE_UNUSED,
if (call_expr_nargs (exp) == 1) if (call_expr_nargs (exp) == 1)
exp = build_call_nary (TREE_TYPE (exp), CALL_EXPR_FN (exp), exp = build_call_nary (TREE_TYPE (exp), CALL_EXPR_FN (exp),
2, CALL_EXPR_ARG (exp, 0), integer_zero_node); 2, CALL_EXPR_ARG (exp, 0), integer_zero_node);
} }
if (TARGET_ALTIVEC) if (TARGET_ALTIVEC)
{ {
...@@ -13046,7 +13046,7 @@ first_altivec_reg_to_save (void) ...@@ -13046,7 +13046,7 @@ first_altivec_reg_to_save (void)
return LAST_ALTIVEC_REGNO + 1; return LAST_ALTIVEC_REGNO + 1;
/* On Darwin, the unwind routines are compiled without /* On Darwin, the unwind routines are compiled without
TARGET_ALTIVEC, and use save_world to save/restore the TARGET_ALTIVEC, and use save_world to save/restore the
altivec registers when necessary. */ altivec registers when necessary. */
if (DEFAULT_ABI == ABI_DARWIN && current_function_calls_eh_return if (DEFAULT_ABI == ABI_DARWIN && current_function_calls_eh_return
&& ! TARGET_ALTIVEC) && ! TARGET_ALTIVEC)
...@@ -13070,7 +13070,7 @@ compute_vrsave_mask (void) ...@@ -13070,7 +13070,7 @@ compute_vrsave_mask (void)
unsigned int i, mask = 0; unsigned int i, mask = 0;
/* On Darwin, the unwind routines are compiled without /* On Darwin, the unwind routines are compiled without
TARGET_ALTIVEC, and use save_world to save/restore the TARGET_ALTIVEC, and use save_world to save/restore the
call-saved altivec registers when necessary. */ call-saved altivec registers when necessary. */
if (DEFAULT_ABI == ABI_DARWIN && current_function_calls_eh_return if (DEFAULT_ABI == ABI_DARWIN && current_function_calls_eh_return
&& ! TARGET_ALTIVEC) && ! TARGET_ALTIVEC)
...@@ -13417,7 +13417,7 @@ rs6000_stack_info (void) ...@@ -13417,7 +13417,7 @@ rs6000_stack_info (void)
info_ptr->vrsave_save_offset info_ptr->vrsave_save_offset
= info_ptr->gp_save_offset - info_ptr->vrsave_size; = info_ptr->gp_save_offset - info_ptr->vrsave_size;
/* Align stack so vector save area is on a quadword boundary. /* Align stack so vector save area is on a quadword boundary.
The padding goes above the vectors. */ The padding goes above the vectors. */
if (info_ptr->altivec_size != 0) if (info_ptr->altivec_size != 0)
info_ptr->altivec_padding_size info_ptr->altivec_padding_size
...@@ -14691,7 +14691,7 @@ rs6000_emit_prologue (void) ...@@ -14691,7 +14691,7 @@ rs6000_emit_prologue (void)
GEN_INT (info->lr_save_offset GEN_INT (info->lr_save_offset
+ sp_offset)); + sp_offset));
rtx mem = gen_frame_mem (reg_mode, addr); rtx mem = gen_frame_mem (reg_mode, addr);
RTVEC_ELT (p, j++) = gen_rtx_SET (VOIDmode, mem, reg0); RTVEC_ELT (p, j++) = gen_rtx_SET (VOIDmode, mem, reg0);
} }
/* Explain what happens to the stack pointer. */ /* Explain what happens to the stack pointer. */
...@@ -16889,7 +16889,7 @@ rs6000_adjust_cost (rtx insn, rtx link, rtx dep_insn, int cost) ...@@ -16889,7 +16889,7 @@ rs6000_adjust_cost (rtx insn, rtx link, rtx dep_insn, int cost)
|| rs6000_cpu_attr == CPU_CELL) || rs6000_cpu_attr == CPU_CELL)
&& recog_memoized (dep_insn) && recog_memoized (dep_insn)
&& (INSN_CODE (dep_insn) >= 0)) && (INSN_CODE (dep_insn) >= 0))
switch (get_attr_type (dep_insn)) switch (get_attr_type (dep_insn))
{ {
case TYPE_CMP: case TYPE_CMP:
...@@ -17432,7 +17432,7 @@ rs6000_use_sched_lookahead_guard (rtx insn) ...@@ -17432,7 +17432,7 @@ rs6000_use_sched_lookahead_guard (rtx insn)
if (insn == NULL_RTX || !INSN_P (insn)) if (insn == NULL_RTX || !INSN_P (insn))
abort (); abort ();
if (!reload_completed if (!reload_completed
|| is_nonpipeline_insn (insn) || is_nonpipeline_insn (insn)
|| is_microcoded_insn (insn)) || is_microcoded_insn (insn))
...@@ -18389,7 +18389,7 @@ static void ...@@ -18389,7 +18389,7 @@ static void
rs6000_sched_init (FILE *dump ATTRIBUTE_UNUSED, rs6000_sched_init (FILE *dump ATTRIBUTE_UNUSED,
int sched_verbose ATTRIBUTE_UNUSED, int sched_verbose ATTRIBUTE_UNUSED,
int max_ready ATTRIBUTE_UNUSED) int max_ready ATTRIBUTE_UNUSED)
{ {
last_scheduled_insn = NULL_RTX; last_scheduled_insn = NULL_RTX;
load_store_pendulum = 0; load_store_pendulum = 0;
} }
......
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