[PATCH] D45691: [mips] Use libatomic instead of GCC intrinsics for 64bit

Miloš Stojanović via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 16 08:28:44 PDT 2018


mstojanovic created this revision.
mstojanovic added reviewers: sdardis, petarj, zoran.jovanovic.
Herald added a subscriber: arichardson.

The following GCC intrinsics are not available on MIPS32:
__sync_fetch_and_add_8
__sync_fetch_and_and_8
__sync_fetch_and_or_8
__sync_val_compare_and_swap_8

This patch is replacing these with appropriate libatomic implementation.

Patch by Miodrag Dinic <miodrag.dinic at imgtec.com>


https://reviews.llvm.org/D45691

Files:
  runtime/src/kmp_os.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45691.142637.patch
Type: text/x-patch
Size: 8124 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180416/be13570a/attachment.bin>


More information about the llvm-commits mailing list