This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use flag_general_regs_only with -mgeneral-regs-only


On Tue, May 24, 2016 at 11:47 PM, Joseph Myers <joseph@codesourcery.com> wrote:
> On Tue, 24 May 2016, Uros Bizjak wrote:
>
>> > I have thrown together a quick patch that defines target_flags as HOST_WIDE_INT.
>> >
>> > (Patch still needs a small correction, so opth-gen.awk will emit
>> > HOST_WIDE_INT_1 for MASK_* defines, have to go now, but I was able to
>> > compile functional x86_64-apple-darwin15.5.0 crosscompiler.)
>>
>> And here is attached complete (but untested!!) patch that should "just
>> work"(TM).
>
> Have you made sure that cl_host_wide_int gets set for options in
> target_flags, so that get_option_state, option_enabled etc. work correctly
> with such options?

Hm, no ...

Let's leave target_flags in its current state, and add additional
ix86_target_flags.

I'm currently testing attached patch, it also removes two unneded
option variables.

HJ, does this patch work for your?

Uros.

Attachment: p.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]