This feature has never been used since its introduction, more than 3 years ago, in David Given's commitc93cb69of May 8, 2013. The commit was for "PowerPC and M68K work". I am not undoing the entire commit. I am only removing the stackadjust and stackoffset() feature. This commit removes the feature from my branch kernigh-linuxppc. This removal includes the mach/proto/ncg parts. The default branch already removed most of the feature, but kept the mach/proto/ncg parts. That removal happened in commit81778b6of May 13, 2013 (which was a merge; git diffaf0dede81778b6). The branch dtrg-experimental-powerpc merged the default branch but without the removal. That merge was commit4703db0fof Sep 15, 2016 (git diff8c94b134703db0). My branch kernigh-linuxppc is off branch dtrg-experimental-powerpc, so I can no longer get the removal by merging default. David Given described the stackadjust feature in https://sourceforge.net/p/tack/mailman/message/30814691/ The instruction stackadjust would add a value to the offset, and the function stackoffset() would return this offset. One would use this to track sp - fp, then omit the frame pointer by not keeping fp in a register.
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			356 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			356 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
 | |
|  * See the copyright notice in the ACK home directory, in the file "Copyright".
 | |
|  */
 | |
| /* $Id$ */
 | |
| 
 | |
| #define INSMOVE		(-1)
 | |
| #define INSTEST 	(-2)
 | |
| #define INSPRETURN	(-3)
 | |
| #define INSTLAB		(-4)
 | |
| #define INSSETCC	(-5)
 | |
| #define INSERASE	(-6)
 | |
| #define INSREMOVE	(-7)
 | |
| #define INSLABDEF	(-8)
 |