Add instruction support for Curve25519 armv7-M optimization tasks#341
Draft
willieyz wants to merge 10 commits into
Draft
Add instruction support for Curve25519 armv7-M optimization tasks#341willieyz wants to merge 10 commits into
willieyz wants to merge 10 commits into
Conversation
03545b5 to
aa81ea6
Compare
07df989 to
8144d02
Compare
40e56e1 to
c545b7f
Compare
85002ba to
7258b74
Compare
Signed-off-by: willieyz <willie.zhao@chelpis.com>
Signed-off-by: willieyz <willie.zhao@chelpis.com>
- This commit add instruction support for `umull`
- `umull`
- (reference from `smull` and
cortex-m85 SWOG: Divide and multiply instructions)
- latency: 2
- inverse throughput: 1
- ExecutionUnit: MAC (Multiply Accmumlate)
Signed-off-by: willieyz <willie.zhao@chelpis.com>
- This commit add instruction support for `umaal` - `umaal` - (reference from PR #160 and cortex-m85 SWOG: Divide and multiply instructions) - latency: 2 - inverse throughput: 1 - ExecutionUnit: MAC (Multiply Accmumlate) Signed-off-by: willieyz <willie.zhao@chelpis.com>
- This commit add instruction support for `movs_imm` - `movs_imm` - (reference from cortex-m85 SWOG: Move and shift instructions) - latency: 1 - inverse throughput: 1 - ExecutionUnit: ALU (reference from `movw_imm` in cortex-m7) Signed-off-by: willieyz <willie.zhao@chelpis.com>
This commit add instruction support for mov (register) T1 variant - mov (reference from cortex-m85 SWOG: Move and shift instructions) - latency: 1 - inverse throughput: 1 - ExecutionUnit: ALU Signed-off-by: willieyz <willie.zhao@chelpis.com>
- This commit add instruction support for mov(immediate). - mov (reference from cortex-m85 SWOG: Move and shift instructions) - latency: 1 - inverse throughput: 1 - ExecutionUnit: ALU Signed-off-by: willieyz <willie.zhao@chelpis.com>
- This commit add instruction support for muls. - muls(reference from cortex-m85 SWOG: Divide and multiply instructions) - latency: 2 - inverse throughput: 1 - ExecutionUnit: MAC Signed-off-by: willieyz <willie.zhao@chelpis.com>
…ghput - This commit resolve the multiple match error for the `vmov_gpr2_dual` by remove the one with comment: # actually not, just placeholder. - vmov_gpr2_dual - latency: 1 - inverse_throughput: 1 - Dual issue: 11 Signed-off-by: willieyz <willie.zhao@chelpis.com>
- This commit removes the restriction in the `make()` function of `ldr`, `ldr_with_imm`, `ldrb_with_imm` and `ldrh_with_imm`, namely the line: `obj.args_in_out_different = [(0, 0)] # Can't have Rd==Ra`. - This restriction makes it harder for Slothy to find a solution in scenarios where the number of available registers was limited. Signed-off-by: willieyz <willie.zhao@chelpis.com>
7258b74 to
020bbe9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
vldm_internalvmov_gpr_dual