Re: [gcc-10 PATCH, i386]: Use accessible_reg_set to disable unsupported register sets

2019-05-07 Thread Uros Bizjak
On Wed, Nov 28, 2018 at 12:38 PM Richard Sandiford wrote: > > Uros Bizjak writes: > > diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c > > index 21bdcdaeaa35..691e0c7c1b0b 100644 > > --- a/gcc/cfgexpand.c > > +++ b/gcc/cfgexpand.c > > @@ -2981,6 +2981,14 @@ expand_asm_stmt (gasm *stmt) > >

Re: [gcc-10 PATCH, i386]: Use accessible_reg_set to disable unsupported register sets

2018-11-28 Thread Richard Sandiford
Uros Bizjak writes: > diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c > index 21bdcdaeaa35..691e0c7c1b0b 100644 > --- a/gcc/cfgexpand.c > +++ b/gcc/cfgexpand.c > @@ -2981,6 +2981,14 @@ expand_asm_stmt (gasm *stmt) > regname); > return; > }

[gcc-10 PATCH, i386]: Use accessible_reg_set to disable unsupported register sets

2018-11-27 Thread Uros Bizjak
Hello! This patch is based on the discussion in PR88178. Apparently, MIPS uses accessible_reg_set array to disable register sets, unsupported by currently active ISAs. The patch implements the same approach for x86, which also results in IMO better error messages. The middle-end misses to error ou