Projects
Mega:24.03:SP1:Everything
gcc
_service:tar_scm:0026-GOMP-Enabling-moutline-at...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0026-GOMP-Enabling-moutline-atomics-improves-libgomp-perf.patch of Package gcc
From 7efae59159577657f22511aa3b2cebe85ca60d9d Mon Sep 17 00:00:00 2001 From: dingguangya <dingguangya1@huawei.com> Date: Mon, 4 Sep 2023 16:30:58 +0800 Subject: [PATCH 2/2] [GOMP] Enabling moutline-atomics improves libgomp performance in multi-thread scenarios Libgomp is used in multi-thread scenarios, Enabling moutline-atomics improves performance. --- libgomp/configure.tgt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/libgomp/configure.tgt b/libgomp/configure.tgt index 2cd7272fc..f924e9f98 100644 --- a/libgomp/configure.tgt +++ b/libgomp/configure.tgt @@ -32,6 +32,17 @@ if test $gcc_cv_have_tls = yes ; then esac fi +# Enabling moutline-atomics improves libgomp performance in multi-thread scenarios. +case "${target_cpu}" in + aarch64*) + case "${target}" in + aarch64*-*-linux*) + XCFLAGS="${XCFLAGS} -moutline-atomics" + ;; + esac + ;; +esac + tmake_file= # Since we require POSIX threads, assume a POSIX system by default. config_path="posix" -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2