mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
a70f28ce7d
The MicroBlaze is a highly configurable 32-bit soft-microprocessor for use on Xilinx FPGAs. For more information see: http://www.xilinx.com/tools/microblaze.htm http://en.wikipedia.org/wiki/MicroBlaze The current LLVM MicroBlaze backend generates assembly which can be compiled using the an appropriate binutils assembler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96969 91177308-0d34-0410-b5e6-96231b3b80d8
32 lines
1.1 KiB
C++
32 lines
1.1 KiB
C++
//===- MBlazeSubtarget.cpp - MBlaze Subtarget Information -------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file implements the MBlaze specific subclass of TargetSubtarget.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "MBlazeSubtarget.h"
|
|
#include "MBlaze.h"
|
|
#include "MBlazeGenSubtarget.inc"
|
|
#include "llvm/Support/CommandLine.h"
|
|
using namespace llvm;
|
|
|
|
MBlazeSubtarget::MBlazeSubtarget(const std::string &TT, const std::string &FS):
|
|
HasPipe3(false), HasBarrel(false), HasDiv(false), HasMul(false),
|
|
HasFSL(false), HasEFSL(false), HasMSRSet(false), HasException(false),
|
|
HasPatCmp(false), HasFPU(false), HasESR(false), HasPVR(false),
|
|
HasMul64(false), HasSqrt(false), HasMMU(false)
|
|
{
|
|
std::string CPU = "v400";
|
|
MBlazeArchVersion = V400;
|
|
|
|
// Parse features string.
|
|
ParseSubtargetFeatures(FS, CPU);
|
|
}
|