Message ID | 20220201165733.2705733-1-hjl.tools@gmail.com |
---|---|
State | New |
Headers | show |
Series | gcc-12: Mention -mharden-sls= and -mindirect-branch-cs-prefix | expand |
On Tue, 1 Feb 2022, H.J. Lu wrote: LGTM. > --- > htdocs/gcc-12/changes.html | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html > index 2719b9d5..479bd6c5 100644 > --- a/htdocs/gcc-12/changes.html > +++ b/htdocs/gcc-12/changes.html > @@ -387,6 +387,12 @@ a work-in-progress.</p> > x86 systems with SSE2 enabled. Without <code>{-mavx512fp16}</code>, > all operations will be emulated in software and <code>float</code> > instructions. > + <li>Mitigation against straight line speculation (SLS) for function > + return and indirect jump is supported via > + <code>-mharden-sls=[none|all|return|indirect-jmp]</code>. > + </li> > + <li>Add CS prefix to call and jmp to indirect thunk with branch target > + in r8-r15 registers via <code>-mindirect-branch-cs-prefix</code>. > </li> > </ul> >
diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html index 2719b9d5..479bd6c5 100644 --- a/htdocs/gcc-12/changes.html +++ b/htdocs/gcc-12/changes.html @@ -387,6 +387,12 @@ a work-in-progress.</p> x86 systems with SSE2 enabled. Without <code>{-mavx512fp16}</code>, all operations will be emulated in software and <code>float</code> instructions. + <li>Mitigation against straight line speculation (SLS) for function + return and indirect jump is supported via + <code>-mharden-sls=[none|all|return|indirect-jmp]</code>. + </li> + <li>Add CS prefix to call and jmp to indirect thunk with branch target + in r8-r15 registers via <code>-mindirect-branch-cs-prefix</code>. </li> </ul>