// Copyright 2014 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_COMPILER_BACKEND_X64_INSTRUCTION_CODES_X64_H_ #define V8_COMPILER_BACKEND_X64_INSTRUCTION_CODES_X64_H_ namespace v8 { namespace internal { namespace compiler { // X64-specific opcodes that specify which assembly sequence to emit. // Most opcodes specify a single instruction. // Opcodes that support a MemoryAccessMode. #define TARGET_ARCH_OPCODE_WITH_MEMORY_ACCESS_MODE_LIST(V) … #define TARGET_ARCH_OPCODE_LIST(V) … // Addressing modes represent the "shape" of inputs to an instruction. // Many instructions support multiple addressing modes. Addressing modes // are encoded into the InstructionCode of the instruction and tell the // code generator after register allocation which assembler method to call. // // We use the following local notation for addressing modes: // // M = memory operand // R = base register // N = index register * N for N in {1, 2, 4, 8} // I = immediate displacement (32-bit signed integer) #define TARGET_ADDRESSING_MODE_LIST(V) … } // namespace compiler } // namespace internal } // namespace v8 #endif // V8_COMPILER_BACKEND_X64_INSTRUCTION_CODES_X64_H_