Skip to content

Commit

Permalink
Merge pull request #157 from riscv-software-src/AFOliveira/moreInstru…
Browse files Browse the repository at this point in the history
…ctionsSkeletons

Added skeletons for Q extension instructions
  • Loading branch information
AFOliveira authored Oct 23, 2024
2 parents 54bfa16 + 91e0454 commit 8b73071
Show file tree
Hide file tree
Showing 43 changed files with 1,119 additions and 0 deletions.
27 changes: 27 additions & 0 deletions arch/inst/Q/fadd.q.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# yaml-language-server: $schema=../../../schemas/inst_schema.json

fadd.q:
long_name: No synopsis available.
description: |
No description available.
definedBy: Q
assembly: qd, qs1, qs2, rm
encoding:
match: 0000011------------------1010011
variables:
- name: qs2
location: 24-20
- name: qs1
location: 19-15
- name: rm
location: 14-12
- name: qd
location: 11-7
access:
s: always
u: always
vs: always
vu: always
data_independent_timing: false
operation(): |
23 changes: 23 additions & 0 deletions arch/inst/Q/fclass.q.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# yaml-language-server: $schema=../../../schemas/inst_schema.json

fclass.q:
long_name: No synopsis available.
description: |
No description available.
definedBy: Q
assembly: xd, qs1
encoding:
match: 111001100000-----001-----1010011
variables:
- name: qs1
location: 19-15
- name: rd
location: 11-7
access:
s: always
u: always
vs: always
vu: always
data_independent_timing: false
operation(): |
25 changes: 25 additions & 0 deletions arch/inst/Q/fcvt.d.q.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# yaml-language-server: $schema=../../../schemas/inst_schema.json

fcvt.d.q:
long_name: No synopsis available.
description: |
No description available.
definedBy: Q
assembly: xd, qs1, rm
encoding:
match: 010000100011-------------1010011
variables:
- name: qs1
location: 19-15
- name: rm
location: 14-12
- name: rd
location: 11-7
access:
s: always
u: always
vs: always
vu: always
data_independent_timing: false
operation(): |
26 changes: 26 additions & 0 deletions arch/inst/Q/fcvt.h.q.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# yaml-language-server: $schema=../../../schemas/inst_schema.json

fcvt.h.q:
long_name: No synopsis available.
description: |
No description available.
definedBy:
anyOf: [Q, Zfh]
assembly: xd, qs1, rm
encoding:
match: 010001000011-------------1010011
variables:
- name: qs1
location: 19-15
- name: rm
location: 14-12
- name: rd
location: 11-7
access:
s: always
u: always
vs: always
vu: always
data_independent_timing: false
operation(): |
26 changes: 26 additions & 0 deletions arch/inst/Q/fcvt.l.q.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# yaml-language-server: $schema=../../../schemas/inst_schema.json

fcvt.l.q:
long_name: No synopsis available.
description: |
No description available.
definedBy: Q
base: 64
assembly: xd, qs1, rm
encoding:
match: 110001100010-------------1010011
variables:
- name: qs1
location: 19-15
- name: rm
location: 14-12
- name: rd
location: 11-7
access:
s: always
u: always
vs: always
vu: always
data_independent_timing: false
operation(): |
26 changes: 26 additions & 0 deletions arch/inst/Q/fcvt.lu.q.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# yaml-language-server: $schema=../../../schemas/inst_schema.json

fcvt.lu.q:
long_name: No synopsis available.
description: |
No description available.
definedBy: Q
base: 64
assembly: qd, hs1, rm
encoding:
match: 110001100011-------------1010011
variables:
- name: hs1
location: 19-15
- name: rm
location: 14-12
- name: qd
location: 11-7
access:
s: always
u: always
vs: always
vu: always
data_independent_timing: false
operation(): |
25 changes: 25 additions & 0 deletions arch/inst/Q/fcvt.q.d.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# yaml-language-server: $schema=../../../schemas/inst_schema.json

fcvt.q.d:
long_name: No synopsis available.
description: |
No description available.
definedBy: Q
assembly: dd, fs1, rm
encoding:
match: 010001100001-------------1010011
variables:
- name: fs1
location: 19-15
- name: rm
location: 14-12
- name: dd
location: 11-7
access:
s: always
u: always
vs: always
vu: always
data_independent_timing: false
operation(): |
26 changes: 26 additions & 0 deletions arch/inst/Q/fcvt.q.h.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# yaml-language-server: $schema=../../../schemas/inst_schema.json

fcvt.q.h:
long_name: No synopsis available.
description: |
No description available.
definedBy:
anyOf: [Q, Zfh]
assembly: hd, qs1, rm
encoding:
match: 010001100010-------------1010011
variables:
- name: qs1
location: 19-15
- name: rm
location: 14-12
- name: hd
location: 11-7
access:
s: always
u: always
vs: always
vu: always
data_independent_timing: false
operation(): |
26 changes: 26 additions & 0 deletions arch/inst/Q/fcvt.q.l.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# yaml-language-server: $schema=../../../schemas/inst_schema.json

fcvt.q.l:
long_name: No synopsis available.
description: |
No description available.
definedBy: Q
base: 64
assembly: qd, xs1, rm
encoding:
match: 110101100010-------------1010011
variables:
- name: rs1
location: 19-15
- name: rm
location: 14-12
- name: qd
location: 11-7
access:
s: always
u: always
vs: always
vu: always
data_independent_timing: false
operation(): |
26 changes: 26 additions & 0 deletions arch/inst/Q/fcvt.q.lu.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# yaml-language-server: $schema=../../../schemas/inst_schema.json

fcvt.q.lu:
long_name: No synopsis available.
description: |
No description available.
definedBy: Q
base: 64
assembly: qd, xs1, rm
encoding:
match: 110101100011-------------1010011
variables:
- name: rs1
location: 19-15
- name: rm
location: 14-12
- name: qd
location: 11-7
access:
s: always
u: always
vs: always
vu: always
data_independent_timing: false
operation(): |
25 changes: 25 additions & 0 deletions arch/inst/Q/fcvt.q.s.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# yaml-language-server: $schema=../../../schemas/inst_schema.json

fcvt.q.s:
long_name: No synopsis available.
description: |
No description available.
definedBy: Q
assembly: qd, fs1, rm
encoding:
match: 010001100000-------------1010011
variables:
- name: fs1
location: 19-15
- name: rm
location: 14-12
- name: qd
location: 11-7
access:
s: always
u: always
vs: always
vu: always
data_independent_timing: false
operation(): |
25 changes: 25 additions & 0 deletions arch/inst/Q/fcvt.q.w.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# yaml-language-server: $schema=../../../schemas/inst_schema.json

fcvt.q.w:
long_name: No synopsis available.
description: |
No description available.
definedBy: Q
assembly: fd, xs1, rm
encoding:
match: 110101100000-------------1010011
variables:
- name: rs1
location: 19-15
- name: rm
location: 14-12
- name: fd
location: 11-7
access:
s: always
u: always
vs: always
vu: always
data_independent_timing: false
operation(): |
25 changes: 25 additions & 0 deletions arch/inst/Q/fcvt.q.wu.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# yaml-language-server: $schema=../../../schemas/inst_schema.json

fcvt.q.wu:
long_name: No synopsis available.
description: |
No description available.
definedBy: Q
assembly: qd, xs1, rm
encoding:
match: 110101100001-------------1010011
variables:
- name: rs1
location: 19-15
- name: rm
location: 14-12
- name: qd
location: 11-7
access:
s: always
u: always
vs: always
vu: always
data_independent_timing: false
operation(): |
25 changes: 25 additions & 0 deletions arch/inst/Q/fcvt.s.q.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# yaml-language-server: $schema=../../../schemas/inst_schema.json

fcvt.s.q:
long_name: No synopsis available.
description: |
No description available.
definedBy: Q
assembly: fd, qs1, rm
encoding:
match: 010000000011-------------1010011
variables:
- name: qs1
location: 19-15
- name: rm
location: 14-12
- name: fd
location: 11-7
access:
s: always
u: always
vs: always
vu: always
data_independent_timing: false
operation(): |
25 changes: 25 additions & 0 deletions arch/inst/Q/fcvt.w.q.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# yaml-language-server: $schema=../../../schemas/inst_schema.json

fcvt.w.q:
long_name: No synopsis available.
description: |
No description available.
definedBy: Q
assembly: xd, qs1, rm
encoding:
match: 110001100000-------------1010011
variables:
- name: qs1
location: 19-15
- name: rm
location: 14-12
- name: rd
location: 11-7
access:
s: always
u: always
vs: always
vu: always
data_independent_timing: false
operation(): |
Loading

0 comments on commit 8b73071

Please sign in to comment.