Jim Laskey | 8e8de8f | 2006-09-07 22:05:02 +0000 | [diff] [blame^] | 1 | //===-- SparcTargetAsmInfo.cpp - Sparc asm properties -----------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file was developed by James M. Laskey and is distributed under the |
| 6 | // University of Illinois Open Source License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This file contains the declarations of the SparcTargetAsmInfo properties. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | #include "SparcTargetAsmInfo.h" |
| 15 | |
| 16 | using namespace llvm; |
| 17 | |
| 18 | SparcTargetAsmInfo::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 | } |