Skip to content

Commit

Permalink
s390x assembly pack: allow alignment hints for vector load/store
Browse files Browse the repository at this point in the history
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 <[email protected]>

Reviewed-by: Paul Dale <[email protected]>
Reviewed-by: Richard Levitte <[email protected]>
(Merged from openssl#8181)
  • Loading branch information
p-steuer authored and levitte committed Apr 25, 2019
1 parent bb5b3e6 commit 11aad86
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crypto/perlasm/s390x.pm
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ sub vgmg {
}

sub vl {
confess(err("ARGNUM")) if ($#_!=1);
confess(err("ARGNUM")) if ($#_<1||$#_>2);
VRX(0xe706,@_);
}

Expand Down Expand Up @@ -345,7 +345,7 @@ sub vllezg {
}

sub vlm {
confess(err("ARGNUM")) if ($#_!=2);
confess(err("ARGNUM")) if ($#_<2||$#_>3);
VRSa(0xe736,@_);
}

Expand Down Expand Up @@ -548,7 +548,7 @@ sub vsegf {
}

sub vst {
confess(err("ARGNUM")) if ($#_!=1);
confess(err("ARGNUM")) if ($#_<1||$#_>2);
VRX(0xe70e,@_);
}

Expand All @@ -570,7 +570,7 @@ sub vsteg {
}

sub vstm {
confess(err("ARGNUM")) if ($#_!=2);
confess(err("ARGNUM")) if ($#_<2||$#_>3);
VRSa(0xe73e,@_);
}

Expand Down

0 comments on commit 11aad86

Please sign in to comment.