NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-macppc/55165: libcrypto/t_ciphers:evp test case fails on macppc
The following reply was made to PR port-macppc/55165; it has been noted by GNATS.
From: Christos Zoulas <christos%zoulas.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: port-macppc-maintainer%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost,
paul%whooppee.com@localhost
Subject: Re: port-macppc/55165: libcrypto/t_ciphers:evp test case fails on
macppc
Date: Sat, 11 Apr 2020 14:50:37 -0400
--Apple-Mail=_5C5EB6C2-8F76-441D-A51A-E9E7682C76E5
Content-Type: multipart/alternative;
boundary="Apple-Mail=_22336FBA-FD0F-4B08-BE8A-316C69FB40EE"
--Apple-Mail=_22336FBA-FD0F-4B08-BE8A-316C69FB40EE
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=us-ascii
VSX Vector Load Instructions: lxvb16x lxvd2x lxv lxvx lxvh8x lxvw4x
According to wikipedia =
https://en.wikipedia.org/wiki/AltiVec#VSX_(Vector_Scalar_Extension) =
<https://en.wikipedia.org/wiki/AltiVec#VSX_(Vector_Scalar_Extension)>
only POWER7 and above has it. I think macppc is too old for that.
We could disable the assembly code that uses VSX:
./crypto/chacha/asm/chacha-ppc.pl
./crypto/sha/asm/keccak1600p8-ppc.pl
./crypto/sha/asm/sha512p8-ppc.pl
But a better solution is to check for SIGILL and switch dynamically.
You can file a PR with the OpenSSL folks, but I doubt that they would =
fix it.
christos
--Apple-Mail=_22336FBA-FD0F-4B08-BE8A-316C69FB40EE
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=us-ascii
<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><span=
class=3D"underline" style=3D"font-family: Verdana, Geneva, sans-serif; =
font-size: 13.3333px; font-variant-ligatures: normal; orphans: 2; =
widows: 2;">VSX Vector Load Instructions:</span><span =
style=3D"font-family: Verdana, Geneva, sans-serif; font-size: 13.3333px; =
font-variant-ligatures: normal; orphans: 2; widows: 2;" =
class=3D""> lxvb16x lxvd2x lxv lxvx lxvh8x lxvw4x</span><div =
class=3D""><div style=3D"orphans: 2; widows: 2;" class=3D""><br =
class=3D""></div><div style=3D"orphans: 2; widows: 2;" class=3D""><br =
class=3D""></div><div style=3D"orphans: 2; widows: 2;" =
class=3D"">According to wikipedia <a =
href=3D"https://en.wikipedia.org/wiki/AltiVec#VSX_(Vector_Scalar_Extension=
)" =
class=3D"">https://en.wikipedia.org/wiki/AltiVec#VSX_(Vector_Scalar_Extens=
ion)</a></div><div style=3D"orphans: 2; widows: 2;" class=3D"">only =
POWER7 and above has it. I think macppc is too old for =
that. </div><div style=3D"orphans: 2; widows: 2;" class=3D"">We =
could disable the assembly code that uses VSX:</div><div style=3D"orphans:=
2; widows: 2;" class=3D""><br class=3D""></div><div style=3D"orphans: =
2; widows: 2;" class=3D"">./crypto/chacha/asm/chacha-ppc.pl</div><div =
style=3D"orphans: 2; widows: 2;" =
class=3D"">./crypto/sha/asm/keccak1600p8-ppc.pl</div><div =
style=3D"orphans: 2; widows: 2;" =
class=3D"">./crypto/sha/asm/sha512p8-ppc.pl</div><div class=3D""><br =
class=3D""></div><div class=3D"">But a better solution is to check for =
SIGILL and switch dynamically.</div><div class=3D"">You can file a PR =
with the OpenSSL folks, but I doubt that they would fix it.</div><div =
class=3D""><br class=3D""></div><div class=3D"">christos</div><div =
class=3D""><div style=3D"orphans: 2; widows: 2;" class=3D""><br =
class=3D""></div></div></div></body></html>=
--Apple-Mail=_22336FBA-FD0F-4B08-BE8A-316C69FB40EE--
--Apple-Mail=_5C5EB6C2-8F76-441D-A51A-E9E7682C76E5
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename=signature.asc
Content-Type: application/pgp-signature;
name=signature.asc
Content-Description: Message signed with OpenPGP
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
iF0EARECAB0WIQS+BJlbqPkO0MDBdsRxESqxbLM7OgUCXpIRfQAKCRBxESqxbLM7
Oh32AKDPhmM0KnB9CnQ89zyrLOEWUHmGFgCg8U2tnPXxfi7JEkQfy4ejgWatRnI=
=9LkK
-----END PGP SIGNATURE-----
--Apple-Mail=_5C5EB6C2-8F76-441D-A51A-E9E7682C76E5--
Home |
Main Index |
Thread Index |
Old Index