)]}'
{
  "commit": "4fd63f59671424f657aedc34b4e0aa62f140e0fc",
  "tree": "bf32321a6440e2d2407ea25a09ac21fa79ba6c8e",
  "parents": [
    "94bca81b080c2fef953c9afbbe86403ff546dd7b"
  ],
  "author": {
    "name": "Tor Jeremiassen",
    "email": "torerik@google.com",
    "time": "Thu Nov 19 14:13:57 2026 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Thu Nov 19 14:14:56 2026 -0800"
  },
  "message": "Allow instruction group definitions in .bin_fmt files to omit width and infer it from the base format.\n\n- Update `instruction_group_def` in `BinFormat.g4` (`width\u003dindex?`) so single instruction groups can omit `[width]`.\n- Update `BinFormatVisitor::VisitInstructionGroupDef` in `bin_format_visitor.cc` to infer the group width from the base format when `[width]` is omitted, keep width-mismatch and `\u003c\u003d 64`-bit validation, and guard against null base formats when format validation fails.\n- Document optional `[width]` inference on `instruction group` in `decoder/doc/binary-encoding.md`.\n- Add unit tests in `decoder/test/bin_format_visitor_test.cc` covering inferred group widths (including inherited base format widths and merged groups) and error diagnostics.\n\nPiperOrigin-RevId: 1025893271\nChange-Id: I13e351718cefa9be1c9a124034b1f6be4d96c71f\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "67c8bbdf0df1669ca8a4820d6f5e3319fbb4aecf",
      "old_mode": 33188,
      "old_path": "mpact/sim/decoder/BinFormat.g4",
      "new_id": "7d538a9f0a8b0bd740105bc45ff3d0d01d3dbebd",
      "new_mode": 33188,
      "new_path": "mpact/sim/decoder/BinFormat.g4"
    },
    {
      "type": "modify",
      "old_id": "03729b68de3272aa3bc2821d4b581606add8fa95",
      "old_mode": 33188,
      "old_path": "mpact/sim/decoder/bin_format_visitor.cc",
      "new_id": "e640bd8ffd565828a5dc142a4679899c543fdc7c",
      "new_mode": 33188,
      "new_path": "mpact/sim/decoder/bin_format_visitor.cc"
    },
    {
      "type": "modify",
      "old_id": "08fe6cf1cebf2949a777129459166f559a876661",
      "old_mode": 33188,
      "old_path": "mpact/sim/decoder/doc/binary-encoding.md",
      "new_id": "576600945231eca233b9cd50945506d128ede615",
      "new_mode": 33188,
      "new_path": "mpact/sim/decoder/doc/binary-encoding.md"
    },
    {
      "type": "modify",
      "old_id": "b1da3ed6f04867338c80110e147686755aa9bd29",
      "old_mode": 33188,
      "old_path": "mpact/sim/decoder/test/bin_format_visitor_test.cc",
      "new_id": "51e447e91997bdc86158842bb00f6901e9a2caa4",
      "new_mode": 33188,
      "new_path": "mpact/sim/decoder/test/bin_format_visitor_test.cc"
    }
  ]
}
