Re: [[PATCH] 2/3] aarch64: Add C-function invocation for indirect branch pattern.

2020-12-09 Thread Philipp Tomsich
Richard, Could you review this series and let us know if this is acceptable for Phase 3? This is a security-relevant (a Spectre variant 2 mitigation) for the Ampere eMAG… Thanks, Philipp. > On 09.12.2020, at 18:21, Christoph Müllner > wrote: > > aarch64 already uses a C-function for indirect

[[PATCH] 2/3] aarch64: Add C-function invocation for indirect branch pattern.

2020-12-09 Thread Christoph Müllner
aarch64 already uses a C-function for indirect calls (aarch64_indirect_call_asm()). So let's add the same abstraction for indirect branches. This patch has no functional consequence. gcc/ * config/aarch64/aarch64.c (aarch64_indirect_branch_asm): Add function to output indirect bra