[Git][cmucl/cmucl][issue-86-save-fpu-state-on-entry-to-alloc] Remove old version of alloc_overflow_sse2

Raymond Toy gitlab at common-lisp.net
Fri Aug 28 23:33:08 UTC 2020



Raymond Toy pushed to branch issue-86-save-fpu-state-on-entry-to-alloc at cmucl / cmucl


Commits:
f923302e by Raymond Toy at 2020-08-28T16:32:49-07:00
Remove old version of alloc_overflow_sse2

- - - - -


1 changed file:

- src/lisp/x86-assem.S


Changes:

=====================================
src/lisp/x86-assem.S
=====================================
@@ -381,28 +381,6 @@ ENDFUNC(fastcopy16)
  * On exit:
  * %eax = address
  */
-#if 0
-FUNCDEF(alloc_overflow_sse2)
-	STACK_PROLOGUE(20)
-	movl	%ecx, 8(%esp)	# Save ecx and edx registers
-	movl	%edx, 4(%esp)
-	stmxcsr 12(%esp)	# Save MXCSR
-	/* Clear the exceptions that might have occurred */
-	movl	12(%esp), %edx
-	and	$-64, %edx	# Clear the exceptions
-	movl	%edx, 16(%esp)
-	ldmxcsr 16(%esp)	# Get new mxcsr value
-	movl	%eax, (%esp)	# Put size on stack for first arg to alloc()
-
-	call	GNAME(alloc)
-
-	movl	4(%esp), %edx	# Restore edx and ecx registers.  eax has the return value.
-	movl	8(%esp), %ecx
-	ldmxcsr	12(%esp)
-	STACK_EPILOGUE
-	ret
-ENDFUNC(alloc_overflow_sse2)	
-#else
 FUNCDEF(alloc_overflow_sse2)
 	# Need 8*16 bytes for the xmm registers, and space to save ecx
 	# and edx, space for mxcsr, a temp, and one arg to pass to alloc.
@@ -465,7 +443,6 @@ FUNCDEF(alloc_overflow_sse2)
 	STACK_EPILOGUE
 	ret
 ENDFUNC(alloc_overflow_sse2)	
-#endif		
 
 #ifdef LINKAGE_TABLE
 



View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/f923302ed996dd4cda9c45a899f962e7e11e7f57

-- 
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/f923302ed996dd4cda9c45a899f962e7e11e7f57
You're receiving this email because of your account on gitlab.common-lisp.net.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cmucl-cvs/attachments/20200828/6dbc1807/attachment-0001.htm>


More information about the cmucl-cvs mailing list