Commit 94d70bdb69

Koakuma <koachan@protonmail.com>
2022-04-01 14:30:37
stage2: sparcv9: Change ordering in Mir Tag
1 parent 94a84e7
Changed files (1)
src
arch
sparcv9
src/arch/sparcv9/Mir.zig
@@ -37,14 +37,14 @@ pub const Inst = struct {
         /// It uses the nop field.
         nop,
 
+        /// A.45 RETURN
+        /// It uses the arithmetic_2op field.
+        @"return",
+
         /// A.46 SAVE and RESTORE
         /// Those uses the arithmetic_3op field.
         save,
         restore,
-
-        /// A.45 RETURN
-        /// It uses the arithmetic_2op field.
-        @"return",
     };
 
     /// The position of an MIR instruction within the `Mir` instructions array.