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.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,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 26875 invoked from network); 10 Apr 2021 21:17:48 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 10 Apr 2021 21:17:48 -0000 Received: (qmail 9216 invoked by uid 550); 10 Apr 2021 21:17:43 -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 8168 invoked from network); 10 Apr 2021 21:17:42 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=z4gMUxssMNBnPZtgtx7NC7WRTD7BhBz2lpf/FclFjzo=; b=UcpKafNSNbczqSjOEzVdJEPqSMdeMCajiUIv28u9w/UXjTDK5FMM0scmlO7IDYlD6i D1SeJYNfyFq2iKy+wN432yy30Yg8bf0ukhvFEboeCxeDMOpL+M2Ncj43EUAiD/mOq9i4 gIGbaL7kfhszVXtoV8FB0I/QYWzfenJd+iz+3cX5ZAQja5pxKmiuzRUnJVmgqYUtnJaF xEhP5m2JcZHe/xHgOfQzcTbuXySXtgtEM0QjiF31TUtEze9/ccCsWUF0sXFD79Pxx8sR U4jh7XkexBE4AEAcwFhIbMOeRmrgklvBBJeJWijkC5/8IgOLU+bNJ3V70hRS8C1gLqOf IbKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=z4gMUxssMNBnPZtgtx7NC7WRTD7BhBz2lpf/FclFjzo=; b=BC3zBdnW4KSrwbXld0AfQWLE8yQAp3LNZ5ncLOIhasX2zDxD8p09j441Mw9veq6zo2 HGYA1r39mRMQTRzQbnXJPZmJOLoGe/8tlx5japZWOf/dRuid+6DVfKEzZiffM9QjIzFZ I/Y8n39e78lhv+MO+aQseTl/ouAhtdTKtZ8xIJtST5FVJhqXzk6d8KY94/vfVtGIinqM PomY3dKBgnlYVdYdktYIN+5g8Mr4Sww0eyegkERpfKgHSTds6lWFrMbufLG1v9xC87VW yQOmONTUWfq0I4eJAYuZsdqfpoy32PA/UfM7MdU1isMrjUH8T8KqEv4VpmohlcsZ4KdQ yHnA== X-Gm-Message-State: AOAM530QEJZ0v+LpaMqEzxkTlaLjjJYc+5K3CnFayZvYEng1R8mN9WUv mndoFqG0y0N+ile5Swb3Tt4/319n5t+A5/R4oMWihuJc X-Google-Smtp-Source: ABdhPJwTBw7q6ekp0e4/Lfef3BAD6JNMFPtZ1X+q4npPMYdmSfDnhbs3l5hv3Tc4CKKiKVXnpxSWoNePytG1EeLPjBc= X-Received: by 2002:a92:d092:: with SMTP id h18mr347500ilh.62.1618089451061; Sat, 10 Apr 2021 14:17:31 -0700 (PDT) MIME-Version: 1.0 References: <20210410122449.GH2799122@port70.net> In-Reply-To: <20210410122449.GH2799122@port70.net> From: ardi Date: Sat, 10 Apr 2021 23:17:20 +0200 Message-ID: To: ardi , musl@lists.openwall.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [musl] Linux distribution for using RISC-V musl? Really useful!! Thanks a lot! On Sat, Apr 10, 2021 at 2:24 PM Szabolcs Nagy wrote: > > * 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. >