1 //===-- SPUTargetAsmInfo.cpp - Cell SPU asm properties ----------*- C++ -*-===//
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 contains the declarations of the SPUTargetAsmInfo properties.
12 //===----------------------------------------------------------------------===//
14 #include "SPUTargetAsmInfo.h"
17 SPULinuxTargetAsmInfo::SPULinuxTargetAsmInfo() {
18 ZeroDirective = "\t.space\t";
19 SetDirective = "\t.set";
20 Data64bitsDirective = "\t.quad\t";
21 AlignmentIsInBytes = false;
22 LCOMMDirective = "\t.lcomm\t";
23 InlineAsmStart = "# InlineAsm Start";
24 InlineAsmEnd = "# InlineAsm End";
29 PrivateGlobalPrefix = ".L";
31 // Has leb128, .loc and .file
33 HasDotLocAndDotFile = true;
35 SupportsDebugInformation = true;
38 // Exception handling is not supported on CellSPU (think about it: you only
39 // have 256K for code+data. Would you support exception handling?)
40 SupportsExceptionHandling = false;