aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2016-01-04 18:35:34 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-01-04 18:35:34 +0000
commit9d871e98c80898042fb8cfd20a58feadae1ba60c (patch)
tree67c0a99a7bfa160e0736741a7e09e64c6d0f0c0d
parent02467650210aab057ba17ec43a94d17e001f62af (diff)
parent020413b1ab0181745b3ac86e20fa51dce1589266 (diff)
downloadtoolchain_gcc-ndk-r11c.zip
toolchain_gcc-ndk-r11c.tar.gz
toolchain_gcc-ndk-r11c.tar.bz2
Merge "[4.9] Disable inlining of memcpy for x86 with 'rep movs'."ndk-r11cndk-r11bndk-r11ndk-r11-release
-rw-r--r--gcc-4.9/gcc/config/i386/i386.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc-4.9/gcc/config/i386/i386.c b/gcc-4.9/gcc/config/i386/i386.c
index fab5c88..9f57c6e 100644
--- a/gcc-4.9/gcc/config/i386/i386.c
+++ b/gcc-4.9/gcc/config/i386/i386.c
@@ -1673,7 +1673,7 @@ struct processor_costs atom_cost = {
};
static stringop_algs slm_memcpy[2] = {
- {libcall, {{11, loop, false}, {-1, rep_prefix_4_byte, false}}},
+ {libcall, {{11, loop, false}, {-1, libcall, false}}},
{libcall, {{32, loop, false}, {64, rep_prefix_4_byte, false},
{8192, rep_prefix_8_byte, false}, {-1, libcall, false}}}};
static stringop_algs slm_memset[2] = {