HomePhabricator

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

Description

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

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

Replace these with appropriate libatomic implementation.

Patch by Miodrag Dinic.

Differential Revision: https://reviews.llvm.org/D45691

Details

Committed
petarjMar 8 2019, 2:53 AM
Differential Revision
D45691: [mips] Use libatomic instead of GCC intrinsics for 64bit
Branches
Unknown
Tags
Unknown