Robin Dapp ;
gcc-patches@gcc.gnu.org
Cc: juzhe.zh...@rivai.ai; kito.ch...@gmail.com; jeffreya...@gmail.com; Chen,
Ken ; Liu, Hongtao ; Robin Dapp
Subject: Re: [PATCH v1 0/5] Add testcases for another case of vec_duplicate +
vadd.vv combine
>> it's just a vector cost model issue
it's just a vector cost model issue and some loops are not profitable
to vectorize?
Yes. For example, when gpr2vr is 1, int8_t cannot vectorize while uint8_t can.
OK, understood. I think that's expected given the fine granularity of the
tests. IMHO nothing that should block progress.
--
R
eya...@gmail.com;
rdapp@gmail.com; Chen, Ken ; Liu, Hongtao
; Robin Dapp
Subject: Re: [PATCH v1 0/5] Add testcases for another case of vec_duplicate +
vadd.vv combine
> This patch series would like to add the testcases for this. However,
> some test results is not that tidy, and we nee
This patch series would like to add the testcases for this. However,
some test results is not that tidy, and we need more tuning for
the vector cost model.
The test adjustments LGTM but what do you mean by not tidy? I see you're
scanning just for the presence of "vx" instead of an exact numbe
From: Pan Li
We have the testcase for vec_duplicate + vadd.vv combine as
below already, aka:
Before:
...
vmv.v.x
L1:
vadd.vv
J L1
...
After:
...
L1:
vadd.vx
J L1
...
But there is still another case like below:
Before:
...
L1:
vmv.v.x
vadd.vv
J L1
...
After:
...