Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								c7287c8eda 
								
							 
						 
						
							
							
								
								add matches for SxADDL and company, as well as simplify the SxADDQ code  
							
							 
							
							... 
							
							
							
							llvm-svn: 21281 
							
						 
						
							2005-04-13 05:19:55 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								8eb82fb524 
								
							 
						 
						
							
							
								
								added all flavors of zap for anding  
							
							 
							
							... 
							
							
							
							llvm-svn: 21276 
							
						 
						
							2005-04-13 03:47:03 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								857624f47a 
								
							 
						 
						
							
							
								
								Remove support for ZERO_EXTEND_INREG.  This pessimizes code, genering stuff  
							
							 
							
							... 
							
							
							
							like this:
        ldah $1,1($31)
        lda $1,-1($1)
        and $0,$1,$24
instead of this:
        zap $0,252,$24
To get this back, the selector should recognize the ISD::AND case where this
happens and emit the appropriate ZAP instruction.
llvm-svn: 21270 
							
						 
						
							2005-04-13 02:43:40 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								740f93ca10 
								
							 
						 
						
							
							
								
								Get rid of idefs for arguments (oops)  
							
							 
							
							... 
							
							
							
							llvm-svn: 21251 
							
						 
						
							2005-04-12 17:47:57 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								10c6eb4be2 
								
							 
						 
						
							
							
								
								Get rid of idefs for arguments  
							
							 
							
							... 
							
							
							
							llvm-svn: 21250 
							
						 
						
							2005-04-12 17:35:16 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a3a135a9f7 
								
							 
						 
						
							
							
								
								This target does not support/want ISD::BRCONDTWOWAY  
							
							 
							
							... 
							
							
							
							llvm-svn: 21164 
							
						 
						
							2005-04-09 03:22:37 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								de5aed3f12 
								
							 
						 
						
							
							
								
								collect a few statistics, factor constants (constant loading and mult), fix logic operation pattern matchs, supress FP div when int dividing by a constant  
							
							 
							
							... 
							
							
							
							llvm-svn: 21156 
							
						 
						
							2005-04-08 17:28:49 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								534eebb317 
								
							 
						 
						
							
							
								
								Alpha zero extends setcc results  
							
							 
							
							... 
							
							
							
							llvm-svn: 21149 
							
						 
						
							2005-04-07 20:11:32 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								9807ac5d3c 
								
							 
						 
						
							
							
								
								fix a small optimization opertunity and make gcc happy  
							
							 
							
							... 
							
							
							
							llvm-svn: 21143 
							
						 
						
							2005-04-07 18:15:28 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								6b492bec30 
								
							 
						 
						
							
							
								
								fixup magic constant making code.  tested by thousands of random divisions.... by 10000.  ok, so random divisors would be good too, but this at least fixes some things  
							
							 
							
							... 
							
							
							
							llvm-svn: 21140 
							
						 
						
							2005-04-07 17:19:16 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								05e51d92e0 
								
							 
						 
						
							
							
								
								It wasn't happy about this either  
							
							 
							
							... 
							
							
							
							llvm-svn: 21133 
							
						 
						
							2005-04-07 14:18:13 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								85f34a5682 
								
							 
						 
						
							
							
								
								Yea, it wasn't happy  
							
							 
							
							... 
							
							
							
							llvm-svn: 21132 
							
						 
						
							2005-04-07 13:55:53 +00:00  
						
					 
				
					
						
							
							
								 
								Alkis Evlogimenos
							
						 
						
							 
							
							
							
							
								
							
							
								7ca0947274 
								
							 
						 
						
							
							
								
								Make these 64 bit constants so that this compiles on x86-32 as well.  
							
							 
							
							... 
							
							
							
							llvm-svn: 21125 
							
						 
						
							2005-04-06 22:09:40 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								3ea17c6cfe 
								
							 
						 
						
							
							
								
								added sdiv by 2^k and works for neg divisors also  
							
							 
							
							... 
							
							
							
							llvm-svn: 21124 
							
						 
						
							2005-04-06 22:03:13 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								df3256aa7f 
								
							 
						 
						
							
							
								
								fix copy/paste errors, and add imm support to SxADDQ and SxSUBQ  
							
							 
							
							... 
							
							
							
							llvm-svn: 21121 
							
						 
						
							2005-04-06 20:59:59 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								1d4747c302 
								
							 
						 
						
							
							
								
								Added Nate's div by constant stuff, also scaled operations!  
							
							 
							
							... 
							
							
							
							llvm-svn: 21116 
							
						 
						
							2005-04-06 20:25:34 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								43f78bc2da 
								
							 
						 
						
							
							
								
								added lowerargs support for varargs  
							
							 
							
							... 
							
							
							
							llvm-svn: 21101 
							
						 
						
							2005-04-05 20:51:46 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								79e727e8a7 
								
							 
						 
						
							
							
								
								is this simpler?  I think it is simpler.  
							
							 
							
							... 
							
							
							
							llvm-svn: 21064 
							
						 
						
							2005-04-03 20:35:21 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								7ce5740de9 
								
							 
						 
						
							
							
								
								fix 101 regressions  
							
							 
							
							... 
							
							
							
							llvm-svn: 21063 
							
						 
						
							2005-04-03 18:24:50 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								46897ab49e 
								
							 
						 
						
							
							
								
								Select optimization  
							
							 
							
							... 
							
							
							
							llvm-svn: 21051 
							
						 
						
							2005-04-02 22:32:39 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								f029d795f0 
								
							 
						 
						
							
							
								
								Try several things.  1) drop /i from FP ops 2) factor out FP to Int moves and provide 21264 support for those 3) match not 4) match ornot andnot xornot  
							
							 
							
							... 
							
							
							
							llvm-svn: 21046 
							
						 
						
							2005-04-02 21:06:51 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								e7ae400bc8 
								
							 
						 
						
							
							
								
								FNEG/FABS/UNDEF  
							
							 
							
							... 
							
							
							
							llvm-svn: 21029 
							
						 
						
							2005-04-02 19:11:07 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								7ad3697e1e 
								
							 
						 
						
							
							
								
								FNEG/FABS  
							
							 
							
							... 
							
							
							
							llvm-svn: 21028 
							
						 
						
							2005-04-02 19:04:58 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0b7e4cd107 
								
							 
						 
						
							
							
								
								This target doesn't support fabs/fneg yet.  
							
							 
							
							... 
							
							
							
							llvm-svn: 21010 
							
						 
						
							2005-04-02 05:03:24 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								3bf6f80588 
								
							 
						 
						
							
							
								
								make fp div trick dependend on flag  
							
							 
							
							... 
							
							
							
							llvm-svn: 20967 
							
						 
						
							2005-03-31 22:02:25 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								dec53920b4 
								
							 
						 
						
							
							
								
								PCMarker support for DAG and Alpha  
							
							 
							
							... 
							
							
							
							llvm-svn: 20965 
							
						 
						
							2005-03-31 21:24:06 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								e3d9f8c4f9 
								
							 
						 
						
							
							
								
								yea, fine Duraid  
							
							 
							
							... 
							
							
							
							llvm-svn: 20942 
							
						 
						
							2005-03-30 18:22:52 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								93d008990e 
								
							 
						 
						
							
							
								
								Fix up some types and constants  
							
							 
							
							... 
							
							
							
							llvm-svn: 20928 
							
						 
						
							2005-03-29 19:24:04 +00:00  
						
					 
				
					
						
							
							
								 
								Nate Begeman
							
						 
						
							 
							
							
							
							
								
							
							
								f656525cb6 
								
							 
						 
						
							
							
								
								Change interface to LowerCallTo to take a boolean isVarArg argument.  
							
							 
							
							... 
							
							
							
							llvm-svn: 20842 
							
						 
						
							2005-03-26 01:29:23 +00:00  
						
					 
				
					
						
							
							
								 
								Nate Begeman
							
						 
						
							 
							
							
							
							
								
							
							
								952105220e 
								
							 
						 
						
							
							
								
								Remove comments that are now meaningless from the pattern ISels, at Chris's  
							
							 
							
							... 
							
							
							
							request.
llvm-svn: 20804 
							
						 
						
							2005-03-24 04:39:54 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								82f364515c 
								
							 
						 
						
							
							
								
								don't lie to the register allocator  
							
							 
							
							... 
							
							
							
							llvm-svn: 20784 
							
						 
						
							2005-03-23 15:20:01 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								6294dee913 
								
							 
						 
						
							
							
								
								two things:  1)evilness reduction patch, reduces the number of instructions hiding in the small jump CC moving code.  2)implement div of small data types by FP DIV (also reduces evilness and should speed things up)  
							
							 
							
							... 
							
							
							
							llvm-svn: 20756 
							
						 
						
							2005-03-22 00:24:07 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								aa254d5f79 
								
							 
						 
						
							
							
								
								sure, I can set a flag, but if I never check it, why bother setting it?  Should fix 20 programs :)  
							
							 
							
							... 
							
							
							
							llvm-svn: 20623 
							
						 
						
							2005-03-15 19:51:19 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								531f9e92d4 
								
							 
						 
						
							
							
								
								This mega patch converts us from using Function::a{iterator|begin|end} to  
							
							 
							
							... 
							
							
							
							using Function::arg_{iterator|begin|end}.  Likewise Module::g* -> Module::global_*.
This patch is contributed by Gabor Greif, thanks!
llvm-svn: 20597 
							
						 
						
							2005-03-15 04:54:21 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								0b9096bcc5 
								
							 
						 
						
							
							
								
								FP 0.0 setcc optimization, and generate short branch sequence for setcc(FP) rather than stack usage  
							
							 
							
							... 
							
							
							
							llvm-svn: 20589 
							
						 
						
							2005-03-14 19:23:45 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								27a3df07a0 
								
							 
						 
						
							
							
								
								remove a pseudo instruction and improve inline constant generation  
							
							 
							
							... 
							
							
							
							llvm-svn: 20563 
							
						 
						
							2005-03-11 17:48:05 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								8df62dda57 
								
							 
						 
						
							
							
								
								fix FCMOVxx typo, set rem and div to hardcode target reg to be the same as the one the assembler uese, update ISel to put values in regs used by assembler for rem and div  
							
							 
							
							... 
							
							
							
							llvm-svn: 20434 
							
						 
						
							2005-03-04 20:09:23 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								6a5f52d15a 
								
							 
						 
						
							
							
								
								beter Select on FP  
							
							 
							
							... 
							
							
							
							llvm-svn: 20424 
							
						 
						
							2005-03-03 21:47:53 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								180a04a4bb 
								
							 
						 
						
							
							
								
								remove 32 sign extend after 32 sextload and handle small negative constant  
							
							 
							
							... 
							
							
							
							llvm-svn: 20408 
							
						 
						
							2005-03-02 17:23:03 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								10bc4c0ff6 
								
							 
						 
						
							
							
								
								make BB labels be exported for debuging, add fp negation optimization, further pecimise the FP instructions  
							
							 
							
							... 
							
							
							
							llvm-svn: 20332 
							
						 
						
							2005-02-25 22:55:15 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								27cf4eb1c7 
								
							 
						 
						
							
							
								
								Ah the problems you have to fix when you stray from the One True Way (TM)  
							
							 
							
							... 
							
							
							
							llvm-svn: 20290 
							
						 
						
							2005-02-23 17:33:42 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								ccdfdd7aee 
								
							 
						 
						
							
							
								
								oops  
							
							 
							
							... 
							
							
							
							llvm-svn: 20278 
							
						 
						
							2005-02-22 23:29:25 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								7ac0143fa6 
								
							 
						 
						
							
							
								
								dynamic stack allocas  
							
							 
							
							... 
							
							
							
							llvm-svn: 20273 
							
						 
						
							2005-02-22 21:59:48 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								cae2f21e3b 
								
							 
						 
						
							
							
								
								fix setcc on floats, fixes singlesource:pi, perhaps others  
							
							 
							
							... 
							
							
							
							llvm-svn: 20172 
							
						 
						
							2005-02-14 05:41:43 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								d39febfc66 
								
							 
						 
						
							
							
								
								try to do better match for i32 adds  
							
							 
							
							... 
							
							
							
							llvm-svn: 20143 
							
						 
						
							2005-02-12 21:11:17 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								df5cd0868f 
								
							 
						 
						
							
							
								
								oops, I was sure this had already gond though the nightly tester  
							
							 
							
							... 
							
							
							
							llvm-svn: 20141 
							
						 
						
							2005-02-12 20:42:09 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								76c5d97750 
								
							 
						 
						
							
							
								
								added sign extend for boolean  
							
							 
							
							... 
							
							
							
							llvm-svn: 20137 
							
						 
						
							2005-02-12 19:35:12 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								b301af712e 
								
							 
						 
						
							
							
								
								fix a bunch of regressions due to call behavior  
							
							 
							
							... 
							
							
							
							llvm-svn: 20110 
							
						 
						
							2005-02-10 20:10:38 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								e0b789fdf5 
								
							 
						 
						
							
							
								
								so, if you beat on it, you too can talk emacs into having a sane indenting policy...  Also, optimize many function calls with pc-relative calls (partial prologue skipping for that case coming soon), try to fix the random jumps to strange places problem by pesimizing div et. al. register usage and fixing up GP before using, some calling convention tweaks, and make frame pointer unallocatable (not strickly necessary, but let's go for correctness first)  
							
							 
							
							... 
							
							
							
							llvm-svn: 20106 
							
						 
						
							2005-02-10 06:25:22 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								8ec0a2b13a 
								
							 
						 
						
							
							
								
								BranchCC, nifty  
							
							 
							
							... 
							
							
							
							llvm-svn: 20067 
							
						 
						
							2005-02-08 00:40:03 +00:00