8169697: AArch64: Vectorized MLA instruction not generated for some test cases
Add AddVB/S/I/L/F/D node to commut_op_list, as well as other commutative vector operations. Reviewed-by: roland, kvn
This commit is contained in:
parent
cbfb8634d0
commit
851569b2f4
@ -3792,11 +3792,16 @@ bool MatchNode::equivalent(FormDict &globals, MatchNode *mNode2) {
|
|||||||
void MatchNode::count_commutative_op(int& count) {
|
void MatchNode::count_commutative_op(int& count) {
|
||||||
static const char *commut_op_list[] = {
|
static const char *commut_op_list[] = {
|
||||||
"AddI","AddL","AddF","AddD",
|
"AddI","AddL","AddF","AddD",
|
||||||
|
"AddVB","AddVS","AddVI","AddVL","AddVF","AddVD",
|
||||||
"AndI","AndL",
|
"AndI","AndL",
|
||||||
|
"AndV",
|
||||||
"MaxI","MinI",
|
"MaxI","MinI",
|
||||||
"MulI","MulL","MulF","MulD",
|
"MulI","MulL","MulF","MulD",
|
||||||
"OrI" ,"OrL" ,
|
"MulVS","MulVI","MulVL","MulVF","MulVD",
|
||||||
"XorI","XorL"
|
"OrI","OrL",
|
||||||
|
"OrV",
|
||||||
|
"XorI","XorL",
|
||||||
|
"XorV"
|
||||||
};
|
};
|
||||||
int cnt = sizeof(commut_op_list)/sizeof(char*);
|
int cnt = sizeof(commut_op_list)/sizeof(char*);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user