1 //===-- SPUMCAsmInfo.cpp - Cell SPU asm properties ------------------------===//
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 SPUMCAsmInfo properties.
12 //===----------------------------------------------------------------------===//
14 #include "SPUMCAsmInfo.h"
17 SPULinuxMCAsmInfo::SPULinuxMCAsmInfo(const Target
&T
, StringRef TT
) {
18 ZeroDirective
= "\t.space\t";
19 Data64bitsDirective
= "\t.quad\t";
20 AlignmentIsInBytes
= false;
25 PrivateGlobalPrefix
= ".L";
30 SupportsDebugInformation
= true;
32 // Exception handling is not supported on CellSPU (think about it: you only
33 // have 256K for code+data. Would you support exception handling?)
34 ExceptionsType
= ExceptionHandling::None
;
36 // SPU assembly requires ".section" before ".bss"
37 UsesELFSectionDirectiveForBSS
= true;