diff options
author | Patrick Steuer <patrick.steuer@de.ibm.com> | 2019-02-07 16:44:05 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-04-25 23:07:36 +0200 |
commit | 11aad862850cb2e639756e7126216b6cf38af26b (patch) | |
tree | b168766f2e3be17728f823bcb2e646370926c75d | |
parent | bb5b3e6dd0575a4fa96f5085228b716062c00502 (diff) |
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 <patrick.steuer@de.ibm.com>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8181)
-rw-r--r-- | crypto/perlasm/s390x.pm | 8 |
1 files 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,@_); } |