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 5419 - ARM64 implements SDL_Swap16/32
Summary: ARM64 implements SDL_Swap16/32
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: HG 2.1
Hardware: ARM Other
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-26 19:33 UTC by David Carlier
Modified: 2020-12-28 08:55 UTC (History)
1 user (show)

See Also:


Attachments
diff (1.00 KB, patch)
2020-12-26 19:33 UTC, David Carlier
Details | Diff
diff (1.00 KB, patch)
2020-12-28 06:09 UTC, David Carlier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Carlier 2020-12-26 19:33:25 UTC
Created attachment 4611 [details]
diff

Usage of halfword and word size instructions.
Comment 1 Ozkan Sezer 2020-12-28 04:21:17 UTC
Patch applied as https://hg.libsdl.org/SDL/rev/055b48432d03
Thanks.
Comment 2 Ozkan Sezer 2020-12-28 04:35:42 UTC
David Carlier: This patch resulted in multiple warnings in android
buildbot, can you have a look?
https://buildbot.libsdl.org/#/builders/24/builds/560
Comment 3 Ozkan Sezer 2020-12-28 05:04:02 UTC
Reverted the patch for now.
Comment 4 David Carlier 2020-12-28 06:09:40 UTC
Created attachment 4615 [details]
diff
Comment 5 David Carlier 2020-12-28 06:10:01 UTC
Attached a new version with register constraints.
Comment 6 Ozkan Sezer 2020-12-28 08:55:40 UTC
Patch applied as https://hg.libsdl.org/SDL/rev/459bb41a54b6
Closing as fixed.