Commit 56135456 by Michael Meissner Committed by Michael Meissner

rs6000-cpus.def (-mvsx-scalar-float): Delete undocumented debugging options.

2017-08-21  Michael Meissner  <meissner@linux.vnet.ibm.com>

	* config/rs6000/rs6000-cpus.def (-mvsx-scalar-float): Delete
	undocumented debugging options.
	(-mvsx-scalar-double): Likewise.
	(-mallow-df-permute): Likewise.
	(-mvectorize-builtins): Likewise.
	* config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok):
	Likewise.
	(rs6000_builtin_vectorized_function): Likewise.
	(rs6000_builtin_md_vectorized_function): Likewise.
	(rs6000_opt_vars): Likewise.

From-SVN: r251248
parent 3d9850f4
2017-08-21 Michael Meissner <meissner@linux.vnet.ibm.com>
* config/rs6000/rs6000-cpus.def (-mvsx-scalar-float): Delete
undocumented debugging options.
(-mvsx-scalar-double): Likewise.
(-mallow-df-permute): Likewise.
(-mvectorize-builtins): Likewise.
* config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok):
Likewise.
(rs6000_builtin_vectorized_function): Likewise.
(rs6000_builtin_md_vectorized_function): Likewise.
(rs6000_opt_vars): Likewise.
2017-08-21 Uros Bizjak <ubizjak@gmail.com> 2017-08-21 Uros Bizjak <ubizjak@gmail.com>
PR target/46091 PR target/46091
......
...@@ -3128,14 +3128,14 @@ rs6000_init_hard_regno_mode_ok (bool global_init_p) ...@@ -3128,14 +3128,14 @@ rs6000_init_hard_regno_mode_ok (bool global_init_p)
/* DFmode, see if we want to use the VSX unit. Memory is handled /* DFmode, see if we want to use the VSX unit. Memory is handled
differently, so don't set rs6000_vector_mem. */ differently, so don't set rs6000_vector_mem. */
if (TARGET_VSX && TARGET_VSX_SCALAR_DOUBLE) if (TARGET_VSX)
{ {
rs6000_vector_unit[DFmode] = VECTOR_VSX; rs6000_vector_unit[DFmode] = VECTOR_VSX;
rs6000_vector_align[DFmode] = 64; rs6000_vector_align[DFmode] = 64;
} }
/* SFmode, see if we want to use the VSX unit. */ /* SFmode, see if we want to use the VSX unit. */
if (TARGET_P8_VECTOR && TARGET_VSX_SCALAR_FLOAT) if (TARGET_P8_VECTOR)
{ {
rs6000_vector_unit[SFmode] = VECTOR_VSX; rs6000_vector_unit[SFmode] = VECTOR_VSX;
rs6000_vector_align[SFmode] = 32; rs6000_vector_align[SFmode] = 32;
...@@ -5909,8 +5909,7 @@ rs6000_builtin_vectorized_function (unsigned int fn, tree type_out, ...@@ -5909,8 +5909,7 @@ rs6000_builtin_vectorized_function (unsigned int fn, tree type_out,
GET_MODE_NAME (TYPE_MODE (type_in))); GET_MODE_NAME (TYPE_MODE (type_in)));
if (TREE_CODE (type_out) != VECTOR_TYPE if (TREE_CODE (type_out) != VECTOR_TYPE
|| TREE_CODE (type_in) != VECTOR_TYPE || TREE_CODE (type_in) != VECTOR_TYPE)
|| !TARGET_VECTORIZE_BUILTINS)
return NULL_TREE; return NULL_TREE;
out_mode = TYPE_MODE (TREE_TYPE (type_out)); out_mode = TYPE_MODE (TREE_TYPE (type_out));
...@@ -6041,8 +6040,7 @@ rs6000_builtin_md_vectorized_function (tree fndecl, tree type_out, ...@@ -6041,8 +6040,7 @@ rs6000_builtin_md_vectorized_function (tree fndecl, tree type_out,
GET_MODE_NAME (TYPE_MODE (type_in))); GET_MODE_NAME (TYPE_MODE (type_in)));
if (TREE_CODE (type_out) != VECTOR_TYPE if (TREE_CODE (type_out) != VECTOR_TYPE
|| TREE_CODE (type_in) != VECTOR_TYPE || TREE_CODE (type_in) != VECTOR_TYPE)
|| !TARGET_VECTORIZE_BUILTINS)
return NULL_TREE; return NULL_TREE;
out_mode = TYPE_MODE (TREE_TYPE (type_out)); out_mode = TYPE_MODE (TREE_TYPE (type_out));
...@@ -36251,9 +36249,6 @@ static struct rs6000_opt_var const rs6000_opt_vars[] = ...@@ -36251,9 +36249,6 @@ static struct rs6000_opt_var const rs6000_opt_vars[] =
{ "allow-movmisalign", { "allow-movmisalign",
offsetof (struct gcc_options, x_TARGET_ALLOW_MOVMISALIGN), offsetof (struct gcc_options, x_TARGET_ALLOW_MOVMISALIGN),
offsetof (struct cl_target_option, x_TARGET_ALLOW_MOVMISALIGN), }, offsetof (struct cl_target_option, x_TARGET_ALLOW_MOVMISALIGN), },
{ "allow-df-permute",
offsetof (struct gcc_options, x_TARGET_ALLOW_DF_PERMUTE),
offsetof (struct cl_target_option, x_TARGET_ALLOW_DF_PERMUTE), },
{ "sched-groups", { "sched-groups",
offsetof (struct gcc_options, x_TARGET_SCHED_GROUPS), offsetof (struct gcc_options, x_TARGET_SCHED_GROUPS),
offsetof (struct cl_target_option, x_TARGET_SCHED_GROUPS), }, offsetof (struct cl_target_option, x_TARGET_SCHED_GROUPS), },
...@@ -36263,9 +36258,6 @@ static struct rs6000_opt_var const rs6000_opt_vars[] = ...@@ -36263,9 +36258,6 @@ static struct rs6000_opt_var const rs6000_opt_vars[] =
{ "align-branch-targets", { "align-branch-targets",
offsetof (struct gcc_options, x_TARGET_ALIGN_BRANCH_TARGETS), offsetof (struct gcc_options, x_TARGET_ALIGN_BRANCH_TARGETS),
offsetof (struct cl_target_option, x_TARGET_ALIGN_BRANCH_TARGETS), }, offsetof (struct cl_target_option, x_TARGET_ALIGN_BRANCH_TARGETS), },
{ "vectorize-builtins",
offsetof (struct gcc_options, x_TARGET_VECTORIZE_BUILTINS),
offsetof (struct cl_target_option, x_TARGET_VECTORIZE_BUILTINS), },
{ "tls-markers", { "tls-markers",
offsetof (struct gcc_options, x_tls_markers), offsetof (struct gcc_options, x_tls_markers),
offsetof (struct cl_target_option, x_tls_markers), }, offsetof (struct cl_target_option, x_tls_markers), },
...@@ -196,14 +196,6 @@ mvsx ...@@ -196,14 +196,6 @@ mvsx
Target Report Mask(VSX) Var(rs6000_isa_flags) Target Report Mask(VSX) Var(rs6000_isa_flags)
Use vector/scalar (VSX) instructions. Use vector/scalar (VSX) instructions.
mvsx-scalar-float
Target Undocumented Report Var(TARGET_VSX_SCALAR_FLOAT) Init(1)
; If -mpower8-vector, use VSX arithmetic instructions for SFmode (on by default)
mvsx-scalar-double
Target Undocumented Report Var(TARGET_VSX_SCALAR_DOUBLE) Init(1)
; If -mvsx, use VSX arithmetic instructions for DFmode (on by default)
mvsx-align-128 mvsx-align-128
Target Undocumented Report Var(TARGET_VSX_ALIGN_128) Save Target Undocumented Report Var(TARGET_VSX_ALIGN_128) Save
; If -mvsx, set alignment to 128 bits instead of 32/64 ; If -mvsx, set alignment to 128 bits instead of 32/64
...@@ -216,10 +208,6 @@ mefficient-unaligned-vsx ...@@ -216,10 +208,6 @@ mefficient-unaligned-vsx
Target Undocumented Report Mask(EFFICIENT_UNALIGNED_VSX) Var(rs6000_isa_flags) Target Undocumented Report Mask(EFFICIENT_UNALIGNED_VSX) Var(rs6000_isa_flags)
; Consider unaligned VSX vector and fp accesses to be efficient ; Consider unaligned VSX vector and fp accesses to be efficient
mallow-df-permute
Target Undocumented Var(TARGET_ALLOW_DF_PERMUTE) Save
; Allow permutation of DF/DI vectors
msched-groups msched-groups
Target Undocumented Report Var(TARGET_SCHED_GROUPS) Init(-1) Save Target Undocumented Report Var(TARGET_SCHED_GROUPS) Init(-1) Save
; Explicitly set rs6000_sched_groups ; Explicitly set rs6000_sched_groups
...@@ -232,10 +220,6 @@ malign-branch-targets ...@@ -232,10 +220,6 @@ malign-branch-targets
Target Undocumented Report Var(TARGET_ALIGN_BRANCH_TARGETS) Init(-1) Save Target Undocumented Report Var(TARGET_ALIGN_BRANCH_TARGETS) Init(-1) Save
; Explicitly set rs6000_align_branch_targets ; Explicitly set rs6000_align_branch_targets
mvectorize-builtins
Target Undocumented Report Var(TARGET_VECTORIZE_BUILTINS) Init(-1) Save
; Explicitly control whether we vectorize the builtins or not.
mno-update mno-update
Target Report RejectNegative Mask(NO_UPDATE) Var(rs6000_isa_flags) Target Report RejectNegative Mask(NO_UPDATE) Var(rs6000_isa_flags)
Do not generate load/store with update instructions. Do not generate load/store with update instructions.
......
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