| Index: src/arm/constants-arm.h
|
| ===================================================================
|
| --- src/arm/constants-arm.h (revision 7180)
|
| +++ src/arm/constants-arm.h (working copy)
|
| @@ -385,9 +385,14 @@
|
| kDefaultRoundToZero = 1
|
| };
|
|
|
| +// This mask does not include the "inexact" or "input denormal" cumulative
|
| +// exceptions flags, because we usually don't want to check for it.
|
| static const uint32_t kVFPExceptionMask = 0xf;
|
| +static const uint32_t kVFPInvalidOpExceptionBit = 1 << 0;
|
| +static const uint32_t kVFPOverflowExceptionBit = 1 << 2;
|
| +static const uint32_t kVFPUnderflowExceptionBit = 1 << 3;
|
| +static const uint32_t kVFPInexactExceptionBit = 1 << 4;
|
| static const uint32_t kVFPFlushToZeroMask = 1 << 24;
|
| -static const uint32_t kVFPInvalidExceptionBit = 1;
|
|
|
| static const uint32_t kVFPNConditionFlagBit = 1 << 31;
|
| static const uint32_t kVFPZConditionFlagBit = 1 << 30;
|
| @@ -411,6 +416,11 @@
|
|
|
| static const uint32_t kVFPRoundingModeMask = 3 << 22;
|
|
|
| +enum CheckForInexactConversion {
|
| + kCheckForInexactConversion,
|
| + kDontCheckForInexactConversion
|
| +};
|
| +
|
| // -----------------------------------------------------------------------------
|
| // Hints.
|
|
|
|
|