summaryrefslogtreecommitdiffstats
path: root/crypto/perlasm
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2015-02-22 17:43:11 +0100
committerAndy Polyakov <appro@openssl.org>2015-02-24 10:12:57 +0100
commit13c1807041c9e2a502ee9af418f723bbf135e24c (patch)
treef60adb1ec7648baba7df771d29774a5f52007755 /crypto/perlasm
parentf243def213b24256db997bb30f729bc23d2c9d0a (diff)
Fix crash in SPARC T4 XTS.
Reviewed-by: Tim Hudson <tjh@openssl.org> (cherry picked from commit 775b669de3ba84d8dce16ff5e2bdffe263c05c4b)
Diffstat (limited to 'crypto/perlasm')
-rw-r--r--crypto/perlasm/sparcv9_modes.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/perlasm/sparcv9_modes.pl b/crypto/perlasm/sparcv9_modes.pl
index dc55b34e41..eb267a57ed 100644
--- a/crypto/perlasm/sparcv9_modes.pl
+++ b/crypto/perlasm/sparcv9_modes.pl
@@ -1249,6 +1249,7 @@ $code.=<<___;
fxor %f8, %f4, %f4
fxor %f10, %f6, %f6
+ subcc $len, 2, $len
stda %f0, [$out]0xe2 ! ASI_BLK_INIT, T4-specific
add $out, 8, $out
stda %f2, [$out]0xe2 ! ASI_BLK_INIT, T4-specific