* [PATCH] gcc-12: Mention -mharden-sls= and -mindirect-branch-cs-prefix
@ 2022-02-01 16:57 H.J. Lu
2022-02-02 6:59 ` Richard Biener
0 siblings, 1 reply; 2+ messages in thread
From: H.J. Lu @ 2022-02-01 16:57 UTC (permalink / raw)
To: gcc-patches; +Cc: Richard Biener
---
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>
--
2.34.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] gcc-12: Mention -mharden-sls= and -mindirect-branch-cs-prefix
2022-02-01 16:57 [PATCH] gcc-12: Mention -mharden-sls= and -mindirect-branch-cs-prefix H.J. Lu
@ 2022-02-02 6:59 ` Richard Biener
0 siblings, 0 replies; 2+ messages in thread
From: Richard Biener @ 2022-02-02 6:59 UTC (permalink / raw)
To: H.J. Lu; +Cc: gcc-patches
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>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-02-02 6:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-01 16:57 [PATCH] gcc-12: Mention -mharden-sls= and -mindirect-branch-cs-prefix H.J. Lu
2022-02-02 6:59 ` Richard Biener
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).