David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								e36d739fa4
								
							
						 | 
						
							
							
								
								Add (largely untested) float/int conversion.
							
							
							
							
							
							
							
							--HG--
branch : dtrg-videocore 
							
						 | 
						
							2013-07-01 13:05:36 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								bbd4b46850
								
							
						 | 
						
							
							
								
								Fix stack corruption when adjusting SP. Be a bit more rigorous about clearing the pseudostack on branch/labels.
							
							
							
							
							
							
							
							--HG--
branch : dtrg-videocore 
							
						 | 
						
							2013-06-07 21:25:38 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								86c6fa2f1e
								
							
						 | 
						
							
							
								
								Implement NOT...
							
							
							
							
							
							
							
							--HG--
branch : dtrg-videocore 
							
						 | 
						
							2013-05-30 23:50:19 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								1f36370d87
								
							
						 | 
						
							
							
								
								Implement nop (the C compiler sometimes generates this!).
							
							
							
							
							
							
							
							--HG--
branch : dtrg-videocore 
							
						 | 
						
							2013-05-26 22:54:53 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								ef25c53c9c
								
							
						 | 
						
							
							
								
								Fix bug in ine/dee.
							
							
							
							
							
							
							
							--HG--
branch : dtrg-videocore 
							
						 | 
						
							2013-05-26 18:59:19 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								366cd10194
								
							
						 | 
						
							
							
								
								Remainders are calculated correctly. printf now works.
							
							
							
							
							
							
							
							--HG--
branch : dtrg-videocore 
							
						 | 
						
							2013-05-26 13:13:58 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								510888e6d5
								
							
						 | 
						
							
							
								
								.csb now works.
							
							
							
							
							
							
							
							--HG--
branch : dtrg-videocore
rename : mach/vc4/libem/csa.s => mach/vc4/libem/csb.s 
							
						 | 
						
							2013-05-26 13:06:25 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								308d41e083
								
							
						 | 
						
							
							
								
								Added triple-quad load and store (used by the signal stuff).
							
							
							
							
							
							
							
							--HG--
branch : dtrg-videocore 
							
						 | 
						
							2013-05-26 00:22:08 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								8c21a2ef9b
								
							
						 | 
						
							
							
								
								Stop fighting the terrible code and remove the regvar support --- it didn't help much and was a pain.
							
							
							
							
							
							
							
							--HG--
branch : dtrg-videocore 
							
						 | 
						
							2013-05-25 23:58:35 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								b6680a48cc
								
							
						 | 
						
							
							
								
								Disable register variables. The code is a bit worse, but having two stackable registers makes things much easier to understand.
							
							
							
							
							
							
							
							--HG--
branch : dtrg-videocore 
							
						 | 
						
							2013-05-25 13:31:58 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								472f778342
								
							
						 | 
						
							
							
								
								Don't write out constant data as big-endian! Some other cleanups.
							
							
							
							
							
							
							
							--HG--
branch : dtrg-videocore 
							
						 | 
						
							2013-05-25 00:33:38 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								98a51732ab
								
							
						 | 
						
							
							
								
								Various codegen tweaks.
							
							
							
							
							
							
							
							--HG--
branch : dtrg-videocore 
							
						 | 
						
							2013-05-24 17:04:29 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								2c7ee27206
								
							
						 | 
						
							
							
								
								Double-quads can be loaded and stored (more) correctly.
							
							
							
							
							
							
							
							--HG--
branch : dtrg-videocore 
							
						 | 
						
							2013-05-22 23:55:23 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								6cbe6e1c4e
								
							
						 | 
						
							
							
								
								Better treatment of sign extension.
							
							
							
							
							
							
							
							--HG--
branch : dtrg-videocore 
							
						 | 
						
							2013-05-22 23:12:48 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								7537c85e0a
								
							
						 | 
						
							
							
								
								Generate adds instructions when a shift-and-add is seen (useful for array indexing).
							
							
							
							
							
							
							
							--HG--
branch : dtrg-videocore 
							
						 | 
						
							2013-05-22 21:37:48 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								9e556d8b7b
								
							
						 | 
						
							
							
								
								Optimise direct access to globals, and incrementing and decrementing locals.
							
							
							
							
							
							
							
							--HG--
branch : dtrg-videocore 
							
						 | 
						
							2013-05-22 10:55:13 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								08c4334224
								
							
						 | 
						
							
							
								
								Typo fixes.
							
							
							
							
							
							
							
							--HG--
branch : dtrg-videocore 
							
						 | 
						
							2013-05-22 00:44:04 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								1312fe298b
								
							
						 | 
						
							
							
								
								Now compiles (incorrectly) the entire libc, libpc, libm2 and libbasic!
							
							
							
							
							
							
							
							--HG--
branch : dtrg-videocore 
							
						 | 
						
							2013-05-21 20:05:26 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								877e06ed89
								
							
						 | 
						
							
							
								
								Lots more opcodes including float support. Define float and double to be the
							
							
							
							
							
							
							
							same thing (as the VC4 seems not to have double-precision float support).
--HG--
branch : dtrg-videocore 
							
						 | 
						
							2013-05-21 18:16:30 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								6cdea73e84
								
							
						 | 
						
							
							
								
								Add a lot more opcodes.
							
							
							
							
							
							
							
							--HG--
branch : dtrg-videocore 
							
						 | 
						
							2013-05-20 23:27:45 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								970f2bae62
								
							
						 | 
						
							
							
								
								Major revamp to simplify and use 2op instructions. Better code. Now looks like it may work one day.
							
							
							
							
							
							
							
							--HG--
branch : dtrg-videocore 
							
						 | 
						
							2013-05-20 22:35:12 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								76ba0bf6b3
								
							
						 | 
						
							
							
								
								First steps towards a code generator.
							
							
							
							
							
							
							
							--HG--
branch : dtrg-videocore 
							
						 | 
						
							2013-05-19 23:33:42 +01:00 | 
						
						
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									David Given
								
							 
						 | 
						
							
							
							
							
								
							
							
								32ebc502c8
								
							
						 | 
						
							
							
								
								Skeleton of VideoCore IV support for the Raspberry Pi.
							
							
							
							
							
							
							
							--HG--
branch : dtrg-videocore
rename : mach/powerpc/as/.distr => mach/vc4/as/.distr
rename : mach/powerpc/as/mach0.c => mach/vc4/as/mach0.c
rename : mach/powerpc/as/mach1.c => mach/vc4/as/mach1.c
rename : mach/powerpc/as/mach2.c => mach/vc4/as/mach2.c
rename : mach/powerpc/as/mach3.c => mach/vc4/as/mach3.c
rename : mach/powerpc/as/mach4.c => mach/vc4/as/mach4.c
rename : mach/powerpc/as/mach5.c => mach/vc4/as/mach5.c
rename : mach/i86/build.mk => mach/vc4/build.mk
rename : mach/powerpc/libem/powerpc.h => mach/vc4/libem/videocore.h
rename : mach/i86/libend/.distr => mach/vc4/libend/.distr
rename : mach/i86/libend/edata.s => mach/vc4/libend/edata.s
rename : mach/i86/libend/em_end.s => mach/vc4/libend/em_end.s
rename : mach/i86/libend/end.s => mach/vc4/libend/end.s
rename : mach/i86/libend/etext.s => mach/vc4/libend/etext.s
rename : mach/powerpc/ncg/.distr => mach/vc4/ncg/.distr
rename : mach/powerpc/ncg/mach.c => mach/vc4/ncg/mach.c
rename : mach/powerpc/ncg/mach.h => mach/vc4/ncg/mach.h
rename : mach/powerpc/ncg/table => mach/vc4/ncg/table
rename : plat/pc86/descr => plat/rpi/descr 
							
						 | 
						
							2013-05-17 00:03:38 +01:00 | 
						
						
							
							
							
								
							
							
						 |