https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242523

--- Comment #15 from Jan Beich <jbe...@freebsd.org> ---
(In reply to Piotr Kubaj from comment #8)
> We would need to probably change differentiate powerpc64
> from powerpc and powerpcspe

powerpcspe doesn't support -maltivec according to base r307761.

(In reply to Mark Millard from comment #3)
> Use of -mvsx would prevent use of PowerMacs and such as far as I can tell:

Shouldn't be a problem if the file built with -mvsx is never called on a CPU
that lacks VSX. Looking at FreeBSD kernel code, PPC_FEATURE_HAS_VSX is always
available when PPC_FEATURE2_HAS_VEC_CRYPTO is.

> Old PowerMacs and such predate POWER7 and predate v2.06 of the Power ISA.

Is it possible to run FreeBSD powerpc (or only userland) on modern
powerpc64-capable hardware akin to running FreeBSD i386 (or only userland) on
modern x86_64-capable hardware? If so then -mcrypto -maltivec usage is correct
even on 32-bit powerpc.

At least lib/freebl/gcm-ppc.c (with USE_PPC_CRYPTO defined) builds fine with
Clang -target powerpc-unknown-freebsd13.0.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
freebsd-gecko@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"

Reply via email to