Re: [PATCH 2/3] [ARC] Do not emit ZOL in the presence of text jump tables.

2018-11-13 Thread Andrew Burgess
* Claudiu Zissulescu [2018-11-12 13:25:12 +0200]: > Avoid emitting lp instruction when in its ZOL body we find a jump table data > in text section. > > gcc/ > -xx-xx Claudiu Zissulescu > > * config/arc/arc.c (hwloop_optimize): Bailout when detecting a > jump table data in the

[PATCH 2/3] [ARC] Do not emit ZOL in the presence of text jump tables.

2018-11-12 Thread Claudiu Zissulescu
Avoid emitting lp instruction when in its ZOL body we find a jump table data in text section. gcc/ -xx-xx Claudiu Zissulescu * config/arc/arc.c (hwloop_optimize): Bailout when detecting a jump table data in the text section. --- gcc/config/arc/arc.c | 12 +++- 1 fi