)]}'
{
  "commit": "8f2aa9fb488f140f155cdc02b438533a5c75eeed",
  "tree": "8537c3a21a05739a69d4cf78b61be8636b119d66",
  "parents": [
    "054f1fcdf746e45edc4baf1840e5c5750b7a864a"
  ],
  "author": {
    "name": "Vaughn Iverson",
    "email": "vsivsi@yahoo.com",
    "time": "Mon Oct 14 15:29:07 2024 -0700"
  },
  "committer": {
    "name": "Keith Randall",
    "email": "khr@golang.org",
    "time": "Mon Nov 04 23:17:32 2024 +0000"
  },
  "message": "cpu: conditionally re-enable AVX512 support on darwin/amd64\n\nDarwin opmask clobbering bug was fixed in kernel version 21.3.0\nas released in MacOS 12.2.0. This commit resolves issue by\nchecking for Darwin AVX512 support via a sysctl call with the\naddition of a kernel minimum version check.\n\nThe kernel version check is completed without adding new\ndependencies to x/sys/cpu. A sysctl call is accomplished by\ncopying a minimal amount of code from x/sys/unix, to retrieve\nonly the needed KERN_OSRELEASE value. This code is structured\nin the same manner as an existing analogous AIX/PPC64 syscall.\n\nThe resulting dotted version string value is then parsed for\nnumeric comparison with a dependency free function.\n\nAll code in this contribution is structured to ease removal of\nthe special darwin/amd64 codepaths when that OS/arch combination\nis eventually no longer supported by golang.\n\nResolves issue: golang/go#49233, reinstates fix for issue: golang/go#43089\n\nChange-Id: I4755fc8b3865eb6562b0959ecc910e2c46ac6cb4\nReviewed-on: https://go-review.googlesource.com/c/sys/+/620256\nReviewed-by: Keith Randall \u003ckhr@google.com\u003e\nReviewed-by: Keith Randall \u003ckhr@golang.org\u003e\nLUCI-TryBot-Result: Go LUCI \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\nReviewed-by: Carlos Amedee \u003ccarlos@golang.org\u003e\nReviewed-by: vsivsi@yahoo.com \u003cvsivsi@yahoo.com\u003e\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ec2acfe540ea7b0e714e137a72f75db190cf8998",
      "new_mode": 33188,
      "new_path": "cpu/asm_darwin_x86_gc.s"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b838cb9e956e61f625d7976f3a123f44072e529b",
      "new_mode": 33188,
      "new_path": "cpu/cpu_darwin_x86.go"
    },
    {
      "type": "modify",
      "old_id": "910728fb163f36695c04e99064c4e5adf09a160c",
      "old_mode": 33188,
      "old_path": "cpu/cpu_gc_x86.go",
      "new_id": "32a44514e245fe38568a04ce77817b1b8c01aa73",
      "new_mode": 33188,
      "new_path": "cpu/cpu_gc_x86.go"
    },
    {
      "type": "rename",
      "old_id": "7d7ba33efb85559b3dded691773f12342163fdd6",
      "old_mode": 33188,
      "old_path": "cpu/cpu_x86.s",
      "new_id": "ce208ce6d6a3a64925076de5b9db96a4afedaf0d",
      "new_mode": 33188,
      "new_path": "cpu/cpu_gc_x86.s",
      "score": 94
    },
    {
      "type": "modify",
      "old_id": "99c60fe9f9c657795eaaf6cf85863114f58bb191",
      "old_mode": 33188,
      "old_path": "cpu/cpu_gccgo_x86.go",
      "new_id": "170d21ddfda4163fb6d9d2094fb62ff9e027fb65",
      "new_mode": 33188,
      "new_path": "cpu/cpu_gccgo_x86.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "a0fd7e2f75d37fe6f894f799caae51d9b6fe006f",
      "new_mode": 33188,
      "new_path": "cpu/cpu_other_x86.go"
    },
    {
      "type": "modify",
      "old_id": "c29f5e4c5a6e4ef36f32964e99910cb710205f97",
      "old_mode": 33188,
      "old_path": "cpu/cpu_x86.go",
      "new_id": "600a6807861e7fd225b672283e2bc5c984eb13d6",
      "new_mode": 33188,
      "new_path": "cpu/cpu_x86.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "4d0888b0c010f41faaf56692175b7d395bb7494a",
      "new_mode": 33188,
      "new_path": "cpu/syscall_darwin_x86_gc.go"
    }
  ]
}
