svenbarth 
							
						 
					 
					
						
						
						
						
							
						
						
							ccecf2c13c 
							
						 
					 
					
						
						
							
							Fix comparisons (aka usage of flag/CCR register)  
						
						... 
						
						
						
						m68k/aasmcpu.pas, taicpu.spilling_get_operation_type:
  * add all Sxx instructions as "operand_write" instructions
m68k/n68kadd.pas, t68kaddnode.getresflags:
  * use the correct operation in case of swapped nodes
m68k/cgcpu.pas, tcg68k.g_flags2reg:
  - don't move a 0 to the register, because this will CLR it and thus the flags won't be valid anymore...
  - NEG would have been the wrong operation (NOT would have been correct), but it isn't needed anyway...
  * simplify the method by handling the address register case only when necessary
git-svn-id: trunk@23383 - 
						
					 
					
						2013-01-14 20:31:15 +00:00 
						 
				 
			
				
					
						
							
							
								svenbarth 
							
						 
					 
					
						
						
						
						
							
						
						
							5adb28a935 
							
						 
					 
					
						
						
							
							m68k/aasmcpu.pas, taicpu.spilling_get_operation_type:  
						
						... 
						
						
						
						+ NEGX is a readwrite instruction
git-svn-id: trunk@23093 - 
						
					 
					
						2012-12-02 11:48:57 +00:00 
						 
				 
			
				
					
						
							
							
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							6bc6036fd5 
							
						 
					 
					
						
						
							
							Set cai_align and cai_cpu  
						
						... 
						
						
						
						git-svn-id: trunk@22769 - 
						
					 
					
						2012-10-19 15:38:39 +00:00 
						 
				 
			
				
					
						
							
							
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							b104d9c9e6 
							
						 
					 
					
						
						
							
							Add some missing instructions to spilling_get_operation_type method  
						
						... 
						
						
						
						git-svn-id: trunk@22760 - 
						
					 
					
						2012-10-19 10:18:16 +00:00 
						 
				 
			
				
					
						
							
							
								svenbarth 
							
						 
					 
					
						
						
						
						
							
						
						
							d9a61f2082 
							
						 
					 
					
						
						
							
							* make internal error unique  
						
						... 
						
						
						
						* add MULU and MULS to taicpu.get_spilling_operation_type
git-svn-id: trunk@22746 - 
						
					 
					
						2012-10-18 20:12:16 +00:00 
						 
				 
			
				
					
						
							
							
								svenbarth 
							
						 
					 
					
						
						
						
						
							
						
						
							83da4592d3 
							
						 
					 
					
						
						
							
							m68k/aasmcpu, taicpu.spilling_get_operation_type: add support for A_SUBX  
						
						... 
						
						
						
						git-svn-id: trunk@22724 - 
						
					 
					
						2012-10-18 20:10:24 +00:00 
						 
				 
			
				
					
						
							
							
								yury 
							
						 
					 
					
						
						
						
						
							
						
						
							491f0fa1d8 
							
						 
					 
					
						
						
							
							* Replaced all user defined warnings by TODO comments to reduce compiler noise.  
						
						... 
						
						
						
						git-svn-id: trunk@11443 - 
						
					 
					
						2008-07-23 11:00:03 +00:00 
						 
				 
			
				
					
						
							
							
								florian 
							
						 
					 
					
						
						
						
						
							
						
						
							94ea214f32 
							
						 
					 
					
						
						
							
							* more spilling fixes  
						
						... 
						
						
						
						git-svn-id: trunk@9820 - 
						
					 
					
						2008-01-20 16:13:20 +00:00 
						 
				 
			
				
					
						
							
							
								florian 
							
						 
					 
					
						
						
						
						
							
						
						
							50294418bc 
							
						 
					 
					
						
						
							
							* spilling for neg, ext and extb fixed  
						
						... 
						
						
						
						git-svn-id: trunk@9819 - 
						
					 
					
						2008-01-20 16:07:42 +00:00 
						 
				 
			
				
					
						
							
							
								Károly Balogh 
							
						 
					 
					
						
						
						
						
							
						
						
							b91c0756c4 
							
						 
					 
					
						
						
							
							+ made m68k to compile system unit again  
						
						... 
						
						
						
						git-svn-id: trunk@9017 - 
						
					 
					
						2007-10-31 22:33:00 +00:00 
						 
				 
			
				
					
						
							
							
								daniel 
							
						 
					 
					
						
						
						
						
							
						
						
							182fca72f2 
							
						 
					 
					
						
						
							
							* Change spill_* routines to return Taicpu instead of Tai to increase  
						
						... 
						
						
						
						strong typing.
  * Fix PowerPC R0 register allocation
git-svn-id: trunk@7317 - 
						
					 
					
						2007-05-12 15:43:16 +00:00 
						 
				 
			
				
					
						
							
							
								Jonas Maebe 
							
						 
					 
					
						
						
						
						
							
						
						
							a23fa2e81e 
							
						 
					 
					
						
						
							
							* moved (unfinished) routines related to writing taicpu's to ppu files  
						
						... 
						
						
						
						from x86/aasmcpu to aasmtai and (new) aasmsym, so that when they're
    finished they're available for all targets
  * added dummy implementation of tai_cpu_abstract.pass1 and pass2 so there
    are no more hundreds of warnings on non-x86 about constructing taicpu
    instances with abstract methods
git-svn-id: trunk@5787 - 
						
					 
					
						2007-01-02 18:28:05 +00:00 
						 
				 
			
				
					
						
							
							
								florian 
							
						 
					 
					
						
						
						
						
							
						
						
							4cbb67aa00 
							
						 
					 
					
						
						
							
							* some fpu emulation code from arm to generic code generator moved  
						
						... 
						
						
						
						* several m68k fixes
git-svn-id: trunk@5218 - 
						
					 
					
						2006-11-04 10:23:35 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							b7fe6797bf 
							
						 
					 
					
						
						
							
							Merged revisions 2921-2922,2925 via svnmerge from  
						
						... 
						
						
						
						http://svn.freepascal.org/svn/fpc/branches/linker/compiler 
........
r2921 | peter | 2006-03-15 08:35:00 +0100 (Wed, 15 Mar 2006) | 2 lines
  * pass ObjectWriter to ObjectOuput
........
r2922 | peter | 2006-03-15 12:40:30 +0100 (Wed, 15 Mar 2006) | 2 lines
  * refactor asmdata
........
r2925 | peter | 2006-03-15 16:09:39 +0100 (Wed, 15 Mar 2006) | 3 lines
  * add cfi to asmdata
  * move asmlist, asmcfi, asmdata to own unit
........
git-svn-id: trunk@2932 - 
					
						2006-03-16 08:52:22 +00:00 
						 
				 
			
				
					
						
							
							
								Károly Balogh 
							
						 
					 
					
						
						
						
						
							
						
						
							3b2fe2b622 
							
						 
					 
					
						
						
							
							* some more tiny m68k hacks...  
						
						... 
						
						
						
						git-svn-id: trunk@2804 - 
						
					 
					
						2006-03-07 23:01:55 +00:00 
						 
				 
			
				
					
						
							
							
								Károly Balogh 
							
						 
					 
					
						
						
						
						
							
						
						
							a9dbab1035 
							
						 
					 
					
						
						
							
							- tiny bits of mess cleanup  
						
						... 
						
						
						
						git-svn-id: trunk@2399 - 
						
					 
					
						2006-02-02 00:11:49 +00:00 
						 
				 
			
				
					
						
							
							
								florian 
							
						 
					 
					
						
						
						
						
							
						
						
							2c1e796f1f 
							
						 
					 
					
						
						
							
							* fixed regallocator for m68k  
						
						... 
						
						
						
						git-svn-id: trunk@2395 - 
						
					 
					
						2006-02-01 20:26:28 +00:00 
						 
				 
			
				
					
						
							
							
								Károly Balogh 
							
						 
					 
					
						
						
						
						
							
						
						
							37024dc4d0 
							
						 
					 
					
						
						
							
							+ more m68k mess... ignore :)  
						
						... 
						
						
						
						git-svn-id: trunk@2384 - 
						
					 
					
						2006-01-31 16:58:50 +00:00 
						 
				 
			
				
					
						
							
							
								Károly Balogh 
							
						 
					 
					
						
						
						
						
							
						
						
							238964e443 
							
						 
					 
					
						
						
							
							Various m68k fixes/additions:  
						
						... 
						
						
						
						- fixes in asmreader, basic stuff works again, the rest is untested
  - removed lot of unnecessary ungetcpuregister()s
  - various other fixes i forgot
  + basic amigaos syscalls support. still lacks explicit funcretloc
git-svn-id: trunk@1943 - 
						
					 
					
						2005-12-13 20:42:15 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							1f8c074ab4 
							
						 
					 
					
						
						
							
							* make m68k compile  
						
						... 
						
						
						
						git-svn-id: trunk@1138 - 
						
					 
					
						2005-09-19 11:46:23 +00:00 
						 
				 
			
				
					
						
							
							
								Károly Balogh 
							
						 
					 
					
						
						
						
						
							
						
						
							bbfea4d03f 
							
						 
					 
					
						
						
							
							an attempt to fix a bit more stuff in m68k  
						
						... 
						
						
						
						git-svn-id: trunk@794 - 
						
					 
					
						2005-08-04 21:28:25 +00:00 
						 
				 
			
				
					
						
							
							
								Károly Balogh 
							
						 
					 
					
						
						
						
						
							
						
						
							e7b1c386b7 
							
						 
					 
					
						
						
							
							some dirty 68k changes/experiments...  
						
						... 
						
						
						
						git-svn-id: trunk@792 - 
						
					 
					
						2005-08-04 20:00:20 +00:00 
						 
				 
			
				
					
						
							
							
								Károly Balogh 
							
						 
					 
					
						
						
						
						
							
						
						
							94281c5589 
							
						 
					 
					
						
						
							
							few fixes and advancements. 68k cg now compiles empty system unit without crashing.  
						
						... 
						
						
						
						git-svn-id: trunk@224 - 
						
					 
					
						2005-06-05 23:36:35 +00:00 
						 
				 
			
				
					
						
							
							
								fpc 
							
						 
					 
					
						
						
						
						
							
						
						
							790a4fe2d3 
							
						 
					 
					
						
						
							
							* log and id tags removed  
						
						... 
						
						
						
						git-svn-id: trunk@42 - 
						
					 
					
						2005-05-21 09:42:41 +00:00 
						 
				 
			
				
					
						
							
							
								fpc 
							
						 
					 
					
						
						
						
						
							
						
						
							50778076c3 
							
						 
					 
					
						
						
							
							initial import  
						
						... 
						
						
						
						git-svn-id: trunk@1 - 
						
					 
					
						2005-05-16 18:37:41 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							e417e34496 
							
						 
					 
					
						
						
							
							* truncate log  
						
						
						
					 
					
						2005-02-14 17:13:06 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							6c9c4c686c 
							
						 
					 
					
						
						
							
							* small m68k updates to bring it up2date  
						
						... 
						
						
						
						* give better error for external local variable 
						
					 
					
						2004-11-09 22:32:59 +00:00 
						 
				 
			
				
					
						
							
							
								florian 
							
						 
					 
					
						
						
						
						
							
						
						
							8a9758c5e2 
							
						 
					 
					
						
						
							
							* logs truncated  
						
						
						
					 
					
						2004-06-20 08:55:28 +00:00 
						 
				 
			
				
					
						
							
							
								florian 
							
						 
					 
					
						
						
						
						
							
						
						
							e9bb27df36 
							
						 
					 
					
						
						
							
							* spilling of doubles on sparc fixed  
						
						
						
					 
					
						2004-06-20 08:47:33 +00:00 
						 
				 
			
				
					
						
							
							
								florian 
							
						 
					 
					
						
						
						
						
							
						
						
							2555cc8496 
							
						 
					 
					
						
						
							
							* register numbers for address registers fixed  
						
						
						
					 
					
						2004-05-06 22:01:54 +00:00 
						 
				 
			
				
					
						
							
							
								florian 
							
						 
					 
					
						
						
						
						
							
						
						
							b80d10cb70 
							
						 
					 
					
						
						
							
							* fixed some m68k compilation problems  
						
						
						
					 
					
						2004-01-30 12:17:18 +00:00 
						 
				 
			
				
					
						
							
							
								Jonas Maebe 
							
						 
					 
					
						
						
						
						
							
						
						
							d29c96896f 
							
						 
					 
					
						
						
							
							* fixed newra cycle for x86  
						
						... 
						
						
						
						* added constants for indicating source and destination operands of the
    "move reg,reg" instruction to aasmcpu (and use those in rgobj) 
						
					 
					
						2003-06-14 14:53:50 +00:00 
						 
				 
			
				
					
						
							
							
								daniel 
							
						 
					 
					
						
						
						
						
							
						
						
							86bcea6ef5 
							
						 
					 
					
						
						
							
							* Code generator converted to new register notation  
						
						... 
						
						
						
						- Horribily outdated todo.txt removed 
						
					 
					
						2003-02-19 22:00:14 +00:00 
						 
				 
			
				
					
						
							
							
								carl 
							
						 
					 
					
						
						
						
						
							
						
						
							3214bab118 
							
						 
					 
					
						
						
							
							* maxoperands -> max_operands (for portability in rautils.pas)  
						
						... 
						
						
						
						* fix some range-check errors with loadconst
  + add ncgadd unit to m68k
  * some bugfix of a_param_reg with LOC_CREFERENCE 
						
					 
					
						2002-12-14 15:02:03 +00:00 
						 
				 
			
				
					
						
							
							
								carl 
							
						 
					 
					
						
						
						
						
							
						
						
							62e2cd1c67 
							
						 
					 
					
						
						
							
							* merges from Pierre's fixes in m68k fixes branch  
						
						
						
					 
					
						2002-11-30 23:33:02 +00:00 
						 
				 
			
				
					
						
							
							
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							dcd9e0107c 
							
						 
					 
					
						
						
							
							* old logs removed and tabs fixed  
						
						
						
					 
					
						2002-09-07 15:25:00 +00:00 
						 
				 
			
				
					
						
							
							
								carl 
							
						 
					 
					
						
						
						
						
							
						
						
							654ddac250 
							
						 
					 
					
						
						
							
							+ m68k problems with cvs fixed?()!  
						
						
						
					 
					
						2002-08-13 18:58:54 +00:00 
						 
				 
			
				
					
						
							
							
								carl 
							
						 
					 
					
						
						
						
						
							
						
						
							c68b2dfbee 
							
						 
					 
					
						
						
							
							* rename swatoperands to swapoperands  
						
						... 
						
						
						
						+ m68k first compilable version (still needs a lot of testing):
      assembler generator, system information , inline
      assembler reader. 
						
					 
					
						2002-08-13 18:01:50 +00:00 
						 
				 
			
				
					
						
							
							
								carl 
							
						 
					 
					
						
						
						
						
							
						
						
							9da171faf2 
							
						 
					 
					
						
						
							
							+ stab register indexes for powerpc (moved from gdb to cpubase)  
						
						... 
						
						
						
						+ tprocessor enumeration moved to cpuinfo
  + linker in target_info is now a class
  * many many updates for m68k (will soon start to compile)
  - removed some ifdef or correct them for correct cpu 
						
					 
					
						2002-08-12 15:08:39 +00:00 
						 
				 
			
				
					
						
							
							
								carl 
							
						 
					 
					
						
						
						
						
							
						
						
							3034065498 
							
						 
					 
					
						
						
							
							+ restart m68k support  
						
						
						
					 
					
						2002-07-29 17:51:32 +00:00