)]}'
{
  "commit": "8e5eb8e1b0cb2a408008a3e40e571f193917dcc8",
  "tree": "57e88dbca3937b38a3dcb22cb7a316b27e5773c9",
  "parents": [
    "f59e7b128933d96b53ee948ab306334e87b2f03c"
  ],
  "author": {
    "name": "Dmitry Selyutin",
    "email": "ghostmansd@gmail.com",
    "time": "Thu May 12 10:32:11 2022 +0300"
  },
  "committer": {
    "name": "Alan Modra",
    "email": "amodra@gmail.com",
    "time": "Wed May 25 12:13:44 2022 +0930"
  },
  "message": "ppc: extend opindex to 16 bits\n\nWith the upcoming SVP64 extension[0] to PowerPC architecture, it became\nevident that PowerPC operand indices no longer fit 8 bits. This patch\nswitches the underlying type to uint16_t, also introducing a special\ntypedef so that any future extension goes even smoother.\n\n[0] https://libre-soc.org\n\ninclude/\n\t* opcode/ppc.h (ppc_opindex_t): New typedef.\n\t(struct powerpc_opcode): Use it.\n\t(PPC_OPINDEX_MAX): Define.\ngas/\n\t* write.h (struct fix): Increase size of fx_pcrel_adjust.\n\tReorganise.\n\t* config/tc-ppc.c (insn_validate): Use ppc_opindex_t for operands.\n\t(md_assemble): Likewise.\n\t(md_apply_fix): Likewise.  Mask fx_pcrel_adjust with PPC_OPINDEX_MAX.\n\t(ppc_setup_opcodes): Adjust opcode index assertion.\nopcodes/\n\t* ppc-dis.c (skip_optional_operands): Use ppc_opindex_t for\n\toperand pointer.\n\t(lookup_powerpc, lookup_prefix, lookup_vle, lookup_spe2): Likewise.\n\t(print_insn_powerpc): Likewise.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "72128af501bbe572456433e93fc293172943852e",
      "old_mode": 33188,
      "old_path": "gas/config/tc-ppc.c",
      "new_id": "4d789fd16a9a4af8ce4b4894c235273da09d67ff",
      "new_mode": 33188,
      "new_path": "gas/config/tc-ppc.c"
    },
    {
      "type": "modify",
      "old_id": "501bdd828fc96e423a689141ab425743f484da3c",
      "old_mode": 33188,
      "old_path": "gas/write.h",
      "new_id": "3e31342cfc8fbcd90af73d12c141f767354484e8",
      "new_mode": 33188,
      "new_path": "gas/write.h"
    },
    {
      "type": "modify",
      "old_id": "a9c2529831108c50fd570ad7b0a45937eaa470f1",
      "old_mode": 33188,
      "old_path": "include/opcode/ppc.h",
      "new_id": "7bc6ee216e189f505573eeec451ad4591c440dc7",
      "new_mode": 33188,
      "new_path": "include/opcode/ppc.h"
    },
    {
      "type": "modify",
      "old_id": "38ddeca26231b81ef12c73c6096a6fa60a47f6ed",
      "old_mode": 33188,
      "old_path": "opcodes/ppc-dis.c",
      "new_id": "45e8faeef5e55738546c5233032765072f0ce2b3",
      "new_mode": 33188,
      "new_path": "opcodes/ppc-dis.c"
    }
  ]
}
