diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2014-09-01 21:15:21 +0300 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2014-09-01 21:15:21 +0300 |
commit | e81e02807c7a0e723ed7b0e83418c95f99140449 (patch) | |
tree | bf7dc8027769e56931abc907050531fc5a212990 /includes | |
parent | 01a27c9de050ed68f39fa2d870d0930ec3dd207c (diff) | |
download | haskell-e81e02807c7a0e723ed7b0e83418c95f99140449.tar.gz |
includes/Stg.h: remove unused 'wcStore' inline
Summary:
Commit reverts never used addition in cbd29e0a23bb8e15033edae123d6c8fbe9740c97
I think it might make sense to take advantage of TSO/RMO/PSO models
tome day. But it's highly architecture/model-dependent thus it better
be implemented in per-arch Native CodeGen.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Test Plan: build-tested on UNREG-amd64
Reviewers: simonmar, austin
Reviewed By: austin
Subscribers: simonmar, ezyang, carter
Differential Revision: https://phabricator.haskell.org/D186
Diffstat (limited to 'includes')
-rw-r--r-- | includes/Stg.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/includes/Stg.h b/includes/Stg.h index 8b3a3fc251..4c26e3ef80 100644 --- a/includes/Stg.h +++ b/includes/Stg.h @@ -477,24 +477,6 @@ INLINE_HEADER StgInt64 PK_Int64(W_ p_src[]) #endif /* ----------------------------------------------------------------------------- - Write-combining store - -------------------------------------------------------------------------- */ - -INLINE_HEADER void -wcStore (StgPtr p, StgWord w) -{ -#ifdef x86_64_HOST_ARCH - __asm__( - "movnti\t%1, %0" - : "=m" (*p) - : "r" (w) - ); -#else - *p = w; -#endif -} - -/* ----------------------------------------------------------------------------- Integer multiply with overflow -------------------------------------------------------------------------- */ |