Committed with your feedback in. Thank you,
Claudiu
Thank you all for your review. The patch is pushed with your input in.
//Claudiu
Hi,
>
> This removes the compact-casesi as an option for earlier ARC, right?
> Was there a reason why that had to be done?
>
The compact-casesi was only designed for ARCv1 types of CPUs. Unfortunately, it
was error prone leading to all kinds of runtime and compile time errors. Fixing
it will
On 10/10/2018 02:00 AM, Claudiu Zissulescu wrote:
Use BI/BIH instruction to implement casesi pattern. Only ARC V2.
Very minor nit in the documentation part of this patch:
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 802cc642453..454587310c8 100644
--- a/gcc/doc/invoke.texi
+++
* Claudiu Zissulescu [2018-10-10 11:00:13 +0300]:
> Use BI/BIH instruction to implement casesi pattern. Only ARC V2.
This removes the compact-casesi as an option for earlier ARC, right?
Was there a reason why that had to be done?
>
> gcc/
> 2018-03-21 Claudiu Zissulescu
>
> * config/
Use BI/BIH instruction to implement casesi pattern. Only ARC V2.
gcc/
2018-03-21 Claudiu Zissulescu
* config/arc/arc.c (arc_override_options): Remove
TARGET_COMPACT_CASESI.
* config/arc/arc.h (ASM_OUTPUT_ADDR_DIFF_ELT): Update.
(CASE_VECTOR_MODE): Likewise.