blob: 8cb58c8bb97aef6547a0ef52f3a42ba79de2182f [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001//===-- MipsTargetAsmInfo.cpp - Mips asm properties -------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
Chris Lattner081ce942007-12-29 20:36:04 +00005// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
Dan Gohmanf17a25c2007-07-18 16:29:46 +00007//
8//===----------------------------------------------------------------------===//
9//
10// This file contains the declarations of the MipsTargetAsmInfo properties.
11//
12//===----------------------------------------------------------------------===//
13
14#include "MipsTargetAsmInfo.h"
Bruno Cardoso Lopesea377302007-11-12 19:49:57 +000015#include "MipsTargetMachine.h"
Dan Gohmanf17a25c2007-07-18 16:29:46 +000016using namespace llvm;
17
Chris Lattner7dd4ffc2009-08-02 04:27:24 +000018MipsTargetAsmInfo::MipsTargetAsmInfo(const MipsTargetMachine &TM) {
Bruno Cardoso Lopes29c15352008-07-14 14:42:54 +000019 AlignmentIsInBytes = false;
20 COMMDirectiveTakesAlignment = true;
21 Data16bitsDirective = "\t.half\t";
22 Data32bitsDirective = "\t.word\t";
23 Data64bitsDirective = NULL;
24 PrivateGlobalPrefix = "$";
Bruno Cardoso Lopes29c15352008-07-14 14:42:54 +000025 CommentString = "#";
Bruno Cardoso Lopes29c15352008-07-14 14:42:54 +000026 ZeroDirective = "\t.space\t";
Chris Lattnerdf973042009-08-11 20:30:58 +000027 PICJumpTableDirective = "\t.gpword\t";
Dan Gohmanf17a25c2007-07-18 16:29:46 +000028}