Index | Thread | Search

From:
Landry Breuil <landry@openbsd.org>
Subject:
Re: powerpc minimal AT_HWCAP support
To:
tech@openbsd.org
Date:
Mon, 15 Jul 2024 17:37:44 +0200

Download raw body.

Thread
Le Mon, Jul 15, 2024 at 02:16:53PM +0200, Jeremie Courreges-Anglas a écrit :
> 
> powerpc only is macppc these days, but not all macppc have altivec.
> The following diff exports the bare minimum for altivec to be checked
> by userland through elf_aux_info.  This could be enough for pixman and
> mesa on OpenBSD to use the same code path as FreeBSD.  I propose this
> as a first step so that someone with more knowledge of that
> architecture can build upon.
> 
> Compile-tested only using clang-16 -target powerpc-unknown-openbsd.
> 
> Feedback welcome.  ok?

my macppc is taking dust somewhere in a drawer, but if i understand it
right, a potential user of this might be nss (with ifdefs changed..)

https://searchfox.org/mozilla-central/source/security/nss/lib/freebl/blinit.c#535