)]}'
{
  "commit": "0c0ea53b44af37bfdd092a958bee9de340e6629f",
  "tree": "2485b9f24e14ac2733c250ead3e320a62d7ad910",
  "parents": [
    "a4496ccec748e55daa49eeaac0e66ced2b02de07"
  ],
  "author": {
    "name": "Jens Remus",
    "email": "jremus@linux.ibm.com",
    "time": "Tue Nov 10 17:46:02 2026 +0100"
  },
  "committer": {
    "name": "Jens Remus",
    "email": "jremus@linux.ibm.com",
    "time": "Tue Nov 10 17:46:02 2026 +0100"
  },
  "message": "s390: Treat signed/unsigned immediate operands in .insn pseudo-mnemonics as either\n\nSubsequent commits add all z/Architecture instruction formats including\nany variants as .insn pseudo-mnemonics.  Immediate operands in those\ncan be either signed or unsigned, depending on the instruction.\nTherefore the immediate value range check must be performed so that any\npossible signed and unsigned value is valid.  That is the values are\nwithin the range [-min_signed, max_unsigned].\n\nInstead of defining a new set of mixed signed and unsigned immediate\noperand types as well as new instruction formats use the PSEUDO_MNEMONIC\ninstruction flag as indication whether to perform this special range\ncheck in s390_insert_operand() for both signed and unsigned operands.\nPass the opcode pointer to s390_insert_operand().  When creating fixups\nstore the opcode and operand pointers in the target-specific fixup data,\nso that md_apply_fix() can pass them to s390_insert_operand().\n\nAs a side benefit the operand index is no longer encoded in the fixup\nrelocation type (as BFD_RELOC_UNUSED + operand index), as the operand\npointer is now contained in the fixup structure.\n\ngas/\n\t* config/tc-s390.h (struct s390_fix_data): New s390-specific\n\tfixup data structure.\n\t(TC_FIX_TYPE, TC_INIT_FIX_DATA): New defines.\n\t* config/tc-s390.c (s390_insert_operand): Treat signed/unsigned\n\timmediate operands in .insn pseudo-mnemonics as either.\n\t(struct s390_fixup): Store operand pointer instead of index.\n\t(md_gather_operands): Likewise.  Pass opcode to\n\ts390_insert_operand.  Store opcode and operand pointers in\n\ttarget-specific fixup data.\n\t(md_apply_fix): Pass opcode and operand pointers to\n\ts390_insert_operand.\n\t* doc/c-s390.texi (s390 Formats): Document operand Ix as un-/\n\tsigned immediate with range min. signed to max. unsigned.\n\nSigned-off-by: Jens Remus \u003cjremus@linux.ibm.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "707306aac3896316d2bd6ebf636d9c120ad5c933",
      "old_mode": 33188,
      "old_path": "gas/config/tc-s390.c",
      "new_id": "5fb4dab1c14e3a291c96f997ec1e6bfb431f4ba4",
      "new_mode": 33188,
      "new_path": "gas/config/tc-s390.c"
    },
    {
      "type": "modify",
      "old_id": "3fd37c075bde5c40d0675c9e7f93a7704a29119b",
      "old_mode": 33188,
      "old_path": "gas/config/tc-s390.h",
      "new_id": "62e910cb2273979002becbc75d41e49efba88f8d",
      "new_mode": 33188,
      "new_path": "gas/config/tc-s390.h"
    },
    {
      "type": "modify",
      "old_id": "8cf5718dc38bd372e2a760e43cca6bc36a412672",
      "old_mode": 33188,
      "old_path": "gas/doc/c-s390.texi",
      "new_id": "53fe7128b3624e7ed3c4e79a3866ff2dc2931bca",
      "new_mode": 33188,
      "new_path": "gas/doc/c-s390.texi"
    }
  ]
}
