public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/112357] New: Documentation for vect-max-peeling-for-alignment references -1 but -1 does not work
@ 2023-11-02 22:18 pinskia at gcc dot gnu.org
2023-11-03 7:50 ` [Bug tree-optimization/112357] " rguenth at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-11-02 22:18 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112357
Bug ID: 112357
Summary: Documentation for vect-max-peeling-for-alignment
references -1 but -1 does not work
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Keywords: documentation
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Target Milestone: ---
Using `-O2 --param vect-max-peeling-for-alignment=-1` provides the following
error message:
```
g++: error: argument to '--param=vect-max-peeling-for-alignment=' should be a
non-negative integer
```
But https://gcc.gnu.org/onlinedocs//gcc/Optimize-Options.html documents -1:
```
vect-max-peeling-for-alignment
The maximum number of loop peels to enhance access alignment for vectorizer.
Value -1 means no limit.
```
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug tree-optimization/112357] Documentation for vect-max-peeling-for-alignment references -1 but -1 does not work
2023-11-02 22:18 [Bug tree-optimization/112357] New: Documentation for vect-max-peeling-for-alignment references -1 but -1 does not work pinskia at gcc dot gnu.org
@ 2023-11-03 7:50 ` rguenth at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-11-03 7:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112357
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2023-11-03
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
-param=vect-max-peeling-for-alignment=
Common Joined UInteger Var(param_vect_max_peeling_for_alignment) Init(-1)
IntegerRange(0, 64) Param Optimization
Maximum number of loop peels to enhance alignment of data references in a loop.
Interesting that we allow an Init() with an out-of-range value. Possibly
a way to detect whether the parameter was specified or not ...
Documentation should probably be adjusted to mention when not specified
no limit applies (the limit is the vectorization factor - 1)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-03 7:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-02 22:18 [Bug tree-optimization/112357] New: Documentation for vect-max-peeling-for-alignment references -1 but -1 does not work pinskia at gcc dot gnu.org
2023-11-03 7:50 ` [Bug tree-optimization/112357] " rguenth at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).