authorgravatar for koachan@protonmail.comKoakuma <koachan@protonmail.com> 2022-04-22 21:30:56+07:00
committergravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2022-05-05 19:34:06+02:00
log5a6f0d2e51d3d7fb3f88099611f0347d0d27e889
tree69477dfdeb9a220dd0678210552c7bd744193031
parentbc5b5df2c72d9b345b5cd242915aba2d2b975747

stage2: sparcv9: Update Mir tag doc comments


1 files changed, 13 insertions(+), 13 deletions(-)

src/arch/sparcv9/Mir.zig+13-13
......@@ -39,24 +39,24 @@ pub const Inst = struct {
3939 // in The SPARC Architecture Manual, Version 9.
4040
4141 /// A.2 Add
42 /// Those uses the arithmetic_3op field.
42 /// This uses the arithmetic_3op field.
4343 // TODO add other operations.
4444 add,
4545
4646 /// A.7 Branch on Integer Condition Codes with Prediction (BPcc)
47 /// It uses the branch_predict field.
47 /// This uses the branch_predict field.
4848 bpcc,
4949
5050 /// A.8 Call and Link
51 /// It uses the branch_link field.
51 /// This uses the branch_link field.
5252 call,
5353
5454 /// A.24 Jump and Link
55 /// It uses the arithmetic_3op field.
55 /// This uses the arithmetic_3op field.
5656 jmpl,
5757
5858 /// A.27 Load Integer
59 /// Those uses the arithmetic_3op field.
59 /// This uses the arithmetic_3op field.
6060 /// Note that the ldd variant of this instruction is deprecated, so do not emit
6161 /// it unless specifically requested (e.g. by inline assembly).
6262 // TODO add other operations.
......@@ -66,29 +66,29 @@ pub const Inst = struct {
6666 ldx,
6767
6868 /// A.31 Logical Operations
69 /// Those uses the arithmetic_3op field.
69 /// This uses the arithmetic_3op field.
7070 // TODO add other operations.
7171 @"or",
7272
7373 /// A.40 No Operation
74 /// It uses the nop field.
74 /// This uses the nop field.
7575 nop,
7676
7777 /// A.45 RETURN
78 /// It uses the arithmetic_2op field.
78 /// This Thisuses the arithmetic_2op field.
7979 @"return",
8080
8181 /// A.46 SAVE and RESTORE
82 /// Those uses the arithmetic_3op field.
82 /// This uses the arithmetic_3op field.
8383 save,
8484 restore,
8585
8686 /// A.48 SETHI
87 /// It uses the sethi field.
87 /// This uses the sethi field.
8888 sethi,
8989
9090 /// A.49 Shift
91 /// Those uses the shift field.
91 /// This uses the shift field.
9292 // TODO add other operations.
9393 sllx,
9494
......@@ -103,12 +103,12 @@ pub const Inst = struct {
103103 stx,
104104
105105 /// A.56 Subtract
106 /// Those uses the arithmetic_3op field.
106 /// This uses the arithmetic_3op field.
107107 // TODO add other operations.
108108 sub,
109109
110110 /// A.61 Trap on Integer Condition Codes (Tcc)
111 /// It uses the trap field.
111 /// This uses the trap field.
112112 tcc,
113113 };
114114