Added some more patterns
This commit is contained in:
		
							parent
							
								
									8e8f0b4079
								
							
						
					
					
						commit
						e5b52ce56f
					
				
					 1 changed files with 16 additions and 0 deletions
				
			
		|  | @ -2409,6 +2409,10 @@ pat lae aar $2==2 && defined(rom($1,1)) | |||
|    				leaving adp 0-rom($1,1)*rom($1,3) ads 2 | ||||
|   | ||||
| pat loc sli ads sti $1==1 && $2==2 && $3==2 | ||||
| with exact rmorconst ADDR_EXTERN | ||||
|   uses reusing %1,ADDREG=%1 | ||||
|   gen sal %a,{ANYCON,1}		yields {Xreg_off,%a,%2.off} | ||||
| 						leaving sti $4 | ||||
| with ADDREG rmorconst | ||||
|   gen sal %1,{ANYCON,1} | ||||
|   add %1,%2			yields %1	leaving sti $4 | ||||
|  | @ -2417,6 +2421,9 @@ with REG ADDREG | |||
|       add %2,%1			yields %2	leaving sti $4 | ||||
| 
 | ||||
| pat loc sli ads $1==1 && $2==2 && $3==2 | ||||
| with exact rmorconst ADDR_EXTERN | ||||
|   uses reusing %1,ADDREG=%1 | ||||
|   gen sal %a,{ANYCON,1}		yields {Xreg_off,%a,%2.off} | ||||
| with ADDREG rmorconst | ||||
|   gen sal %1,{ANYCON,1} | ||||
|   add %1,%2			yields %1 | ||||
|  | @ -2428,6 +2435,11 @@ with REG rmorconst | |||
|   add %1,%2			yields %1 | ||||
| 
 | ||||
| pat loc sli ads sti $1==2 && $2==2 && $3==2 | ||||
| with exact rmorconst ADDR_EXTERN | ||||
|   uses reusing %1,ADDREG=%1 | ||||
|   gen sal %a,{ANYCON,1} | ||||
|       sal %a,{ANYCON,1}		yields {Xreg_off,%a,%2.off} | ||||
| 						leaving sti $4 | ||||
| with ADDREG rmorconst | ||||
|   gen sal %1,{ANYCON,1} | ||||
|       sal %1,{ANYCON,1} | ||||
|  | @ -2438,6 +2450,10 @@ with REG ADDREG | |||
|       add %2,%1			yields %2	leaving sti $4 | ||||
| 
 | ||||
| pat loc sli ads $1==2 && $2==2 && $3==2 | ||||
| with exact rmorconst ADDR_EXTERN | ||||
|   uses reusing %1,ADDREG=%1 | ||||
|   gen sal %a,{ANYCON,1} | ||||
|       sal %a,{ANYCON,1}		yields {Xreg_off,%a,%2.off} | ||||
| with ADDREG rmorconst | ||||
|   gen sal %1,{ANYCON,1} | ||||
|       sal %1,{ANYCON,1} | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue