Is this OK for trunk? On Sun, Aug 7, 2011 at 7:18 PM, H.J. Lu <hjl.to...@gmail.com> wrote: > On Sat, Aug 6, 2011 at 9:05 AM, H.J. Lu <hjl.to...@gmail.com> wrote: >> Ping. AVX2 support depends on this patch. >> > >>> --- >>> 2011-08-04 H.J. Lu <hongjiu...@intel.com> >>> Igor Zamyatin <igor.zamya...@intel.com> >>> >>> * hwint.h (HOST_WIDE_INT_1): New. >>> >>> * opt-functions.awk (switch_bit_fields): Initialize the >>> host_wide_int field. >>> (host_wide_int_var_name): New. >>> (var_type_struct): Check and return HOST_WIDE_INT. >>> >>> * opt-read.awk: Handle HOST_WIDE_INT for "Variable". >>> >>> * optc-save-gen.awk: Support HOST_WIDE_INT on var_target_other. >>> >>> * opth-gen.awk: Use HOST_WIDE_INT_1 on HOST_WIDE_INT. Properly >>> check masks for HOST_WIDE_INT. >>> >>> * opts-common.c (set_option): Support HOST_WIDE_INT Flag_var. >>> >>> * opts.h (cl_option): Add cl_host_wide_int. Change var_value >>> to HOST_WIDE_INT. >>> >>> * config/i386/i386-c.c (ix86_target_macros_internal): Replace int >>> with HOST_WIDE_INT for isa_flag. >>> (ix86_pragma_target_parse): Replace int with HOST_WIDE_INT for >>> isa variables. >>> >>> * config/i386/i386.c (ix86_target_string): Replace int with >>> HOST_WIDE_INT for isa. Use HOST_WIDE_INT_PRINT to print isa. >>> (ix86_target_opts): Replace int with HOST_WIDE_INT on mask. >>> (pta_flags): Removed. >>> (PTA_XXX): Redefined as (HOST_WIDE_INT_1 << X). >>> (pta): Use HOST_WIDE_INT on flags. >>> (builtin_isa): Use HOST_WIDE_INT on isa. >>> (ix86_add_new_builtins): Likewise. >>> (def_builtin): Use HOST_WIDE_INT on mask. >>> (def_builtin_const): Likewise. >>> (builtin_description): Likewise. >>> >>> * config/i386/i386.opt (ix86_isa_flags): Replace int with >>> HOST_WIDE_INT. >>> (ix86_isa_flags_explicit): Likewise. >>> (x_ix86_isa_flags_explicit): Likewise. >>> >> >> >> >> -- >> H.J. >> > > HOST_BITS_PER_WIDE_INT isn't defined in target library. > I need to check if HOST_BITS_PER_WIDE_INT is defined > first. Here is the updated patch. > > > > -- > H.J. >
-- H.J.