Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(724)

Side by Side Diff: src/arm/constants-arm.h

Issue 14109010: ARM: Enable VFP default NaN mode (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 }; 396 };
397 397
398 // This mask does not include the "inexact" or "input denormal" cumulative 398 // This mask does not include the "inexact" or "input denormal" cumulative
399 // exceptions flags, because we usually don't want to check for it. 399 // exceptions flags, because we usually don't want to check for it.
400 const uint32_t kVFPExceptionMask = 0xf; 400 const uint32_t kVFPExceptionMask = 0xf;
401 const uint32_t kVFPInvalidOpExceptionBit = 1 << 0; 401 const uint32_t kVFPInvalidOpExceptionBit = 1 << 0;
402 const uint32_t kVFPOverflowExceptionBit = 1 << 2; 402 const uint32_t kVFPOverflowExceptionBit = 1 << 2;
403 const uint32_t kVFPUnderflowExceptionBit = 1 << 3; 403 const uint32_t kVFPUnderflowExceptionBit = 1 << 3;
404 const uint32_t kVFPInexactExceptionBit = 1 << 4; 404 const uint32_t kVFPInexactExceptionBit = 1 << 4;
405 const uint32_t kVFPFlushToZeroMask = 1 << 24; 405 const uint32_t kVFPFlushToZeroMask = 1 << 24;
406 const uint32_t kVFPDefaultNaNModeControlBit = 1 << 25;
406 407
407 const uint32_t kVFPNConditionFlagBit = 1 << 31; 408 const uint32_t kVFPNConditionFlagBit = 1 << 31;
408 const uint32_t kVFPZConditionFlagBit = 1 << 30; 409 const uint32_t kVFPZConditionFlagBit = 1 << 30;
409 const uint32_t kVFPCConditionFlagBit = 1 << 29; 410 const uint32_t kVFPCConditionFlagBit = 1 << 29;
410 const uint32_t kVFPVConditionFlagBit = 1 << 28; 411 const uint32_t kVFPVConditionFlagBit = 1 << 28;
411 412
412 413
413 // VFP rounding modes. See ARM DDI 0406B Page A2-29. 414 // VFP rounding modes. See ARM DDI 0406B Page A2-29.
414 enum VFPRoundingMode { 415 enum VFPRoundingMode {
415 RN = 0 << 22, // Round to Nearest. 416 RN = 0 << 22, // Round to Nearest.
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 static int Number(const char* name, bool* is_double); 779 static int Number(const char* name, bool* is_double);
779 780
780 private: 781 private:
781 static const char* names_[kNumVFPRegisters]; 782 static const char* names_[kNumVFPRegisters];
782 }; 783 };
783 784
784 785
785 } } // namespace v8::internal 786 } } // namespace v8::internal
786 787
787 #endif // V8_ARM_CONSTANTS_ARM_H_ 788 #endif // V8_ARM_CONSTANTS_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/lithium-arm.h » ('j') | src/arm/simulator-arm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698