libretro / libretro/libretro-common

cpu_features_get_perf_counter seems incorrect for macOS

Open
#223 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
180
Forks
98
Avg merge
7h 16m
Merged PRs (30d)
1

Description

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in features/features_cpu.c, especially lines 155-214 and the macOS exclusion at lines 179-180. Compare how the x86 and arm64 architecture-specific cases handle cpu_features_get_perf_counter, then determine the appropriate macOS PowerPC behavior. Done means macOS is handled correctly rather than falling through without a case.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.