Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Nov 2021 19:28:20 +0100
From:      Christian Weisgerber <naddy@mips.inka.de>
To:        Matthias Andree <mandree@freebsd.org>
Cc:        Alexey Dokuchaev <danfe@freebsd.org>, Piotr Kubaj <pkubaj@freebsd.org>, ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org
Subject:   Re: git: c6c6e67d83c2 - main - audio/flac: don't disable VSX on powerpc64le
Message-ID:  <YYAxxNO7Ws20xoRJ@lorvorc.mips.inka.de>
In-Reply-To: <47bc0bef-ca47-d62f-d4a2-e3f4db462fe7@FreeBSD.org>
References:  <202111010243.1A12hxQj066278@gitrepo.freebsd.org> <YX9ihSk1QxpPn9un@FreeBSD.org> <YX/jekyk152JCnsC@lorvorc.mips.inka.de> <47bc0bef-ca47-d62f-d4a2-e3f4db462fe7@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthias Andree:

> > --enable-sse simply adds "-msse2" to the compiler flags.
> > 
> > On amd64, this is a nop, since SSE2 is part of the amd64 architecture.
> > On i386, it generates code that won't run on older CPUs that don't
> > support SSE2.
> 
> Yeah - do we care? SSE2 has come of age in most legislations :-)

So has amd64.  The only reason to run i386 is on machines that don't
support amd64, e.g. old Soekris [45]xxx and the like.

Note that flac has assembly optimizations for various SSE levels
that are properly enabled at runtime based on CPUID.  You're getting
all that on modern CPUs.

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YYAxxNO7Ws20xoRJ>