e8e81a2941 
								
							 
						 
						
							
							
								
								Revamp the Register class, and allow the use of the RegisterGroup class to  
							
							... 
							
							
							
							specify aliases directly in register definitions.
Patch contributed by Jason Eckhardt!
llvm-svn: 16330 
							
						 
						
							2004-09-14 04:17:02 +00:00  
				
					
						
							
							
								 
						
							
								54bcf2db01 
								
							 
						 
						
							
							
								
								Add 64 bit divide instructions, and use them  
							
							... 
							
							
							
							llvm-svn: 16198 
							
						 
						
							2004-09-06 18:46:59 +00:00  
				
					
						
							
							
								 
						
							
								175fdd4678 
								
							 
						 
						
							
							
								
								* Change PPC32AsmPrinter => PowerPCAsmPrinter since it is now shared between  
							
							... 
							
							
							
							Darwin and AIX and is not 32- or 64-bit specific
* Bring back PowerPC.td as a result, to make it use the `PowerPC' class name
* Adjust Makefile accordingly
llvm-svn: 16174 
							
						 
						
							2004-09-05 02:42:44 +00:00  
				
					
						
							
							
								 
						
							
								4acadb3af7 
								
							 
						 
						
							
							
								
								Renamed PPC32AsmPrinter.cpp => PowerPCAsmPrinter.cpp as the Darwin and AIX asm  
							
							... 
							
							
							
							printers are now unified into one file.
llvm-svn: 16173 
							
						 
						
							2004-09-05 02:27:37 +00:00  
				
					
						
							
							
								 
						
							
								4d847047a0 
								
							 
						 
						
							
							
								
								Include MathExtras.h to fix build breakage, thanks to Vladimir  
							
							... 
							
							
							
							llvm-svn: 16164 
							
						 
						
							2004-09-04 14:51:26 +00:00  
				
					
						
							
							
								 
						
							
								4bfceb1ed5 
								
							 
						 
						
							
							
								
								All PPC instructions are now auto-printed  
							
							... 
							
							
							
							32 and 64 bit AsmWriters unified
Darwin and AIX specific features of AsmWriter split out
llvm-svn: 16163 
							
						 
						
							2004-09-04 05:00:00 +00:00  
				
					
						
							
							
								 
						
							
								6173878304 
								
							 
						 
						
							
							
								
								Convert remaining X-Form and Pseudo instructions over to asm writer  
							
							... 
							
							
							
							llvm-svn: 16142 
							
						 
						
							2004-09-02 08:13:00 +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  
				
					
						
							
							
								 
						
							
								a113d74e4c 
								
							 
						 
						
							
							
								
								convert M and MD form instructions to generated asm writer  
							
							... 
							
							
							
							llvm-svn: 16121 
							
						 
						
							2004-08-31 02:28:08 +00:00  
				
					
						
							
							
								 
						
							
								143cf94f92 
								
							 
						 
						
							
							
								
								Move yet more instructions over to being printed by the generated asm writer  
							
							... 
							
							
							
							llvm-svn: 16112 
							
						 
						
							2004-08-30 02:28:06 +00:00  
				
					
						
							
							
								 
						
							
								6cdbd22245 
								
							 
						 
						
							
							
								
								Convert A-Form instructions to auto-generated asm writer  
							
							... 
							
							
							
							llvm-svn: 16107 
							
						 
						
							2004-08-29 22:45:13 +00:00  
				
					
						
							
							
								 
						
							
								8cb6bd5f3c 
								
							 
						 
						
							
							
								
								Improvements to int->float cast code for PPC-64  
							
							... 
							
							
							
							llvm-svn: 16105 
							
						 
						
							2004-08-29 22:02:43 +00:00  
				
					
						
							
							
								 
						
							
								4483df8b63 
								
							 
						 
						
							
							
								
								Implement the following missing functionality in the PPC backend:  
							
							... 
							
							
							
							cast fp->bool
cast ulong->fp
algebraic right shift long by non-constant value
These changes tested across most of the test suite.  Fixes Regression/casts
llvm-svn: 16081 
							
						 
						
							2004-08-29 08:19:32 +00:00  
				
					
						
							
							
								 
						
							
								fa2bf42539 
								
							 
						 
						
							
							
								
								Register sizes are in bits, not bytes  
							
							... 
							
							
							
							llvm-svn: 16070 
							
						 
						
							2004-08-27 04:28:10 +00:00  
				
					
						
							
							
								 
						
							
								1c57b4fa32 
								
							 
						 
						
							
							
								
								Kill a majority of unnecessary sign extensions for byte loads  
							
							... 
							
							
							
							llvm-svn: 15991 
							
						 
						
							2004-08-22 08:10:15 +00:00  
				
					
						
							
							
								 
						
							
								64ef0262bd 
								
							 
						 
						
							
							
								
								Don't hard code the offset of the saved R31 in functions with frame pointers  
							
							... 
							
							
							
							llvm-svn: 15990 
							
						 
						
							2004-08-22 08:09:17 +00:00  
				
					
						
							
							
								 
						
							
								45b0b7cd7c 
								
							 
						 
						
							
							
								
								Back out branchless SetCC code.  While it helped a lot in some cases, it  
							
							... 
							
							
							
							hurt a lot in others.  Instead, improve branching version of SetCC and
Select instructions.  The old code will be in CVS should we ever need to
dig it up again.
llvm-svn: 15979 
							
						 
						
							2004-08-21 20:42:14 +00:00  
				
					
						
							
							
								 
						
							
								70efc8f8e1 
								
							 
						 
						
							
							
								
								Switch from bytes to bits for alignment.  
							
							... 
							
							
							
							Also, change GPRC for PPC32 to align on 32-bit boundary instead of 64-bit
llvm-svn: 15975 
							
						 
						
							2004-08-21 20:14:40 +00:00  
				
					
						
							
							
								 
						
							
								c1ba9fb6e1 
								
							 
						 
						
							
							
								
								Reduce uses of getRegClass  
							
							... 
							
							
							
							llvm-svn: 15968 
							
						 
						
							2004-08-21 19:51:17 +00:00  
				
					
						
							
							
								 
						
							
								f7833ba375 
								
							 
						 
						
							
							
								
								Fix warning  
							
							... 
							
							
							
							llvm-svn: 15964 
							
						 
						
							2004-08-21 19:11:03 +00:00  
				
					
						
							
							
								 
						
							
								3ad3ad4f3f 
								
							 
						 
						
							
							
								
								Move XForm instructions over to the auto-generated asm writer  
							
							... 
							
							
							
							llvm-svn: 15962 
							
						 
						
							2004-08-21 05:56:39 +00:00  
				
					
						
							
							
								 
						
							
								abf3c4d787 
								
							 
						 
						
							
							
								
								remove some things from the todo list.  
							
							... 
							
							
							
							llvm-svn: 15956 
							
						 
						
							2004-08-20 18:46:54 +00:00  
				
					
						
							
							
								 
						
							
								f1cd650251 
								
							 
						 
						
							
							
								
								Do not register ppc64 yet, as it breaks the SparcV9 backend  
							
							... 
							
							
							
							llvm-svn: 15955 
							
						 
						
							2004-08-20 18:09:18 +00:00  
				
					
						
							
							
								 
						
							
								1b1a784afa 
								
							 
						 
						
							
							
								
								Implement code to convert SetCC into straight line code where appropriate.  Add necessary instructions for this transformation to the .td file.  
							
							... 
							
							
							
							llvm-svn: 15952 
							
						 
						
							2004-08-20 09:56:22 +00:00  
				
					
						
							
							
								 
						
							
								8f12956327 
								
							 
						 
						
							
							
								
								Fix opcodes being printed in caps (the more general fix may be `AsmWriter')  
							
							... 
							
							
							
							llvm-svn: 15932 
							
						 
						
							2004-08-19 21:56:12 +00:00  
				
					
						
							
							
								 
						
							
								170943a795 
								
							 
						 
						
							
							
								
								Stack space for argument passing is 32 regardless of 32- vs. 64-bit arch.  
							
							... 
							
							
							
							Thanks to Nate Begeman for pointing this out.
llvm-svn: 15930 
							
						 
						
							2004-08-19 21:51:19 +00:00  
				
					
						
							
							
								 
						
							
								f73c87b36c 
								
							 
						 
						
							
							
								
								LR needs to be saved at 16-byte offset on a 64-bit arch  
							
							... 
							
							
							
							llvm-svn: 15929 
							
						 
						
							2004-08-19 21:36:14 +00:00  
				
					
						
							
							
								 
						
							
								f35b35a926 
								
							 
						 
						
							
							
								
								On 64-bit PowerPC, pointers are 8 bytes, so parameter area offset is 48, not 24  
							
							... 
							
							
							
							llvm-svn: 15928 
							
						 
						
							2004-08-19 21:34:05 +00:00  
				
					
						
							
							
								 
						
							
								75e987d0b8 
								
							 
						 
						
							
							
								
								This PHI has 4 additional operands, not 2.  
							
							... 
							
							
							
							llvm-svn: 15926 
							
						 
						
							2004-08-19 21:00:12 +00:00  
				
					
						
							
							
								 
						
							
								a26a61aa18 
								
							 
						 
						
							
							
								
								Use the appropriate 64-bit register description file.  
							
							... 
							
							
							
							llvm-svn: 15922 
							
						 
						
							2004-08-19 19:36:57 +00:00  
				
					
						
							
							
								 
						
							
								a5543ac5fb 
								
							 
						 
						
							
							
								
								Fix more remaining 32-bit vestiges of PowerPC  
							
							... 
							
							
							
							llvm-svn: 15919 
							
						 
						
							2004-08-19 18:49:58 +00:00  
				
					
						
							
							
								 
						
							
								2ff719f74f 
								
							 
						 
						
							
							
								
								Fix another vestige of the 32-bit PowerPC backend.  
							
							... 
							
							
							
							llvm-svn: 15918 
							
						 
						
							2004-08-19 16:50:30 +00:00  
				
					
						
							
							
								 
						
							
								714d166c22 
								
							 
						 
						
							
							
								
								Correct character prepended to global symbols ('.'), use Mangler consistently  
							
							... 
							
							
							
							llvm-svn: 15917 
							
						 
						
							2004-08-19 16:33:56 +00:00  
				
					
						
							
							
								 
						
							
								0010ea3042 
								
							 
						 
						
							
							
								
								* Eliminate global base register, r2 is used for that on AIX/PowerPC  
							
							... 
							
							
							
							* Fix bug from 32-bit PowerPC days of 2-register long split
llvm-svn: 15916 
							
						 
						
							2004-08-19 16:29:25 +00:00  
				
					
						
							
							
								 
						
							
								6c4a085286 
								
							 
						 
						
							
							
								
								Wrap long lines.  
							
							... 
							
							
							
							llvm-svn: 15915 
							
						 
						
							2004-08-19 16:28:30 +00:00  
				
					
						
							
							
								 
						
							
								d5c6380015 
								
							 
						 
						
							
							
								
								Convert casts that will have no effect into move instructions.  
							
							... 
							
							
							
							llvm-svn: 15914 
							
						 
						
							2004-08-19 08:07:50 +00:00  
				
					
						
							
							
								 
						
							
								e4e6d92d1d 
								
							 
						 
						
							
							
								
								Clean up floating point instruction selection.  
							
							... 
							
							
							
							Change int->float cast code to put conversion constants in constant pool.
Shorten code sequence for constant pool fp loads.
Remove LOADLoDirect/LOADLoIndirect psuedo instructions and tweak asmwriter
llvm-svn: 15913 
							
						 
						
							2004-08-19 05:20:54 +00:00  
				
					
						
							
							
								 
						
							
								10262ab3f1 
								
							 
						 
						
							
							
								
								Rename var  
							
							... 
							
							
							
							llvm-svn: 15897 
							
						 
						
							2004-08-18 02:22:55 +00:00  
				
					
						
							
							
								 
						
							
								faa6e51d6e 
								
							 
						 
						
							
							
								
								This file is no longer used.  
							
							... 
							
							
							
							llvm-svn: 15893 
							
						 
						
							2004-08-17 20:23:33 +00:00  
				
					
						
							
							
								 
						
							
								2501f5852a 
								
							 
						 
						
							
							
								
								Start using alignment output routines from AsmPrinter.  
							
							... 
							
							
							
							Changes to make this more similar to the X86 asmprinter
Fix overalignment of globals.
llvm-svn: 15891 
							
						 
						
							2004-08-17 19:26:03 +00:00  
				
					
						
							
							
								 
						
							
								cc21bfd809 
								
							 
						 
						
							
							
								
								Print comments with ;  
							
							... 
							
							
							
							llvm-svn: 15881 
							
						 
						
							2004-08-17 16:27:26 +00:00  
				
					
						
							
							
								 
						
							
								0818541631 
								
							 
						 
						
							
							
								
								Re-fix hiding the Frame Pointer from the register allocator in functions  
							
							... 
							
							
							
							that have a frame pointer.  This change fixes Burg.  In addition, make
the necessary changes to floating point code gen and constant loading after
Chris Lattner's fixes to the asm writer.  These changes fix MallocBench/gs
llvm-svn: 15873 
							
						 
						
							2004-08-17 07:17:44 +00:00  
				
					
						
							
							
								 
						
							
								f97bce7214 
								
							 
						 
						
							
							
								
								Use the emitGlobalConstant defined in AsmPrinter  
							
							... 
							
							
							
							llvm-svn: 15869 
							
						 
						
							2004-08-17 06:37:12 +00:00  
				
					
						
							
							
								 
						
							
								ac253447d3 
								
							 
						 
						
							
							
								
								New, more general, interface.  
							
							... 
							
							
							
							llvm-svn: 15866 
							
						 
						
							2004-08-17 06:07:43 +00:00  
				
					
						
							
							
								 
						
							
								9254441cdf 
								
							 
						 
						
							
							
								
								Rewrite targets/rules to generate files for just PowerPC or PPC{32,64}  
							
							... 
							
							
							
							llvm-svn: 15862 
							
						 
						
							2004-08-17 05:11:54 +00:00  
				
					
						
							
							
								 
						
							
								4eab7f3d5b 
								
							 
						 
						
							
							
								
								Register classes are target-dependent  
							
							... 
							
							
							
							llvm-svn: 15861 
							
						 
						
							2004-08-17 05:10:31 +00:00  
				
					
						
							
							
								 
						
							
								851a54656a 
								
							 
						 
						
							
							
								
								#include <map> is not necessary here  
							
							... 
							
							
							
							llvm-svn: 15860 
							
						 
						
							2004-08-17 05:09:39 +00:00  
				
					
						
							
							
								 
						
							
								fd2df5afab 
								
							 
						 
						
							
							
								
								`PowerPC' is no longer a real target  
							
							... 
							
							
							
							llvm-svn: 15859 
							
						 
						
							2004-08-17 05:09:10 +00:00  
				
					
						
							
							
								 
						
							
								38c61506a8 
								
							 
						 
						
							
							
								
								Move variables and methods which need PPC{32,64}* distinction to subclasses  
							
							... 
							
							
							
							llvm-svn: 15858 
							
						 
						
							2004-08-17 05:08:44 +00:00  
				
					
						
							
							
								 
						
							
								ba7fe16dbf 
								
							 
						 
						
							
							
								
								No need for an `is64bit' flag  
							
							... 
							
							
							
							llvm-svn: 15857 
							
						 
						
							2004-08-17 05:06:47 +00:00