Revision 7ccfb2eb linux-user/arm/nwfpe/fpopcode.h
b/linux-user/arm/nwfpe/fpopcode.h | ||
---|---|---|
366 | 366 |
/* Get the rounding mode from the opcode. */ |
367 | 367 |
#define getRoundingMode(opcode) ((opcode & MASK_ROUNDING_MODE) >> 5) |
368 | 368 |
|
369 |
static inline const floatx80 getExtendedConstant(const unsigned int nIndex)
|
|
369 |
static inline floatx80 getExtendedConstant(const unsigned int nIndex) |
|
370 | 370 |
{ |
371 | 371 |
extern const floatx80 floatx80Constant[]; |
372 | 372 |
return floatx80Constant[nIndex]; |
373 | 373 |
} |
374 | 374 |
|
375 |
static inline const float64 getDoubleConstant(const unsigned int nIndex)
|
|
375 |
static inline float64 getDoubleConstant(const unsigned int nIndex) |
|
376 | 376 |
{ |
377 | 377 |
extern const float64 float64Constant[]; |
378 | 378 |
return float64Constant[nIndex]; |
379 | 379 |
} |
380 | 380 |
|
381 |
static inline const float32 getSingleConstant(const unsigned int nIndex)
|
|
381 |
static inline float32 getSingleConstant(const unsigned int nIndex) |
|
382 | 382 |
{ |
383 | 383 |
extern const float32 float32Constant[]; |
384 | 384 |
return float32Constant[nIndex]; |
Also available in: Unified diff