Lines Matching full:opcode

57 abcd		arithmetic opcode (TABLES 3 & 4)
179 #define MASK_CPDT 0x0c000000 /* data processing opcode */
191 /* Get the coprocessor number from the opcode. */
192 #define getCoprocessorNumber(opcode) ((opcode & MASK_COPROCESSOR) >> 8) argument
194 /* Get the offset from the opcode. */
195 #define getOffset(opcode) (opcode & MASK_OFFSET) argument
198 #define TEST_OPCODE(opcode,mask) (((opcode) & (mask)) == (mask)) argument
200 #define LOAD_OP(opcode) TEST_OPCODE((opcode),MASK_CPDT | BIT_LOAD) argument
201 #define STORE_OP(opcode) ((opcode & (MASK_CPDT | BIT_LOAD)) == MASK_CPDT) argument
203 #define LDF_OP(opcode) (LOAD_OP(opcode) && (getCoprocessorNumber(opcode) == 1)) argument
204 #define LFM_OP(opcode) (LOAD_OP(opcode) && (getCoprocessorNumber(opcode) == 2)) argument
205 #define STF_OP(opcode) (STORE_OP(opcode) && (getCoprocessorNumber(opcode) == 1)) argument
206 #define SFM_OP(opcode) (STORE_OP(opcode) && (getCoprocessorNumber(opcode) == 2)) argument
208 #define PREINDEXED(opcode) ((opcode & BIT_PREINDEX) != 0) argument
209 #define POSTINDEXED(opcode) ((opcode & BIT_PREINDEX) == 0) argument
210 #define BIT_UP_SET(opcode) ((opcode & BIT_UP) != 0) argument
211 #define BIT_UP_CLEAR(opcode) ((opcode & BIT_DOWN) == 0) argument
212 #define WRITE_BACK(opcode) ((opcode & BIT_WRITE_BACK) != 0) argument
213 #define LOAD(opcode) ((opcode & BIT_LOAD) != 0) argument
214 #define STORE(opcode) ((opcode & BIT_LOAD) == 0) argument
225 #define CONSTANT_FM(opcode) ((opcode & BIT_CONSTANT) != 0) argument
226 #define MONADIC_INSTRUCTION(opcode) ((opcode & BIT_MONADIC) != 0) argument
229 #define MASK_CPDO 0x0e000000 /* arithmetic opcode */
247 /* 0x00d00000 is an invalid dyadic arithmetic opcode */
248 /* 0x00e00000 is an invalid dyadic arithmetic opcode */
249 /* 0x00f00000 is an invalid dyadic arithmetic opcode */
275 #define MASK_CPRT 0x0e000010 /* register transfer opcode */
338 /* Get the condition code from the opcode. */
339 #define getCondition(opcode) (opcode >> 28) argument
341 /* Get the source register from the opcode. */
342 #define getRn(opcode) ((opcode & MASK_Rn) >> 16) argument
344 /* Get the destination floating point register from the opcode. */
345 #define getFd(opcode) ((opcode & MASK_Fd) >> 12) argument
347 /* Get the first source floating point register from the opcode. */
348 #define getFn(opcode) ((opcode & MASK_Fn) >> 16) argument
350 /* Get the second source floating point register from the opcode. */
351 #define getFm(opcode) (opcode & MASK_Fm) argument
353 /* Get the destination register from the opcode. */
354 #define getRd(opcode) ((opcode & MASK_Rd) >> 12) argument
356 /* Get the rounding mode from the opcode. */
357 #define getRoundingMode(opcode) ((opcode & MASK_ROUNDING_MODE) >> 5) argument
379 static inline unsigned int getTransferLength(const unsigned int opcode) in getTransferLength() argument
383 switch (opcode & MASK_TRANSFER_LENGTH) { in getTransferLength()
400 static inline unsigned int getRegisterCount(const unsigned int opcode) in getRegisterCount() argument
404 switch (opcode & MASK_REGISTER_COUNT) { in getRegisterCount()
424 static inline unsigned int getRoundingPrecision(const unsigned int opcode) in getRoundingPrecision() argument
428 switch (opcode & MASK_ROUNDING_PRECISION) { in getRoundingPrecision()
445 static inline unsigned int getDestinationSize(const unsigned int opcode) in getDestinationSize() argument
449 switch (opcode & MASK_DESTINATION_SIZE) { in getDestinationSize()