add GPL headers to assembler code

This commit is contained in:
Brian Gladman 2016-12-22 22:23:25 +00:00
parent 959308dd5f
commit 45322b6277
4 changed files with 36 additions and 7 deletions

View File

@ -25,8 +25,9 @@
%define Inp1P rdx
%define Inp2P r8
%define Size r9
%define LIMB1 r10
%define LIMB2 r11
%define SizeRest r11
%define LIMB1 rax
%define LIMB2 r10
%else
%define SumP rdi
%define Inp1P rsi

View File

@ -25,8 +25,9 @@
%define Inp1P rdx
%define Inp2P r8
%define Size r9
%define LIMB1 r10
%define LIMB2 r11
%define SizeRest r11
%define LIMB1 rax
%define LIMB2 r10
%else
%define SumP rdi
%define Inp1P rsi

View File

@ -28,8 +28,6 @@
; GNU Lesser General Public License along with the GNU MP Library. If not,
; see https://www.gnu.org/licenses/.
;
; Conversion to Windows by Brian Gladman
;
; mp_limb_t mpn_addmul_1(mp_ptr, mp_ptr, mp_size_t, mp_limb_t)
; rax rdi rsi rdx rcx
; rax rcx rdx r8 r9d

View File

@ -1,7 +1,36 @@
; AMD64 mpn_mul_basecase optimised for Intel Broadwell.
;
; Copyright 2015 Free Software Foundation, Inc.
;
; This file is part of the GNU MP Library.
;
; The GNU MP Library is free software; you can redistribute it and/or modify
; it under the terms of either:
;
; * the GNU Lesser General Public License as published by the Free
; Software Foundation; either version 3 of the License, or (at your
; option) any later version.
;
; or
;
; * the GNU General Public License as published by the Free Software
; Foundation; either version 2 of the License, or (at your option) any
; later version.
;
; or both in parallel, as here.
;
; The GNU MP Library is distributed in the hope that it will be useful, but
; WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
; or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
; for more details.
;
; You should have received copies of the GNU General Public License and the
; GNU Lesser General Public License along with the GNU MP Library. If not,
; see https://www.gnu.org/licenses/.
;
; mp_limb_t mpn_mul_basecase(mp_ptr, mp_ptr, mp_size_t, mp_ptr, mp_size_t)
; rax rdi rsi rdx rcx r8
; rax rcx rdx r8 r9 [rsp+40]
; with 1st size >= 2nd size
%include 'yasm_mac.inc'