Update copyright year
[openssl.git] / crypto / poly1305 / asm / poly1305-s390x.pl
index 49b3f79f1d5bc5d078019f940b1aae0e62cf22f2..82d757d9a1caa860e559043b4d5d6d5b7d08f0f4 100755 (executable)
@@ -1,4 +1,11 @@
-#!/usr/bin/env perl
+#! /usr/bin/env perl
+# Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
+#
+# Licensed under the OpenSSL license (the "License").  You may not use
+# this file except in compliance with the License.  You can obtain a copy
+# in the file LICENSE in the source distribution or at
+# https://www.openssl.org/source/license.html
+
 #
 # ====================================================================
 # Written by Andy Polyakov <appro@openssl.org> for the OpenSSL
@@ -11,7 +18,7 @@
 #
 # June 2015
 #
-# ~6.4/2.2 cpb on z10/z196+, >2x improvement over compiler-generated
+# ~6.6/2.3 cpb on z10/z196+, >2x improvement over compiler-generated
 # code. For older compiler improvement coefficient is >3x, because
 # then base 2^64 and base 2^32 implementations are compared.
 #
@@ -138,11 +145,12 @@ poly1305_blocks:
        ngr     $h0,$h2
        srlg    $t0,$h2,2
        algr    $h0,$t0
+       lghi    $t1,3
+       ngr     $h2,$t1
 
        algr    $h0,$d0lo
-       lghi    $t1,3
        alcgr   $h1,$d1hi               # $d1hi is still zero
-       ngr     $h2,$t1
+       alcgr   $h2,$d1hi               # $d1hi is still zero
 
        brct$g  $len,.Loop