target-tricore: Make TRICORE_FEATURES implying others.
commit47e04430ed3e6ab835f023a5c84381ca2ce9f4d8
authorBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Thu, 13 Nov 2014 14:17:08 +0000 (13 14:17 +0000)
committerBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Wed, 10 Dec 2014 11:13:45 +0000 (10 11:13 +0000)
treefa88d0ea36390c6913a662d419024323c196722e
parent0974257ed58ff3e9512d74ffa5b4039bbec49b2d
target-tricore: Make TRICORE_FEATURES implying others.

Since all the TriCore instructionsets are subsets of each other (1.3 C 1.3.1 C 1.6),
make the features implying each other, e.g 1.6 also has 1.3.1 and 1.3. This way
we only need to check our features for the instructionset, where a instruction was first introduced.

Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Reviewed-by: Richard Henderson <rth@twiddle.net>
target-tricore/cpu.c
target-tricore/translate.c