From nobody Mon Nov 01 21:42:31 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 06AEC1829B9E; Mon, 1 Nov 2021 21:42:44 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Received: from mail.anongoth.pl (mail.anongoth.pl [46.248.190.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X448 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "anongoth.pl", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HjmjH4b69z545r; Mon, 1 Nov 2021 21:42:43 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Received: from anongoth.pl (unknown [192.168.1.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: pkubaj@anongoth.pl) by mail.anongoth.pl (Postfix) with ESMTPSA id 7814011141F; Mon, 1 Nov 2021 22:42:33 +0100 (CET) Date: Mon, 1 Nov 2021 22:42:31 +0100 From: Piotr Kubaj To: Christian Weisgerber Cc: Matthias Andree , Alexey Dokuchaev , Piotr Kubaj , 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: References: <202111010243.1A12hxQj066278@gitrepo.freebsd.org> <47bc0bef-ca47-d62f-d4a2-e3f4db462fe7@FreeBSD.org> List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cOgpMPWzutEXizZ9" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4HjmjH4b69z545r X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N --cOgpMPWzutEXizZ9 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 21-11-01 19:28:20, Christian Weisgerber wrote: > Matthias Andree: >=20 > > > --enable-sse simply adds "-msse2" to the compiler flags. > > >=20 > > > 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. > >=20 > > Yeah - do we care? SSE2 has come of age in most legislations :-) >=20 > 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. >=20 > 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. On POWER disabling VSX actually disables some code, eg.: https://github.com/xiph/flac/blob/master/src/libFLAC/lpc_intrin_vsx.c#L39 https://github.com/xiph/flac/blob/master/src/libFLAC/include/private/lpc.h#= L94 https://github.com/xiph/flac/blob/master/src/libFLAC/stream_encoder.c#L888 This is a valid reason not to disable VSX if the baseline already includes = VSX (which is the case on powerpc64le). >=20 > --=20 > Christian "naddy" Weisgerber naddy@mips.inka.de --cOgpMPWzutEXizZ9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEycyIeNkkgohzsoorelmbhSCDnJ0FAmGAX0cACgkQelmbhSCD nJ0Usw/+KJ8Wmm+Q+4q5AcEEtaXnN8MR3DOr8sczazvIxDleCR7/jc1REWWu6hkU 3E5iBnXUV+TlbsFbE7qWiyhTj+mK/hJdMMdUPGQc6pJlw+GmmB2hcNbst45YS42N VFV56Tj2QuparqZcM5mP16wpoHVbPthNjMAiyq2DYxrSYXQWV73W3euzJVOVJN7S 6XhtIVmCZLclzPbzqnSdmhrw86LmPc5BpMN+f9azRYkO53FhEYbwWmo757dFjBJj zedoIZ2CVeaYKZ8ZexwYWcp6leBFSLdaNaho3KxUDfAb3pDS83ZM1DwqQ3hx+5KH zMxP/HxKZHkYfHpon7w8bn2+KO0OFdfYUs87rFPnySez/fz8F+rQotGcCi4AxqGr b2g03dC0oIkgrklljFQns/RHHst9u2BlEX7Sz1N0dTBt2OyvPLTeAnGY798W1ByJ rF+BVHPbXVpdE+ErzPhA90erPvAmVFUbn3shyKgWdHlBO30VI7La/Lzo08Pd7A08 U1IONpPBWtFIgdJXKr0kSWCLIZcXrIE+gxmvT/vV0IiNyydT9qzKVuj5MrOgg8Rf V9tmR28V8mTksJKX3odVp2SmfhfXJZkA+AN+LV/rAI9EfG6deym6OIBKlMQqHVmZ Izn9tkrn5BF7H6+IXRM8GgSts/gLwWm0olNzXZoEy/bhQgmqUuM= =nhzd -----END PGP SIGNATURE----- --cOgpMPWzutEXizZ9--