Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
46477e25
Commit
46477e25
authored
1 year ago
by
Loïc Correnson
Committed by
Loïc Correnson
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
[doc] fix changes
parent
d3d3cb00
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/userman/user-changes.tex
+4
-1
4 additions, 1 deletion
doc/userman/user-changes.tex
doc/userman/user-sources.tex
+10
-2
10 additions, 2 deletions
doc/userman/user-sources.tex
with
14 additions
and
3 deletions
doc/userman/user-changes.tex
+
4
−
1
View file @
46477e25
...
...
@@ -5,8 +5,11 @@ release. First we list changes of the last release.
\section*
{
Frama-C+dev
}
\begin{itemize}
\item
\textbf
{
Normalizing the Source Code:
}
document the possibility of
\item
\textbf
{
Normalizing the Source Code:
}
document the possibility of
undefining builtin macros from the chosen
\texttt
{
-machdep
}
.
\item
\textbf
{
Preparing the Sources:
}
loop pragmas are removed and replaced
by dedicated ACSL extension.
Use
\verb
+
loop unfold
+
in place of
\verb
+
loop pragma UNROLL
+
.
\item
\textbf
{
Preparing the Sources:
}
add subsection on standard library about
portability considerations.
\end{itemize}
...
...
This diff is collapsed.
Click to expand it.
doc/userman/user-sources.tex
+
10
−
2
View file @
46477e25
...
...
@@ -304,10 +304,18 @@ underscores as prefix and suffix, \texttt{-UMACRO} will also undefine
\texttt
{
do ... while(0)
}
. This option is set by default.
\item
\texttt
{
\optiondef
{
-
}{
ulevel
}
<n>
}
unrolls all loops n times. This is a
purely syntactic operation.
Loops can be unfolded individually, by
purely syntactic operation. Loops can be unfolded individually, by
inserting a
\verb
+
loop unfold
+
annotation just before the loop statement. Do
not confuse this option with plug-in-specific options that may also be called
``unrolling''~
\cite
{
value
}
. Below is a typical example of use.
``unrolling''~
\cite
{
value
}
\footnote
{
Historically,
\textit
{
syntactic
}
loop unrolling was denoted by
\texttt
{
loop pragma UNROLL
}
annotations. Later on,
\textsf
{
EVA
}
introduced
\textit
{
semantic
}
unrolling with
\texttt
{
loop unroll
}
annotations.
Loop pragams was removed for Frama-C 29 (Copper) and it was
decided to introduce
\texttt
{
loop unfold
}
annotations for
\textit
{
syntactic
}
unrolling and to reserve
\texttt
{
loop unroll
}
annotations for
\textit
{
semantic
}
loop unrolling with
\textsf
{
EVA
}
.
}
. Below is a typical example of use:
\begin{ccode}
/*@ loop unfold 10; */
for(i = 0; i < 9; i++) ...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment