Re: [PATCH]i386: Add BDESC2 for ix86_isa_flags2 and refine all related.

2019-01-22 Thread H.J. Lu
On Tue, Jan 22, 2019 at 1:27 AM Uros Bizjak wrote: > > On Tue, Jan 22, 2019 at 7:57 AM Hongtao Liu wrote: > > > This is adjusted patch: Modify BDESC to accept two flags and merge > > ARGS2/SPEICAL_ARGS2 into ARGS/SPECIAL_ARGS. > > Bootstrap test is ok, no regression on x86 backend testcases. > >

Re: [PATCH]i386: Add BDESC2 for ix86_isa_flags2 and refine all related.

2019-01-22 Thread Uros Bizjak
On Tue, Jan 22, 2019 at 7:57 AM Hongtao Liu wrote: > This is adjusted patch: Modify BDESC to accept two flags and merge > ARGS2/SPEICAL_ARGS2 into ARGS/SPECIAL_ARGS. > Bootstrap test is ok, no regression on x86 backend testcases. > > Changelog: > --- > gcc/ > > 2019-01-21 Hongtao Liu > H.J.

Re: [PATCH]i386: Add BDESC2 for ix86_isa_flags2 and refine all related.

2019-01-21 Thread Uros Bizjak
On Mon, Jan 21, 2019 at 11:00 AM Hongtao Liu wrote: > > Hi Uros, > > There are > > struct builtin_description > { > const HOST_WIDE_INT mask; > const enum insn_code icode; > const char *const name; > const enum ix86_builtins code; > const enum rtx_code comparison; > const int flag; > }

[PATCH]i386: Add BDESC2 for ix86_isa_flags2 and refine all related.

2019-01-21 Thread Hongtao Liu
Hi Uros, There are struct builtin_description { const HOST_WIDE_INT mask; const enum insn_code icode; const char *const name; const enum ix86_builtins code; const enum rtx_code comparison; const int flag; }; Since "mask" is used for both ix86_isa_flags and ix86_isa_flags2, buitins wi