Based on ARM chapter 4.5.
X-1.5 Camiel Vanderhoeven 14-MAR-2008 1. More meaningful exceptions replace throwing (int) 1. 2. U64 macro replaces X64 macro.
X-1.4 Camiel Vanderhoeven 11-APR-2007 Moved all data that should be saved to a state file to a structure "state".
X-1.3 Camiel Vanderhoeven 30-MAR-2007 Added old changelog comments.
X-1.2 Camiel Vanderhoeven 19-FEB-2007 Fixed a compiler-dependent bug (possible >> or <<by 64) in SRA opcode.
X-1.1 Camiel Vanderhoeven 18-FEB-2007 File created. Contains code previously found in AlphaCPU.h
Definition in file cpu_logical.h.
Go to the source code of this file.
Defines | |
| #define | DO_AND state.r[REG_3] = state.r[REG_1] & V_2; |
| #define | DO_BIC state.r[REG_3] = state.r[REG_1] &~V_2; |
| #define | DO_BIS state.r[REG_3] = state.r[REG_1] | V_2; |
| #define | DO_EQV state.r[REG_3] = state.r[REG_1] ^ ~V_2; |
| #define | DO_ORNOT state.r[REG_3] = state.r[REG_1] | ~V_2; |
| #define | DO_XOR state.r[REG_3] = state.r[REG_1] ^ V_2; |
| #define | DO_CMOVEQ |
| #define | DO_CMOVGE |
| #define | DO_CMOVGT |
| #define | DO_CMOVLBC |
| #define | DO_CMOVLBS |
| #define | DO_CMOVLE |
| #define | DO_CMOVLT |
| #define | DO_CMOVNE |
| #define | DO_SLL state.r[REG_3] = state.r[REG_1] << (V_2 & 63); |
| #define | DO_SRA |
| #define | DO_SRL state.r[REG_3] = state.r[REG_1] >> (V_2 & 63); |
| #define DO_AND state.r[REG_3] = state.r[REG_1] & V_2; |
Definition at line 53 of file cpu_logical.h.
| #define DO_BIC state.r[REG_3] = state.r[REG_1] &~V_2; |
Definition at line 54 of file cpu_logical.h.
| #define DO_BIS state.r[REG_3] = state.r[REG_1] | V_2; |
Definition at line 55 of file cpu_logical.h.
| #define DO_CMOVEQ |
| #define DO_CMOVGE |
| #define DO_CMOVGT |
| #define DO_CMOVLBC |
| #define DO_CMOVLBS |
| #define DO_CMOVLE |
| #define DO_CMOVLT |
| #define DO_CMOVNE |
| #define DO_EQV state.r[REG_3] = state.r[REG_1] ^ ~V_2; |
Definition at line 56 of file cpu_logical.h.
| #define DO_ORNOT state.r[REG_3] = state.r[REG_1] | ~V_2; |
Definition at line 57 of file cpu_logical.h.
| #define DO_SLL state.r[REG_3] = state.r[REG_1] << (V_2 & 63); |
Definition at line 77 of file cpu_logical.h.
| #define DO_SRA |
| #define DO_SRL state.r[REG_3] = state.r[REG_1] >> (V_2 & 63); |
Definition at line 83 of file cpu_logical.h.
| #define DO_XOR state.r[REG_3] = state.r[REG_1] ^ V_2; |
Definition at line 58 of file cpu_logical.h.