From 11aad862850cb2e639756e7126216b6cf38af26b Mon Sep 17 00:00:00 2001 From: Patrick Steuer Date: Thu, 7 Feb 2019 16:44:05 +0100 Subject: [PATCH] s390x assembly pack: allow alignment hints for vector load/store z14 introduced alignment hints to help vector load/store performance. For its predecessors, alignment hint defaults to 0 (no alignment indicated). Signed-off-by: Patrick Steuer Reviewed-by: Paul Dale Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/8181) --- crypto/perlasm/s390x.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crypto/perlasm/s390x.pm b/crypto/perlasm/s390x.pm index 5f3a49dd0c..c00218a0cc 100644 --- a/crypto/perlasm/s390x.pm +++ b/crypto/perlasm/s390x.pm @@ -250,7 +250,7 @@ sub vgmg { } sub vl { - confess(err("ARGNUM")) if ($#_!=1); + confess(err("ARGNUM")) if ($#_<1||$#_>2); VRX(0xe706,@_); } @@ -345,7 +345,7 @@ sub vllezg { } sub vlm { - confess(err("ARGNUM")) if ($#_!=2); + confess(err("ARGNUM")) if ($#_<2||$#_>3); VRSa(0xe736,@_); } @@ -548,7 +548,7 @@ sub vsegf { } sub vst { - confess(err("ARGNUM")) if ($#_!=1); + confess(err("ARGNUM")) if ($#_<1||$#_>2); VRX(0xe70e,@_); } @@ -570,7 +570,7 @@ sub vsteg { } sub vstm { - confess(err("ARGNUM")) if ($#_!=2); + confess(err("ARGNUM")) if ($#_<2||$#_>3); VRSa(0xe73e,@_); } -- 2.34.1