Commit 1bf80d93 authored by Emilia Kasper's avatar Emilia Kasper Committed by Richard Levitte
Browse files

Explain *cough*-dows

parent 4def90c5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -88,7 +88,7 @@ $frame=32; # size of above frame rounded up to 16n

	&and	("esp",-64);		# align to cache line

	# Some OSes, *cough*-dows, insist on stack being "wired" to
	# Some OSes (Windows) insist on stack being "wired" to
	# physical memory in strictly sequential manner, i.e. if stack
	# allocation spans two pages, then reference to farmost one can
	# be punishable by SEGV. But page walking can do good even on
+1 −1
Original line number Diff line number Diff line
@@ -130,7 +130,7 @@ $code.=<<___;

	mov	%r11,8(%rsp,$num,8)	# tp[num+1]=%rsp
.Lmul_body:
	# Some OSes, *cough*-dows, insist on stack being "wired" to
	# Some OSes (Windows) insist on stack being "wired" to
	# physical memory in strictly sequential manner, i.e. if stack
	# allocation spans two pages, then reference to farmost one can
	# be punishable by SEGV. But page walking can do good even on
+1 −1
Original line number Diff line number Diff line
@@ -115,7 +115,7 @@ $code.=<<___;

	mov	%rax,8(%rsp,$num,8)	# tp[num+1]=%rsp
.Lmul_body:
	# Some OSes, *cough*-dows, insist on stack being "wired" to
	# Some OSes (Windows) insist on stack being "wired" to
	# physical memory in strictly sequential manner, i.e. if stack
	# allocation spans two pages, then reference to farmost one can
	# be punishable by SEGV. But page walking can do good even on