Remove resolved TODO
[oweals/openssl.git] / crypto / poly1305 / asm / poly1305-armv8.pl
index 928d3cf4fa9391ecec81af74bcc73d024cb183cd..0fc8667ac7b1674fb55a9b5e753aa03fc6de36bd 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
@@ -20,6 +27,7 @@
 # Cortex-A57   2.70/+7%        1.14
 # Denver       1.64/+50%       1.18(*)
 # X-Gene       2.13/+68%       2.27
+# Mongoose     1.77/+75%       1.12
 #
 # (*)  estimate based on resources availability is less than 1.0,
 #      i.e. measured result is worse than expected, presumably binary
@@ -92,7 +100,11 @@ poly1305_init:
        csel    $d0,$d0,$r0,eq
        csel    $d1,$d1,$r1,eq
 
+#ifdef __ILP32__
+       stp     w12,w13,[$len]
+#else
        stp     $d0,$d1,[$len]
+#endif
 
        mov     x0,#1
 .Lno_key: