[Patch 4/4] ARM 64 bit sync atomic operations [V2]

Ramana Radhakrishnan ramana.radhakrishnan@linaro.org
Mon Aug 1 15:43:00 GMT 2011


On 26 July 2011 10:02, Dr. David Alan Gilbert <david.gilbert@linaro.org> wrote:
>
>        gcc/
>        * config/arm/arm.c (TARGET_HAVE_DMB_MCR) MCR Not available in Thumb1
>          but is available on armv6

`:' after (TARGET_HAVE_DMB_MCR) and something like

`Disable for Thumb1.'

instead of what's on there.

>
>  /* Nonzero if this chip implements a memory barrier via CP15.  */
> -#define TARGET_HAVE_DMB_MCR    (arm_arch6k && ! TARGET_HAVE_DMB)
> +#define TARGET_HAVE_DMB_MCR    (arm_arch6 && ! TARGET_HAVE_DMB \
> +                                && ! TARGET_THUMB1)

Otherwise OK for trunk and afflicted release branches since this
really is a bug fix.

cheers
Ramana



More information about the Gcc-patches mailing list