Impact of native compilation

Pascal Brisset pascal.brisset@REDACTED
Fri Sep 6 19:51:58 CEST 2002

 > We were wondering why the result was different. Is there many more operations implied by Erlang ?  

More important is that there are much less operations than you
think in the C version: "g++ -O3" optimizes the unused code out.

	pushl	%ebp
	movl	%esp, %ebp
	movl	$99999999, %eax
	.p2align 2
	decl	%eax
	jns	.L6
	xorl	%eax, %eax
	popl	%ebp

-- Pascal Brisset  [pascal.brisset@REDACTED] --
-- Cellicium | 157 r des Blains | F-92220 Bagneux --

More information about the erlang-questions mailing list