Thanks for the review.
On 05/24/2017 02:52 AM, Eric Botcazou wrote:
OK for all active branches, but the ChangeLog entry should be something like:
* config/sparc/sparc.md (length): Return the correct value for -mflat
sibcalls to match output_sibcall.
Will do.
Note that we *
@@
+2017-05-23 Sheldon Lobo
+
+ * config/sparc/sparc.md: Set the number of instructions correctly
+ for -mflat sibcalls, to match output_sibcall().
+
2017-05-18 Michael Meissner
PR target/80510
diff --git a/gcc/config/sparc/sparc.md b/gcc/config/sparc/sparc.md
index
On 05/19/2017 02:45 PM, Eric Botcazou wrote:
This 4/4 commit needs to contain gcc/config/sparc/sparc.c, gcc/ChangeLog,
gcc/testsuite/gcc.target/sparc/niagara7-align.c and gcc/testsuite/ChangeLog.
The rule is that you put the ChangeLog entry into the ChangeLog file of the
directory where the ch
On 05/17/2017 04:11 PM, Eric Botcazou wrote:
* config/sparc/sparc.c (sparc_option_override): Set function
alignment for -mcpu=niagara7 to 64 to match the I$ line.
* testsuite/gcc.target/sparc/niagara7-align.c: Test case with
-mcpu=niagara7 -falign-functions.
The
* config/sparc/sparc.h (BRANCH_COST): Set the SPARC M7 branch
latency to 1.
---
gcc/config/sparc/sparc.h |7 +--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h
index 6277738..686a3d5 100644
--- a/gcc/config
* config/sparc/sparc.c (sparc_option_override): Set function
alignment for -mcpu=niagara7 to 64 to match the I$ line.
* testsuite/gcc.target/sparc/niagara7-align.c: Test case with
-mcpu=niagara7 -falign-functions.
---
gcc/config/sparc/sparc.c
* config/sparc/sparc.h (BRANCH_COST): Set the SPARC T4 branch
latency to 2.
---
gcc/config/sparc/sparc.h |8 ++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h
index 590a5f4..6277738 100644
--- a/gcc/confi
bytes.
Thanks!
Sheldon Lobo (4):
Fix typo in config/sparc/sol2.h
Add a branch cost for SPARC T4.
Add a branch cost for SPARC M7.
Set function alignment for M7 to 8 bytes.
gcc/config/sparc/sol2.h |2 +-
gcc/config/sparc/sparc.c| 13
* config/sparc/sol2.h: Fix a ASM_CPU32_DEFAULT_SPEC typo.
---
gcc/config/sparc/sol2.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h
index db24ca3..8a50bfe 100644
--- a/gcc/config/sparc/sol2.h
+++ b/gcc/config/spa