On 5/23/19 4:27 AM, Segher Boessenkool wrote:
> Hi!
>
> On Wed, May 22, 2019 at 03:29:17PM -0500, Bill Schmidt wrote:
>> + /* -mpcrel requires the prefixed load/store support on FUTURE systems. */
>> + if (!TARGET_FUTURE && TARGET_PCREL)
>> +{
>> + if ((rs6000_isa_flags_explicit & OPTIO
Hi!
On Wed, May 22, 2019 at 03:29:17PM -0500, Bill Schmidt wrote:
> + /* -mpcrel requires the prefixed load/store support on FUTURE systems. */
> + if (!TARGET_FUTURE && TARGET_PCREL)
> +{
> + if ((rs6000_isa_flags_explicit & OPTION_MASK_PCREL) != 0)
> + error ("%qs requires %qs",
On 5/22/19 3:29 PM, Bill Schmidt wrote:
> Hi,
>
> This patch adds basic infrastructure support to enable PC-relative addressing.
> It adds the -mpcrel / -mno-pcrel option (defaulted on for -mcpu=future,
> otherwise
> off), and provides a couple of interfaces to determine whether PC-relative
> addr
Hi,
This patch adds basic infrastructure support to enable PC-relative addressing.
It adds the -mpcrel / -mno-pcrel option (defaulted on for -mcpu=future,
otherwise
off), and provides a couple of interfaces to determine whether PC-relative
addressing should be used when generating a single functi