-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TEST: Demonstrate how to potentially do instruction-splitting
- Loading branch information
1 parent
8df6fb5
commit 9ab558d
Showing
6 changed files
with
121 additions
and
27 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
start: | ||
ldr q0, [x1, #0] | ||
ldr q1, [x2, #0] | ||
eor3 v5.16b, v1.16b, v2.16b, v3.16b // @slothy:some_tag // some comment | ||
eor3 v3.16b, v1.16b, v2.16b, v3.16b // Cannot we split naively | ||
ldr q8, [x0] | ||
ldr q9, [x0, #1*16] | ||
ldr q10, [x0, #2*16] | ||
ldr q11, [x0, #3*16] | ||
mul v24.8h, v9.8h, v0.h[0] | ||
sqrdmulh v9.8h, v9.8h, v0.h[1] | ||
mls v24.8h, v9.8h, v1.h[0] | ||
sub v9.8h, v8.8h, v24.8h | ||
add v8.8h, v8.8h, v24.8h | ||
end: |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
start: | ||
ldr q0, [x1, #0] | ||
ldr q1, [x2, #0] | ||
eor v5.16B, v1.16B, v2.16B// some comment // @slothy:some_tag | ||
eor v5.16B, v5.16B, v3.16B// some comment // @slothy:some_tag | ||
eor3 v3.16B, v1.16B, v2.16B, v3.16B// Cannot we split naively | ||
ldr q8, [x0] | ||
ldr q9, [x0, #16] | ||
ldr q10, [x0, #32] | ||
ldr q11, [x0, #48] | ||
mul v24.8H, v9.8H, v0.H[0] | ||
sqrdmulh v9.8H, v9.8H, v0.H[1] | ||
mls v24.8H, v9.8H, v1.H[0] | ||
sub v9.8H, v8.8H, v24.8H | ||
add v8.8H, v8.8H, v24.8H | ||
end: | ||
|
This file contains 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
This file contains 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
This file contains 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