diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-05 10:16:37 +0100 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-05 10:16:37 +0100 |
commit | fc343acc4d81d06e5cba92b74de3565b6d12dfcf (patch) | |
tree | e5ed151f568d687eab36245e408b705eab5c0690 /qtmips_machine/instruction.h | |
parent | b4118e4b758bd82010a9004167f75f176aba8397 (diff) | |
download | qtmips-fc343acc4d81d06e5cba92b74de3565b6d12dfcf.tar.gz qtmips-fc343acc4d81d06e5cba92b74de3565b6d12dfcf.tar.bz2 qtmips-fc343acc4d81d06e5cba92b74de3565b6d12dfcf.zip |
Correct shift operation and make ALU_OP_MOVZ and ALU_OP_MOVN encoding independent.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_machine/instruction.h')
-rw-r--r-- | qtmips_machine/instruction.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qtmips_machine/instruction.h b/qtmips_machine/instruction.h index b8c62b9..8396bc7 100644 --- a/qtmips_machine/instruction.h +++ b/qtmips_machine/instruction.h @@ -55,6 +55,7 @@ enum InstructionFlags { IMF_PC_TO_R31 = 1L<<7, IMF_BJR_REQ_RS = 1L<<8, IMF_BJR_REQ_RT = 1L<<9, + IMF_ALU_SHIFT = 1L<<10, IMF_MEM = 1L<<11, // This instruction is memory access instruction, IMF_MEM_STORE = 1L<<12, IMF_ALU_REQ_RS = 1L<<13, |