| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 1371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1382 // Instruction synchronization barrier | 1382 // Instruction synchronization barrier |
| 1383 void isb(); | 1383 void isb(); |
| 1384 | 1384 |
| 1385 // Alias for system instructions. | 1385 // Alias for system instructions. |
| 1386 void nop() { hint(NOP); } | 1386 void nop() { hint(NOP); } |
| 1387 | 1387 |
| 1388 // Different nop operations are used by the code generator to detect certain | 1388 // Different nop operations are used by the code generator to detect certain |
| 1389 // states of the generated code. | 1389 // states of the generated code. |
| 1390 enum NopMarkerTypes { | 1390 enum NopMarkerTypes { |
| 1391 DEBUG_BREAK_NOP, | 1391 DEBUG_BREAK_NOP, |
| 1392 INTERRUPT_CODE_NOP, |
| 1392 FIRST_NOP_MARKER = DEBUG_BREAK_NOP, | 1393 FIRST_NOP_MARKER = DEBUG_BREAK_NOP, |
| 1393 LAST_NOP_MARKER = DEBUG_BREAK_NOP | 1394 LAST_NOP_MARKER = INTERRUPT_CODE_NOP |
| 1394 }; | 1395 }; |
| 1395 | 1396 |
| 1396 inline void nop(NopMarkerTypes n) { | 1397 inline void nop(NopMarkerTypes n) { |
| 1397 ASSERT((FIRST_NOP_MARKER <= n) && (n <= LAST_NOP_MARKER)); | 1398 ASSERT((FIRST_NOP_MARKER <= n) && (n <= LAST_NOP_MARKER)); |
| 1398 mov(Register::XRegFromCode(n), Register::XRegFromCode(n)); | 1399 mov(Register::XRegFromCode(n), Register::XRegFromCode(n)); |
| 1399 } | 1400 } |
| 1400 | 1401 |
| 1401 // FP instructions. | 1402 // FP instructions. |
| 1402 // Move immediate to FP register. | 1403 // Move immediate to FP register. |
| 1403 void fmov(FPRegister fd, double imm); | 1404 void fmov(FPRegister fd, double imm); |
| (...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2028 class EnsureSpace BASE_EMBEDDED { | 2029 class EnsureSpace BASE_EMBEDDED { |
| 2029 public: | 2030 public: |
| 2030 explicit EnsureSpace(Assembler* assembler) { | 2031 explicit EnsureSpace(Assembler* assembler) { |
| 2031 assembler->CheckBuffer(); | 2032 assembler->CheckBuffer(); |
| 2032 } | 2033 } |
| 2033 }; | 2034 }; |
| 2034 | 2035 |
| 2035 } } // namespace v8::internal | 2036 } } // namespace v8::internal |
| 2036 | 2037 |
| 2037 #endif // V8_A64_ASSEMBLER_A64_H_ | 2038 #endif // V8_A64_ASSEMBLER_A64_H_ |
| OLD | NEW |