]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - cpu/ChangeLog
cpu/or1k: Document no branch delay slot architectures and l.adrp
[thirdparty/binutils-gdb.git] / cpu / ChangeLog
index c0019d8f1c81150dfe73cd1133840a6c6cfc6c09..087e6c67f3ac874864225d1e4e0469b4821b72ba 100644 (file)
@@ -1,3 +1,419 @@
+2019-06-13  Stafford Horne  <shorne@gmail.com>
+
+       * or1k.cpu (or64nd, or32nd, or1200nd): Update comment.a
+       (l-adrp): Improve comment.
+
+2019-06-13  Stafford Horne  <shorne@gmail.com>
+
+       * or1korfpx.cpu (insn-opcode-float-regreg): Add SFUEQ_S, SFUNE_S,
+       SFUGT_S, SFUGE_S, SFULT_S, SFULE_S, SFUN_S, SFUEQ_D, SFUNE_D, SFUGT_D,
+       SFUGE_D, SFULT_D, SFULE_D, SFUN_D opcodes.
+       (float-setflag-insn-base): New pmacro based on float-setflag-insn.
+       (float-setflag-symantics, float-setflag-unordered-cmp-symantics,
+       float-setflag-unordered-symantics): New pmacro for instruction
+       symantics.
+       (float-setflag-insn): Update to use float-setflag-insn-base.
+       (float-setflag-unordered-insn): New pmacro for generating instructions.
+
+2019-06-13  Andrey Bacherov  <avbacherov@opencores.org>
+           Stafford Horne  <shorne@gmail.com>
+
+       * or1k.cpu (ORFPX64A32-MACHS): New pmacro.
+       (ORFPX-MACHS): Removed pmacro.
+       * or1k.opc (or1k_cgen_insn_supported): New function.
+       (CGEN_VALIDATE_INSN_SUPPORTED): Define macro.
+       (parse_regpair, print_regpair): New functions.
+       * or1kcommon.cpu (h-spr, spr-shift, spr-address, h-gpr): Reorder
+       and add comments.
+       (h-fdr): Update comment to indicate or64.
+       (reg-pair-reg-lo, reg-pair-reg-hi): New pmacros for register pairs.
+       (h-fd32r): New hardware for 64-bit fpu registers.
+       (h-i64r): New hardware for 64-bit int registers.
+       * or1korbis.cpu (f-resv-8-1): New field.
+       * or1korfpx.cpu (rDSF, rASF, rBSF): Update attribute to ORFPX32-MACHS.
+       (rDDF, rADF, rBDF): Update operand comment to indicate or64.
+       (f-rdoff-10-1, f-raoff-9-1, f-rboff-8-1): New fields.
+       (h-roff1): New hardware.
+       (double-field-and-ops mnemonic): New pmacro to generate operations
+       rDD32F, rAD32F, rBD32F, rDDI and rADI.
+       (float-regreg-insn): Update single precision generator to MACH
+       ORFPX32-MACHS.  Add generator for or32 64-bit instructions.
+       (float-setflag-insn): Update single precision generator to MACH
+       ORFPX32-MACHS.  Fix double instructions from single to double
+       precision.  Add generator for or32 64-bit instructions.
+       (float-cust-insn cust-num): Update single precision generator to MACH
+       ORFPX32-MACHS.  Add generator for or32 64-bit instructions.
+       (lf-rem-s, lf-itof-s, lf-ftoi-s, lf-madd-s): Update MACH to
+       ORFPX32-MACHS.
+       (lf-rem-d): Fix operation from mod to rem.
+       (lf-rem-d32, lf-itof-d32, lf-ftoi-d32, lf-madd-d32): New instruction.
+       (lf-itof-d): Fix operands from single to double.
+       (lf-ftoi-d): Update operand mode from DI to WI.
+
+2019-05-23  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * bpf.cpu: New file.
+       * bpf.opc: Likewise.
+
+2018-06-24  Nick Clifton  <nickc@redhat.com>
+
+       2.32 branch created.
+
+2018-10-05  Richard Henderson  <rth@twiddle.net>
+           Stafford Horne  <shorne@gmail.com>
+
+       * or1korbis.cpu (insn-opcode-mac): Add opcodes for MACU and MSBU.
+       (insn-opcode-alu-regreg): Add opcodes for MULD and MULDU.
+       (l-mul): Fix overflow support and indentation.
+       (l-mulu): Fix overflow support and indentation.
+       (l-muld, l-muldu, l-msbu, l-macu): New instructions.
+       (l-div); Remove incorrect carry behavior.
+       (l-divu): Fix carry and overflow behavior.
+       (l-mac): Add overflow support.
+       (l-msb, l-msbu): Add carry and overflow support.
+
+2018-10-05  Richard Henderson  <rth@twiddle.net>
+
+       * or1k.opc (parse_disp26): Add support for plta() relocations.
+       (parse_disp21): New function.
+       (or1k_rclass): New enum.
+       (or1k_rtype): New enum.
+       (or1k_imm16_relocs): Define new PO and SPO relocation mappings.
+       (parse_reloc): Add new po(), gotpo() and gottppo() for LO13 relocations.
+       (parse_imm16): Add support for the new 21bit and 13bit relocations.
+       * or1korbis.cpu (f-disp26): Don't assume SI.
+       (f-disp21): New pc-relative 21-bit 13 shifted to right.
+       (insn-opcode): Add ADRP.
+       (l-adrp): New instruction.
+
+2018-10-05  Richard Henderson  <rth@twiddle.net>
+
+       * or1k.opc: Add RTYPE_ enum.
+       (INVALID_STORE_RELOC): New string.
+       (or1k_imm16_relocs): New array array.
+       (parse_reloc): New static function that just does the parsing.
+       (parse_imm16): New static function for generic parsing.
+       (parse_simm16): Change to just call parse_imm16.
+       (parse_simm16_split): New function.
+       (parse_uimm16): Change to call parse_imm16.
+       (parse_uimm16_split): New function.
+       * or1korbis.cpu (simm16-split): Change to use new simm16_split.
+       (uimm16-split): Change to use new uimm16_split.
+
+2018-07-24  Alan Modra  <amodra@gmail.com>
+
+       PR 23430
+       * or1kcommon.cpu (spr-reg-indices): Fix description typo.
+
+2018-05-09  Sebastian Rasmussen  <sebras@gmail.com>
+
+       * or1kcommon.cpu (spr-reg-info): Typo fix.
+
+2018-03-03  Alan Modra  <amodra@gmail.com>
+
+       * frv.opc: Include opintl.h.
+       (add_next_to_vliw): Use opcodes_error_handler to print error.
+       Standardize error message.
+       (fr500_check_insn_major_constraints, frv_vliw_add_insn): Likewise.
+
+2018-01-13  Nick Clifton  <nickc@redhat.com>
+
+       2.30 branch created.
+
+2017-03-15  Stafford Horne  <shorne@gmail.com>
+
+       * or1kcommon.cpu: Add pc set semantics to also update ppc.
+
+2016-10-06  Alan Modra  <amodra@gmail.com>
+
+       * mep.opc (expand_string): Add fall through comment.
+
+2016-03-03  Alan Modra  <amodra@gmail.com>
+
+       * fr30.cpu (f-m4): Replace bogus comment with a better guess
+       at what is really going on.
+
+2016-03-02  Alan Modra  <amodra@gmail.com>
+
+       * fr30.cpu (f-m4): Replace -1 << 4 with -16.
+
+2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * epiphany.opc (epiphany_print_insn): Set info->bytes_per_line to
+       a constant to better align disassembler output.
+
+2014-07-20  Stefan Kristiansson  <stefan.kristiansson@saunalahti.fi>
+
+       * or1korbis.cpu (l-msync, l-psync, l-csync): New instructions.
+
+2014-06-12  Alan Modra  <amodra@gmail.com>
+
+       * or1k.opc: Whitespace fixes.
+
+2014-05-08  Stefan Kristiansson  <stefan.kristiansson@saunalahti.fi>
+
+       * or1korbis.cpu (h-atomic-reserve): New hardware.
+       (h-atomic-address): Likewise.
+       (insn-opcode): Add opcodes for LWA and SWA.
+       (atomic-reserve): New operand.
+       (atomic-address): Likewise.
+       (l-lwa, l-swa): New instructions.
+       (l-lbs): Fix typo in comment.
+       (store-insn): Clear atomic reserve on store to atomic-address.
+       Fix register names in fmt field.
+
+2014-04-22  Christian Svensson  <blue@cmd.nu>
+
+       * openrisc.cpu: Delete.
+       * openrisc.opc: Delete.
+       * or1k.cpu: New file.
+       * or1k.opc: New file.
+       * or1kcommon.cpu: New file.
+       * or1korbis.cpu: New file.
+       * or1korfpx.cpu: New file.
+
+2013-12-07  Mike Frysinger  <vapier@gentoo.org>
+
+       * epiphany.opc: Remove +x file mode.
+
+2013-03-08  Yann Sionneau  <yann.sionneau@gmail.com>
+
+       PR binutils/15241
+       * lm32.cpu (Control and status registers): Add CFG2, PSW,
+       TLBVADDR, TLBPADDR and TLBBADVADDR.
+
+2012-11-30  Oleg Raikhman  <oleg@adapteva.com>
+           Joern Rennecke  <joern.rennecke@embecosm.com>
+
+       * epiphany.cpu (keyword gr-names): Move sb/sl/ip after r9/r10/r12.
+       (load_insn): Add NO-DIS attribute to x, p, d, dpm, dl0, dl0.l.
+       (testset-insn): Add NO_DIS attribute to t.l.
+       (store-insn): Add NO-DIS attribute to x.l, p.l, d.l, dpm.l, dl0.l.
+       (move-insns): Add NO-DIS attribute to cmov.l.
+       (op-mmr-movts): Add NO-DIS attribute to movts.l.
+       (op-mmr-movfs): Add NO-DIS attribute to movfs.l.
+       (op-rrr): Add NO-DIS attribute to .l.
+       (shift-rrr): Add NO-DIS attribute to .l.
+       (op-shift-rri): Add NO-DIS attribute to i32.l.
+       (bitrl, movtl): Add NO-DIS attribute.
+       (op-iextrrr): Add NO-DIS attribute to .l
+       (op-two_operands-float, op-fabs-float): Add NO-DIS attribute to f32.l.
+       (op-fix2float-float, op-float2fix-float, op-fextop-float): Likewise.
+
+2012-02-27  Alan Modra  <amodra@gmail.com>
+
+       * mt.opc (print_dollarhex): Trim values to 32 bits.
+
+2011-12-15  Nick Clifton  <nickc@redhat.com>
+
+       * frv.opc (parse_uhi16): Fix handling of %hi operator on 64-bit
+       hosts.
+
+2011-10-26  Joern Rennecke  <joern.rennecke@embecosm.com>
+
+       * epiphany.opc (parse_branch_addr): Fix type of valuep.
+       Cast value before printing it as a long.
+       (parse_postindex): Fix type of valuep.
+
+2011-10-25  Joern Rennecke  <joern.rennecke@embecosm.com>
+
+       * cpu/epiphany.cpu: New file.
+       * cpu/epiphany.opc: New file.
+
+2011-08-22  Nick Clifton  <nickc@redhat.com>
+
+       * fr30.cpu: Newly contributed file.
+       * fr30.opc: Likewise.
+       * ip2k.cpu: Likewise.
+       * ip2k.opc: Likewise.
+       * mep-avc.cpu: Likewise.
+       * mep-avc2.cpu: Likewise.
+       * mep-c5.cpu: Likewise.
+       * mep-core.cpu: Likewise.
+       * mep-default.cpu: Likewise.
+       * mep-ext-cop.cpu: Likewise.
+       * mep-fmax.cpu: Likewise.
+       * mep-h1.cpu: Likewise.
+       * mep-ivc2.cpu: Likewise.
+       * mep-rhcop.cpu: Likewise.
+       * mep-sample-ucidsp.cpu: Likewise.
+       * mep.cpu: Likewise.
+       * mep.opc: Likewise.
+       * openrisc.cpu: Likewise.
+       * openrisc.opc: Likewise.
+       * xstormy16.cpu: Likewise.
+       * xstormy16.opc: Likewise.
+
+2010-10-08  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * frv.opc: #undef DEBUG.
+
+2010-07-03  DJ Delorie  <dj@delorie.com>
+
+       * m32c.cpu (f-dsp-8-s24): Mask high byte after shifting it.
+
+2010-02-11  Doug Evans  <dje@sebabeach.org>
+
+       * m32r.cpu (HASH-PREFIX): Delete.
+       (duhpo, dshpo): New pmacros.
+       (simm8, simm16): Delete HASH-PREFIX attribute, define with dshpo.
+       (uimm3, uimm4, uimm5, uimm8, uimm16, imm1): Delete HASH-PREFIX
+       attribute, define with dshpo.
+       (uimm24): Delete HASH-PREFIX attribute.
+       * m32r.opc (CGEN_PRINT_NORMAL): Delete.
+       (print_signed_with_hash_prefix): New function.
+       (print_unsigned_with_hash_prefix): New function.
+       * xc16x.cpu (dowh): New pmacro.
+       (upof16): Define with dowh, specify print handler.
+       (qbit, qlobit, qhibit): Ditto.
+       (upag16): Ditto.
+       * xc16x.opc (CGEN_PRINT_NORMAL): Delete.
+       (print_with_dot_prefix): New functions.
+       (print_with_pof_prefix, print_with_pag_prefix): New functions.
+
+2010-01-24  Doug Evans  <dje@sebabeach.org>
+
+       * frv.cpu (floating-point-conversion): Update call to fp conv op.
+       (floating-point-dual-conversion, ne-floating-point-dual-conversion,
+       conditional-floating-point-conversion, ne-floating-point-conversion,
+       float-parallel-mul-add-double-semantics): Ditto.
+
+2010-01-05  Doug Evans  <dje@sebabeach.org>
+
+       * m32c.cpu (f-dsp-32-u24): Fix mode of extract handler.
+       (f-dsp-40-u20, f-dsp-40-u24): Ditto.
+
+2010-01-02  Doug Evans  <dje@sebabeach.org>
+
+       * m32c.opc (parse_signed16): Fix typo.
+
+2009-12-11  Nick Clifton  <nickc@redhat.com>
+
+       * frv.opc: Fix shadowed variable warnings.
+       * m32c.opc: Fix shadowed variable warnings.
+
+2009-11-14  Doug Evans  <dje@sebabeach.org>
+
+       Must use VOID expression in VOID context.
+       * xc16x.cpu (mov4): Fix mode of `sequence'.
+       (mov9, mov10): Ditto.
+       (movbsrr, moveb1, jmprel, jmpseg, jmps): Fix mode of `if'.
+       (callr, callseg, calls, trap, rets, reti): Ditto.
+       (jb, jbc, jnb, jnbs): Fix mode of `if'.  Comment out no-op `sll'.
+       (atomic, extr, extp, extp1, extpg1, extpr, extpr1): Fix mode of `cond'.
+       (exts, exts1, extsr, extsr1, prior): Ditto.
+
+2009-10-23  Doug Evans  <dje@sebabeach.org>
+
+       * m32c.opc (opc.h): cgen-types.h -> cgen/basic-modes.h.
+       cgen-ops.h -> cgen/basic-ops.h.
+
+2009-09-25  Alan Modra  <amodra@bigpond.net.au>
+
+       * m32r.cpu (stb-plus): Typo fix.
+
+2009-09-23  Doug Evans  <dje@sebabeach.org>
+
+       * m32r.cpu (sth-plus): Fix address mode and calculation.
+       (stb-plus): Ditto.
+       (clrpsw): Fix mask calculation.
+       (bset, bclr, btst): Make mode in bit calculation match expression.
+
+       * xc16x.cpu (rtl-version): Set to 0.8.
+       (gr-names, ext-names,psw-names): Update, print-name -> enum-prefix,
+       make uppercase.  Remove unnecessary name-prefix spec.
+       (grb-names, conditioncode-names, extconditioncode-names): Ditto.
+       (grb8-names, r8-names, regmem8-names, regdiv8-names): Ditto.
+       (reg0-name, reg0-name1, regbmem8-names, memgr8-names): Ditto.
+       (h-cr): New hardware.
+       (muls): Comment out parts that won't compile, add fixme.
+       (mulu, divl, divlu, jmpabs, jmpa-, jmprel, jbc, jnbs, callr): Ditto.
+       (scxti, scxtmg, scxtm, bclear, bclr18, bset19, bitset, bmov): Ditto.
+       (bmovn, band, bor, bxor, bcmp, bfldl, bfldh): Ditto.
+
+2009-07-16  Doug Evans  <dje@sebabeach.org>
+
+       * cpu/simplify.inc (*): One line doc strings don't need \n.
+       (df): Invoke define-full-ifield instead of claiming it's an alias.
+       (dno): Define.
+       (dnop): Mark as deprecated.
+
+2009-06-22  Alan Modra  <amodra@bigpond.net.au>
+
+       * m32c.opc (parse_lab_5_3): Use correct enum.
+
+2009-01-07  Hans-Peter Nilsson  <hp@axis.com>
+
+       * frv.cpu (mabshs): Explicitly sign-extend arguments of abs to DI.
+       (DI-ext-HI, DI-ext-UHI, DI-ext-DI): New pmacros.
+       (media-arith-sat-semantics): Explicitly sign- or zero-extend
+       arguments of "operation" to DI using "mode" and the new pmacros.
+
+2009-01-03  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cris.cpu (cris-implemented-writable-specregs-v32): Correct size
+       of number 2, PID.
+
+2008-12-23  Jon Beniston <jon@beniston.com>
+
+       * lm32.cpu: New file.
+       * lm32.opc: New file.
+
+2008-01-29  Alan Modra  <amodra@bigpond.net.au>
+
+       * mt.opc (parse_imm16): Apply 2007-09-26 opcodes/mt-asm.c change
+       to source.
+
+2007-10-22  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cris.cpu (movs, movu): Use result of extension operation when
+       updating flags.
+
+2007-07-04  Nick Clifton  <nickc@redhat.com>
+
+       * cris.cpu: Update copyright notice to refer to GPLv3.
+       * frv.cpu, frv.opc, iq10.cpu, iq2000m.cpu, iq2000.opc, m32c.cpu,
+       m32c.opc, m32r.cpu, m32r.opc, mt.cpu, mt.opc, sh64-compact.cpu,
+       sh64-media.cpu, sh.cpu, sh.opc, simplify.inc, xc16x.cpu,
+       xc16x.opc: Likewise.
+       * iq2000.cpu: Fix copyright notice to refer to FSF.
+
+2007-04-30  Mark Salter  <msalter@sadr.localdomain>
+
+       * frv.cpu (spr-names): Support new coprocessor SPR registers.
+
+2007-04-20  Nick Clifton  <nickc@redhat.com>
+
+       * xc16x.cpu: Restore after accidentally overwriting this file with
+       xc16x.opc.
+
+2007-03-29  DJ Delorie  <dj@redhat.com>
+
+       * m32c.cpu (Imm-8-s4n): Fix print hook.
+       (Lab-24-8, Lab-32-8, Lab-40-8): Fix.
+       (arith-jnz-imm4-dst-defn): Make relaxable.
+       (arith-jnz16-imm4-dst-defn): Fix encodings.
+
+2007-03-20  DJ Delorie  <dj@redhat.com>
+
+       * m32c.cpu (f-dsp-40-u20, f-dsp-48-u20, Dsp-40-u20, Dsp-40-u20,
+       mem20): New.
+       (src16-16-20-An-relative-*): New.
+       (dst16-*-20-An-relative-*): New.
+       (dst16-16-16sa-*): New
+       (dst16-16-16ar-*): New
+       (dst32-16-16sa-Unprefixed-*): New
+       (jsri): Fix operands.
+       (setzx): Fix encoding.
+
+2007-03-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * m32r.opc: Formatting.
+
+2006-05-22  Nick Clifton  <nickc@redhat.com>
+
+       * iq2000.cpu: Fix include paths for iq2000m.cpu and iq10.cpu.
+
 2006-04-10  DJ Delorie  <dj@redhat.com>
 
        * m32c.opc (parse_unsigned_bitbase): Take a new parameter which
        (parse_signed_bitbase8): Likewise.
        (parse_signed_bitbase11): Likewise.
        (parse_signed_bitbase19): Likewise.
-       
+
 2006-03-13  DJ Delorie  <dj@redhat.com>
 
        * m32c.cpu (Bit3-S): New.
        attribute.
        (jsri16, jsri32): Add 1ADDR attribute.
        (jsr32.w, jsr32.a): Add JUMP attribute.
-       
+
 2006-02-17  Shrirang Khisti  <shrirangk@kpitcummins.com>
-            Anil Paranjape   <anilp1@kpitcummins.com>
-            Shilin Shakti    <shilins@kpitcummins.com>
+           Anil Paranjape   <anilp1@kpitcummins.com>
+           Shilin Shakti    <shilins@kpitcummins.com>
 
        * xc16x.cpu: New file containing complete CGEN specific XC16X CPU
        description.
        stzx16-imm8-imm8-abs16): Fix operand typos.
        * m32c.opc (m32c_asm_hash): Support bnCND.
        (parse_signed4n, print_signed4n): New.
-       
+
 2005-10-26  DJ Delorie  <dj@redhat.com>
 
        * m32c.cpu (f-dsp-8-s24, Dsp-8-s24): New.
        Fix compile time warnings about signedness mismatches.
        Remove dead code.
        (parse_lab_5_3): New parser function.
-       
+
 2005-07-16  Jim Blandy  <jimb@redhat.com>
 
        * m32c.opc (m32c_cgen_insn_supported): Use int, not CGEN_BITSET,
        * New file.
 
 \f
+Copyright (C) 2003-2012 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
+
 Local Variables:
 mode: change-log
 left-margin: 8