public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH v4 1/4] rs6000: Enable REE pass by default
@ 2023-04-21 12:54 Ajit Agarwal
  2023-04-22 13:26 ` Segher Boessenkool
  0 siblings, 1 reply; 3+ messages in thread
From: Ajit Agarwal @ 2023-04-21 12:54 UTC (permalink / raw)
  To: gcc-patches; +Cc: Segher Boessenkool, Peter Bergner, Jeff Law, Richard Biener

Hello All:

This patch enable REE pass by default at O2 and above.
Bootstrapped and regtested on powerpc64-linux-gnu.

Thanks & Regards
Ajit

	rs6000: Enable REE pass by default

	Add ree pass as a default pass for rs6000 target for
	O2 and above.

	2023-04-21  Ajit Kumar Agarwal  <aagarwa1@linux.ibm.com>

gcc/ChangeLog:

	* common/config/rs6000/rs6000-common.cc: Add REE pass as a
	default rs6000 target pass for O2 and above.
---
 gcc/common/config/rs6000/rs6000-common.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/common/config/rs6000/rs6000-common.cc b/gcc/common/config/rs6000/rs6000-common.cc
index 2140c442ba9..968db215028 100644
--- a/gcc/common/config/rs6000/rs6000-common.cc
+++ b/gcc/common/config/rs6000/rs6000-common.cc
@@ -34,6 +34,8 @@ static const struct default_options rs6000_option_optimization_table[] =
     { OPT_LEVELS_ALL, OPT_fsplit_wide_types_early, NULL, 1 },
     /* Enable -fsched-pressure for first pass instruction scheduling.  */
     { OPT_LEVELS_1_PLUS, OPT_fsched_pressure, NULL, 1 },
+    /* Enable -free for zero extension and sign extension elimination.*/
+    { OPT_LEVELS_2_PLUS, OPT_free, NULL, 1 },
     /* Enable -munroll-only-small-loops with -funroll-loops to unroll small
        loops at -O2 and above by default.  */
     { OPT_LEVELS_2_PLUS_SPEED_ONLY, OPT_funroll_loops, NULL, 1 },
-- 
2.31.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v4 1/4] rs6000: Enable REE pass by default
  2023-04-21 12:54 [PATCH v4 1/4] rs6000: Enable REE pass by default Ajit Agarwal
@ 2023-04-22 13:26 ` Segher Boessenkool
  2023-04-22 13:38   ` Ajit Agarwal
  0 siblings, 1 reply; 3+ messages in thread
From: Segher Boessenkool @ 2023-04-22 13:26 UTC (permalink / raw)
  To: Ajit Agarwal; +Cc: gcc-patches, Peter Bergner, Jeff Law, Richard Biener

Hi!

Please look at
<https://inbox.sourceware.org/gcc-patches/20230419200011.GG19790@gate.crashing.org/>
and reply to that message, with answers to the questions?  And make sure
you are listed in MAINTAINERS before anything else.  Thanks!


Segher

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v4 1/4] rs6000: Enable REE pass by default
  2023-04-22 13:26 ` Segher Boessenkool
@ 2023-04-22 13:38   ` Ajit Agarwal
  0 siblings, 0 replies; 3+ messages in thread
From: Ajit Agarwal @ 2023-04-22 13:38 UTC (permalink / raw)
  To: Segher Boessenkool; +Cc: gcc-patches, Peter Bergner, Jeff Law, Richard Biener

Hello Segher:

On 22/04/23 6:56 pm, Segher Boessenkool wrote:
> Hi!
> 
> Please look at
> <https://inbox.sourceware.org/gcc-patches/20230419200011.GG19790@gate.crashing.org/>
> and reply to that message, with answers to the questions?  And make sure
> you are listed in MAINTAINERS before anything else.  Thanks!
> 

Done.

Thanks & Regards
Ajit
> 
> Segher

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-04-22 13:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-21 12:54 [PATCH v4 1/4] rs6000: Enable REE pass by default Ajit Agarwal
2023-04-22 13:26 ` Segher Boessenkool
2023-04-22 13:38   ` Ajit Agarwal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).