Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ARM: disable native assembler optimisations #562

Closed
wants to merge 1 commit into from
Closed

ARM: disable native assembler optimisations #562

wants to merge 1 commit into from

Conversation

jbowler
Copy link
Contributor

@jbowler jbowler commented May 30, 2024

This change disables assembly of assembler language implementations of
ARM Neon optimisations. This only affects older GCC versions;
everything else either did nothing or used the GCC "intrinsics".

The change can be explicitly bypassed by defined
PNG_ARM_NEON_IMPLEMENTATION or, of course, by just reverting the two
lines that have material changes!

Signed-off-by: John Bowler jbowler@acm.org

This change disables assembly of assembler language implementations of
ARM Neon optimisations.  This only affects older GCC versions;
everything else either did nothing or used the GCC "intrinsics".

The change can be explicitly bypassed by defined
PNG_ARM_NEON_IMPLEMENTATION or, of course, by just reverting the two
lines that have material changes!

Signed-off-by: John Bowler <jbowler@acm.org>
@jbowler
Copy link
Contributor Author

jbowler commented May 30, 2024

@billatarm, @rossburton: please review.

@billatarm
Copy link

I think the right approach here is to remove the .S file from compilation when neon intrinsics are natively supported. Give me some time to look at it more.

@jbowler
Copy link
Contributor Author

jbowler commented May 30, 2024

Yes; this change is insufficient. See my comments in:

#505

@jbowler jbowler closed this May 30, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants