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 {...@@ -39,24 +39,24 @@ pub const Inst = struct {
39 // in The SPARC Architecture Manual, Version 9.39 // in The SPARC Architecture Manual, Version 9.
4040
41 /// A.2 Add41 /// A.2 Add
42 /// Those uses the arithmetic_3op field.42 /// This uses the arithmetic_3op field.
43 // TODO add other operations.43 // TODO add other operations.
44 add,44 add,
4545
46 /// A.7 Branch on Integer Condition Codes with Prediction (BPcc)46 /// A.7 Branch on Integer Condition Codes with Prediction (BPcc)
47 /// It uses the branch_predict field.47 /// This uses the branch_predict field.
48 bpcc,48 bpcc,
4949
50 /// A.8 Call and Link50 /// A.8 Call and Link
51 /// It uses the branch_link field.51 /// This uses the branch_link field.
52 call,52 call,
5353
54 /// A.24 Jump and Link54 /// A.24 Jump and Link
55 /// It uses the arithmetic_3op field.55 /// This uses the arithmetic_3op field.
56 jmpl,56 jmpl,
5757
58 /// A.27 Load Integer58 /// A.27 Load Integer
59 /// Those uses the arithmetic_3op field.59 /// This uses the arithmetic_3op field.
60 /// Note that the ldd variant of this instruction is deprecated, so do not emit60 /// Note that the ldd variant of this instruction is deprecated, so do not emit
61 /// it unless specifically requested (e.g. by inline assembly).61 /// it unless specifically requested (e.g. by inline assembly).
62 // TODO add other operations.62 // TODO add other operations.
...@@ -66,29 +66,29 @@ pub const Inst = struct {...@@ -66,29 +66,29 @@ pub const Inst = struct {
66 ldx,66 ldx,
6767
68 /// A.31 Logical Operations68 /// A.31 Logical Operations
69 /// Those uses the arithmetic_3op field.69 /// This uses the arithmetic_3op field.
70 // TODO add other operations.70 // TODO add other operations.
71 @"or",71 @"or",
7272
73 /// A.40 No Operation73 /// A.40 No Operation
74 /// It uses the nop field.74 /// This uses the nop field.
75 nop,75 nop,
7676
77 /// A.45 RETURN77 /// A.45 RETURN
78 /// It uses the arithmetic_2op field.78 /// This Thisuses the arithmetic_2op field.
79 @"return",79 @"return",
8080
81 /// A.46 SAVE and RESTORE81 /// A.46 SAVE and RESTORE
82 /// Those uses the arithmetic_3op field.82 /// This uses the arithmetic_3op field.
83 save,83 save,
84 restore,84 restore,
8585
86 /// A.48 SETHI86 /// A.48 SETHI
87 /// It uses the sethi field.87 /// This uses the sethi field.
88 sethi,88 sethi,
8989
90 /// A.49 Shift90 /// A.49 Shift
91 /// Those uses the shift field.91 /// This uses the shift field.
92 // TODO add other operations.92 // TODO add other operations.
93 sllx,93 sllx,
9494
...@@ -103,12 +103,12 @@ pub const Inst = struct {...@@ -103,12 +103,12 @@ pub const Inst = struct {
103 stx,103 stx,
104104
105 /// A.56 Subtract105 /// A.56 Subtract
106 /// Those uses the arithmetic_3op field.106 /// This uses the arithmetic_3op field.
107 // TODO add other operations.107 // TODO add other operations.
108 sub,108 sub,
109109
110 /// A.61 Trap on Integer Condition Codes (Tcc)110 /// A.61 Trap on Integer Condition Codes (Tcc)
111 /// It uses the trap field.111 /// This uses the trap field.
112 tcc,112 tcc,
113 };113 };
114114