diff mbox series

rs6000: One more bit of PC-relative enablement

Message ID 4691f747-3892-bc16-9819-99edb333143a@linux.ibm.com
State New
Headers show
Series rs6000: One more bit of PC-relative enablement | expand

Commit Message

Bill Schmidt May 22, 2019, 10:15 p.m. UTC
Hi,

My last patch was a result of refactoring, and I missed one important line.
Bootstrapped and tested on powerpc64le-unknown-linux-gnu; okay for turnk
with the other patch?

Thanks,
Bill


2019-05-22  Bill Schmidt  <wschmidt@linux.ibm.com>
	    Michael Meissner  <meissner@linux.ibm.com>

	* config/rs6000/rs6000.c (rs6000_opt_mask): Add entry for pcrel.

Comments

Segher Boessenkool May 23, 2019, 9:45 a.m. UTC | #1
On Wed, May 22, 2019 at 05:15:05PM -0500, Bill Schmidt wrote:
> My last patch was a result of refactoring, and I missed one important line.
> Bootstrapped and tested on powerpc64le-unknown-linux-gnu; okay for turnk
> with the other patch?

Okay for trunk.  Thanks!


Segher


> 	* config/rs6000/rs6000.c (rs6000_opt_mask): Add entry for pcrel.
diff mbox series

Patch

diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 68abc81c354..959e222c9cb 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -36282,6 +36282,7 @@  static struct rs6000_opt_mask const rs6000_opt_masks[] =
   { "modulo",			OPTION_MASK_MODULO,		false, true  },
   { "mulhw",			OPTION_MASK_MULHW,		false, true  },
   { "multiple",			OPTION_MASK_MULTIPLE,		false, true  },
+  { "pcrel",			OPTION_MASK_PCREL,		false, true  },
   { "popcntb",			OPTION_MASK_POPCNTB,		false, true  },
   { "popcntd",			OPTION_MASK_POPCNTD,		false, true  },
   { "power8-fusion",		OPTION_MASK_P8_FUSION,		false, true  },