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

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

Issue 322423003: ARM: add AArch32 support and new vcvt instructions (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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
« no previous file with comments | « src/arm/assembler-arm.cc ('k') | src/arm/disasm-arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_ARM_CONSTANTS_ARM_H_ 5 #ifndef V8_ARM_CONSTANTS_ARM_H_
6 #define V8_ARM_CONSTANTS_ARM_H_ 6 #define V8_ARM_CONSTANTS_ARM_H_
7 7
8 // ARM EABI is required. 8 // ARM EABI is required.
9 #if defined(__arm__) && !defined(__ARM_EABI__) 9 #if defined(__arm__) && !defined(__ARM_EABI__)
10 #error ARM EABI support is required. 10 #error ARM EABI support is required.
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 kDoublePrecision = 1 349 kDoublePrecision = 1
350 }; 350 };
351 351
352 352
353 // VFP FPSCR constants. 353 // VFP FPSCR constants.
354 enum VFPConversionMode { 354 enum VFPConversionMode {
355 kFPSCRRounding = 0, 355 kFPSCRRounding = 0,
356 kDefaultRoundToZero = 1 356 kDefaultRoundToZero = 1
357 }; 357 };
358 358
359 enum VCVTRoundingMode {
360 kVcvtTiesToAway = 0,
361 kVcvtTiesToEven = 1,
362 kVcvtTowardPlusInfinity = 2,
363 kVcvtTowardMinusInfinity = 3
364 };
365
366
367 enum VCVTDataType {
368 kVcvtUnsigned = 0,
369 kVcvtSigned = 1
370 };
371
372
359 // This mask does not include the "inexact" or "input denormal" cumulative 373 // This mask does not include the "inexact" or "input denormal" cumulative
360 // exceptions flags, because we usually don't want to check for it. 374 // exceptions flags, because we usually don't want to check for it.
361 const uint32_t kVFPExceptionMask = 0xf; 375 const uint32_t kVFPExceptionMask = 0xf;
362 const uint32_t kVFPInvalidOpExceptionBit = 1 << 0; 376 const uint32_t kVFPInvalidOpExceptionBit = 1 << 0;
363 const uint32_t kVFPOverflowExceptionBit = 1 << 2; 377 const uint32_t kVFPOverflowExceptionBit = 1 << 2;
364 const uint32_t kVFPUnderflowExceptionBit = 1 << 3; 378 const uint32_t kVFPUnderflowExceptionBit = 1 << 3;
365 const uint32_t kVFPInexactExceptionBit = 1 << 4; 379 const uint32_t kVFPInexactExceptionBit = 1 << 4;
366 const uint32_t kVFPFlushToZeroMask = 1 << 24; 380 const uint32_t kVFPFlushToZeroMask = 1 << 24;
367 const uint32_t kVFPDefaultNaNModeControlBit = 1 << 25; 381 const uint32_t kVFPDefaultNaNModeControlBit = 1 << 25;
368 382
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
741 static int Number(const char* name, bool* is_double); 755 static int Number(const char* name, bool* is_double);
742 756
743 private: 757 private:
744 static const char* names_[kNumVFPRegisters]; 758 static const char* names_[kNumVFPRegisters];
745 }; 759 };
746 760
747 761
748 } } // namespace v8::internal 762 } } // namespace v8::internal
749 763
750 #endif // V8_ARM_CONSTANTS_ARM_H_ 764 #endif // V8_ARM_CONSTANTS_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/assembler-arm.cc ('k') | src/arm/disasm-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698