This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/2][ARC] Add support for ARCv2 CPUs




On 30/10/15 11:19, Claudiu Zissulescu wrote:
Hi,

Please find the updated patch. I will defer the secondary reload optimization which will use the ld  instructions with LIMM, for the time being.


Apart from the gen_compare_reg change, the patch is OK.
If the v2 support mostly works like support for the other subtargets, you may check it in without the gen_compare_reg
change.
If that change is required because of particular code paths taken with the v2 port, you may check in the whole patch.

The operand-swapping in gen_compare_reg was not expected to be triggered when re-generating a comparison, as comparisons gleaned from existing instructions are supposed to already have the operands in the right order. Do you have a testcase that triggers the assert independently from the v2 support? If you can name a pre-existing testcase to trigger the assert, the patch is approved for separate check-in. If you have a new testcase, is it in a form and of a legal status that it can be submitted for inclusion in the
gcc regression tests suite?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]