-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[all]: Add SVE predicated NEG and MOVPRFX instructions
Note that both instructions accept P/M (aka merge predicate) which means that destination register can be updated partially thus we mark destination register both input and output in `litmus` Signed-off-by: Vladimir Murzin <[email protected]>
- Loading branch information
Vladimir Murzin
committed
Apr 16, 2024
1 parent
39967df
commit 3f67773
Showing
13 changed files
with
178 additions
and
10 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
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,9 @@ | ||
AArch64 V19 | ||
{} | ||
P0 ; | ||
MOV Z0.S,#1 ; | ||
MOV W0,#2 ; | ||
WHILELT P0.S, WZR,W0 ; | ||
MOVPRFX Z1.S,P0/Z,Z0.S ; | ||
|
||
forall 0:V1.4S={1,1,0,0} |
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,11 @@ | ||
Test V19 Required | ||
States 1 | ||
0:V1.4S={1,1,0,0}; | ||
Ok | ||
Witnesses | ||
Positive: 1 Negative: 0 | ||
Flag Scalable-Vector-Extensions-is-work-in-progress | ||
Condition forall (0:V1.4S={1,1,0,0}) | ||
Observation V19 Always 1 0 | ||
Hash=6e4fe0c6b9f99be6b7106ab39771a536 | ||
|
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,10 @@ | ||
AArch64 V20 | ||
{} | ||
P0 ; | ||
MOV Z0.S,#1 ; | ||
MOV Z1.S,#2 ; | ||
MOV W0,#3 ; | ||
WHILELT P0.S, WZR,W0 ; | ||
MOVPRFX Z1.S,P0/M,Z0.S ; | ||
|
||
forall 0:V1.4S={1,1,1,2} |
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,11 @@ | ||
Test V20 Required | ||
States 1 | ||
0:V1.4S={1,1,1,2}; | ||
Ok | ||
Witnesses | ||
Positive: 1 Negative: 0 | ||
Flag Scalable-Vector-Extensions-is-work-in-progress | ||
Condition forall (0:V1.4S={1,1,1,2}) | ||
Observation V20 Always 1 0 | ||
Hash=677c8c841b77fff00fb418c8756a406c | ||
|
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,10 @@ | ||
AArch64 V21 | ||
{} | ||
P0 ; | ||
MOV Z0.S,#-1 ; | ||
MOV Z1.S,#2 ; | ||
MOV W0,#3 ; | ||
WHILELT P0.S,WZR,W0 ; | ||
NEG Z1.S,P0/M,Z0.S ; | ||
|
||
forall 0:V1.4S={1,1,1,2} |
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,11 @@ | ||
Test V21 Required | ||
States 1 | ||
0:V1.4S={1,1,1,2}; | ||
Ok | ||
Witnesses | ||
Positive: 1 Negative: 0 | ||
Flag Scalable-Vector-Extensions-is-work-in-progress | ||
Condition forall (0:V1.4S={1,1,1,2}) | ||
Observation V21 Always 1 0 | ||
Hash=eb7c6bad69d5d023bf8f5a005309ed49 | ||
|
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
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