Skip to content

Commit 799b45e

Browse files
committed
fix(data): update golden instruction appendix
1 parent 762f7e2 commit 799b45e

File tree

1 file changed

+33
-76
lines changed

1 file changed

+33
-76
lines changed

backends/instructions_appendix/all_instructions.golden.adoc

Lines changed: 33 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -18268,54 +18268,32 @@ Included in::
1826818268
|===
1826918269

1827018270

18271-
[#udb:doc:inst:sspopchk_x1]
18272-
== sspopchk.x1
18271+
[#udb:doc:inst:sspopchk]
18272+
== sspopchk
1827318273

1827418274
Synopsis::
18275-
No synopsis available
18275+
Shadow Stack Pop
1827618276

1827718277
Encoding::
1827818278
[wavedrom, ,svg,subs='attributes',width="100%"]
1827918279
....
18280-
{"reg":[{"bits":32,"name": 0xcdc0c073,"type":2}]}
18280+
{"reg":[{"bits":15,"name": 0x4033,"type":2},{"bits":5,"name": "xs1 != {0,2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31}","type":4},{"bits":12,"name": 0xcdc,"type":2}]}
1828118281
....
1828218282

1828318283
Description::
18284-
No description available.
18284+
A shadow stack pop operation is defined as an XLEN wide read from the current
18285+
top of the shadow stack followed by an increment of the ssp by XLEN/8.
1828518286

18287+
Only x1 and x5 registers are supported as xs1 for SSPOPCHK.
1828618288

18287-
Decode Variables::
18288-
sspopchk.x1 has no decode variables.
1828918289

18290-
Included in::
18291-
[options="autowrap,autowidth"]
18290+
Decode Variables::
18291+
[width="100%", cols="1,2", options="header"]
1829218292
|===
18293-
| Extension | Version
18294-
18295-
| *Zicfiss* | ~> 1.0.0
18296-
18293+
|Variable Name |Location
18294+
|xs1 |$encoding[19:15]
1829718295
|===
1829818296

18299-
18300-
[#udb:doc:inst:sspopchk_x5]
18301-
== sspopchk.x5
18302-
18303-
Synopsis::
18304-
No synopsis available
18305-
18306-
Encoding::
18307-
[wavedrom, ,svg,subs='attributes',width="100%"]
18308-
....
18309-
{"reg":[{"bits":32,"name": 0xcdc2c073,"type":2}]}
18310-
....
18311-
18312-
Description::
18313-
No description available.
18314-
18315-
18316-
Decode Variables::
18317-
sspopchk.x5 has no decode variables.
18318-
1831918297
Included in::
1832018298
[options="autowrap,autowidth"]
1832118299
|===
@@ -18326,54 +18304,33 @@ Included in::
1832618304
|===
1832718305

1832818306

18329-
[#udb:doc:inst:sspush_x1]
18330-
== sspush.x1
18307+
[#udb:doc:inst:sspush]
18308+
== sspush
1833118309

1833218310
Synopsis::
18333-
No synopsis available
18311+
Shadow Stack Push
1833418312

1833518313
Encoding::
1833618314
[wavedrom, ,svg,subs='attributes',width="100%"]
1833718315
....
18338-
{"reg":[{"bits":32,"name": 0xce104073,"type":2}]}
18316+
{"reg":[{"bits":20,"name": 0x4073,"type":2},{"bits":5,"name": "xs2 != {0,2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31}","type":4},{"bits":7,"name": 0x67,"type":2}]}
1833918317
....
1834018318

1834118319
Description::
18342-
No description available.
18320+
A shadow stack push operation is defined as decrement of the ssp by XLEN/8
18321+
followed by a store of the value in the link register to memory at the new
18322+
top of the shadow stack.
1834318323

18324+
Only x1 and x5 registers are supported as xs2 for SSPUSH.
1834418325

18345-
Decode Variables::
18346-
sspush.x1 has no decode variables.
1834718326

18348-
Included in::
18349-
[options="autowrap,autowidth"]
18327+
Decode Variables::
18328+
[width="100%", cols="1,2", options="header"]
1835018329
|===
18351-
| Extension | Version
18352-
18353-
| *Zicfiss* | ~> 1.0.0
18354-
18330+
|Variable Name |Location
18331+
|xs2 |$encoding[24:20]
1835518332
|===
1835618333

18357-
18358-
[#udb:doc:inst:sspush_x5]
18359-
== sspush.x5
18360-
18361-
Synopsis::
18362-
No synopsis available
18363-
18364-
Encoding::
18365-
[wavedrom, ,svg,subs='attributes',width="100%"]
18366-
....
18367-
{"reg":[{"bits":32,"name": 0xce504073,"type":2}]}
18368-
....
18369-
18370-
Description::
18371-
No description available.
18372-
18373-
18374-
Decode Variables::
18375-
sspush.x5 has no decode variables.
18376-
1837718334
Included in::
1837818335
[options="autowrap,autowidth"]
1837918336
|===
@@ -19229,7 +19186,7 @@ No synopsis available
1922919186
Encoding::
1923019187
[wavedrom, ,svg,subs='attributes',width="100%"]
1923119188
....
19232-
{"reg":[{"bits":7,"name": 0x77,"type":2},{"bits":5,"name": "vd","type":4},{"bits":3,"name": 0x2,"type":2},{"bits":5,"name": "zimm5","type":4},{"bits":5,"name": "vs2","type":4},{"bits":7,"name": 0x45,"type":2}]}
19189+
{"reg":[{"bits":7,"name": 0x77,"type":2},{"bits":5,"name": "vd","type":4},{"bits":3,"name": 0x2,"type":2},{"bits":5,"name": "imm","type":4},{"bits":5,"name": "vs2","type":4},{"bits":7,"name": 0x45,"type":2}]}
1923319190
....
1923419191

1923519192
Description::
@@ -19241,7 +19198,7 @@ Decode Variables::
1924119198
|===
1924219199
|Variable Name |Location
1924319200
|vs2 |$encoding[24:20]
19244-
|zimm5 |$encoding[19:15]
19201+
|imm |$encoding[19:15]
1924519202
|vd |$encoding[11:7]
1924619203
|===
1924719204

@@ -19264,7 +19221,7 @@ No synopsis available
1926419221
Encoding::
1926519222
[wavedrom, ,svg,subs='attributes',width="100%"]
1926619223
....
19267-
{"reg":[{"bits":7,"name": 0x77,"type":2},{"bits":5,"name": "vd","type":4},{"bits":3,"name": 0x2,"type":2},{"bits":5,"name": "zimm5","type":4},{"bits":5,"name": "vs2","type":4},{"bits":7,"name": 0x55,"type":2}]}
19224+
{"reg":[{"bits":7,"name": 0x77,"type":2},{"bits":5,"name": "vd","type":4},{"bits":3,"name": 0x2,"type":2},{"bits":5,"name": "imm","type":4},{"bits":5,"name": "vs2","type":4},{"bits":7,"name": 0x55,"type":2}]}
1926819225
....
1926919226

1927019227
Description::
@@ -19276,7 +19233,7 @@ Decode Variables::
1927619233
|===
1927719234
|Variable Name |Location
1927819235
|vs2 |$encoding[24:20]
19279-
|zimm5 |$encoding[19:15]
19236+
|imm |$encoding[19:15]
1928019237
|vd |$encoding[11:7]
1928119238
|===
1928219239

@@ -35751,7 +35708,7 @@ No synopsis available
3575135708
Encoding::
3575235709
[wavedrom, ,svg,subs='attributes',width="100%"]
3575335710
....
35754-
{"reg":[{"bits":7,"name": 0x77,"type":2},{"bits":5,"name": "vd","type":4},{"bits":3,"name": 0x2,"type":2},{"bits":5,"name": "zimm5","type":4},{"bits":5,"name": "vs2","type":4},{"bits":7,"name": 0x57,"type":2}]}
35711+
{"reg":[{"bits":7,"name": 0x77,"type":2},{"bits":5,"name": "vd","type":4},{"bits":3,"name": 0x2,"type":2},{"bits":5,"name": "imm","type":4},{"bits":5,"name": "vs2","type":4},{"bits":7,"name": 0x57,"type":2}]}
3575535712
....
3575635713

3575735714
Description::
@@ -35763,7 +35720,7 @@ Decode Variables::
3576335720
|===
3576435721
|Variable Name |Location
3576535722
|vs2 |$encoding[24:20]
35766-
|zimm5 |$encoding[19:15]
35723+
|imm |$encoding[19:15]
3576735724
|vd |$encoding[11:7]
3576835725
|===
3576935726

@@ -35825,7 +35782,7 @@ No synopsis available
3582535782
Encoding::
3582635783
[wavedrom, ,svg,subs='attributes',width="100%"]
3582735784
....
35828-
{"reg":[{"bits":7,"name": 0x77,"type":2},{"bits":5,"name": "vd","type":4},{"bits":3,"name": 0x2,"type":2},{"bits":5,"name": "zimm5","type":4},{"bits":5,"name": "vs2","type":4},{"bits":7,"name": 0x43,"type":2}]}
35785+
{"reg":[{"bits":7,"name": 0x77,"type":2},{"bits":5,"name": "vd","type":4},{"bits":3,"name": 0x2,"type":2},{"bits":5,"name": "imm","type":4},{"bits":5,"name": "vs2","type":4},{"bits":7,"name": 0x43,"type":2}]}
3582935786
....
3583035787

3583135788
Description::
@@ -35837,7 +35794,7 @@ Decode Variables::
3583735794
|===
3583835795
|Variable Name |Location
3583935796
|vs2 |$encoding[24:20]
35840-
|zimm5 |$encoding[19:15]
35797+
|imm |$encoding[19:15]
3584135798
|vd |$encoding[11:7]
3584235799
|===
3584335800

@@ -41918,7 +41875,7 @@ No synopsis available
4191841875
Encoding::
4191941876
[wavedrom, ,svg,subs='attributes',width="100%"]
4192041877
....
41921-
{"reg":[{"bits":7,"name": 0x57,"type":2},{"bits":5,"name": "vd","type":4},{"bits":3,"name": 0x3,"type":2},{"bits":5,"name": "zimm5","type":4},{"bits":5,"name": "vs2","type":4},{"bits":1,"name": "vm","type":4},{"bits":6,"name": 0x35,"type":2}]}
41878+
{"reg":[{"bits":7,"name": 0x57,"type":2},{"bits":5,"name": "vd","type":4},{"bits":3,"name": 0x3,"type":2},{"bits":5,"name": "imm","type":4},{"bits":5,"name": "vs2","type":4},{"bits":1,"name": "vm","type":4},{"bits":6,"name": 0x35,"type":2}]}
4192241879
....
4192341880

4192441881
Description::
@@ -41931,7 +41888,7 @@ Decode Variables::
4193141888
|Variable Name |Location
4193241889
|vm |$encoding[25]
4193341890
|vs2 |$encoding[24:20]
41934-
|zimm5 |$encoding[19:15]
41891+
|imm |$encoding[19:15]
4193541892
|vd |$encoding[11:7]
4193641893
|===
4193741894

0 commit comments

Comments
 (0)