)]}'
{
  "commit": "2e21725efbdb11a87d98090af8bc2d1cb1012e6f",
  "tree": "277fc598d9a51a56836104341a671678fbfc1969",
  "parents": [
    "37ab654b0542b7e1f15610b58d9f610567f509d5"
  ],
  "author": {
    "name": "Hongyu Wang",
    "email": "hongyu.wang@intel.com",
    "time": "Tue Jul 28 11:41:37 2026 +0800"
  },
  "committer": {
    "name": "Hongyu Wang",
    "email": "hongyu.wang@intel.com",
    "time": "Wed Jul 29 10:02:21 2026 +0800"
  },
  "message": "i386: Merge duplicate preferred_for_speed attributes on QImode NDD patterns\n\nSeveral QImode integer patterns has two separate attr \"preferred_for_speed\"\nset, one gating the NDD memory-form alternatives with\nTARGET_ENABLE_NDD_MEM, and the existing one is for !TARGET_PARTIAL_REG_STALL.\nThe later one will make genattrtab regenerates the cond based on\n!PARTIAL_REG_STALL only and overrides the TARGET_ENABLE_NDD_MEM, so the NDD\nmemory alternatives were always preferred for speed regardless of the\nX86_TUNE_ENABLE_NDD_MEM enabled or disabled.\n\nCombine both conditions into a single preferred_for_speed cond per\npattern. For *ashlqi3_1 alternative 5 belongs to both sets, so it is\ngated on TARGET_ENABLE_NDD_MEM \u0026\u0026 !TARGET_PARTIAL_REG_STALL.\n\ngcc/ChangeLog:\n\n\t* config/i386/i386.md (*addqi_1\u003cnf_name\u003e): Merge the two\n\tpreferred_for_speed attributes into one.\n\t(*andqi_1\u003cnf_name\u003e): Likewise.\n\t(*andqi_2_maybe_si): Likewise.\n\t(*\u003ccode\u003eqi_1\u003cnf_name\u003e): Likewise.\n\t(*notxorqi_1): Likewise.\n\t(*one_cmplqi2_1): Likewise.\n\t(*ashlqi3_1\u003cnf_name\u003e): Likewise.\n\ngcc/testsuite/ChangeLog:\n\n\t* gcc.target/i386/apx-ndd-mem-tune.c: New test.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "230fcb576d02b7c8134fa6bcf1938a0c402940ab",
      "old_mode": 33188,
      "old_path": "gcc/config/i386/i386.md",
      "new_id": "0bfe52c08fa63d235a22dba97d16a6c61726dfda",
      "new_mode": 33188,
      "new_path": "gcc/config/i386/i386.md"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "5726390be89f67df122f088678b7596bb0511475",
      "new_mode": 33188,
      "new_path": "gcc/testsuite/gcc.target/i386/apx-ndd-mem-tune.c"
    }
  ]
}
