projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
verify-uselistorder: Add RUN lines to cases in test/Assembly
[oota-llvm.git]
/
docs
/
HowToUseInstrMappings.rst
diff --git
a/docs/HowToUseInstrMappings.rst
b/docs/HowToUseInstrMappings.rst
old mode 100755
(executable)
new mode 100644
(file)
index
b51e74e
..
8a3e7c8
--- a/
docs/HowToUseInstrMappings.rst
+++ b/
docs/HowToUseInstrMappings.rst
@@
-1,11
+1,7
@@
-.. _how_to_use_instruction_mappings:
-
===============================
How To Use Instruction Mappings
===============================
===============================
How To Use Instruction Mappings
===============================
-.. sectionauthor:: Jyotsna Verma <jverma@codeaurora.org>
-
.. contents::
:local:
.. contents::
:local:
@@
-120,7
+116,7
@@
to include relevant information in its definition. For example, consider
following to be the current definitions of ADD, ADD_pt (true) and ADD_pf (false)
instructions:
following to be the current definitions of ADD, ADD_pt (true) and ADD_pf (false)
instructions:
-.. code-block::llvm
+.. code-block::
llvm
def ADD : ALU32_rr<(outs IntRegs:$dst), (ins IntRegs:$a, IntRegs:$b),
"$dst = add($a, $b)",
def ADD : ALU32_rr<(outs IntRegs:$dst), (ins IntRegs:$a, IntRegs:$b),
"$dst = add($a, $b)",
@@
-141,7
+137,7
@@
In this step, we modify these instructions to include the information
required by the relationship model, <tt>getPredOpcode</tt>, so that they can
be related.
required by the relationship model, <tt>getPredOpcode</tt>, so that they can
be related.
-.. code-block::llvm
+.. code-block::
llvm
def ADD : PredRel, ALU32_rr<(outs IntRegs:$dst), (ins IntRegs:$a, IntRegs:$b),
"$dst = add($a, $b)",
def ADD : PredRel, ALU32_rr<(outs IntRegs:$dst), (ins IntRegs:$a, IntRegs:$b),
"$dst = add($a, $b)",