From f8f3d624b7c71e8f5acbe373479a5b0f6b73d13f Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Wed, 23 Jan 2019 15:03:23 +0100 Subject: [PATCH] perlasm/ppc-xlate.pl: add VSX word load/store instructions. Reviewed-by: Matt Caswell Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/8120) --- crypto/perlasm/ppc-xlate.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crypto/perlasm/ppc-xlate.pl b/crypto/perlasm/ppc-xlate.pl index 1c972a1ece..e52f2f6ea6 100755 --- a/crypto/perlasm/ppc-xlate.pl +++ b/crypto/perlasm/ppc-xlate.pl @@ -273,6 +273,8 @@ my $mtvrwz = sub { my ($f, $vrt, $ra) = @_; " .long ".sprintf "0x%X",(31<<26)|($vrt<<21)|($ra<<16)|(243<<1)|1; }; +my $lvwzx_u = sub { vsxmem_op(@_, 12); }; # lxsiwzx +my $stvwx_u = sub { vsxmem_op(@_, 140); }; # stxsiwx # PowerISA 3.0 stuff my $maddhdu = sub { vfour(@_,49); }; -- 2.25.1