Skip to content

Commit 8b73071

Browse files
authored
Merge pull request #157 from riscv-software-src/AFOliveira/moreInstructionsSkeletons
Added skeletons for Q extension instructions
2 parents 54bfa16 + 91e0454 commit 8b73071

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1119
-0
lines changed

arch/inst/Q/fadd.q.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# yaml-language-server: $schema=../../../schemas/inst_schema.json
2+
3+
fadd.q:
4+
long_name: No synopsis available.
5+
description: |
6+
No description available.
7+
definedBy: Q
8+
assembly: qd, qs1, qs2, rm
9+
encoding:
10+
match: 0000011------------------1010011
11+
variables:
12+
- name: qs2
13+
location: 24-20
14+
- name: qs1
15+
location: 19-15
16+
- name: rm
17+
location: 14-12
18+
- name: qd
19+
location: 11-7
20+
access:
21+
s: always
22+
u: always
23+
vs: always
24+
vu: always
25+
data_independent_timing: false
26+
operation(): |
27+

arch/inst/Q/fclass.q.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# yaml-language-server: $schema=../../../schemas/inst_schema.json
2+
3+
fclass.q:
4+
long_name: No synopsis available.
5+
description: |
6+
No description available.
7+
definedBy: Q
8+
assembly: xd, qs1
9+
encoding:
10+
match: 111001100000-----001-----1010011
11+
variables:
12+
- name: qs1
13+
location: 19-15
14+
- name: rd
15+
location: 11-7
16+
access:
17+
s: always
18+
u: always
19+
vs: always
20+
vu: always
21+
data_independent_timing: false
22+
operation(): |
23+

arch/inst/Q/fcvt.d.q.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# yaml-language-server: $schema=../../../schemas/inst_schema.json
2+
3+
fcvt.d.q:
4+
long_name: No synopsis available.
5+
description: |
6+
No description available.
7+
definedBy: Q
8+
assembly: xd, qs1, rm
9+
encoding:
10+
match: 010000100011-------------1010011
11+
variables:
12+
- name: qs1
13+
location: 19-15
14+
- name: rm
15+
location: 14-12
16+
- name: rd
17+
location: 11-7
18+
access:
19+
s: always
20+
u: always
21+
vs: always
22+
vu: always
23+
data_independent_timing: false
24+
operation(): |
25+

arch/inst/Q/fcvt.h.q.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# yaml-language-server: $schema=../../../schemas/inst_schema.json
2+
3+
fcvt.h.q:
4+
long_name: No synopsis available.
5+
description: |
6+
No description available.
7+
definedBy:
8+
anyOf: [Q, Zfh]
9+
assembly: xd, qs1, rm
10+
encoding:
11+
match: 010001000011-------------1010011
12+
variables:
13+
- name: qs1
14+
location: 19-15
15+
- name: rm
16+
location: 14-12
17+
- name: rd
18+
location: 11-7
19+
access:
20+
s: always
21+
u: always
22+
vs: always
23+
vu: always
24+
data_independent_timing: false
25+
operation(): |
26+

arch/inst/Q/fcvt.l.q.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# yaml-language-server: $schema=../../../schemas/inst_schema.json
2+
3+
fcvt.l.q:
4+
long_name: No synopsis available.
5+
description: |
6+
No description available.
7+
definedBy: Q
8+
base: 64
9+
assembly: xd, qs1, rm
10+
encoding:
11+
match: 110001100010-------------1010011
12+
variables:
13+
- name: qs1
14+
location: 19-15
15+
- name: rm
16+
location: 14-12
17+
- name: rd
18+
location: 11-7
19+
access:
20+
s: always
21+
u: always
22+
vs: always
23+
vu: always
24+
data_independent_timing: false
25+
operation(): |
26+

arch/inst/Q/fcvt.lu.q.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# yaml-language-server: $schema=../../../schemas/inst_schema.json
2+
3+
fcvt.lu.q:
4+
long_name: No synopsis available.
5+
description: |
6+
No description available.
7+
definedBy: Q
8+
base: 64
9+
assembly: qd, hs1, rm
10+
encoding:
11+
match: 110001100011-------------1010011
12+
variables:
13+
- name: hs1
14+
location: 19-15
15+
- name: rm
16+
location: 14-12
17+
- name: qd
18+
location: 11-7
19+
access:
20+
s: always
21+
u: always
22+
vs: always
23+
vu: always
24+
data_independent_timing: false
25+
operation(): |
26+

arch/inst/Q/fcvt.q.d.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# yaml-language-server: $schema=../../../schemas/inst_schema.json
2+
3+
fcvt.q.d:
4+
long_name: No synopsis available.
5+
description: |
6+
No description available.
7+
definedBy: Q
8+
assembly: dd, fs1, rm
9+
encoding:
10+
match: 010001100001-------------1010011
11+
variables:
12+
- name: fs1
13+
location: 19-15
14+
- name: rm
15+
location: 14-12
16+
- name: dd
17+
location: 11-7
18+
access:
19+
s: always
20+
u: always
21+
vs: always
22+
vu: always
23+
data_independent_timing: false
24+
operation(): |
25+

arch/inst/Q/fcvt.q.h.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# yaml-language-server: $schema=../../../schemas/inst_schema.json
2+
3+
fcvt.q.h:
4+
long_name: No synopsis available.
5+
description: |
6+
No description available.
7+
definedBy:
8+
anyOf: [Q, Zfh]
9+
assembly: hd, qs1, rm
10+
encoding:
11+
match: 010001100010-------------1010011
12+
variables:
13+
- name: qs1
14+
location: 19-15
15+
- name: rm
16+
location: 14-12
17+
- name: hd
18+
location: 11-7
19+
access:
20+
s: always
21+
u: always
22+
vs: always
23+
vu: always
24+
data_independent_timing: false
25+
operation(): |
26+

arch/inst/Q/fcvt.q.l.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# yaml-language-server: $schema=../../../schemas/inst_schema.json
2+
3+
fcvt.q.l:
4+
long_name: No synopsis available.
5+
description: |
6+
No description available.
7+
definedBy: Q
8+
base: 64
9+
assembly: qd, xs1, rm
10+
encoding:
11+
match: 110101100010-------------1010011
12+
variables:
13+
- name: rs1
14+
location: 19-15
15+
- name: rm
16+
location: 14-12
17+
- name: qd
18+
location: 11-7
19+
access:
20+
s: always
21+
u: always
22+
vs: always
23+
vu: always
24+
data_independent_timing: false
25+
operation(): |
26+

arch/inst/Q/fcvt.q.lu.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# yaml-language-server: $schema=../../../schemas/inst_schema.json
2+
3+
fcvt.q.lu:
4+
long_name: No synopsis available.
5+
description: |
6+
No description available.
7+
definedBy: Q
8+
base: 64
9+
assembly: qd, xs1, rm
10+
encoding:
11+
match: 110101100011-------------1010011
12+
variables:
13+
- name: rs1
14+
location: 19-15
15+
- name: rm
16+
location: 14-12
17+
- name: qd
18+
location: 11-7
19+
access:
20+
s: always
21+
u: always
22+
vs: always
23+
vu: always
24+
data_independent_timing: false
25+
operation(): |
26+

0 commit comments

Comments
 (0)