aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJussi Kivilinna <[email protected]>2022-01-08 23:41:35 +0200
committerJussi Kivilinna <[email protected]>2022-01-11 20:10:12 +0200
commit0c0f27a89205842b5ef8e56a9726074f6b738f73 (patch)
tree2ffa13b168463e3073e53edacca78ed6ffc3303b
parent9bbb6c2c5d03c19b7f4356628a76eb8bde3ab026 (diff)
downloadlibgcrypt-0c0f27a89205842b5ef8e56a9726074f6b738f73.tar.gz
libgcrypt-0c0f27a89205842b5ef8e56a9726074f6b738f73.tar.bz2
libgcrypt-0c0f27a89205842b5ef8e56a9726074f6b738f73.zip
mpi/amd64: remove extra 'ret' from assembly functions
* mpi/amd64/mpih-add1.S: Remove 'ret' as it is already included by FUNC_EXIT macro. * mpi/amd64/mpih-lshift.S: Likewise. * mpi/amd64/mpih-mul1.S: Likewise. * mpi/amd64/mpih-mul2.S: Likewise. * mpi/amd64/mpih-mul3.S: Likewise. * mpi/amd64/mpih-rshift.S: Likewise. * mpi/amd64/mpih-sub1.S: Likewise. -- Signed-off-by: Jussi Kivilinna <[email protected]>
-rw-r--r--mpi/amd64/mpih-add1.S1
-rw-r--r--mpi/amd64/mpih-lshift.S1
-rw-r--r--mpi/amd64/mpih-mul1.S1
-rw-r--r--mpi/amd64/mpih-mul2.S1
-rw-r--r--mpi/amd64/mpih-mul3.S1
-rw-r--r--mpi/amd64/mpih-rshift.S1
-rw-r--r--mpi/amd64/mpih-sub1.S1
7 files changed, 0 insertions, 7 deletions
diff --git a/mpi/amd64/mpih-add1.S b/mpi/amd64/mpih-add1.S
index 157e5f1e..39c00c52 100644
--- a/mpi/amd64/mpih-add1.S
+++ b/mpi/amd64/mpih-add1.S
@@ -61,4 +61,3 @@ C_SYMBOL_NAME(_gcry_mpih_add_n:)
movq %rcx, %rax /* zero %rax */
adcq %rax, %rax
FUNC_EXIT()
- ret
diff --git a/mpi/amd64/mpih-lshift.S b/mpi/amd64/mpih-lshift.S
index 76e9408f..a9c7d7e1 100644
--- a/mpi/amd64/mpih-lshift.S
+++ b/mpi/amd64/mpih-lshift.S
@@ -76,4 +76,3 @@ C_SYMBOL_NAME(_gcry_mpih_lshift:)
.Lende: psllq %xmm1, %xmm2
movq %xmm2, (%rdi)
FUNC_EXIT()
- ret
diff --git a/mpi/amd64/mpih-mul1.S b/mpi/amd64/mpih-mul1.S
index 67ab47ea..dacb9d87 100644
--- a/mpi/amd64/mpih-mul1.S
+++ b/mpi/amd64/mpih-mul1.S
@@ -64,4 +64,3 @@ C_SYMBOL_NAME(_gcry_mpih_mul_1:)
movq %r8, %rax
FUNC_EXIT()
- ret
diff --git a/mpi/amd64/mpih-mul2.S b/mpi/amd64/mpih-mul2.S
index 1aa4fa0a..07913586 100644
--- a/mpi/amd64/mpih-mul2.S
+++ b/mpi/amd64/mpih-mul2.S
@@ -63,4 +63,3 @@ C_SYMBOL_NAME(_gcry_mpih_addmul_1:)
movq %r8, %rax
FUNC_EXIT()
- ret
diff --git a/mpi/amd64/mpih-mul3.S b/mpi/amd64/mpih-mul3.S
index bc41c4eb..f8889eb2 100644
--- a/mpi/amd64/mpih-mul3.S
+++ b/mpi/amd64/mpih-mul3.S
@@ -64,4 +64,3 @@ C_SYMBOL_NAME(_gcry_mpih_submul_1:)
movq %r8, %rax
FUNC_EXIT()
- ret
diff --git a/mpi/amd64/mpih-rshift.S b/mpi/amd64/mpih-rshift.S
index d5e27974..8ecf155f 100644
--- a/mpi/amd64/mpih-rshift.S
+++ b/mpi/amd64/mpih-rshift.S
@@ -79,4 +79,3 @@ C_SYMBOL_NAME(_gcry_mpih_rshift:)
.Lende: psrlq %xmm1, %xmm2
movq %xmm2, -8(%rdi)
FUNC_EXIT()
- ret
diff --git a/mpi/amd64/mpih-sub1.S b/mpi/amd64/mpih-sub1.S
index ccf64963..d60b58a5 100644
--- a/mpi/amd64/mpih-sub1.S
+++ b/mpi/amd64/mpih-sub1.S
@@ -60,4 +60,3 @@ C_SYMBOL_NAME(_gcry_mpih_sub_n:)
movq %rcx, %rax /* zero %rax */
adcq %rax, %rax
FUNC_EXIT()
- ret