Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions configs/v/vaadd.vv.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ sew8 = [
[0x7f, 0x07],
[0x7f, 0x01],
[0xff, 0x00],
[0xff, 0xff]
[0xff, 0xff],
# INT_MIN operands: the asymmetric end of two's complement, -INT_MIN is unrepresentable
[0x80, 0xff]
]
sew16 = [
[0xfff8, 0x0000],
Expand All @@ -24,7 +26,8 @@ sew16 = [
[0x7fff, 0x07ff],
[0x7fff, 0x0001],
[0xffff, 0x0000],
[0xffff, 0xffff]
[0xffff, 0xffff],
[0x8000, 0xffff]
]
sew32 = [
[0xfffffff8, 0x00000000],
Expand All @@ -33,7 +36,8 @@ sew32 = [
[0x00007fff, 0x000007ff],
[0x00007fff, 0x00000001],
[0xffffffff, 0x00000000],
[0xffffffff, 0xffffffff]
[0xffffffff, 0xffffffff],
[0x80000000, 0xffffffff]
]
sew64 = [
["0xffffffffffff8000", "0x0000000000000000"],
Expand All @@ -45,5 +49,6 @@ sew64 = [
["0x000000007fffffff", "0xffffffffffff8000"],
["0xffffffffffffffff", "0x0000000000000001"],
["0xffffffffffffffff", "0x0000000000000000"],
["0xffffffffffffffff", "0xffffffffffffffff"]
["0xffffffffffffffff", "0xffffffffffffffff"],
["0x8000000000000000", "0xffffffffffffffff"]
]
13 changes: 9 additions & 4 deletions configs/v/vaadd.vx.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ sew8 = [
[0x7f, 0x07],
[0x7f, 0x01],
[0xff, 0x00],
[0xff, 0xff]
[0xff, 0xff],
# INT_MIN operands: the asymmetric end of two's complement, -INT_MIN is unrepresentable
[0x80, 0xff]
]
sew16 = [
[0xfff8, 0x0000],
Expand All @@ -24,7 +26,8 @@ sew16 = [
[0x7fff, 0x07ff],
[0x7fff, 0x0001],
[0xffff, 0x0000],
[0xffff, 0xffff]
[0xffff, 0xffff],
[0x8000, 0xffff]
]
sew32 = [
[0xfffffff8, 0x00000000],
Expand All @@ -33,7 +36,8 @@ sew32 = [
[0x00007fff, 0x000007ff],
[0x00007fff, 0x00000001],
[0xffffffff, 0x00000000],
[0xffffffff, 0xffffffff]
[0xffffffff, 0xffffffff],
[0x80000000, 0xffffffff]
]
sew64 = [
["0xffffffffffff8000", "0x0000000000000000"],
Expand All @@ -45,5 +49,6 @@ sew64 = [
["0x000000007fffffff", "0xffffffffffff8000"],
["0xffffffffffffffff", "0x0000000000000001"],
["0xffffffffffffffff", "0x0000000000000000"],
["0xffffffffffffffff", "0xffffffffffffffff"]
["0xffffffffffffffff", "0xffffffffffffffff"],
["0x8000000000000000", "0xffffffffffffffff"]
]
18 changes: 13 additions & 5 deletions configs/v/vadc.vim.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,37 @@ format = "vd,vs2,imm,v0"
base = [
[0x0, 0x0],
[0x1, 0x2],
[0x3, 0xf]
[0x3, 0xf],
# 15 and 16 encode to simm5 +15 and -16 -- the two ends of the field
[0xf, 0x2],
[0x10, 0x2]
]
sew8 = [
[0x1f, 0x00],
[0x1, 0xff],
[0x1, 0x7f],
[0x1f, 0xff]
[0x1f, 0xff],
# INT_MIN operands: the asymmetric end of two's complement, -INT_MIN is unrepresentable
[0x1f, 0x80]
]
sew16 = [
[0x1f, 0x0000],
[0x1, 0xffff],
[0x1, 0x7fff],
[0x1f, 0xffff]
[0x1f, 0xffff],
[0x1f, 0x8000]
]
sew32 = [
[0x1f, 0x00000000],
[0x1, 0xffffffff],
[0x1, 0x7fffffff],
[0x1f, 0xffffffff]
[0x1f, 0xffffffff],
[0x1f, 0x80000000]
]
sew64 = [
["0x1f", "0x0000000000000000"],
["0x1", "0xffffffffffffffff"],
["0x1", "0x7fffffffffffffff"],
["0x1f", "0xffffffffffffffff"]
["0x1f", "0xffffffffffffffff"],
["0x1f", "0x8000000000000000"]
]
13 changes: 9 additions & 4 deletions configs/v/vadc.vvm.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ sew8 = [
[0x7f, 0x07],
[0x7f, 0x01],
[0xff, 0x00],
[0xff, 0xff]
[0xff, 0xff],
# INT_MIN operands: the asymmetric end of two's complement, -INT_MIN is unrepresentable
[0x80, 0xff]
]
sew16 = [
[0xfff8, 0x0000],
Expand All @@ -23,7 +25,8 @@ sew16 = [
[0x7fff, 0x07ff],
[0x7fff, 0x0001],
[0xffff, 0x0000],
[0xffff, 0xffff]
[0xffff, 0xffff],
[0x8000, 0xffff]
]
sew32 = [
[0xfffffff8, 0x00000000],
Expand All @@ -32,7 +35,8 @@ sew32 = [
[0x00007fff, 0x000007ff],
[0x00007fff, 0x00000001],
[0xffffffff, 0x00000000],
[0xffffffff, 0xffffffff]
[0xffffffff, 0xffffffff],
[0x80000000, 0xffffffff]
]
sew64 = [
["0xffffffffffff8000", "0x0000000000000000"],
Expand All @@ -44,5 +48,6 @@ sew64 = [
["0x000000007fffffff", "0xffffffffffff8000"],
["0xffffffffffffffff", "0x0000000000000001"],
["0xffffffffffffffff", "0x0000000000000000"],
["0xffffffffffffffff", "0xffffffffffffffff"]
["0xffffffffffffffff", "0xffffffffffffffff"],
["0x8000000000000000", "0xffffffffffffffff"]
]
13 changes: 9 additions & 4 deletions configs/v/vadc.vxm.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ sew8 = [
[0x7f, 0x07],
[0x7f, 0x01],
[0xff, 0x00],
[0xff, 0xff]
[0xff, 0xff],
# INT_MIN operands: the asymmetric end of two's complement, -INT_MIN is unrepresentable
[0x80, 0xff]
]
sew16 = [
[0xfff8, 0x0000],
Expand All @@ -23,7 +25,8 @@ sew16 = [
[0x7fff, 0x07ff],
[0x7fff, 0x0001],
[0xffff, 0x0000],
[0xffff, 0xffff]
[0xffff, 0xffff],
[0x8000, 0xffff]
]
sew32 = [
[0xfffffff8, 0x00000000],
Expand All @@ -32,7 +35,8 @@ sew32 = [
[0x00007fff, 0x000007ff],
[0x00007fff, 0x00000001],
[0xffffffff, 0x00000000],
[0xffffffff, 0xffffffff]
[0xffffffff, 0xffffffff],
[0x80000000, 0xffffffff]
]
sew64 = [
["0xffffffffffff8000", "0x0000000000000000"],
Expand All @@ -44,5 +48,6 @@ sew64 = [
["0x000000007fffffff", "0xffffffffffff8000"],
["0xffffffffffffffff", "0x0000000000000001"],
["0xffffffffffffffff", "0x0000000000000000"],
["0xffffffffffffffff", "0xffffffffffffffff"]
["0xffffffffffffffff", "0xffffffffffffffff"],
["0x8000000000000000", "0xffffffffffffffff"]
]
18 changes: 13 additions & 5 deletions configs/v/vadd.vi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,37 @@ format = "vd,vs2,imm,vm"
base = [
[0x0, 0x0],
[0x1, 0x2],
[0x3, 0xf]
[0x3, 0xf],
# 15 and 16 encode to simm5 +15 and -16 -- the two ends of the field
[0xf, 0x2],
[0x10, 0x2]
]
sew8 = [
[0x1f, 0x00],
[0x1, 0xff],
[0x1, 0x7f],
[0x1f, 0xff]
[0x1f, 0xff],
# INT_MIN operands: the asymmetric end of two's complement, -INT_MIN is unrepresentable
[0x1f, 0x80]
]
sew16 = [
[0x1f, 0x0000],
[0x1, 0xffff],
[0x1, 0x7fff],
[0x1f, 0xffff]
[0x1f, 0xffff],
[0x1f, 0x8000]
]
sew32 = [
[0x1f, 0x00000000],
[0x1, 0xffffffff],
[0x1, 0x7fffffff],
[0x1f, 0xffffffff]
[0x1f, 0xffffffff],
[0x1f, 0x80000000]
]
sew64 = [
["0x1f", "0x0000000000000000"],
["0x1", "0xffffffffffffffff"],
["0x1", "0x7fffffffffffffff"],
["0x1f", "0xffffffffffffffff"]
["0x1f", "0xffffffffffffffff"],
["0x1f", "0x8000000000000000"]
]
13 changes: 9 additions & 4 deletions configs/v/vadd.vv.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ sew8 = [
[0x7f, 0x07],
[0x7f, 0x01],
[0xff, 0x00],
[0xff, 0xff]
[0xff, 0xff],
# INT_MIN operands: the asymmetric end of two's complement, -INT_MIN is unrepresentable
[0x80, 0xff]
]
sew16 = [
[0xfff8, 0x0000],
Expand All @@ -23,7 +25,8 @@ sew16 = [
[0x7fff, 0x07ff],
[0x7fff, 0x0001],
[0xffff, 0x0000],
[0xffff, 0xffff]
[0xffff, 0xffff],
[0x8000, 0xffff]
]
sew32 = [
[0xfffffff8, 0x00000000],
Expand All @@ -32,7 +35,8 @@ sew32 = [
[0x00007fff, 0x000007ff],
[0x00007fff, 0x00000001],
[0xffffffff, 0x00000000],
[0xffffffff, 0xffffffff]
[0xffffffff, 0xffffffff],
[0x80000000, 0xffffffff]
]
sew64 = [
["0xffffffffffff8000", "0x0000000000000000"],
Expand All @@ -44,5 +48,6 @@ sew64 = [
["0x000000007fffffff", "0xffffffffffff8000"],
["0xffffffffffffffff", "0x0000000000000001"],
["0xffffffffffffffff", "0x0000000000000000"],
["0xffffffffffffffff", "0xffffffffffffffff"]
["0xffffffffffffffff", "0xffffffffffffffff"],
["0x8000000000000000", "0xffffffffffffffff"]
]
13 changes: 9 additions & 4 deletions configs/v/vadd.vx.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ sew8 = [
[0x7f, 0x07],
[0x7f, 0x01],
[0xff, 0x00],
[0xff, 0xff]
[0xff, 0xff],
# INT_MIN operands: the asymmetric end of two's complement, -INT_MIN is unrepresentable
[0x80, 0xff]
]
sew16 = [
[0xfff8, 0x0000],
Expand All @@ -23,7 +25,8 @@ sew16 = [
[0x7fff, 0x07ff],
[0x7fff, 0x0001],
[0xffff, 0x0000],
[0xffff, 0xffff]
[0xffff, 0xffff],
[0x8000, 0xffff]
]
sew32 = [
[0xfffffff8, 0x00000000],
Expand All @@ -32,7 +35,8 @@ sew32 = [
[0x00007fff, 0x000007ff],
[0x00007fff, 0x00000001],
[0xffffffff, 0x00000000],
[0xffffffff, 0xffffffff]
[0xffffffff, 0xffffffff],
[0x80000000, 0xffffffff]
]
sew64 = [
["0xffffffffffff8000", "0x0000000000000000"],
Expand All @@ -44,5 +48,6 @@ sew64 = [
["0x000000007fffffff", "0xffffffffffff8000"],
["0xffffffffffffffff", "0x0000000000000001"],
["0xffffffffffffffff", "0x0000000000000000"],
["0xffffffffffffffff", "0xffffffffffffffff"]
["0xffffffffffffffff", "0xffffffffffffffff"],
["0x8000000000000000", "0xffffffffffffffff"]
]
5 changes: 4 additions & 1 deletion configs/v/vand.vi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ format = "vd,vs2,imm,vm"
base = [
[0x0, 0x0],
[0x1, 0x2],
[0x3, 0xf]
[0x3, 0xf],
# 15 and 16 encode to simm5 +15 and -16 -- the two ends of the field
[0xf, 0x2],
[0x10, 0x2]
]
sew8 = [
[0x1f, 0x00],
Expand Down
13 changes: 9 additions & 4 deletions configs/v/vasub.vv.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ sew8 = [
[0xff, 0x01],
[0x01, 0xff],
[0xff, 0xff],
[0xff, 0x00]
[0xff, 0x00],
# INT_MIN operands: the asymmetric end of two's complement, -INT_MIN is unrepresentable
[0x80, 0xff]
]
sew16 = [
[0xfff8, 0x0000],
Expand All @@ -36,7 +38,8 @@ sew16 = [
[0xffff, 0x0001],
[0x0001, 0xffff],
[0xffff, 0xffff],
[0xffff, 0x0000]
[0xffff, 0x0000],
[0x8000, 0xffff]
]
sew32 = [
[0xfffffff8, 0x00000000],
Expand All @@ -51,7 +54,8 @@ sew32 = [
[0xffffffff, 0x00000001],
[0x00000001, 0xffffffff],
[0xffffffff, 0xffffffff],
[0xffffffff, 0x00000000]
[0xffffffff, 0x00000000],
[0x80000000, 0xffffffff]
]
sew64 = [
["0x0000000000000000", "0xffffffffffff8000"],
Expand All @@ -64,5 +68,6 @@ sew64 = [
["0x000000007fffffff", "0xffffffffffff8000"],
["0x0000000000000000", "0xffffffffffffffff"],
["0xffffffffffffffff", "0x0000000000000001"],
["0xffffffffffffffff", "0xffffffffffffffff"]
["0xffffffffffffffff", "0xffffffffffffffff"],
["0x8000000000000000", "0xffffffffffffffff"]
]
Loading