cpu_features_get_perf_counter seems incorrect for macOS
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- c
- Domain
- performance
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.
Description
Looks like there is no case of macOS here:
https://github.com/libretro/libretro-common/blob/668749ae38a9e85744d1c15a652a1e8db8ab9e82/features/features_cpu.c#L155-L214
x86 and arm64 will use arch-specific cases, but for powerpc there is nothing, since macOS is excluded here: https://github.com/libretro/libretro-common/blob/668749ae38a9e85744d1c15a652a1e8db8ab9e82/features/features_cpu.c#L179-L180
- Dominant language
- C
- Stars
- 183
- Forks
- 99
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from libretro/libretro-common
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
libretro/libretro-common#220 · 1 comment · 1 reaction ·
-
RETRO_ENVIRONMENT_ clash in libretro.hMay be free again A pull request for this issue was closed without being merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
libretro/libretro-common#89 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
libretro/libretro-common#221 · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
libretro/libretro-common#213 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
libretro/libretro-common#197 ·
All issues in libretro/libretro-common
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
onehumanbeing/esp32-iphone-agent#118 · 1 comment ·
Maintainers usually reply within 1 day
-
area:http-gateway decision priority:low status:needs-info type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
crazy-goat/php-fpm-ng#1093 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
micropython/micropython#19906 ·
Maintainers usually reply within 1 day
-
QOI: QOI_OP_RUN does not update the previously seen pixels, corrupting qoi_test_images/edgecase.qoiPossibly taken @manit2004 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
python-pillow/Pillow#10452 · 4 comments ·
Maintainers usually reply within 1 day
-
area:data coverage
Difficulty 1/5 Under an hour Newbie friendliness 83/100
reacher-z/Awesome-CUA#4804 ·
Maintainers usually reply within 19 days