aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAmit Pawar <amit.pawar@amd.com>2017-02-14 09:27:06 +0000
committerVenkataramanan Kumar <vekumar@gcc.gnu.org>2017-02-14 09:27:06 +0000
commitc8431fc9b528c3d2adfddeb4961e1477b9a3d4a9 (patch)
tree8bb1a62e6daeb1526242e6fb5d113d3b2462e956 /gcc
parent1be33173de27a37c1efdb814fd26e421f667579a (diff)
downloadgcc-c8431fc9b528c3d2adfddeb4961e1477b9a3d4a9.zip
gcc-c8431fc9b528c3d2adfddeb4961e1477b9a3d4a9.tar.gz
gcc-c8431fc9b528c3d2adfddeb4961e1477b9a3d4a9.tar.bz2
Fix alignemnt and max skip bytes for znver1 arch.
2017-02-14 Amit Pawar <amit.pawar@amd.com> * config/i386/i386.c (znver1_cost): Fix the alignment for function and max skip bytes for function, loop and jump. From-SVN: r245423
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/i386.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4a0d713..a308204 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2017-02-14 Amit Pawar <amit.pawar@amd.com>
+
+ * config/i386/i386.c (znver1_cost): Fix the alignment for function and
+ max skip bytes for function, loop and jump.
+
2017-02-14 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
* gimple-pretty-print.c (dump_unary_rhs): Adjust dump format for
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index d7dce4b..d9a4a38 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -2672,7 +2672,7 @@ static const struct ptt processor_target_table[PROCESSOR_max] =
{"bdver4", &bdver4_cost, 16, 10, 16, 7, 11},
{"btver1", &btver1_cost, 16, 10, 16, 7, 11},
{"btver2", &btver2_cost, 16, 10, 16, 7, 11},
- {"znver1", &znver1_cost, 16, 10, 16, 7, 11}
+ {"znver1", &znver1_cost, 16, 15, 16, 15, 16}
};
static unsigned int