Skip to content

Commit 4695cce

Browse files
committed
Add I extension Pseudoinstructions
Signed-off-by: Afonso Oliveira <[email protected]>
1 parent 5e6c568 commit 4695cce

File tree

11 files changed

+195
-0
lines changed

11 files changed

+195
-0
lines changed

arch/inst/I/pseudo/fence.tso.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# yaml-language-server: $schema=../../../schemas/inst_schema.json
2+
3+
$schema: inst_schema.json#
4+
kind: pseudoinstruction
5+
name: fence.tso
6+
long_name: No synopsis available.
7+
description: |
8+
No description available.
9+
definedBy: I
10+
assembly: xs1, xd
11+
origin_instruction: fence
12+
encoding:
13+
match: 100000110011-----000-----0001111
14+
variables:
15+
- name: rs1
16+
location: 19-15
17+
- name: rd
18+
location: 11-7
19+
operation(): |
20+

arch/inst/I/pseudo/ntl.all.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# yaml-language-server: $schema=../../../schemas/inst_schema.json
2+
3+
$schema: inst_schema.json#
4+
kind: pseudoinstruction
5+
name: ntl.all
6+
long_name: No synopsis available.
7+
description: |
8+
No description available.
9+
definedBy: Zihintntl
10+
assembly: ntl_all
11+
origin_instruction: add
12+
encoding:
13+
match: '00000000010100000000000000110011'
14+
variables: []
15+
operation(): |
16+

arch/inst/I/pseudo/ntl.p1.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# yaml-language-server: $schema=../../../schemas/inst_schema.json
2+
3+
$schema: inst_schema.json#
4+
kind: pseudoinstruction
5+
name: ntl.p1
6+
long_name: No synopsis available.
7+
description: |
8+
No description available.
9+
definedBy: Zihintntl
10+
assembly: ntl_p1
11+
origin_instruction: add
12+
encoding:
13+
match: '00000000001000000000000000110011'
14+
variables: []
15+
operation(): |
16+

arch/inst/I/pseudo/ntl.pall.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# yaml-language-server: $schema=../../../schemas/inst_schema.json
2+
3+
$schema: inst_schema.json#
4+
kind: pseudoinstruction
5+
name: ntl.pall
6+
long_name: No synopsis available.
7+
description: |
8+
No description available.
9+
definedBy: Zihintntl
10+
assembly: ntl_pall
11+
origin_instruction: add
12+
encoding:
13+
match: '00000000001100000000000000110011'
14+
variables: []
15+
operation(): |
16+

arch/inst/I/pseudo/ntl.s1.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# yaml-language-server: $schema=../../../schemas/inst_schema.json
2+
3+
$schema: inst_schema.json#
4+
kind: pseudoinstruction
5+
name: ntl.s1
6+
long_name: No synopsis available.
7+
description: |
8+
No description available.
9+
definedBy: Zihintntl
10+
assembly: ntl_s1
11+
origin_instruction: add
12+
encoding:
13+
match: '00000000010000000000000000110011'
14+
variables: []
15+
operation(): |
16+

arch/inst/I/pseudo/pause.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# yaml-language-server: $schema=../../../schemas/inst_schema.json
2+
3+
$schema: inst_schema.json#
4+
kind: pseudoinstruction
5+
name: pause
6+
long_name: No synopsis available.
7+
description: |
8+
No description available.
9+
definedBy: I
10+
assembly: pause
11+
origin_instruction: fence
12+
encoding:
13+
match: '00000001000000000000000000001111'
14+
variables: []
15+
operation(): |
16+

arch/inst/I/pseudo/prefetch.i.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# yaml-language-server: $schema=../../../schemas/inst_schema.json
2+
3+
$schema: inst_schema.json#
4+
kind: pseudoinstruction
5+
name: prefetch.i
6+
long_name: No synopsis available.
7+
description: |
8+
No description available.
9+
definedBy: Zicbo
10+
assembly: xs1, imm
11+
origin_instruction: ori
12+
encoding:
13+
match: -------00000-----110000000010011
14+
variables:
15+
- name: imm
16+
location: 31-25
17+
left_shift: 5
18+
- name: rs1
19+
location: 19-15
20+
operation(): |
21+

arch/inst/I/pseudo/prefetch.r.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# yaml-language-server: $schema=../../../schemas/inst_schema.json
2+
3+
$schema: inst_schema.json#
4+
kind: pseudoinstruction
5+
name: prefetch.r
6+
long_name: No synopsis available.
7+
description: |
8+
No description available.
9+
definedBy: Zicbo
10+
assembly: xs1, imm
11+
origin_instruction: ori
12+
encoding:
13+
match: -------00001-----110000000010011
14+
variables:
15+
- name: imm
16+
location: 31-25
17+
left_shift: 5
18+
- name: rs1
19+
location: 19-15
20+
operation(): |
21+

arch/inst/I/pseudo/prefetch.w.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# yaml-language-server: $schema=../../../schemas/inst_schema.json
2+
3+
$schema: inst_schema.json#
4+
kind: pseudoinstruction
5+
name: prefetch.w
6+
long_name: No synopsis available.
7+
description: |
8+
No description available.
9+
definedBy: Zicbo
10+
assembly: xs1, imm
11+
origin_instruction: ori
12+
encoding:
13+
match: -------00011-----110000000010011
14+
variables:
15+
- name: imm
16+
location: 31-25
17+
left_shift: 5
18+
- name: rs1
19+
location: 19-15
20+
operation(): |
21+

arch/inst/I/pseudo/sbreak.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# yaml-language-server: $schema=../../../schemas/inst_schema.json
2+
3+
$schema: inst_schema.json#
4+
kind: pseudoinstruction
5+
name: sbreak
6+
long_name: No synopsis available.
7+
description: |
8+
No description available.
9+
definedBy: I
10+
assembly: sbreak
11+
origin_instruction: ebreak
12+
encoding:
13+
match: '00000000000100000000000001110011'
14+
variables: []
15+
operation(): |
16+

0 commit comments

Comments
 (0)