#12070: SMP primitives broken on power(pc) -------------------------------------+------------------------------------- Reporter: hvr | Owner: trommler Type: bug | Status: patch Priority: highest | Milestone: 8.0.1 Component: Runtime System | Version: 8.0.1-rc4 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: powerpc Type of failure: None/Unknown | Test Case: | concurrent/prog001/concprog001 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2225 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"563a4857abcee4a6e43c68323274309c58f42aa0/ghc" 563a485/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="563a4857abcee4a6e43c68323274309c58f42aa0" PPC: Implement SMP primitives using gcc built-ins The SMP primitives were missing appropriate memory barriers (sync, isync instructions) on all PowerPCs. Use the built-ins _sync_* provided by gcc and clang. This reduces code size significantly. Remove broken mark for concprog001 on powerpc64. The referenced ticket number (11259) was wrong. Test Plan: validate on powerpc and ARM Reviewers: erikd, austin, simonmar, bgamari, hvr Reviewed By: bgamari, hvr Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2225 GHC Trac Issues: #12070 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12070#comment:6> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler