-
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
May 1, 2024
1 parent
4128e86
commit 5092711
Showing
13 changed files
with
180 additions
and
3 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,11 @@ | ||
AArch64 V19 | ||
{} | ||
P0 ; | ||
MOV Z0.S,#1 ; | ||
MOV Z1.S,#2 ; | ||
MOV Z2.S,#-1 ; | ||
PTRUE P0.S,VL2 ; | ||
MOVPRFX Z1.S,P0/Z,Z0.S ; | ||
NEG Z1.S,P0/M,Z2.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=2a7dcf8717c679858b3d9b0347124aca | ||
|
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 @@ | ||
AArch64 V20 | ||
{} | ||
P0 ; | ||
MOV Z0.S,#1 ; | ||
MOV Z1.S,#2 ; | ||
MOV Z2.S,#-1 ; | ||
PTRUE P0.S,VL3 ; | ||
MOVPRFX Z1.S,P0/M,Z0.S ; | ||
NEG Z1.S,P0/M,Z2.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=f5073ff7daa0f2b6acb6dea49f4fc61a | ||
|
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 V21 | ||
{} | ||
P0 ; | ||
MOV Z0.S,#-1 ; | ||
MOV Z1.S,#2 ; | ||
PTRUE P0.S,VL3 ; | ||
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=b2c63565af19e50740733f57fc3bf64a | ||
|
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