Added a very-nearly-noop peephole optimiser for Z80.
This commit is contained in:
		
							parent
							
								
									fc44fe2185
								
							
						
					
					
						commit
						481bcd8a8b
					
				
					 2 changed files with 16 additions and 0 deletions
				
			
		
							
								
								
									
										1
									
								
								mach/z80/top/.distr
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								mach/z80/top/.distr
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | |||
| table | ||||
							
								
								
									
										15
									
								
								mach/z80/top/table
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								mach/z80/top/table
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,15 @@ | |||
| 
 | ||||
| /* 8080 desciptor table for ACK target optimizer */ | ||||
| 
 | ||||
| MAXOP 2; | ||||
| 
 | ||||
| %%; | ||||
| 
 | ||||
| X, Y, Z             { TRUE }; | ||||
| %%; | ||||
| 
 | ||||
| /* Whitespace is significant here! */ | ||||
| 
 | ||||
| ld X, Y : ld X, Z          -> mov X, Z ; | ||||
| 
 | ||||
| %%; | ||||
		Loading…
	
	Add table
		
		Reference in a new issue