| ... | ... | @@ -39,24 +39,24 @@ pub const Inst = struct { |
| 39 | 39 | // in The SPARC Architecture Manual, Version 9. |
| 40 | 40 | |
| 41 | 41 | /// A.2 Add |
| 42 | | /// Those uses the arithmetic_3op field. |
| 42 | /// This uses the arithmetic_3op field. |
| 43 | 43 | // TODO add other operations. |
| 44 | 44 | add, |
| 45 | 45 | |
| 46 | 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 | 48 | bpcc, |
| 49 | 49 | |
| 50 | 50 | /// A.8 Call and Link |
| 51 | | /// It uses the branch_link field. |
| 51 | /// This uses the branch_link field. |
| 52 | 52 | call, |
| 53 | 53 | |
| 54 | 54 | /// A.24 Jump and Link |
| 55 | | /// It uses the arithmetic_3op field. |
| 55 | /// This uses the arithmetic_3op field. |
| 56 | 56 | jmpl, |
| 57 | 57 | |
| 58 | 58 | /// A.27 Load Integer |
| 59 | | /// Those uses the arithmetic_3op field. |
| 59 | /// This uses the arithmetic_3op field. |
| 60 | 60 | /// Note that the ldd variant of this instruction is deprecated, so do not emit |
| 61 | 61 | /// it unless specifically requested (e.g. by inline assembly). |
| 62 | 62 | // TODO add other operations. |
| ... | ... | @@ -66,29 +66,29 @@ pub const Inst = struct { |
| 66 | 66 | ldx, |
| 67 | 67 | |
| 68 | 68 | /// A.31 Logical Operations |
| 69 | | /// Those uses the arithmetic_3op field. |
| 69 | /// This uses the arithmetic_3op field. |
| 70 | 70 | // TODO add other operations. |
| 71 | 71 | @"or", |
| 72 | 72 | |
| 73 | 73 | /// A.40 No Operation |
| 74 | | /// It uses the nop field. |
| 74 | /// This uses the nop field. |
| 75 | 75 | nop, |
| 76 | 76 | |
| 77 | 77 | /// A.45 RETURN |
| 78 | | /// It uses the arithmetic_2op field. |
| 78 | /// This Thisuses the arithmetic_2op field. |
| 79 | 79 | @"return", |
| 80 | 80 | |
| 81 | 81 | /// A.46 SAVE and RESTORE |
| 82 | | /// Those uses the arithmetic_3op field. |
| 82 | /// This uses the arithmetic_3op field. |
| 83 | 83 | save, |
| 84 | 84 | restore, |
| 85 | 85 | |
| 86 | 86 | /// A.48 SETHI |
| 87 | | /// It uses the sethi field. |
| 87 | /// This uses the sethi field. |
| 88 | 88 | sethi, |
| 89 | 89 | |
| 90 | 90 | /// A.49 Shift |
| 91 | | /// Those uses the shift field. |
| 91 | /// This uses the shift field. |
| 92 | 92 | // TODO add other operations. |
| 93 | 93 | sllx, |
| 94 | 94 | |
| ... | ... | @@ -103,12 +103,12 @@ pub const Inst = struct { |
| 103 | 103 | stx, |
| 104 | 104 | |
| 105 | 105 | /// A.56 Subtract |
| 106 | | /// Those uses the arithmetic_3op field. |
| 106 | /// This uses the arithmetic_3op field. |
| 107 | 107 | // TODO add other operations. |
| 108 | 108 | sub, |
| 109 | 109 | |
| 110 | 110 | /// A.61 Trap on Integer Condition Codes (Tcc) |
| 111 | | /// It uses the trap field. |
| 111 | /// This uses the trap field. |
| 112 | 112 | tcc, |
| 113 | 113 | }; |
| 114 | 114 | |