Skip to content

ARM DSP: Halving parallel add/sub and multiply add/sub #535

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

Merged
merged 5 commits into from
Jul 23, 2018
Merged

ARM DSP: Halving parallel add/sub and multiply add/sub #535

merged 5 commits into from
Jul 23, 2018

Conversation

paoloteti
Copy link
Contributor

First of this PR restrict everything to Cortex-A/R devices till We found a better way to manage thumb* targets.

Then add a set of halving parallel add/sub and multiply add/sub widely used in DSP algorithms:

  • shsub8: Signed halving parallel byte-wise subtraction.
  • shsub16: Signed halving parallel halfword-wise subtraction.
  • shadd8: Signed halving parallel byte-wise add.
  • shadd16: Signed halving parallel halfword-wise add.
  • smuad: Signed dual multiply add.
  • smuadx: Signed dual multiply add reversed.
  • smusd: Signed dual multiply subtract.
  • smusdx: Signed dual multiply subtract reversed.

Add:

- `shsub8`: Signed halving parallel byte-wise subtraction.
- `shsub16`: Signed halving parallel halfword-wise subtraction.
- `shadd8`: Signed halving parallel byte-wise add.
- `shadd16`: Signed halving parallel halfword-wise add.
- `SMUAD`: Signed Dual Multiply Add.
- `SMUADX`: Signed Dual Multiply Add Reversed.
- `SMUSD`: Signed Dual Multiply Subtract.
- `SMUSDX`: Signed Dual Multiply Subtract Reversed.
Restrict everything to Cortex-A/R till We found a better way manage
thumb* targets.

Add 'dox' to generate docs.
Quote '[' and ']' where are not part of the Markdown syntax.
@alexcrichton alexcrichton merged commit 2760409 into rust-lang:master Jul 23, 2018
@alexcrichton
Copy link
Member

👍

@paoloteti paoloteti deleted the armdsp branch July 24, 2018 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants