[all-commits] [llvm/llvm-project] cff0e6: [Mips] Restrict rdhwr+synci to Linux on MIPS R6 (#...

Ying Huang via All-commits all-commits at lists.llvm.org
Wed Sep 23 20:15:35 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cff0e6b5dc60cce76e85f0d9e9af537e76759315
      https://github.com/llvm/llvm-project/commit/cff0e6b5dc60cce76e85f0d9e9af537e76759315
  Author: Ying Huang <ying.huang at oss.cipunited.com>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    M compiler-rt/lib/builtins/clear_cache.c

  Log Message:
  -----------
  [Mips] Restrict rdhwr+synci to Linux on MIPS R6 (#222566)

The rdhwr instruction reads synci_step, which is not allowed by OpenBSD
and is not available for ISA older than mips{32/64}r2.

Restrict the rdhwr+synci to Linux on MIPS R6 and fall back to
_flush_cache on all other MIPS targets including OpenBSD and pre-R6
Linux.

Fix #219896.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list