1 //===- SparcSubtarget.cpp - SPARC Subtarget Information -------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file implements the SPARC specific subclass of TargetSubtarget.
12 //===----------------------------------------------------------------------===//
14 #include "SparcSubtarget.h"
15 #include "SparcGenSubtarget.inc"
18 SparcSubtarget::SparcSubtarget(const std::string
&TT
, const std::string
&FS
,
21 V8DeprecatedInsts(false),
25 // Determine default and user specified characteristics
26 const char *CPU
= "v8";
32 // Parse features string.
33 ParseSubtargetFeatures(FS
, CPU
);