• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/nwfpe/

Lines Matching refs:opcode

69 abcd		arithmetic opcode (TABLES 3 & 4)
191 #define MASK_CPDT 0x0c000000 /* data processing opcode */
203 /* Get the coprocessor number from the opcode. */
204 #define getCoprocessorNumber(opcode) ((opcode & MASK_COPROCESSOR) >> 8)
206 /* Get the offset from the opcode. */
207 #define getOffset(opcode) (opcode & MASK_OFFSET)
210 #define TEST_OPCODE(opcode,mask) (((opcode) & (mask)) == (mask))
212 #define LOAD_OP(opcode) TEST_OPCODE((opcode),MASK_CPDT | BIT_LOAD)
213 #define STORE_OP(opcode) ((opcode & (MASK_CPDT | BIT_LOAD)) == MASK_CPDT)
215 #define LDF_OP(opcode) (LOAD_OP(opcode) && (getCoprocessorNumber(opcode) == 1))
216 #define LFM_OP(opcode) (LOAD_OP(opcode) && (getCoprocessorNumber(opcode) == 2))
217 #define STF_OP(opcode) (STORE_OP(opcode) && (getCoprocessorNumber(opcode) == 1))
218 #define SFM_OP(opcode) (STORE_OP(opcode) && (getCoprocessorNumber(opcode) == 2))
220 #define PREINDEXED(opcode) ((opcode & BIT_PREINDEX) != 0)
221 #define POSTINDEXED(opcode) ((opcode & BIT_PREINDEX) == 0)
222 #define BIT_UP_SET(opcode) ((opcode & BIT_UP) != 0)
223 #define BIT_UP_CLEAR(opcode) ((opcode & BIT_DOWN) == 0)
224 #define WRITE_BACK(opcode) ((opcode & BIT_WRITE_BACK) != 0)
225 #define LOAD(opcode) ((opcode & BIT_LOAD) != 0)
226 #define STORE(opcode) ((opcode & BIT_LOAD) == 0)
237 #define CONSTANT_FM(opcode) ((opcode & BIT_CONSTANT) != 0)
238 #define MONADIC_INSTRUCTION(opcode) ((opcode & BIT_MONADIC) != 0)
241 #define MASK_CPDO 0x0e000000 /* arithmetic opcode */
259 /* 0x00d00000 is an invalid dyadic arithmetic opcode */
260 /* 0x00e00000 is an invalid dyadic arithmetic opcode */
261 /* 0x00f00000 is an invalid dyadic arithmetic opcode */
287 #define MASK_CPRT 0x0e000010 /* register transfer opcode */
350 /* Get the condition code from the opcode. */
351 #define getCondition(opcode) (opcode >> 28)
353 /* Get the source register from the opcode. */
354 #define getRn(opcode) ((opcode & MASK_Rn) >> 16)
356 /* Get the destination floating point register from the opcode. */
357 #define getFd(opcode) ((opcode & MASK_Fd) >> 12)
359 /* Get the first source floating point register from the opcode. */
360 #define getFn(opcode) ((opcode & MASK_Fn) >> 16)
362 /* Get the second source floating point register from the opcode. */
363 #define getFm(opcode) (opcode & MASK_Fm)
365 /* Get the destination register from the opcode. */
366 #define getRd(opcode) ((opcode & MASK_Rd) >> 12)
368 /* Get the rounding mode from the opcode. */
369 #define getRoundingMode(opcode) ((opcode & MASK_ROUNDING_MODE) >> 5)
391 static inline unsigned int getTransferLength(const unsigned int opcode)
395 switch (opcode & MASK_TRANSFER_LENGTH) {
412 static inline unsigned int getRegisterCount(const unsigned int opcode)
416 switch (opcode & MASK_REGISTER_COUNT) {
436 static inline unsigned int getRoundingPrecision(const unsigned int opcode)
440 switch (opcode & MASK_ROUNDING_PRECISION) {
457 static inline unsigned int getDestinationSize(const unsigned int opcode)
461 switch (opcode & MASK_DESTINATION_SIZE) {
478 extern unsigned int checkCondition(const unsigned int opcode,