[all-commits] [llvm/llvm-project] 9cc7ee: [Mips] Support llvm.readcyclecounter intrinsic (#1...

yingopq via All-commits all-commits at lists.llvm.org
Mon Feb 10 16:48:12 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9cc7ee16e3bb849fb3c0155a843bfe349a2d2175
      https://github.com/llvm/llvm-project/commit/9cc7ee16e3bb849fb3c0155a843bfe349a2d2175
  Author: yingopq <115543042+yingopq at users.noreply.github.com>
  Date:   2025-02-11 (Tue, 11 Feb 2025)

  Changed paths:
    M llvm/lib/Target/Mips/MipsISelLowering.cpp
    M llvm/lib/Target/Mips/MipsISelLowering.h
    A llvm/test/CodeGen/Mips/readcyclecounter.ll

  Log Message:
  -----------
  [Mips] Support llvm.readcyclecounter intrinsic (#114953)

The llvm.readcyclecounter intrinsic can be implemented via the `rdhwr
$3, $hwr_cc` instruction.
$hwr_cc: High-resolution cycle counter. This register provides read
access to the coprocessor 0 Count Register.

Fix #106318.



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