From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 30031 invoked from network); 10 Apr 2021 12:25:08 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 10 Apr 2021 12:25:08 -0000 Received: (qmail 18306 invoked by uid 550); 10 Apr 2021 12:25:02 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 18288 invoked from network); 10 Apr 2021 12:25:01 -0000 Date: Sat, 10 Apr 2021 14:24:49 +0200 From: Szabolcs Nagy To: ardi Cc: musl@lists.openwall.com Message-ID: <20210410122449.GH2799122@port70.net> Mail-Followup-To: ardi , musl@lists.openwall.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [musl] Linux distribution for using RISC-V musl? * ardi [2021-04-10 14:08:31 +0200]: > Also, I've read that QEMU is able to emulate multicore RISC-V CPUs. > Does musl support multicore RISC-V in 64bit? I mean, if I configure a > multicore RISC-V in QEMU and I try to build a parallel loop using > OpenMP for example, will such loop be parallelized if I'm using musl? yes. this has not much to do with the libc though. openmp uses pthreads, pthreads uses clone and clone is implemented by the os in some way. whether things are parallel is not in the hands of the libc and the logic is not target dependent, the libc works the same way on x86_64 as on riscv. there can be target specific synchronization bugs in the libc, but those are just bugs.