blob: a2be52f189b6ae26c52138f9278bd795daf97d4f [file] [log] [blame]
Jim Laskey8e8de8f2006-09-07 22:05:02 +00001//===-- SparcTargetAsmInfo.cpp - Sparc asm properties -----------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
Chris Lattner4ee451d2007-12-29 20:36:04 +00005// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
Jim Laskey8e8de8f2006-09-07 22:05:02 +00007//
8//===----------------------------------------------------------------------===//
9//
10// This file contains the declarations of the SparcTargetAsmInfo properties.
11//
12//===----------------------------------------------------------------------===//
13
14#include "SparcTargetAsmInfo.h"
15
16using namespace llvm;
17
18SparcTargetAsmInfo::SparcTargetAsmInfo(const SparcTargetMachine &TM) {
19 Data16bitsDirective = "\t.half\t";
20 Data32bitsDirective = "\t.word\t";
21 Data64bitsDirective = 0; // .xword is only supported by V9.
22 ZeroDirective = "\t.skip\t";
23 CommentString = "!";
24 ConstantPoolSection = "\t.section \".rodata\",#alloc\n";
25}