| OLD | NEW |
| 1 # MIPS32 Instruction Encodings | 1 # MIPS32 Instruction Encodings |
| 2 # | 2 # |
| 3 # This table is derived from the "MIPS® Architecture For Programmers | 3 # This table is derived from the "MIPS® Architecture For Programmers |
| 4 # Volume II-A: The MIPS32® Instruction Set". | 4 # Volume II-A: The MIPS32® Instruction Set". |
| 5 | 5 |
| 6 # This file defines the Native Client "instruction classes" assigned to every | 6 # This file defines the Native Client "instruction classes" assigned to every |
| 7 # possible MIPS32 instruction encoding. It is organized into a series of tables, | 7 # possible MIPS32 instruction encoding. It is organized into a series of tables, |
| 8 # and directly parallels the MIPS Architecture Reference Manual cited above. | 8 # and directly parallels the MIPS Architecture Reference Manual cited above. |
| 9 # | 9 # |
| 10 # Each table consists of | 10 # Each table consists of |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 000011 ->arithm3_1 # sra | 101 000011 ->arithm3_1 # sra |
| 102 000100 ->arithm3_2 # sllv | 102 000100 ->arithm3_2 # sllv |
| 103 000101 =Forbidden | 103 000101 =Forbidden |
| 104 000110 ->srlv | 104 000110 ->srlv |
| 105 000111 ->arithm3_2 # srav | 105 000111 ->arithm3_2 # srav |
| 106 001000 ->jr # jr | 106 001000 ->jr # jr |
| 107 001001 ->jalr # jalr | 107 001001 ->jalr # jalr |
| 108 001010 ->arithm3_2 # movz | 108 001010 ->arithm3_2 # movz |
| 109 001011 ->arithm3_2 # movn | 109 001011 ->arithm3_2 # movn |
| 110 001100 =Forbidden # syscall | 110 001100 =Forbidden # syscall |
| 111 001101 =Forbidden # break | 111 001101 =NaClHalt # break |
| 112 001110 =Forbidden | 112 001110 =Forbidden |
| 113 001111 ->sync # sync | 113 001111 ->sync # sync |
| 114 010000 ->mfhi # mfhi | 114 010000 ->mfhi # mfhi |
| 115 010001 ->mthi # mthi | 115 010001 ->mthi # mthi |
| 116 010010 ->mfhi # mflo | 116 010010 ->mfhi # mflo |
| 117 010011 ->mthi # mtlo | 117 010011 ->mthi # mtlo |
| 118 010100 =Forbidden | 118 010100 =Forbidden |
| 119 010101 =Forbidden | 119 010101 =Forbidden |
| 120 010110 =Forbidden | 120 010110 =Forbidden |
| 121 010111 =Forbidden | 121 010111 =Forbidden |
| (...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 729 | 729 |
| 730 | 730 |
| 731 -- arithm3_2 (sllv, srav, movz, movn, mul, clz, clo) | 731 -- arithm3_2 (sllv, srav, movz, movn, mul, clz, clo) |
| 732 pat0(10:6) | 732 pat0(10:6) |
| 733 00000 =Arithm3 | 733 00000 =Arithm3 |
| 734 ~00000 =Forbidden | 734 ~00000 =Forbidden |
| 735 | 735 |
| 736 | 736 |
| 737 -- jr (jr) | 737 -- jr (jr) |
| 738 rs(25:21) pat1(20:6) | 738 rs(25:21) pat1(20:6) |
| 739 00000 000000000000000 =NaClHalt # jr $zero | 739 xxxxx 000000000000000 =JmpReg # jr |
| 740 ~00000 000000000000000 =JmpReg # jr | |
| 741 xxxxx ~000000000000000 =Forbidden | 740 xxxxx ~000000000000000 =Forbidden |
| 742 | 741 |
| 743 | 742 |
| 744 -- jalr (jalr) | 743 -- jalr (jalr) |
| 745 rt(20:16) hint(10:6) | 744 rt(20:16) hint(10:6) |
| 746 00000 00000 =JalReg | 745 00000 00000 =JalReg |
| 747 ~00000 ~00000 =Forbidden | 746 ~00000 ~00000 =Forbidden |
| 748 | 747 |
| 749 | 748 |
| 750 -- sync (sync) | 749 -- sync (sync) |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 817 01 =Forbidden # bc2t | 816 01 =Forbidden # bc2t |
| 818 10 =Forbidden # bc2fl | 817 10 =Forbidden # bc2fl |
| 819 11 =Forbidden # bc2tl | 818 11 =Forbidden # bc2tl |
| 820 | 819 |
| 821 | 820 |
| 822 -- c_cond_fmt (c.cond.fmt) | 821 -- c_cond_fmt (c.cond.fmt) |
| 823 pat0(7:6) | 822 pat0(7:6) |
| 824 00 =Safe | 823 00 =Safe |
| 825 ~00 =Forbidden | 824 ~00 =Forbidden |
| 826 | 825 |
| OLD | NEW |