Commit 47a0672f authored by manojkumar.bhosale's avatar manojkumar.bhosale Committed by Commit bot

Modified MIPS MSA default argument settings

1. Disabled msa by default
2. Removed compiler flags

R=dpranke@chromium.org
BUG=

Review-Url: https://codereview.chromium.org/2326453002
Cr-Commit-Position: refs/heads/master@{#419419}
parent 9913cc54
...@@ -576,8 +576,6 @@ config("compiler_cpu_abi") { ...@@ -576,8 +576,6 @@ config("compiler_cpu_abi") {
cflags += [ cflags += [
"-mmsa", "-mmsa",
"-mfp64", "-mfp64",
"-msched-weight",
"-mload-store-pairs",
] ]
} }
} else if (mips_arch_variant == "r2") { } else if (mips_arch_variant == "r2") {
...@@ -660,8 +658,6 @@ config("compiler_cpu_abi") { ...@@ -660,8 +658,6 @@ config("compiler_cpu_abi") {
cflags += [ cflags += [
"-mmsa", "-mmsa",
"-mfp64", "-mfp64",
"-msched-weight",
"-mload-store-pairs",
] ]
} }
} else if (mips_arch_variant == "r2") { } else if (mips_arch_variant == "r2") {
......
...@@ -23,7 +23,7 @@ if (current_cpu == "mipsel" || v8_current_cpu == "mipsel") { ...@@ -23,7 +23,7 @@ if (current_cpu == "mipsel" || v8_current_cpu == "mipsel") {
mips_dsp_rev = 0 mips_dsp_rev = 0
# MIPS SIMD Arch compilation flag. # MIPS SIMD Arch compilation flag.
mips_use_msa = true mips_use_msa = false
# MIPS floating-point ABI. Possible values are: # MIPS floating-point ABI. Possible values are:
# "hard": sets the GCC -mhard-float option. # "hard": sets the GCC -mhard-float option.
...@@ -50,6 +50,9 @@ if (current_cpu == "mipsel" || v8_current_cpu == "mipsel") { ...@@ -50,6 +50,9 @@ if (current_cpu == "mipsel" || v8_current_cpu == "mipsel") {
} else { } else {
declare_args() { declare_args() {
mips_arch_variant = "r2" mips_arch_variant = "r2"
# MIPS SIMD Arch compilation flag.
mips_use_msa = false
} }
} }
} }
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