Browse Source

* doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that

can only be encoded in FLIX instructions but are not specified as such.
	(Xtensa Automatic Alignment): Remove obsolete comment about debugging
	labels.
insight_6_8-branch
Bob Wilson 18 years ago
parent
commit
cec28c9815
  1. 7
      gas/ChangeLog
  2. 12
      gas/doc/c-xtensa.texi

7
gas/ChangeLog

@ -1,3 +1,10 @@
2008-01-24 Bob Wilson <bob.wilson@acm.org>
* doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
can only be encoded in FLIX instructions but are not specified as such.
(Xtensa Automatic Alignment): Remove obsolete comment about debugging
labels.
2008-01-24 H.J. Lu <hongjiu.lu@intel.com> 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
* NEWS: Mention new command line options for x86 targets. * NEWS: Mention new command line options for x86 targets.

12
gas/doc/c-xtensa.texi

@ -144,10 +144,10 @@ specified on a single line by separating the opcodes with semicolons:
@{ [@var{format};] @var{opcode0} [@var{operands}]; @var{opcode1} [@var{operands}]; @var{opcode2} [@var{operands}]; @dots{} @} @{ [@var{format};] @var{opcode0} [@var{operands}]; @var{opcode1} [@var{operands}]; @var{opcode2} [@var{operands}]; @dots{} @}
@end smallexample @end smallexample
The assembler can automatically bundle opcodes into FLIX instructions. If an opcode can only be encoded in a FLIX instruction but is not
It encodes the opcodes in order, one at a time, specified as part of a FLIX bundle, the assembler will choose the
choosing the smallest format where each opcode can be encoded and smallest format where the opcode can be encoded and
filling unused instruction slots with no-ops. will fill unused instruction slots with no-ops.
@menu @menu
* Xtensa Opcodes:: Opcode Naming Conventions. * Xtensa Opcodes:: Opcode Naming Conventions.
@ -255,9 +255,7 @@ instruction fetch widths.) An
instruction immediately following a call is treated as a branch target instruction immediately following a call is treated as a branch target
in this context, because it will be the target of a return from the in this context, because it will be the target of a return from the
call. This alignment has the potential to reduce branch penalties at call. This alignment has the potential to reduce branch penalties at
some expense in code size. The assembler will not attempt to align some expense in code size.
labels with the prefixes @code{.Ln} and @code{.LM}, since these labels
are used for debugging information and are not typically branch targets.
This optimization is enabled by default. You can disable it with the This optimization is enabled by default. You can disable it with the
@samp{--no-target-@-align} command-line option (@pxref{Xtensa Options, @samp{--no-target-@-align} command-line option (@pxref{Xtensa Options,
,Command Line Options}). ,Command Line Options}).

Loading…
Cancel
Save