Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Simplify MAKE_ZERO macro #503

Merged
merged 1 commit into from Sep 11, 2020
Merged

Simplify MAKE_ZERO macro #503

merged 1 commit into from Sep 11, 2020

Conversation

lgeiger
Copy link
Member

@lgeiger lgeiger commented Sep 11, 2020

What do these changes do?

This PR replaces the eor to zero the vector register with a movi instruction to simplify the macro a bit. The A72 optimisation guide lists that eor and movi have the same latency and throughput numbers so the performance should be equivalent.

How Has This Been Tested?

CI

Benchmark Results

I briefly ran some benchmarks on my phone and couldn't measure any difference.

Related issue number

Followup on #496 (comment)

@lgeiger lgeiger added the internal-improvement Internal Improvements and Maintenance label Sep 11, 2020
@AdamHillier AdamHillier merged commit 7505669 into master Sep 11, 2020
@AdamHillier AdamHillier deleted the make-zero branch September 11, 2020 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal-improvement Internal Improvements and Maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants