[M3commit] CVS Update: cm3

Jay Krell jkrell at elego.de
Sun Apr 25 01:52:17 CEST 2010


CVSROOT:	/usr/cvs
Changes by:	jkrell at birch.	10/04/25 01:52:17

Modified files:
	cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c 

Log message:
	#define BITS_PER_INTEGER POINTER_SIZE
	and then BITS_PER_WORD => BITS_PER_INTEGER
	
	and then to be consistent:
	bits_per_word => bits_per_integer
	bytes_per_word => bytes_per_integer
	
	"integer" meaning specifically "Modula-3 INTEGER",
	which shall be the same size as a pointer.
	
	This lets ALPHA32 platforms get much further.
	It should not affect any other platform since
	register = "word" = "integer" everywhere else I believe
	
	Here is the evidence btw of the oddity:
	jay at xlin2:/dev2/cm3/m3-sys/m3cc$ grep "define UNITS_PER_WORD"
	/dev2/cm3/m3-sys/m3cc/gcc/gcc/config/alpha/*
	/dev2/cm3/m3-sys/m3cc/gcc/gcc/config/alpha/alpha.h:#define
	UNITS_PER_WORD 8
	jay at xlin2:/dev2/cm3/m3-sys/m3cc$ grep "define LONG_TYPE_SIZE"
	/dev2/cm3/m3-sys/m3cc/gcc/gcc/config/alpha/*
	/dev2/cm3/m3-sys/m3cc/gcc/gcc/config/alpha/vms.h:#define LONG_TYPE_SIZE
	32
	jay at xlin2:/dev2/cm3/m3-sys/m3cc$ grep "define POINTER_SIZE"
	/dev2/cm3/m3-sys/m3cc/gcc/gcc/config/alpha/*
	/dev2/cm3/m3-sys/m3cc/gcc/gcc/config/alpha/alpha.h:#define POINTER_SIZE
	64
	/dev2/cm3/m3-sys/m3cc/gcc/gcc/config/alpha/vms64.h:#define POINTER_SIZE
	64
	/dev2/cm3/m3-sys/m3cc/gcc/gcc/config/alpha/vms.h:#define POINTER_SIZE 32




More information about the M3commit mailing list