This is an archive of the discontinued LLVM Phabricator instance.

[openmp] Allow x87 fp functions only in Openmp runtime for x86.
ClosedPublic

Authored by malharJ on Jan 17 2022, 6:09 AM.

Details

Summary

This patch allows Openmp runtime atomic functions operating on x87 high-precision
to be present only in Openmp runtime for x86 architectures

The functions affected are:

__kmpc_atomic_10
__kmpc_atomic_20
__kmpc_atomic_cmplx10_add
__kmpc_atomic_cmplx10_div
__kmpc_atomic_cmplx10_mul
__kmpc_atomic_cmplx10_sub
__kmpc_atomic_float10_add
__kmpc_atomic_float10_div
__kmpc_atomic_float10_mul
__kmpc_atomic_float10_sub

__kmpc_atomic_float10_add_fp
__kmpc_atomic_float10_div_fp
__kmpc_atomic_float10_mul_fp
__kmpc_atomic_float10_sub_fp
__kmpc_atomic_float10_max
__kmpc_atomic_float10_min

Diff Detail

Event Timeline

malharJ created this revision.Jan 17 2022, 6:09 AM
malharJ requested review of this revision.Jan 17 2022, 6:09 AM
Herald added a project: Restricted Project. · View Herald Transcript
malharJ edited the summary of this revision. (Show Details)Jan 17 2022, 6:11 AM
This revision is now accepted and ready to land.Jan 21 2022, 8:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 2 2022, 1:16 AM