This section will describe the functions of application-level basic integer instructions in LA64.
For LA32, it only needs to implement a subset of them.
The instruction list contained in this subset is shown in the table.
Because the length of GR in LA32 is only 32 bits, the sign extension operation in “sign extend the 32-bit result into the general register rd
” in the subsequent instruction description is not required.
Arithmetic operation instructions |
|
Bit-shift instructions |
|
Bit-manipulation instructions |
|
Branch instructions |
|
Memory access instructions |
|
Atomic memory access instructions |
|
Barrier instructions |
|
Other instructions |
|
In addition, for those instructions whose data length of the operation object is GR length, the operation length is 32 bits in LA32 and 64 bits in LA64. Unless there are special circumstances, no special instructions will be given in the instruction function description.