LoongArch
设计 > 指令格式

| 类型 | 位> 31 | 位> 30 | 位> 29 | 位> 28 | 位> 27 | 位> 26 | 位> 25 | 位> 24 | 位> 23 | 位> 22 | 位> 21 | 位> 20 | 位> 19 | 位> 18 | 位> 17 | 位> 16 | 位> 15 | 位> 14 | 位> 13 | 位> 12 | 位> 11 | 位> 10 | 位> 9 | 位> 8 | 位> 7 | 位> 6 | 位> 5 | 位> 4 | 位> 3 | 位> 2 | 位> 1 | 位> 0 |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 无立即数 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | rj (5) | rj (5) | rj (5) | rj (5) | rj (5) | rd (5) | rd (5) | rd (5) | rd (5) | rd (5) |
| 无立即数 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | rk (5) | rk (5) | rk (5) | rk (5) | rk (5) | rj (5) | rj (5) | rj (5) | rj (5) | rj (5) | rd (5) | rd (5) | rd (5) | rd (5) | rd (5) |
| 无立即数 |  |  |  |  |  |  |  |  |  |  |  |  | fa (5) | fa (5) | fa (5) | fa (5) | fa (5) | fk (5) | fk (5) | fk (5) | fk (5) | fk (5) | rj (5) | rj (5) | rj (5) | rj (5) | rj (5) | rd (5) | rd (5) | rd (5) | rd (5) | rd (5) |
| 有立即数 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | immediate (6) | immediate (6) | immediate (6) | immediate (6) | immediate (6) | immediate (6) | rj (5) | rj (5) | rj (5) | rj (5) | rj (5) | rd (5) | rd (5) | rd (5) | rd (5) | rd (5) |
| 有立即数 |  |  |  |  |  |  |  |  |  |  |  |  |  |  | immediate (8) | immediate (8) | immediate (8) | immediate (8) | immediate (8) | immediate (8) | immediate (8) | immediate (8) | rj (5) | rj (5) | rj (5) | rj (5) | rj (5) | rd (5) | rd (5) | rd (5) | rd (5) | rd (5) |
| 有立即数 |  |  |  |  |  |  |  |  |  |  | immediate (12) | immediate (12) | immediate (12) | immediate (12) | immediate (12) | immediate (12) | immediate (12) | immediate (12) | immediate (12) | immediate (12) | immediate (12) | immediate (12) | rj (5) | rj (5) | rj (5) | rj (5) | rj (5) | rd (5) | rd (5) | rd (5) | rd (5) | rd (5) |
| 有立即数 |  |  |  |  |  |  |  |  | immediate (14) | immediate (14) | immediate (14) | immediate (14) | immediate (14) | immediate (14) | immediate (14) | immediate (14) | immediate (14) | immediate (14) | immediate (14) | immediate (14) | immediate (14) | immediate (14) | rj (5) | rj (5) | rj (5) | rj (5) | rj (5) | rd (5) | rd (5) | rd (5) | rd (5) | rd (5) |
| 有立即数 |  |  |  |  |  |  | immediate (16) | immediate (16) | immediate (16) | immediate (16) | immediate (16) | immediate (16) | immediate (16) | immediate (16) | immediate (16) | immediate (16) | immediate (16) | immediate (16) | immediate (16) | immediate (16) | immediate (16) | immediate (16) | rj (5) | rj (5) | rj (5) | rj (5) | rj (5) | rd (5) | rd (5) | rd (5) | rd (5) | rd (5) |
| 有立即数 |  |  |  |  |  |  | immediate [15:0] | immediate [15:0] | immediate [15:0] | immediate [15:0] | immediate [15:0] | immediate [15:0] | immediate [15:0] | immediate [15:0] | immediate [15:0] | immediate [15:0] | immediate [15:0] | immediate [15:0] | immediate [15:0] | immediate [15:0] | immediate [15:0] | immediate [15:0] | rj (5) | rj (5) | rj (5) | rj (5) | rj (5) | immediate [20:16] | immediate [20:16] | immediate [20:16] | immediate [20:16] | immediate [20:16] |
| 有立即数 |  |  |  |  |  |  | immediate [15:0] | immediate [15:0] | immediate [15:0] | immediate [15:0] | immediate [15:0] | immediate [15:0] | immediate [15:0] | immediate [15:0] | immediate [15:0] | immediate [15:0] | immediate [15:0] | immediate [15:0] | immediate [15:0] | immediate [15:0] | immediate [15:0] | immediate [15:0] |  | immediate [24:16] | immediate [24:16] | immediate [24:16] | immediate [24:16] | immediate [24:16] | immediate [24:16] | immediate [24:16] | immediate [24:16] | immediate [24:16] |