mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-11-04 05:17:07 +00:00 
			
		
		
		
	there are probably more to kill git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@261 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			50 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			50 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
// $Id$
 | 
						|
//***************************************************************************
 | 
						|
// File:
 | 
						|
//	Sparc.cpp
 | 
						|
// 
 | 
						|
// Purpose:
 | 
						|
//	
 | 
						|
// History:
 | 
						|
//	7/15/01	 -  Vikram Adve  -  Created
 | 
						|
//**************************************************************************/
 | 
						|
 | 
						|
#include "llvm/CodeGen/Sparc.h"
 | 
						|
 | 
						|
//************************ Exported Constants ******************************/
 | 
						|
 | 
						|
 | 
						|
// Set external object describing the machine instructions
 | 
						|
// 
 | 
						|
const MachineInstrInfo* TargetMachineInstrInfo = SparcMachineInstrInfo; 
 | 
						|
 | 
						|
 | 
						|
//************************ Class Implementations **************************/
 | 
						|
 | 
						|
 | 
						|
//---------------------------------------------------------------------------
 | 
						|
// class UltraSparcMachine 
 | 
						|
// 
 | 
						|
// Purpose:
 | 
						|
//   Machine description.
 | 
						|
// 
 | 
						|
//---------------------------------------------------------------------------
 | 
						|
 | 
						|
UltraSparc::UltraSparc()
 | 
						|
  : TargetMachine()
 | 
						|
{
 | 
						|
  optSizeForSubWordData = 4;
 | 
						|
  intSize = 4; 
 | 
						|
  floatSize = 4; 
 | 
						|
  longSize = 8; 
 | 
						|
  doubleSize = 8; 
 | 
						|
  longDoubleSize = 16; 
 | 
						|
  pointerSize = 8;
 | 
						|
  minMemOpWordSize = 8; 
 | 
						|
  maxAtomicMemOpWordSize = 8;
 | 
						|
  machineInstrInfo = SparcMachineInstrInfo;
 | 
						|
  zeroRegNum = 0;			// %g0 always gives 0 on Sparc
 | 
						|
}
 | 
						|
 | 
						|
//**************************************************************************/
 |