includes/stg/SMP.h: implement simple load_/store_load_barrier on armv6 and older

Authored by trofi on May 18 2015, 4:22 PM.

Description

includes/stg/SMP.h: implement simple load_/store_load_barrier on armv6 and older

Assuming there is no real SMP systems on these CPUs
I've added only compiler barrier (otherwise write_barrier
and friends need to be fixed as well).

Patch also fixes build breakage reported in Trac #10244.

Signed-off-by: Sergei Trofimovich <siarheit@google.com>

Reviewers: rwbarton, nomeata, austin

Reviewed By: nomeata, austin

Subscribers: bgamari, thomie

Differential Revision: https://phabricator.haskell.org/D894

GHC Trac Issues: Trac #10244

Details

Committed
trofiMay 18 2015, 4:22 PM
Pushed
bgamariAug 25 2016, 1:39 PM
Reviewer
nomeata
Differential Revision
D894: includes/stg/SMP.h: implement simple load_/store_load_barrier on armv6 and older
Parents
rGHCDIFF228ddb95ee13: Make the "matchable-given" check happen first
Branches
Unknown
Tags
Unknown