More opcodes.
This commit is contained in:
		
							parent
							
								
									b22780c075
								
							
						
					
					
						commit
						a4644dee4d
					
				
					 1 changed files with 28 additions and 0 deletions
				
			
		|  | @ -810,6 +810,19 @@ static void insn_ivalue(int opcode, arith value) | |||
|             break; | ||||
|         } | ||||
| 
 | ||||
|         case op_ldf: | ||||
|         { | ||||
|             struct ir* ptr = pop(EM_pointersize); | ||||
| 
 | ||||
|             push( | ||||
|                 load( | ||||
|                     EM_wordsize*2, | ||||
|                     ptr, value | ||||
|                 ) | ||||
|             ); | ||||
|             break; | ||||
|         } | ||||
| 
 | ||||
|         case op_sti: | ||||
|         { | ||||
|             struct ir* ptr = pop(EM_pointersize); | ||||
|  | @ -840,6 +853,21 @@ static void insn_ivalue(int opcode, arith value) | |||
|             break; | ||||
|         } | ||||
| 
 | ||||
|         case op_sdf: | ||||
|         { | ||||
|             struct ir* ptr = pop(EM_pointersize); | ||||
|             struct ir* val = pop(EM_wordsize*2); | ||||
| 
 | ||||
|             appendir( | ||||
|                 store( | ||||
|                     EM_wordsize*2, | ||||
|                     ptr, value, | ||||
|                     val | ||||
|                 ) | ||||
|             ); | ||||
|             break; | ||||
|         } | ||||
| 
 | ||||
|         case op_ads: | ||||
|         { | ||||
|             struct ir* off = pop(value); | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue