Commit 11aad862 authored by Patrick Steuer's avatar Patrick Steuer Committed by Richard Levitte
Browse files

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: default avatarPatrick Steuer <patrick.steuer@de.ibm.com>

Reviewed-by: default avatarPaul Dale <paul.dale@oracle.com>
Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8181)
parent bb5b3e6d
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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,@_);
}