~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '2.4.x' into 2.5.x
[catacomb]
/
math
/
mpx-mul4-x86-sse2.S
diff --git
a/math/mpx-mul4-x86-sse2.S
b/math/mpx-mul4-x86-sse2.S
index
11aadc9
..
904c0d0
100644
(file)
--- a/
math/mpx-mul4-x86-sse2.S
+++ b/
math/mpx-mul4-x86-sse2.S
@@
-24,15
+24,13
@@
/// MA 02111-1307, USA.
///--------------------------------------------------------------------------
/// MA 02111-1307, USA.
///--------------------------------------------------------------------------
-///
External definition
s.
+///
Preliminarie
s.
#include "config.h"
#include "asm-common.h"
#include "config.h"
#include "asm-common.h"
-///--------------------------------------------------------------------------
-/// Prologue.
-
.arch pentium4
.arch pentium4
+
.text
///--------------------------------------------------------------------------
.text
///--------------------------------------------------------------------------
@@
-707,7
+705,7
@@
FUNC(mpx_umul4_x86_sse2)
pushreg ebx
pushreg esi
pushreg edi
pushreg ebx
pushreg esi
pushreg edi
- setfp
ebp
+ setfp
and esp, ~15
sub esp, 32
endprologue
and esp, ~15
sub esp, 32
endprologue
@@
-822,7
+820,7
@@
FUNC(mpxmont_mul4_x86_sse2)
pushreg ebx
pushreg esi
pushreg edi
pushreg ebx
pushreg esi
pushreg edi
- setfp
ebp
+ setfp
and esp, ~15
sub esp, 112
endprologue
and esp, ~15
sub esp, 112
endprologue
@@
-968,7
+966,7
@@
FUNC(mpxmont_redc4_x86_sse2)
pushreg ebx
pushreg esi
pushreg edi
pushreg ebx
pushreg esi
pushreg edi
- setfp
ebp
+ setfp
and esp, ~15
sub esp, 76
endprologue
and esp, ~15
sub esp, 76
endprologue
@@
-1097,7
+1095,7
@@
ENDFUNC
pushreg ebx
pushreg esi
pushreg edi
pushreg ebx
pushreg esi
pushreg edi
- setfp
ebp
+ setfp
and esp, ~15
sub esp, 3*32 + 4*4
endprologue
and esp, ~15
sub esp, 3*32 + 4*4
endprologue
@@
-1214,6
+1212,18
@@
FUNC(test_mul4)
testepilogue
ENDFUNC
testepilogue
ENDFUNC
+FUNC(test_mul4zc)
+ testprologue [ebp + 36]
+ testldcarry [ebp + 24]
+ testexpand nil, [ebp + 32]
+ mov edi, [ebp + 20]
+ testtop nil, [ebp + 28]
+ call mul4zc
+ testtail [ebp + 40]
+ testcarryout [ebp + 24]
+ testepilogue
+ENDFUNC
+
FUNC(test_mla4)
testprologue [ebp + 36]
testldcarry [ebp + 24]
FUNC(test_mla4)
testprologue [ebp + 36]
testldcarry [ebp + 24]
@@
-1226,6
+1236,18
@@
FUNC(test_mla4)
testepilogue
ENDFUNC
testepilogue
ENDFUNC
+FUNC(test_mla4zc)
+ testprologue [ebp + 36]
+ testldcarry [ebp + 24]
+ testexpand nil, [ebp + 32]
+ mov edi, [ebp + 20]
+ testtop nil, [ebp + 28]
+ call mla4zc
+ testtail [ebp + 40]
+ testcarryout [ebp + 24]
+ testepilogue
+ENDFUNC
+
FUNC(test_mmul4)
testprologue [ebp + 48]
testexpand [ebp + 40], [ebp + 44]
FUNC(test_mmul4)
testprologue [ebp + 48]
testexpand [ebp + 40], [ebp + 44]