e2f23a3abf 
								
							 
						 
						
							
							
								
								Add lengthof and endof templates that hide a lot of sizeof computations.  
							
							... 
							
							
							
							Patch by Sterling Stein!
llvm-svn: 41758 
							
						 
						
							2007-09-07 04:06:50 +00:00  
				
					
						
							
							
								 
						
							
								a47f7d7cfd 
								
							 
						 
						
							
							
								
								Long double patch 8 of N:  make it partially work in  
							
							... 
							
							
							
							SSE mode (all but conversions <-> other FP types, I think):
>>Do not mark all-80-bit operations as "Requires[FPStack]"
(which really means "not SSE").
>>Refactor load-and-extend to facilitate this.
>>Update comments.
>>Handle long double in SSE when computing FP_REG_KILL.
llvm-svn: 40906 
							
						 
						
							2007-08-07 20:29:26 +00:00  
				
					
						
							
							
								 
						
							
								57c6ac5fe5 
								
							 
						 
						
							
							
								
								Long double patch 7 of N, unless I lost count:).  
							
							... 
							
							
							
							Last x87 bits for full functionality (not
thoroughly tested, and long doubles do not work
in SSE modes at all - use -mcpu=i486 for now)
llvm-svn: 40886 
							
						 
						
							2007-08-07 01:17:37 +00:00  
				
					
						
							
							
								 
						
							
								75169a82d6 
								
							 
						 
						
							
							
								
								Get X86 long double calling convention to work  
							
							... 
							
							
							
							(on Darwin, anyway).  Fix some table omissions for
LD arithmetic.
llvm-svn: 40877 
							
						 
						
							2007-08-06 21:31:06 +00:00  
				
					
						
							
							
								 
						
							
								e279fd6ce8 
								
							 
						 
						
							
							
								
								Make 80-bit store maintain simulated FP stack correctly.  
							
							... 
							
							
							
							llvm-svn: 40868 
							
						 
						
							2007-08-06 19:50:32 +00:00  
				
					
						
							
							
								 
						
							
								b1888e73ad 
								
							 
						 
						
							
							
								
								Long double patch 4 of N: initial x87 implementation.  
							
							... 
							
							
							
							Lots of problems yet but some simple things work.
llvm-svn: 40847 
							
						 
						
							2007-08-05 18:49:15 +00:00  
				
					
						
							
							
								 
						
							
								68471d263f 
								
							 
						 
						
							
							
								
								Fix fp_constant_op failure.  
							
							... 
							
							
							
							llvm-svn: 38514 
							
						 
						
							2007-07-10 21:53:30 +00:00  
				
					
						
							
							
								 
						
							
								3d7008cd49 
								
							 
						 
						
							
							
								
								Refactor X87 instructions.  As a side effect, all  
							
							... 
							
							
							
							their names are changed.
llvm-svn: 37876 
							
						 
						
							2007-07-04 21:07:47 +00:00  
				
					
						
							
							
								 
						
							
								c2a6089b8b 
								
							 
						 
						
							
							
								
								Some spacing fixes.  Cosmetic.  
							
							... 
							
							
							
							llvm-svn: 37853 
							
						 
						
							2007-07-03 17:07:33 +00:00  
				
					
						
							
							
								 
						
							
								a2b3c175db 
								
							 
						 
						
							
							
								
								Fix for PR 1505 (and 1489).  Rewrite X87 register  
							
							... 
							
							
							
							model to include f32 variants.  Some factoring
improvments forthcoming.
llvm-svn: 37847 
							
						 
						
							2007-07-03 00:53:03 +00:00  
				
					
						
							
							
								 
						
							
								8c78a0bff0 
								
							 
						 
						
							
							
								
								Drop 'const'  
							
							... 
							
							
							
							llvm-svn: 36662 
							
						 
						
							2007-05-03 01:11:54 +00:00  
				
					
						
							
							
								 
						
							
								e95c6ad802 
								
							 
						 
						
							
							
								
								Use 'static const char' instead of 'static const int'.  
							
							... 
							
							
							
							Due to darwin gcc bug, one version of darwin linker coalesces
static const int, which defauts PassID based pass identification.
llvm-svn: 36652 
							
						 
						
							2007-05-02 21:39:20 +00:00  
				
					
						
							
							
								 
						
							
								09f162ca6a 
								
							 
						 
						
							
							
								
								Do not use typeinfo to identify pass in pass manager.  
							
							... 
							
							
							
							llvm-svn: 36632 
							
						 
						
							2007-05-01 21:15:47 +00:00  
				
					
						
							
							
								 
						
							
								0ba174534c 
								
							 
						 
						
							
							
								
								Match MachineFunction::UsedPhysRegs changes.  
							
							... 
							
							
							
							llvm-svn: 36452 
							
						 
						
							2007-04-25 22:13:27 +00:00  
				
					
						
							
							
								 
						
							
								1ef9cd400d 
								
							 
						 
						
							
							
								
								eliminate static ctors for Statistic objects.  
							
							... 
							
							
							
							llvm-svn: 32703 
							
						 
						
							2006-12-19 22:59:26 +00:00  
				
					
						
							
							
								 
						
							
								5040f58ae4 
								
							 
						 
						
							
							
								
								Fix a bug introduced by the streams patch.  DEBUG code was made unconditional.  
							
							... 
							
							
							
							llvm-svn: 32351 
							
						 
						
							2006-12-08 05:41:26 +00:00  
				
					
						
							
							
								 
						
							
								9bfb1e1f29 
								
							 
						 
						
							
							
								
								What should be the last unnecessary <iostream>s in the library.  
							
							... 
							
							
							
							llvm-svn: 32333 
							
						 
						
							2006-12-07 22:21:48 +00:00  
				
					
						
							
							
								 
						
							
								700b873130 
								
							 
						 
						
							
							
								
								Detemplatize the Statistic class.  The only type it is instantiated with  
							
							... 
							
							
							
							is 'unsigned'.
llvm-svn: 32279 
							
						 
						
							2006-12-06 17:46:33 +00:00  
				
					
						
							
							
								 
						
							
								845bd6e096 
								
							 
						 
						
							
							
								
								Fix 2005-05-08-FPStackifierPHI.ll failure.  
							
							... 
							
							
							
							llvm-svn: 32071 
							
						 
						
							2006-12-01 10:11:51 +00:00  
				
					
						
							
							
								 
						
							
								aafeaef8c8 
								
							 
						 
						
							
							
								
								MachineInstr::setOpcode -> MachineInstr::setInstrDescriptor  
							
							... 
							
							
							
							llvm-svn: 32034 
							
						 
						
							2006-11-30 07:12:03 +00:00  
				
					
						
							
							
								 
						
							
								20350c4025 
								
							 
						 
						
							
							
								
								Change MachineInstr ctor's to take a TargetInstrDescriptor reference instead  
							
							... 
							
							
							
							of opcode and number of operands.
llvm-svn: 31947 
							
						 
						
							2006-11-27 23:37:22 +00:00  
				
					
						
							
							
								 
						
							
								bbbcac39e6 
								
							 
						 
						
							
							
								
								Kill / dead info has been moved to MI's.  
							
							... 
							
							
							
							llvm-svn: 31764 
							
						 
						
							2006-11-15 20:56:39 +00:00  
				
					
						
							
							
								 
						
							
								cf772f7eca 
								
							 
						 
						
							
							
								
								Revert. This wasn't meant to be checked in.  
							
							... 
							
							
							
							llvm-svn: 31737 
							
						 
						
							2006-11-14 19:20:33 +00:00  
				
					
						
							
							
								 
						
							
								dbd3d294e6 
								
							 
						 
						
							
							
								
								Matches MachineInstr changes.  
							
							... 
							
							
							
							llvm-svn: 31712 
							
						 
						
							2006-11-13 23:36:35 +00:00  
				
					
						
							
							
								 
						
							
								db04c958a5 
								
							 
						 
						
							
							
								
								Add implicit use / def operands to created MI's.  
							
							... 
							
							
							
							llvm-svn: 31676 
							
						 
						
							2006-11-11 10:21:44 +00:00  
				
					
						
							
							
								 
						
							
								14140059f0 
								
							 
						 
						
							
							
								
								Use TargetInstrInfo::getNumOperands() instead of MachineInstr::getNumOperands(). In preparation for implicit reg def/use changes.  
							
							... 
							
							
							
							llvm-svn: 31616 
							
						 
						
							2006-11-10 01:28:43 +00:00  
				
					
						
							
							
								 
						
							
								de46e48420 
								
							 
						 
						
							
							
								
								For PR786:  
							
							... 
							
							
							
							Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting
fall out by removing unused variables. Remaining warnings have to do with
unused functions (I didn't want to delete code without review) and unused
variables in generated code. Maintainers should clean up the remaining
issues when they see them. All changes pass DejaGnu tests and Olden.
llvm-svn: 31380 
							
						 
						
							2006-11-02 20:25:50 +00:00  
				
					
						
							
							
								 
						
							
								2656932979 
								
							 
						 
						
							
							
								
								Bugfix to work with the two-addr changes that have been made in the tree recently  
							
							... 
							
							
							
							llvm-svn: 30121 
							
						 
						
							2006-09-05 20:27:32 +00:00  
				
					
						
							
							
								 
						
							
								3d27be1333 
								
							 
						 
						
							
							
								
								s|llvm/Support/Visibility.h|llvm/Support/Compiler.h|  
							
							... 
							
							
							
							llvm-svn: 29911 
							
						 
						
							2006-08-27 12:54:02 +00:00  
				
					
						
							
							
								 
						
							
								181fb1c4d7 
								
							 
						 
						
							
							
								
								Do once flag never set to true.  
							
							... 
							
							
							
							llvm-svn: 29214 
							
						 
						
							2006-07-19 19:33:08 +00:00  
				
					
						
							
							
								 
						
							
								0cc5907728 
								
							 
						 
						
							
							
								
								Hide x86 symbols  
							
							... 
							
							
							
							llvm-svn: 28976 
							
						 
						
							2006-06-28 23:27:49 +00:00  
				
					
						
							
							
								 
						
							
								70af620709 
								
							 
						 
						
							
							
								
								Added fisttp for fp to int conversion.  
							
							... 
							
							
							
							llvm-svn: 26283 
							
						 
						
							2006-02-18 02:36:28 +00:00  
				
					
						
							
							
								 
						
							
								15a8c15a1f 
								
							 
						 
						
							
							
								
								Improve compatibility with VC2005, patch by Morten Ofstad!  
							
							... 
							
							
							
							llvm-svn: 25661 
							
						 
						
							2006-01-26 20:41:32 +00:00  
				
					
						
							
							
								 
						
							
								de02d7727f 
								
							 
						 
						
							
							
								
								Add explicit #includes of <iostream>  
							
							... 
							
							
							
							llvm-svn: 25515 
							
						 
						
							2006-01-22 23:41:00 +00:00  
				
					
						
							
							
								 
						
							
								468fecdc99 
								
							 
						 
						
							
							
								
								Rename fcmovae to fcmovnb and fcmova to fcmovnbe (following Intel manual).  
							
							... 
							
							
							
							Some assemblers can't recognize the aliases.
llvm-svn: 25494 
							
						 
						
							2006-01-21 02:55:41 +00:00  
				
					
						
							
							
								 
						
							
								efaf5c56fd 
								
							 
						 
						
							
							
								
								* fp to sint patterns.  
							
							... 
							
							
							
							* fiadd, fisub, etc.
llvm-svn: 25189 
							
						 
						
							2006-01-10 22:22:02 +00:00  
				
					
						
							
							
								 
						
							
								f431ad4477 
								
							 
						 
						
							
							
								
								Rewrite FP stackifier support in the X86InstrInfo.td file, splitting patterns  
							
							... 
							
							
							
							that were overloaded to work before and after the stackifier runs.  With the
new clean world, it is possible to write patterns for these instructions: woo!
This also adds a few simple patterns here and there, though there are a lot
still missing.  These should be easy to add though. :)
See the comments under "Floating Point Stack Support" for more details on
the new world order.
This patch as absolutely no effect on the generated code, woo!
llvm-svn: 24899 
							
						 
						
							2005-12-21 07:47:04 +00:00  
				
					
						
							
							
								 
						
							
								cdc0cbbcd0 
								
							 
						 
						
							
							
								
								Adjust to new livevars interface  
							
							... 
							
							
							
							llvm-svn: 22991 
							
						 
						
							2005-08-23 23:41:14 +00:00  
				
					
						
							
							
								 
						
							
								7c1c6e06f3 
								
							 
						 
						
							
							
								
								Simplify this code by using LiveVariables::KillsRegister  
							
							... 
							
							
							
							llvm-svn: 22988 
							
						 
						
							2005-08-23 22:49:55 +00:00  
				
					
						
							
							
								 
						
							
								c88330ad13 
								
							 
						 
						
							
							
								
								* Remove trailing whitespace  
							
							... 
							
							
							
							* Convert tabs to spaces
llvm-svn: 21426 
							
						 
						
							2005-04-21 23:38:14 +00:00  
				
					
						
							
							
								 
						
							
								debae1e3c3 
								
							 
						 
						
							
							
								
								Allow the FP stackifier to completely ignore functions that do not use FP at  
							
							... 
							
							
							
							all.  This should speed up the X86 backend fairly significantly on integer
codes.  Now if only we didn't have to compute livevar still... ;-)
llvm-svn: 19796 
							
						 
						
							2005-01-23 23:13:59 +00:00  
				
					
						
							
							
								 
						
							
								7c16caa336 
								
							 
						 
						
							
							
								
								Changes For Bug 352  
							
							... 
							
							
							
							Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.
llvm-svn: 16137 
							
						 
						
							2004-09-01 22:55:40 +00:00  
				
					
						
							
							
								 
						
							
								cf7d3af07f 
								
							 
						 
						
							
							
								
								Fix file header as it has been renamed.  
							
							... 
							
							
							
							llvm-svn: 15239 
							
						 
						
							2004-07-26 18:45:48 +00:00  
				
					
						
							
							
								 
						
							
								bca562404c 
								
							 
						 
						
							
							
								
								Renamed files to have the `X86' prefix for uniqueness purposes.  
							
							... 
							
							
							
							All CVS history was renamed, the *,v were copied over.  No worries.
llvm-svn: 15238 
							
						 
						
							2004-07-26 18:43:11 +00:00