This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, microblaze, gas, opcodes] Add support for mbar and sleep insns


On 11/08/2012 04:45 AM, David Holsgrove wrote:
This patch is based on a patch from Kishore <kkatna@xilinx.com>
to add mbar opcode.

mbar ensures outstanding memory access on memory interfaces are completed
before any subsequent instructions are executed.

Added mnemonic 'sleep' instruction for 'mbar 16'

Include mbar and sleep in allinsn.{s,d} for microblaze testsuite.



binutils/opcodes/Changelog

2012-11-08 David Holsgrove <david.holsgrove@xilinx.com>

           * microblaze-opc.h: Define new instruction type INST_TYPE_IMM5,
             update OPCODE_MASK_H13S,
             add OPCODE_MASK_HN, define MIN_IMM5 / MAX_IMM5,
             and increase MAX_OPCODES.
             (op_code_struct):  add mbar and sleep
           * microblaze-opcm.h (microblaze_instr): add mbar
             Define IMM_MBAR and IMM5_MBAR_MASK
           * microblaze-dis.c: Add get_field_imm5_mbar
             (print_insn_microblaze): Add support for INST_TYPE_IMM5 and
             INST_TYPE_NONE

binutils/gas/Changelog

2012-11-08 David Holsgrove <david.holsgrove@xilinx.com>

           * config/tc-microblaze.c (md_assemble): Add support for
             INST_TYPE_IMM5

binutils/gas/testsuite/Changelog

2012-11-08 David Holsgrove <david.holsgrove@xilinx.com>

           * gas/microblaze/allinsn.s: Add mbar and sleep
           * gas/microblaze/allinsn.d: Likewise


Committed.


--
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]