We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4930 - [PATCH] riscos: Add CPU feature detection
Summary: [PATCH] riscos: Add CPU feature detection
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: HG 1.2
Hardware: ARM RISC OS
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-06 22:43 UTC by Cameron Cawley
Modified: 2020-01-07 01:36 UTC (History)
0 users

See Also:


Attachments
riscos: Add CPU feature detection (1.27 KB, patch)
2020-01-06 22:43 UTC, Cameron Cawley
Details | Diff
riscos: Add CPU feature detection (2.52 KB, patch)
2020-01-06 22:45 UTC, Cameron Cawley
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cameron Cawley 2020-01-06 22:43:43 UTC
Created attachment 4152 [details]
riscos: Add CPU feature detection

This provides detection of ARM SIMD and NEON on RISC OS.
Comment 1 Cameron Cawley 2020-01-06 22:45:27 UTC
Created attachment 4153 [details]
riscos: Add CPU feature detection
Comment 2 Cameron Cawley 2020-01-06 22:47:14 UTC
Also attached is an SDL2 version of the patch, which also implements SDL_GetSystemRAM() as well.
Comment 3 Sam Lantinga 2020-01-07 01:36:06 UTC
Patches added, thanks!
https://hg.libsdl.org/SDL/rev/f765d8961a16
https://hg.libsdl.org/SDL/rev/13ae0ea1ed2b