search for: main03

Displaying 7 results from an estimated 7 matches for "main03".

2017 Aug 16
2
unable to emit vectorized code in LLVM IR
...a=atoi(argv[1]); int b=atoi(argv[2]); for (int i=0;i<1000;i++) { sum+=a+b; } printf("sum: %d\n", sum); return 0; } i use following commands: clang -S -emit-llvm sum-main.c -march=knl -O3 -mllvm -disable-llvm-optzns -o sum-main.ll opt -S -O3 -force-vector-width=64 sum-main.ll -o sum-main03.ll why is that so? where am i doing mistake? i am not getting vectorized operations rather getting scalar operations. Please help. Thank You Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170817/...
2017 Aug 17
3
unable to emit vectorized code in LLVM IR
...gt;> } >> >> printf("sum: %d\n", sum); >> return 0; >> } >> i use following commands: >> clang -S -emit-llvm sum-main.c -march=knl -O3 -mllvm >> -disable-llvm-optzns -o sum-main.ll >> opt -S -O3 -force-vector-width=64 sum-main.ll -o sum-main03.ll >> >> why is that so? where am i doing mistake? i am not getting vectorized >> operations rather getting scalar operations. >> >> Please help. >> >> Thank You >> >> Regards >> >> >> __________________________________________...
2017 Aug 17
4
unable to emit vectorized code in LLVM IR
...\n", sum); >>>> return 0; >>>> } >>>> i use following commands: >>>> clang -S -emit-llvm sum-main.c -march=knl -O3 -mllvm >>>> -disable-llvm-optzns -o sum-main.ll >>>> opt -S -O3 -force-vector-width=64 sum-main.ll -o sum-main03.ll >>>> >>>> why is that so? where am i doing mistake? i am not getting vectorized >>>> operations rather getting scalar operations. >>>> >>>> Please help. >>>> >>>> Thank You >>>> >>>> Regar...
2017 Aug 17
2
unable to emit vectorized code in LLVM IR
...0; >>>>>> } >>>>>> i use following commands: >>>>>> clang -S -emit-llvm sum-main.c -march=knl -O3 -mllvm >>>>>> -disable-llvm-optzns -o sum-main.ll >>>>>> opt -S -O3 -force-vector-width=64 sum-main.ll -o sum-main03.ll >>>>>> >>>>>> why is that so? where am i doing mistake? i am not getting vectorized >>>>>> operations rather getting scalar operations. >>>>>> >>>>>> Please help. >>>>>> >>>>&g...
2017 Aug 17
4
unable to emit vectorized code in LLVM IR
...t;>>>>>>> i use following commands: >>>>>>>> clang -S -emit-llvm sum-main.c -march=knl -O3 -mllvm >>>>>>>> -disable-llvm-optzns -o sum-main.ll >>>>>>>> opt -S -O3 -force-vector-width=64 sum-main.ll -o sum-main03.ll >>>>>>>> >>>>>>>> why is that so? where am i doing mistake? i am not getting >>>>>>>> vectorized operations rather getting scalar operations. >>>>>>>> >>>>>>>> Please help. &gt...
2017 Aug 17
2
unable to emit vectorized code in LLVM IR
...t;> i use following commands: >>>>>>>>>> clang -S -emit-llvm sum-main.c -march=knl -O3 -mllvm >>>>>>>>>> -disable-llvm-optzns -o sum-main.ll >>>>>>>>>> opt -S -O3 -force-vector-width=64 sum-main.ll -o sum-main03.ll >>>>>>>>>> >>>>>>>>>> why is that so? where am i doing mistake? i am not getting >>>>>>>>>> vectorized operations rather getting scalar operations. >>>>>>>>>> >>>>&...
2017 Aug 17
2
unable to emit vectorized code in LLVM IR
...ommands: >>>>>>>>>>>> clang -S -emit-llvm sum-main.c -march=knl -O3 -mllvm >>>>>>>>>>>> -disable-llvm-optzns -o sum-main.ll >>>>>>>>>>>> opt -S -O3 -force-vector-width=64 sum-main.ll -o sum-main03.ll >>>>>>>>>>>> >>>>>>>>>>>> why is that so? where am i doing mistake? i am not getting >>>>>>>>>>>> vectorized operations rather getting scalar operations. >>>>>>>>&g...