Re: [dpdk-dev] How to disable SVE auto vectorization while using GCC

2021-05-12 Thread fengchengwen
On 2021/5/11 22:10, Honnappa Nagarahalli wrote: > >>> Thanks for your suggestions, we found that the -fno-tree-vectorize option works. PS: This option is not successfully added in the earliest test. Solution: 1. use the -fno-tree-vectorize option to prevent co

Re: [dpdk-dev] How to disable SVE auto vectorization while using GCC

2021-05-11 Thread Honnappa Nagarahalli
> > > >> > >> Thanks for your suggestions, we found that the -fno-tree-vectorize > >> option works. > >> PS: This option is not successfully added in the earliest test. > >> > >> Solution: > >> 1. use the -fno-tree-vectorize option to prevent compiler generate > >> auto vetorization > >>code,

Re: [dpdk-dev] How to disable SVE auto vectorization while using GCC

2021-05-11 Thread fengchengwen
On 2021/5/9 2:46, Honnappa Nagarahalli wrote: > > >> >> Thanks for your suggestions, we found that the -fno-tree-vectorize option >> works. >> PS: This option is not successfully added in the earliest test. >> >> Solution: >> 1. use the -fno-tree-vectorize option to prevent compiler generate a

Re: [dpdk-dev] How to disable SVE auto vectorization while using GCC

2021-05-08 Thread Honnappa Nagarahalli
> > > On Fri, Apr 30, 2021 at 5:27 PM fengchengwen > wrote: > > > > > > Hi, ALL > > > We have a question for your help: > > > 1. We have two platforms, both of which are ARM64, one of which > supports > > > both NEON and SVE, the other only support NEON. > > > 2. We want to run on both

Re: [dpdk-dev] How to disable SVE auto vectorization while using GCC

2021-05-08 Thread Honnappa Nagarahalli
> > Thanks for your suggestions, we found that the -fno-tree-vectorize option > works. > PS: This option is not successfully added in the earliest test. > > Solution: > 1. use the -fno-tree-vectorize option to prevent compiler generate auto > vetorization >code, so tha slow-path will work f

Re: [dpdk-dev] How to disable SVE auto vectorization while using GCC

2021-05-07 Thread fengchengwen
Thanks for your suggestions, we found that the -fno-tree-vectorize option works. PS: This option is not successfully added in the earliest test. Solution: 1. use the -fno-tree-vectorize option to prevent compiler generate auto vetorization code, so tha slow-path will work fine. 2. add '-march=

Re: [dpdk-dev] How to disable SVE auto vectorization while using GCC

2021-04-30 Thread Honnappa Nagarahalli
> > On Fri, Apr 30, 2021 at 5:27 PM fengchengwen > wrote: > > > > Hi, ALL > > We have a question for your help: > > 1. We have two platforms, both of which are ARM64, one of which > supports > > both NEON and SVE, the other only support NEON. > > 2. We want to run on both platforms wit

Re: [dpdk-dev] How to disable SVE auto vectorization while using GCC

2021-04-30 Thread Stephen Hemminger
On Fri, 30 Apr 2021 20:41:13 +0530 Jerin Jacob wrote: > On Fri, Apr 30, 2021 at 5:27 PM fengchengwen wrote: > > > > Hi, ALL > > We have a question for your help: > > 1. We have two platforms, both of which are ARM64, one of which supports > > both NEON and SVE, the other only support NEON

Re: [dpdk-dev] How to disable SVE auto vectorization while using GCC

2021-04-30 Thread Jerin Jacob
On Fri, Apr 30, 2021 at 5:27 PM fengchengwen wrote: > > Hi, ALL > We have a question for your help: > 1. We have two platforms, both of which are ARM64, one of which supports > both NEON and SVE, the other only support NEON. > 2. We want to run on both platforms with a single binary file,

[dpdk-dev] How to disable SVE auto vectorization while using GCC

2021-04-30 Thread fengchengwen
Hi, ALL We have a question for your help: 1. We have two platforms, both of which are ARM64, one of which supports both NEON and SVE, the other only support NEON. 2. We want to run on both platforms with a single binary file, and use the highest vector capability of the corresponding