[PATCH] arc: Add --with-fpu support for ARCv2 cpus

Jeff Law jeffreyalaw@gmail.com
Sat Jun 5 05:46:01 GMT 2021

On 6/4/2021 1:29 AM, Claudiu Zissulescu via Gcc-patches wrote:
> Hi Jeff,
> I would like to add spport for selecting the ARCv2 FPU extension at
> configuration-time.
> The --with-fpu configuration option is ignored when -mfpu compiler
> option is specified.
> My concern is using `grep -P` when configuring. Is that ok?
> Thanks,
> Claudiu
> gcc/
> yyyy-mm-dd  Claudiu Zissulescu  <claziss@synopsys.com>
> 	* config.gcc (arc): Add support for with_cpu option.
> 	* config/arc/arc.h (OPTION_DEFAULT_SPECS): Add fpu.
I strongly suspect -P is a GNU-ism and probably won't work on other 
hosts were GCC is still used.  I'd avoid it and look for an alternate 


More information about the Gcc-patches mailing list