blob: ddc526ca3a72106ad9259e9907de9564a219c648 [file] [log] [blame]
<html lang="en">
<head>
<title>TIC6X Directives - Using as</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using as">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="TIC6X_002dDependent.html#TIC6X_002dDependent" title="TIC6X-Dependent">
<link rel="prev" href="TIC6X-Syntax.html#TIC6X-Syntax" title="TIC6X Syntax">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<!--
This file documents the GNU Assembler "as".
Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
2000, 2001, 2002, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3
or any later version published by the Free Software Foundation;
with no Invariant Sections, with no Front-Cover Texts, and with no
Back-Cover Texts. A copy of the license is included in the
section entitled ``GNU Free Documentation License''.
-->
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
pre.display { font-family:inherit }
pre.format { font-family:inherit }
pre.smalldisplay { font-family:inherit; font-size:smaller }
pre.smallformat { font-family:inherit; font-size:smaller }
pre.smallexample { font-size:smaller }
pre.smalllisp { font-size:smaller }
span.sc { font-variant:small-caps }
span.roman { font-family:serif; font-weight:normal; }
span.sansserif { font-family:sans-serif; font-weight:normal; }
--></style>
<link rel="stylesheet" type="text/css" href="../cs.css">
</head>
<body>
<div class="node">
<a name="TIC6X-Directives"></a>
<p>
Previous:&nbsp;<a rel="previous" accesskey="p" href="TIC6X-Syntax.html#TIC6X-Syntax">TIC6X Syntax</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="TIC6X_002dDependent.html#TIC6X_002dDependent">TIC6X-Dependent</a>
<hr>
</div>
<h4 class="subsection">9.37.3 TIC6X Directives</h4>
<p><a name="index-machine-directives_002c-TIC6X-1828"></a><a name="index-TIC6X-machine-directives-1829"></a>
Directives controlling the set of instructions accepted by the
assembler have effect for instructions between the directive and any
subsequent directive overriding it.
<a name="index-g_t_0040code_007b_002earch_007d-directive_002c-TIC6X-1830"></a>
<dl><dt><code>.arch </code><var>arch</var><dd>This has the same effect as <samp><span class="option">-march=</span><var>arch</var></samp>.
<p><a name="index-g_t_0040code_007b_002eatomic_007d-directive_002c-TIC6X-1831"></a><a name="index-g_t_0040code_007b_002enoatomic_007d-directive_002c-TIC6X-1832"></a><br><dt><code>.atomic</code><dt><code>.noatomic</code><dd>These have the same effects as <samp><span class="option">-matomic</span></samp> and
<samp><span class="option">-mno-atomic</span></samp>.
<p><a name="index-g_t_0040code_007b_002ec6xabi_005fattribute_007d-directive_002c-TIC6X-1833"></a><br><dt><code>.c6xabi_attribute </code><var>tag</var><code>, </code><var>value</var><dd>Set the C6000 EABI build attribute <var>tag</var> to <var>value</var>.
<p>The <var>tag</var> is either an attribute number or one of
<code>Tag_ISA</code>, <code>Tag_ABI_wchar_t</code>,
<code>Tag_ABI_stack_align_needed</code>,
<code>Tag_ABI_stack_align_preserved</code>, <code>Tag_ABI_DSBT</code>,
<code>Tag_ABI_PID</code>, <code>Tag_ABI_PIC</code>,
<code>TAG_ABI_array_object_alignment</code>,
<code>TAG_ABI_array_object_align_expected</code>,
<code>Tag_ABI_compatibility</code> and <code>Tag_ABI_conformance</code>. The
<var>value</var> is either a <code>number</code>, <code>"string"</code>, or
<code>number, "string"</code> depending on the tag.
<p><a name="index-g_t_0040code_007b_002enocmp_007d-directive_002c-TIC6X-1834"></a><br><dt><code>.nocmp</code><dd>Disallow use of C64x+ compact instructions in the current text
section.
</dl>
<!-- This is part of the GAS manual. -->
<!-- For copying conditions, see the file as.texinfo. -->
</body></html>