X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FHowToUseInstrMappings.rst;h=8a3e7c8d726dc41f3bc50b3523ef6190924d9951;hb=da07e9df843015f8c306ed7863dbb8c8055fd85f;hp=b51e74e23c29d42598ffb99697eedc89df579016;hpb=becdf4d7cd0d5a3079339b6e177066b143d2f84c;p=oota-llvm.git diff --git a/docs/HowToUseInstrMappings.rst b/docs/HowToUseInstrMappings.rst old mode 100755 new mode 100644 index b51e74e23c2..8a3e7c8d726 --- a/docs/HowToUseInstrMappings.rst +++ b/docs/HowToUseInstrMappings.rst @@ -1,11 +1,7 @@ -.. _how_to_use_instruction_mappings: - =============================== How To Use Instruction Mappings =============================== -.. sectionauthor:: Jyotsna Verma - .. 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: -.. code-block::llvm +.. code-block:: llvm 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, getPredOpcode, 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)",