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 <claz...@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
solution.
jeff