Re: [PATCH 2/4] [SPARC] Errata workaround for GRLIB-TN-0011

2017-11-24 Thread Eric Botcazou
> 2017-11-17 Daniel Cederman > > * config/sparc/sync.md (swapsi): 16-byte align if sparc_fix_gr712rc. > (atomic_compare_and_swap_leon3_1): Likewise. > (ldstub): Likewise. You need to adjust the "length" attribute accordingly (and conservatively), see atomic_compare_and_swapd

[PATCH 2/4] [SPARC] Errata workaround for GRLIB-TN-0011

2017-11-20 Thread Daniel Cederman
This patch provides a workaround for the errata described in GRLIB-TN-0011. If the workaround is enabled it will: * Insert .align 16 before atomic instructions (swap, ldstub, casa). It is applicable to GR712RC. gcc/ChangeLog: 2017-11-17 Daniel Cederman * config/sparc/sync.md (swaps