어떤게 변환되는지도 확인이 가능한 듯.
-ftree-vectorizer-verbose=[n] controls vectorization reports, with n ranging from 0 (no information reported) to 6 (all information reported). |
25가지 예가 있는데 for a = b + c 같은건 된다고 한다.
Example 12: Induction: Example 13: Outer-loop: Example 14: Double reduction: Example 15: Condition in nested loop: Example 16: Load permutation in loop-aware SLP: Example 17: Basic block SLP: Example 18: Simple reduction in SLP: Example 19: Reduction chain in SLP: Example 20: Basic block SLP with multiple types, loads with different offsets, misaligned load, and not-affine Example 21: Backward access: Example 22: Alignment hints: Example 23: Widening shift: Example 24: Condition with mixed types: Example 25: Loop with bool: |
[링크 : https://gcc.gnu.org/projects/tree-ssa/vectorization.html#using]
'프로그램 사용 > gcc' 카테고리의 다른 글
gcc %p (nil) (0) | 2021.05.07 |
---|---|
gcc -D 옵션 인자를 printf로 출력하기 (0) | 2021.04.08 |
gcc -march 옵션 (0) | 2021.01.24 |
g++ 은 정적 빌드가 안되나? (0) | 2021.01.19 |
gcc offloading support (0) | 2020.11.24 |