From: <daw...@us...> - 2014-05-09 21:58:31
|
Revision: 6620 http://sourceforge.net/p/mingw-w64/code/6620 Author: dawncrow Date: 2014-05-09 21:58:25 +0000 (Fri, 09 May 2014) Log Message: ----------- _chgsignl: Add ARM implementation Modified Paths: -------------- trunk/mingw-w64-crt/math/_chgsignl.S Modified: trunk/mingw-w64-crt/math/_chgsignl.S =================================================================== --- trunk/mingw-w64-crt/math/_chgsignl.S 2014-05-09 21:57:28 UTC (rev 6619) +++ trunk/mingw-w64-crt/math/_chgsignl.S 2014-05-09 21:58:25 UTC (rev 6620) @@ -25,10 +25,10 @@ #else .align 4 #endif -.globl __MINGW_USYMBOL(_chgsignl) + .globl __MINGW_USYMBOL(_chgsignl) .def __MINGW_USYMBOL(_chgsignl); .scl 2; .type 32; .endef __MINGW_USYMBOL(_chgsignl): -#ifdef _WIN64 +#if defined(_AMD64_) || defined(__x86_64__) movq (%rdx), %rax movq 8(%rdx), %rdx xorq $0x8000, %rdx @@ -36,7 +36,10 @@ movq %rdx, 8(%rcx) movq %rcx, %rax ret -#else +#elif defined(_ARM_) || defined(__arm__) + vneg.f64 d0, d0 + bx lr +#elif defined(_X86_) || defined(__i386__) movl 12(%esp),%eax xorl $0x8000,%eax movl %eax,12(%esp) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |