Fixed #32 a SEGFAULT bug with gcc-4.6. According to i386 calling convention, The called funtion should remove the hidden return value address from the stack.
This commit is contained in:
parent
3d7e62eb8b
commit
31040e4d80
|
@ -21,6 +21,7 @@ common:
|
||||||
|
|
||||||
x86/x86_64:
|
x86/x86_64:
|
||||||
* Fixed #28 a wrong result of dsdot on x86_64.
|
* Fixed #28 a wrong result of dsdot on x86_64.
|
||||||
|
* Fixed #32 a SEGFAULT bug of zdotc with gcc-4.6.
|
||||||
|
|
||||||
MIPS64:
|
MIPS64:
|
||||||
* Fixed #28 a wrong result of dsdot on Loongson3A/MIPS64.
|
* Fixed #28 a wrong result of dsdot on Loongson3A/MIPS64.
|
||||||
|
|
|
@ -1541,5 +1541,8 @@
|
||||||
popl %ebx
|
popl %ebx
|
||||||
popl %esi
|
popl %esi
|
||||||
popl %edi
|
popl %edi
|
||||||
|
/*remove the hidden return value address from the stack.*/
|
||||||
|
popl %ecx
|
||||||
|
xchgl %ecx, 0(%esp)
|
||||||
ret
|
ret
|
||||||
EPILOGUE
|
EPILOGUE
|
||||||
|
|
Loading…
Reference in New Issue