[M3commit] CVS Update: cm3

Jay Krell jkrell at elego.de
Mon Jan 25 09:08:48 CET 2010


CVSROOT:	/usr/cvs
Changes by:	jkrell at birch.	10/01/25 09:08:48

Modified files:
	cm3/m3-sys/m3back/src/: M3x86.m3 

Log message:
	work in progress: longint/int64
	aggressively using function calls:
	add, subtract, multiply, divide, mod, negate,
	min, max, no, shift, shift_left, shift_right,
	rotate, rotate_left, rotate_right, swap, pop,
	and, or, xor, abs
	
	slight hack here is that we mangle
	the 64bit functions signatures and calling conventions
	such as to have the C compiler maintain the stack
	This should probably be among the first things fixed
	once things are working or partly working or earlier
	(though really the constant folding is target-independent
	and should be elsewhere, like in m3front)
	
	This requires updating m3core (or at least hand.obj).
	
	still to handle:
	insert, extract
	load, store (partly implemented)
	function parameters and return value




More information about the M3commit mailing list