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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 const DwVfpRegister d7 = { 7 }; | 212 const DwVfpRegister d7 = { 7 }; |
213 const DwVfpRegister d8 = { 8 }; | 213 const DwVfpRegister d8 = { 8 }; |
214 const DwVfpRegister d9 = { 9 }; | 214 const DwVfpRegister d9 = { 9 }; |
215 const DwVfpRegister d10 = { 10 }; | 215 const DwVfpRegister d10 = { 10 }; |
216 const DwVfpRegister d11 = { 11 }; | 216 const DwVfpRegister d11 = { 11 }; |
217 const DwVfpRegister d12 = { 12 }; | 217 const DwVfpRegister d12 = { 12 }; |
218 const DwVfpRegister d13 = { 13 }; | 218 const DwVfpRegister d13 = { 13 }; |
219 const DwVfpRegister d14 = { 14 }; | 219 const DwVfpRegister d14 = { 14 }; |
220 const DwVfpRegister d15 = { 15 }; | 220 const DwVfpRegister d15 = { 15 }; |
221 | 221 |
| 222 // VFP FPSCR constants. |
| 223 static const uint32_t kVFPExceptionMask = 0xf; |
| 224 static const uint32_t kVFPRoundingModeMask = 3 << 22; |
| 225 static const uint32_t kVFPFlushToZeroMask = 1 << 24; |
| 226 static const uint32_t kVFPRoundToMinusInfinityBits = 2 << 22; |
222 | 227 |
223 // Coprocessor register | 228 // Coprocessor register |
224 struct CRegister { | 229 struct CRegister { |
225 bool is_valid() const { return 0 <= code_ && code_ < 16; } | 230 bool is_valid() const { return 0 <= code_ && code_ < 16; } |
226 bool is(CRegister creg) const { return code_ == creg.code_; } | 231 bool is(CRegister creg) const { return code_ == creg.code_; } |
227 int code() const { | 232 int code() const { |
228 ASSERT(is_valid()); | 233 ASSERT(is_valid()); |
229 return code_; | 234 return code_; |
230 } | 235 } |
231 int bit() const { | 236 int bit() const { |
(...skipping 1073 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1305 public: | 1310 public: |
1306 explicit EnsureSpace(Assembler* assembler) { | 1311 explicit EnsureSpace(Assembler* assembler) { |
1307 assembler->CheckBuffer(); | 1312 assembler->CheckBuffer(); |
1308 } | 1313 } |
1309 }; | 1314 }; |
1310 | 1315 |
1311 | 1316 |
1312 } } // namespace v8::internal | 1317 } } // namespace v8::internal |
1313 | 1318 |
1314 #endif // V8_ARM_ASSEMBLER_ARM_H_ | 1319 #endif // V8_ARM_ASSEMBLER_ARM_H_ |
OLD | NEW |