From f62064fbf449e351b2e0412558e0410d056f3d7a Mon Sep 17 00:00:00 2001 From: Alex Guteniev Date: Sun, 2 Aug 2020 06:16:35 +0300 Subject: [PATCH 1/2] Update loop.md Make **ivdep** not depending on **hint_parallel**. @BillyONeal 's proof that **ivdep** works even without **hint_parallel**: https://gcc.godbolt.org/z/P8Yjn3 --- docs/preprocessor/loop.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/preprocessor/loop.md b/docs/preprocessor/loop.md index b7f9b99435..f2a4229e2b 100644 --- a/docs/preprocessor/loop.md +++ b/docs/preprocessor/loop.md @@ -25,7 +25,7 @@ The compiler ignores this option unless the [/Qpar](../build/reference/qpar-auto By default, the auto-vectorizer attempts to vectorize all loops that it evaluates may benefit from it. Specify this pragma to disable the auto-vectorizer for the loop that follows. **ivdep**\ -A hint to the compiler to ignore vector dependencies for this loop. Use this option together with **hint_parallel**. +A hint to the compiler to ignore vector dependencies for this loop. Use this option together with **hint_parallel** or separately. ## Remarks From a4327d69dd8463932c2079a1807f1487f9718c21 Mon Sep 17 00:00:00 2001 From: Colin Robertson Date: Sun, 2 Aug 2020 19:48:09 -0700 Subject: [PATCH 2/2] delete qualification for ivdep option It sounds like the qualifying sentence isn't required at all. If present, maybe it should say "This `loop` option may be used independently or on the same loops as **hint_parallel**." --- docs/preprocessor/loop.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/preprocessor/loop.md b/docs/preprocessor/loop.md index f2a4229e2b..5b32862a69 100644 --- a/docs/preprocessor/loop.md +++ b/docs/preprocessor/loop.md @@ -25,7 +25,7 @@ The compiler ignores this option unless the [/Qpar](../build/reference/qpar-auto By default, the auto-vectorizer attempts to vectorize all loops that it evaluates may benefit from it. Specify this pragma to disable the auto-vectorizer for the loop that follows. **ivdep**\ -A hint to the compiler to ignore vector dependencies for this loop. Use this option together with **hint_parallel** or separately. +A hint to the compiler to ignore vector dependencies for this loop. ## Remarks