David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								bb9aa030a5 
								
							 
						 
						
							
							
								
								Procedure compilation now happens after the entire EM file has been read in (so  
							
							... 
							
							
							
							that we can look inside data blocks which might be defined in the future...
sigh, csa and csb). csa and csb no longer generate invalid IR. 
							
						 
						
							2016-09-24 01:04:00 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								ed67d427c9 
								
							 
						 
						
							
							
								
								Replaced the block splicer with a trivial block eliminator (which rewrites  
							
							... 
							
							
							
							jumps to blocks which contain only a jump). Don't bother storing the bb graph
in the ir nodes; we can find it on demand by walking the tree instead ---
slower, but much easier to understand and more robust. Added a terrible map
library. 
							
						 
						
							2016-09-23 23:59:15 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								f8bbf9e87d 
								
							 
						 
						
							
							
								
								Each pass now lives in its own source file; much cleaner.  
							
							
							
						 
						
							2016-09-23 21:07:16 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								9077baa850 
								
							 
						 
						
							
							
								
								Add a bodged in algorithm for converting basic block communication from stacked  
							
							... 
							
							
							
							variables to SSA. Also add dead block removal and block splicing. IR code is
much better now. 
							
						 
						
							2016-09-22 23:19:29 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								6a74cb2e11 
								
							 
						 
						
							
							
								
								Tracing cleanup. Simplified the IR code. Some more opcodes.  
							
							
							
						 
						
							2016-09-22 00:15:48 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								4546dd5f22 
								
							 
						 
						
							
							
								
								Massive grammar overhaul and refactor. Hacked in support for predicates, where  
							
							... 
							
							
							
							instructions can be turned on and off based on their parameters. New lexer
using a lexer. Now quite a lot of the way towards being a real instruction
selector. 
							
						 
						
							2016-09-21 00:43:10 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								36d7d1ee4e 
								
							 
						 
						
							
							
								
								Create hacky fake basic blocks for data fragments, used to track which  
							
							... 
							
							
							
							instruction labels descriptor blocks refer to; this allows csa and csb to know
where they're going. 
							
						 
						
							2016-09-20 00:19:39 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								dcba03646b 
								
							 
						 
						
							
							
								
								Treebuilder now gets to the bottom of my test file, merrily generating  
							
							... 
							
							
							
							(probably horribly broken) IR. 
							
						 
						
							2016-09-19 23:30:41 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								6ce2495aeb 
								
							 
						 
						
							
							
								
								Store the EM code up front and build the basic block graph *before*  
							
							... 
							
							
							
							generating the IR code. Lots more IR code. 
							
						 
						
							2016-09-19 23:06:59 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								176cd7365c 
								
							 
						 
						
							
							
								
								Archival checking of the half-written IR treebuilder.  
							
							
							
						 
						
							2016-09-18 23:24:54 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								24380e2a93 
								
							 
						 
						
							
							
								
								Abstract out the EM reader; skeleton of the tree builder.  
							
							
							
						 
						
							2016-09-18 00:02:16 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								2eee391aef 
								
							 
						 
						
							
							
								
								Basic skeleton of em parser.  
							
							
							
						 
						
							2016-09-17 22:21:47 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								f67c98e239 
								
							 
						 
						
							
							
								
								Distributions are a pain --- let's not bother any more. Instead, we just tag  
							
							... 
							
							
							
							the repository and download a complete snapshot, old and ancient stuff and all. 
							
						 
						
							2016-09-02 23:00:38 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								612e38f1c6 
								
							 
						 
						
							
							
								
								Remove the old make-based build system, plus some big chunks of horribly  
							
							... 
							
							
							
							obsolete protomake build system. 
							
						 
						
							2016-09-02 22:17:51 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								204f932ed2 
								
							 
						 
						
							
							
								
								Raspberry Pi backend now builds.  
							
							
							
						 
						
							2016-08-20 12:40:13 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								4d24666432 
								
							 
						 
						
							
							
								
								Move util/data into modules/src/em_data, for consistency with the other  
							
							... 
							
							
							
							modules. 
							
						 
						
							2016-08-14 14:09:38 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								38fa6941d5 
								
							 
						 
						
							
							
								
								linux68k builds now.  
							
							
							
						 
						
							2016-08-14 11:34:18 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								262c5fedcf 
								
							 
						 
						
							
							
								
								Biggish refactor to break cycles; my build rules were full of them. cpm builds,  
							
							... 
							
							
							
							which requires top and topgen. 
							
						 
						
							2016-08-14 01:39:40 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								b50dc4214a 
								
							 
						 
						
							
							
								
								Add check for undefined variables. Find undefined variables. Fix undefined  
							
							... 
							
							
							
							variables. 
							
						 
						
							2016-08-05 00:01:55 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								5e84be70fd 
								
							 
						 
						
							
							
								
								Massive ackbuilder refactor --- cleaner and more expressive. Lists  
							
							... 
							
							
							
							are automatically flattened (leading to better build files), and the
list and filename functions are vastly more orthogonal. 
							
						 
						
							2016-08-04 23:51:19 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								b2bb4ce3b2 
								
							 
						 
						
							
							
								
								Builds libend (the simplest library). Becoming obvious I need to rework the way  
							
							... 
							
							
							
							ackbuilder deals with lists. 
							
						 
						
							2016-07-30 00:39:22 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								a8a9d1bbfa 
								
							 
						 
						
							
							
								
								yacc, ncgg; platform ncg builds now.  
							
							
							
						 
						
							2016-07-26 23:35:30 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								bff5c4019c 
								
							 
						 
						
							
							
								
								Baby steps towards building a platform --- make the assembler work.  
							
							... 
							
							
							
							Add ackbuilder support for C preprocessor files and yacc. 
							
						 
						
							2016-07-24 00:50:02 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								88bd7ce126 
								
							 
						 
						
							
							
								
								Remove defunct pmfiles.  
							
							... 
							
							
							
							--HG--
branch : default-branch 
							
						 
						
							2016-06-03 13:56:50 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								ef8e6e25e0 
								
							 
						 
						
							
							
								
								Fix a whole pile of issues related to the failed attempt to increase  
							
							... 
							
							
							
							the number of types of relocation possible in the object file. (Now,
hopefully, working.)
Also change the object serialiser/deserialiser to never try to read or
write raw structures; it's way safer this way and we don't need the
performance boost any more.
--HG--
branch : default-branch 
							
						 
						
							2016-03-18 21:46:55 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								88e13ecce3 
								
							 
						 
						
							
							
								
								Don't use the ACK preprocessor on host files --- use the host preprocessor  
							
							... 
							
							
							
							instead.
--HG--
branch : default-branch 
							
						 
						
							2016-03-14 20:58:19 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								e85991ec86 
								
							 
						 
						
							
							
								
								Fix stray 'call file'.  
							
							... 
							
							
							
							--HG--
branch : default-branch 
							
						 
						
							2016-03-13 21:40:05 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								ff0c78cc78 
								
							 
						 
						
							
							
								
								Merge from default.  
							
							... 
							
							
							
							--HG--
branch : dtrg-videocore-branch-branch 
							
						 
						
							2016-03-13 21:13:09 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								9f23fbbe6a 
								
							 
						 
						
							
							
								
								Allow machines to use cg if they wish.  
							
							... 
							
							
							
							--HG--
rename : mach/proto/ncg/build.mk => mach/proto/cg/build.mk
rename : util/ncgg/build.mk => util/cgg/build.mk 
							
						 
						
							2015-03-23 00:08:51 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								c5018d7088 
								
							 
						 
						
							
							
								
								64-bit-ify (adhoc varargs are evil).  
							
							
							
						 
						
							2015-03-23 00:07:59 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								3d5e72e20b 
								
							 
						 
						
							
							
								
								Newer versions of GNU Make have a new function which collides with a  
							
							... 
							
							
							
							variable we're using; change the name of the variable. 
							
						 
						
							2015-03-22 12:09:46 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								fd2360be0f 
								
							 
						 
						
							
							
								
								Ship assembler man pages.  
							
							... 
							
							
							
							--HG--
branch : dtrg-videocore
rename : man/8080_as.6 => man/i80_as.6
rename : man/m68k2_as.6 => man/m68020_as.6 
							
						 
						
							2013-06-21 23:20:50 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								d3e3e72860 
								
							 
						 
						
							
							
								
								Update from trunk.  
							
							... 
							
							
							
							--HG--
branch : dtrg-videocore 
							
						 
						
							2013-05-29 15:03:48 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								e0c121d6e6 
								
							 
						 
						
							
							
								
								Use relocation enumerations rather than hard-coded values for relocation types  
							
							... 
							
							
							
							(these were causing problems due to the enumeration values having changed). 
							
						 
						
							2013-05-29 14:11:04 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								5082b2a5d7 
								
							 
						 
						
							
							
								
								Add lea instruction. Fix dependency issues.  
							
							... 
							
							
							
							--HG--
branch : dtrg-videocore 
							
						 
						
							2013-05-20 19:56:33 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								a46ee91859 
								
							 
						 
						
							
							
								
								Fix warning.  
							
							... 
							
							
							
							--HG--
branch : dtrg-videocore 
							
						 
						
							2013-05-19 23:18:36 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								e7c2029c9c 
								
							 
						 
						
							
							
								
								Dependency fixes.  
							
							
							
						 
						
							2013-05-17 00:04:37 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								e5f6d5acfa 
								
							 
						 
						
							
							
								
								Fix buffer overrun looking up type information for op_lab pseudoops (as  
							
							... 
							
							
							
							they're not EM opcodes, we shouldn't look them up in em_flags!). 
							
						 
						
							2013-05-16 22:02:59 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								11377070fd 
								
							 
						 
						
							
							
								
								Update distribution files.  
							
							... 
							
							
							
							--HG--
branch : dtrg-buildsystem 
							
						 
						
							2013-05-15 23:46:15 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								8fbce949f5 
								
							 
						 
						
							
							
								
								Now describe the make-based build system in the README.  
							
							... 
							
							
							
							--HG--
branch : dtrg-buildsystem 
							
						 
						
							2013-05-15 23:12:05 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								a68b117e96 
								
							 
						 
						
							
							
								
								Add missing dependency.  
							
							... 
							
							
							
							--HG--
branch : dtrg-buildsystem 
							
						 
						
							2013-05-14 14:55:29 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								07453d184a 
								
							 
						 
						
							
							
								
								Top, topgen, aelflod. Moved the libraries back into the platform-specific  
							
							... 
							
							
							
							directories --- wrangling descr files was too hard. C programs can be built
for cpm, pc86, linux386, linux68k!
--HG--
branch : dtrg-buildsystem
rename : util/ack/build.mk => util/led/build.mk
rename : util/LLgen/build.mk => util/topgen/build.mk 
							
						 
						
							2013-05-13 23:26:15 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								442306d557 
								
							 
						 
						
							
							
								
								Split off some of the platform-independent stuff (such as as and ncg).  
							
							... 
							
							
							
							--HG--
branch : dtrg-buildsystem
rename : plat/pc86/build.mk => mach/i386/build.mk
rename : plat/pc86/build.mk => mach/i80/build.mk
rename : plat/pc86/build.mk => mach/i86/build.mk
rename : plat/pc86/build.mk => mach/m68020/build.mk
rename : plat/pc86/build.mk => mach/powerpc/build.mk 
							
						 
						
							2013-05-13 22:12:46 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								b0c238eb5d 
								
							 
						 
						
							
							
								
								Made a start on building the runtimes for each platform and language; the  
							
							... 
							
							
							
							Linuxes all build.
--HG--
branch : dtrg-buildsystem
rename : modules/src/em_mes/build.mk => modules/src/read_em/build.mk
rename : plat/pc86/build.mk => plat/linux386/build.mk
rename : plat/pc86/build.mk => plat/linux68k/build.mk
rename : plat/pc86/build.mk => plat/linuxppc/build.mk
rename : util/ack/build.mk => util/misc/build.mk 
							
						 
						
							2013-05-12 23:51:55 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								c1aca7dae5 
								
							 
						 
						
							
							
								
								First milestone of replacing the build system.  
							
							... 
							
							
							
							--HG--
branch : dtrg-buildsystem
rename : lang/cem/cpp.ansi/Parameters => lang/cem/cpp.ansi/parameters.h 
							
						 
						
							2013-05-12 20:45:55 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								c93cb69959 
								
							 
						 
						
							
							
								
								Check in incomplete Linux PowerPC and M68K work.  
							
							... 
							
							
							
							--HG--
branch : dtrg-experimental-powerpc 
							
						 
						
							2013-05-08 00:48:48 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									George Koehler 
								
							 
						 
						
							
							
							
							
								
							
							
								0131ca4d46 
								
							 
						 
						
							
							
								
								Delete 689 undead files.  
							
							... 
							
							
							
							These files "magically reappeared" after the conversion from CVS to
Mercurial.  The old CVS repository deleted these files but did not
record *when* it deleted these files.  The conversion resurrected these
files because they have no history of deletion.  These files were
probably deleted before year 1995.  The CVS repository begins to record
deletions around 1995.
These files may still appear in older revisions of this Mercurial
repository, when they should already be deleted.  There is no way to fix
this, because the CVS repository provides no dates of deletion.
See http://sourceforge.net/mailarchive/message.php?msg_id=29823032  
							
						 
						
							2012-09-20 22:26:32 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									dtrg 
								
							 
						 
						
							
							
							
							
								
							
							
								fc44fe2185 
								
							 
						 
						
							
							
								
								Properly handles files ending in a partial line.  
							
							
							
						 
						
							2008-03-20 22:50:50 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									dtrg 
								
							 
						 
						
							
							
							
							
								
							
							
								663f4f2fb5 
								
							 
						 
						
							
							
								
								Cleaned up a bit and made work with the new platform architecture.  
							
							
							
						 
						
							2007-04-29 23:03:24 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									dtrg 
								
							 
						 
						
							
							
							
							
								
							
							
								daee8da3c4 
								
							 
						 
						
							
							
								
								yacc source files are now run through the ANSI C preprocessor, not the K&R one.  
							
							
							
						 
						
							2007-04-21 22:55:59 +00:00