Re: [dpdk-dev] [PATCH v4 2/2] net/hns3: refactor SVE code compile method

2021-05-13 Thread fengchengwen
On 2021/5/14 6:19, Honnappa Nagarahalli wrote: > > >> >> Currently, the SVE code is compiled only when -march supports SVE (e.g. '- >> march=armv8.2a+sve'), there maybe some problem[1] with this approach. >> >> The solution: >> a. If the minimum instruction set support SVE then compiles it. >>

Re: [dpdk-dev] [PATCH v4 2/2] net/hns3: refactor SVE code compile method

2021-05-13 Thread Honnappa Nagarahalli
> > Currently, the SVE code is compiled only when -march supports SVE (e.g. '- > march=armv8.2a+sve'), there maybe some problem[1] with this approach. > > The solution: > a. If the minimum instruction set support SVE then compiles it. > b. Else if the compiler support SVE then compiles it. > c.

[dpdk-dev] [PATCH v4 2/2] net/hns3: refactor SVE code compile method

2021-05-13 Thread Chengwen Feng
Currently, the SVE code is compiled only when -march supports SVE (e.g. '-march=armv8.2a+sve'), there maybe some problem[1] with this approach. The solution: a. If the minimum instruction set support SVE then compiles it. b. Else if the compiler support SVE then compiles it. c. Otherwise don't com