| OLD | NEW |
| 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
| 2 // All Rights Reserved. | 2 // All Rights Reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions | 5 // modification, are permitted provided that the following conditions |
| 6 // are met: | 6 // are met: |
| 7 // | 7 // |
| 8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
| 9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
| 10 // | 10 // |
| (...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 const DwVfpRegister d12 = { 12 }; | 295 const DwVfpRegister d12 = { 12 }; |
| 296 const DwVfpRegister d13 = { 13 }; | 296 const DwVfpRegister d13 = { 13 }; |
| 297 const DwVfpRegister d14 = { 14 }; | 297 const DwVfpRegister d14 = { 14 }; |
| 298 const DwVfpRegister d15 = { 15 }; | 298 const DwVfpRegister d15 = { 15 }; |
| 299 | 299 |
| 300 // VFP FPSCR constants. | 300 // VFP FPSCR constants. |
| 301 static const uint32_t kVFPExceptionMask = 0xf; | 301 static const uint32_t kVFPExceptionMask = 0xf; |
| 302 static const uint32_t kVFPRoundingModeMask = 3 << 22; | 302 static const uint32_t kVFPRoundingModeMask = 3 << 22; |
| 303 static const uint32_t kVFPFlushToZeroMask = 1 << 24; | 303 static const uint32_t kVFPFlushToZeroMask = 1 << 24; |
| 304 static const uint32_t kVFPRoundToMinusInfinityBits = 2 << 22; | 304 static const uint32_t kVFPRoundToMinusInfinityBits = 2 << 22; |
| 305 static const uint32_t kVFPZConditionFlagBit = 1 << 30; |
| 306 static const uint32_t kVFPInvalidExceptionBit = 1; |
| 305 | 307 |
| 306 // Coprocessor register | 308 // Coprocessor register |
| 307 struct CRegister { | 309 struct CRegister { |
| 308 bool is_valid() const { return 0 <= code_ && code_ < 16; } | 310 bool is_valid() const { return 0 <= code_ && code_ < 16; } |
| 309 bool is(CRegister creg) const { return code_ == creg.code_; } | 311 bool is(CRegister creg) const { return code_ == creg.code_; } |
| 310 int code() const { | 312 int code() const { |
| 311 ASSERT(is_valid()); | 313 ASSERT(is_valid()); |
| 312 return code_; | 314 return code_; |
| 313 } | 315 } |
| 314 int bit() const { | 316 int bit() const { |
| (...skipping 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1412 public: | 1414 public: |
| 1413 explicit EnsureSpace(Assembler* assembler) { | 1415 explicit EnsureSpace(Assembler* assembler) { |
| 1414 assembler->CheckBuffer(); | 1416 assembler->CheckBuffer(); |
| 1415 } | 1417 } |
| 1416 }; | 1418 }; |
| 1417 | 1419 |
| 1418 | 1420 |
| 1419 } } // namespace v8::internal | 1421 } } // namespace v8::internal |
| 1420 | 1422 |
| 1421 #endif // V8_ARM_ASSEMBLER_ARM_H_ | 1423 #endif // V8_ARM_ASSEMBLER_ARM_H_ |
| OLD | NEW |