On Wed, May 25, 2016 at 4:38 AM, Uros Bizjak <ubiz...@gmail.com> wrote: > On Tue, May 24, 2016 at 11:47 PM, Joseph Myers <jos...@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? >
It works. Thanks. -- H.J.