Skip to content
Snippets Groups Projects
Commit 46477e25 authored by Loïc Correnson's avatar Loïc Correnson Committed by Loïc Correnson
Browse files

[doc] fix changes

parent d3d3cb00
No related branches found
No related tags found
No related merge requests found
......@@ -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}
......
......@@ -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++) ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment