-
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.
Merge remote-tracking branch 'origin/main' into armv7m
- Loading branch information
Showing
7 changed files
with
210 additions
and
92 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 |
---|---|---|
@@ -1,9 +1,32 @@ | ||
|
||
start: | ||
ldr r1, [r0, #4] | ||
add r1, r2, r1 | ||
eor.w r1, r1, r3 | ||
smlabt r3, r2, r2, r1 | ||
asrs r3, r3, #1 | ||
str r3, [r0, #4] | ||
ldr r1, [r0, #4] | ||
add r1, r2,r1 | ||
eor.w r1,r1, r3 | ||
smlabt r3,r2, r2, r1 | ||
asrs r3, r3,#1 | ||
str r3, [r0,#4] | ||
|
||
ldm r0, {r1-r2,r14} | ||
add r1, r2,r1 | ||
eor.w r1,r1, r14 | ||
smlabt r3,r2, r2, r1 | ||
asrs r3, r3,#1 | ||
str r3, [r0,#4] | ||
|
||
|
||
ldm r0, {r1-r3} | ||
add r1, r2,r1 | ||
eor.w r1,r1, r3 | ||
smlabt r3,r2, r2, r1 | ||
asrs r3, r3,#1 | ||
str r3, [r0,#4] | ||
|
||
ldm r0, {r1,r2,r3} | ||
add r1, r2,r1 | ||
eor.w r1,r1, r3 | ||
smlabt r3,r2, r2, r1 | ||
asrs r3, r3,#1 | ||
str r3, [r0,#4] | ||
|
||
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 |
---|---|---|
@@ -1,33 +1,69 @@ | ||
|
||
start: | ||
// Instructions: 6 | ||
// Expected cycles: 5 | ||
// Expected IPC: 1.20 | ||
// | ||
// Cycle bound: 5.0 | ||
// IPC bound: 1.20 | ||
// | ||
// Wall time: 0.02s | ||
// User time: 0.02s | ||
// | ||
// ----- cycle (expected) ------> | ||
// 0 25 | ||
// |------------------------|---- | ||
ldr r6, [r0, #4] // *............................. | ||
add r6, r2, r6 // .*............................ | ||
eor.w r3, r6, r3 // ..*........................... | ||
smlabt r12, r2, r2, r3 // ..*........................... | ||
asrs r3, r12, #1 // ....*......................... | ||
str r3, [r0, #4] // ....*......................... | ||
// Instructions: 24 | ||
// Expected cycles: 14 | ||
// Expected IPC: 1.71 | ||
// | ||
// Cycle bound: 14.0 | ||
// IPC bound: 1.71 | ||
// | ||
// Wall time: 0.40s | ||
// User time: 0.40s | ||
// | ||
// ----- cycle (expected) ------> | ||
// 0 25 | ||
// |------------------------|---- | ||
ldr r10, [r0, #4] // *............................. | ||
ldm r0, {r1,r7,r14} // .*............................ | ||
add r10, r2, r10 // .*............................ | ||
eor.w r10, r10, r3 // ..*........................... | ||
smlabt r2, r2, r2, r10 // ..*........................... | ||
ldm r0, {r10,r11,r12} // ....*......................... | ||
add r1, r7, r1 // ....*......................... | ||
eor.w r1, r1, r14 // .....*........................ | ||
smlabt r6, r7, r7, r1 // .....*........................ | ||
asrs r1, r2, #1 // ......*....................... | ||
str r1, [r0, #4] // ......*....................... | ||
add r4, r11, r10 // .......*...................... | ||
ldm r0, {r1,r2,r14} // .......*...................... | ||
asrs r10, r6, #1 // ........*..................... | ||
eor.w r6, r4, r12 // ........*..................... | ||
smlabt r11, r11, r11, r6 // .........*.................... | ||
add r1, r2, r1 // ..........*................... | ||
str r10, [r0, #4] // ..........*................... | ||
eor.w r1, r1, r14 // ...........*.................. | ||
smlabt r7, r2, r2, r1 // ...........*.................. | ||
asrs r1, r11, #1 // ............*................. | ||
str r1, [r0, #4] // ............*................. | ||
asrs r3, r7, #1 // .............*................ | ||
str r3, [r0, #4] // .............*................ | ||
|
||
// ------ cycle (expected) ------> | ||
// 0 25 | ||
// |------------------------|----- | ||
// ldr r1, [r0, #4] // *.............................. | ||
// add r1, r2, r1 // .*............................. | ||
// eor.w r1, r1, r3 // ..*............................ | ||
// smlabt r3, r2, r2, r1 // ..*............................ | ||
// asrs r3, r3, #1 // ....*.......................... | ||
// str r3, [r0, #4] // ....*.......................... | ||
// ------ cycle (expected) ------> | ||
// 0 25 | ||
// |------------------------|----- | ||
// ldr r1, [r0, #4] // *.............................. | ||
// add r1, r2,r1 // .*............................. | ||
// eor.w r1,r1, r3 // ..*............................ | ||
// smlabt r3,r2, r2, r1 // ..*............................ | ||
// asrs r3, r3,#1 // ......*........................ | ||
// str r3, [r0,#4] // ......*........................ | ||
// ldm r0, {r1-r2,r14} // ....*.......................... | ||
// add r1, r2,r1 // .......*....................... | ||
// eor.w r1,r1, r14 // ........*...................... | ||
// smlabt r3,r2, r2, r1 // .........*..................... | ||
// asrs r3, r3,#1 // ............*.................. | ||
// str r3, [r0,#4] // ............*.................. | ||
// ldm r0, {r1-r3} // .*............................. | ||
// add r1, r2,r1 // ....*.......................... | ||
// eor.w r1,r1, r3 // .....*......................... | ||
// smlabt r3,r2, r2, r1 // .....*......................... | ||
// asrs r3, r3,#1 // ........*...................... | ||
// str r3, [r0,#4] // ..........*.................... | ||
// ldm r0, {r1,r2,r3} // .......*....................... | ||
// add r1, r2,r1 // ..........*.................... | ||
// eor.w r1,r1, r3 // ...........*................... | ||
// smlabt r3,r2, r2, r1 // ...........*................... | ||
// asrs r3, r3,#1 // .............*................. | ||
// str r3, [r0,#4] // .............*................. | ||
|
||
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
Oops, something went wrong.