)]}'
{
  "commit": "421d53b42b6c5a1f253b424ce58c3061a85069c8",
  "tree": "70843d6f1ce509124b632591f26f093e0e0854d9",
  "parents": [
    "903de2eca28caa2a9bba0f6628fe5751f24942ee"
  ],
  "author": {
    "name": "Ryan VanderMeulen",
    "email": "ryanvm@gmail.com",
    "time": "Wed Nov 04 11:18:52 2026 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Thu Nov 05 11:28:55 2026 -0800"
  },
  "message": "PR #2213: Use __builtin_prefetch for PrefetchToLocalCacheForWrite on x86-64\n\nImported from GitHub PR https://github.com/abseil/abseil-cpp/pull/2213\n\nOn x86-64 targets without PRFCHW, `PrefetchToLocalCacheForWrite()` emits a hard-coded `prefetchw` on the assumption that CPUs lacking the feature treat the opcode as a no-op. 64-bit NetBurst CPUs (Pentium 4 / Xeon, family 15) raise #UD on it instead, so any caller crashes with SIGILL. Firefox hit this as a startup crash on Linux: every report came from family 15 model 4 (Prescott/Nocona) CPUs.\n\nLet the compiler pick the instruction: `__builtin_prefetch(addr, 1, 3)` emits `prefetchw` when the target guarantees PRFCHW (e.g. `-mprfchw` or `-march\u003dbroadwell`) and `prefetcht0` otherwise. On the non-GNU SSE path, when `_MM_HINT_ET0` is unavailable, the fallback is now `_MM_HINT_T0`. For MSVC this means a read prefetch where there used to be no prefetch at all.\n\nMerge e194fbde5ea1f24324a1d5018a74cfd165167677 into 7a1c39bd5a1f17dd61f6f6b7fb52c8cd8643139b\n\nMerging this change closes #2213\n\nPiperOrigin-RevId: 1013999131\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "482cde3a0166ce4db7f09a029d71ffc7a0635b73",
      "old_mode": 33188,
      "old_path": "absl/base/prefetch.h",
      "new_id": "96ee28d3e6a3a24444b4cd688d68a46c0624a250",
      "new_mode": 33188,
      "new_path": "absl/base/prefetch.h"
    }
  ]
}
