This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 02/11] Arm - add speculation_barrier pattern
- From: Christophe Lyon <christophe dot lyon at linaro dot org>
- To: Richard Earnshaw <Richard dot Earnshaw at arm dot com>
- Cc: gcc Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 6 Aug 2018 16:00:02 +0200
- Subject: Re: [PATCH 02/11] Arm - add speculation_barrier pattern
- References: <1531154299-28349-1-git-send-email-Richard.Earnshaw@arm.com> <1532684275-13041-1-git-send-email-Richard.Earnshaw@arm.com> <1532684275-13041-3-git-send-email-Richard.Earnshaw@arm.com>
On Fri, 27 Jul 2018 at 11:38, Richard Earnshaw <Richard.Earnshaw@arm.com> wrote:
>
>
> This patch defines a speculation barrier for AArch32.
>
> * config/arm/unspecs.md (unspecv): Add VUNSPEC_SPECULATION_BARRIER.
> * config/arm/arm.md (speculation_barrier): New expand.
> (speculation_barrier_insn): New pattern.
> ---
Hi Richard,
This patch causes compilation errors for c-c++-common/spec-barrier-2.c
when compiled for old architectures (eg -march=armv5t):
/ccrf2LoR.s:49: Error: selected processor does not support `isb' in ARM mode
/ccrf2LoR.s:50: Error: selected processor does not support `dsb sy' in ARM mode
Does this belong to the kind of failures you still expect from this
patch series?