Commit 65d9c441 authored by Zhao Jiazhong's avatar Zhao Jiazhong Committed by V8 LUCI CQ

[mips][loong64][compiler] Teach InstructionScheduler about protected memory accesses

Port commit e301d71f

Change-Id: I58bb66e86629b60bcb75b3cec3e293d75acc5f5c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3184290
Auto-Submit: Zhao Jiazhong <zhaojiazhong-hf@loongson.cn>
Reviewed-by: 's avatarLiu yu <liuyu@loongson.cn>
Commit-Queue: Liu yu <liuyu@loongson.cn>
Cr-Commit-Position: refs/heads/main@{#77074}
parent fc4c843b
...@@ -11,7 +11,12 @@ namespace compiler { ...@@ -11,7 +11,12 @@ namespace compiler {
// LOONG64-specific opcodes that specify which assembly sequence to emit. // LOONG64-specific opcodes that specify which assembly sequence to emit.
// Most opcodes specify a single instruction. // Most opcodes specify a single instruction.
// Opcodes that support a MemoryAccessMode.
#define TARGET_ARCH_OPCODE_WITH_MEMORY_ACCESS_MODE_LIST(V) // None.
#define TARGET_ARCH_OPCODE_LIST(V) \ #define TARGET_ARCH_OPCODE_LIST(V) \
TARGET_ARCH_OPCODE_WITH_MEMORY_ACCESS_MODE_LIST(V) \
V(Loong64Add_d) \ V(Loong64Add_d) \
V(Loong64Add_w) \ V(Loong64Add_w) \
V(Loong64AddOvf_d) \ V(Loong64AddOvf_d) \
......
...@@ -11,7 +11,12 @@ namespace compiler { ...@@ -11,7 +11,12 @@ namespace compiler {
// MIPS-specific opcodes that specify which assembly sequence to emit. // MIPS-specific opcodes that specify which assembly sequence to emit.
// Most opcodes specify a single instruction. // Most opcodes specify a single instruction.
// Opcodes that support a MemoryAccessMode.
#define TARGET_ARCH_OPCODE_WITH_MEMORY_ACCESS_MODE_LIST(V) // None.
#define TARGET_ARCH_OPCODE_LIST(V) \ #define TARGET_ARCH_OPCODE_LIST(V) \
TARGET_ARCH_OPCODE_WITH_MEMORY_ACCESS_MODE_LIST(V) \
V(MipsAdd) \ V(MipsAdd) \
V(MipsAddOvf) \ V(MipsAddOvf) \
V(MipsSub) \ V(MipsSub) \
......
...@@ -11,7 +11,12 @@ namespace compiler { ...@@ -11,7 +11,12 @@ namespace compiler {
// MIPS64-specific opcodes that specify which assembly sequence to emit. // MIPS64-specific opcodes that specify which assembly sequence to emit.
// Most opcodes specify a single instruction. // Most opcodes specify a single instruction.
// Opcodes that support a MemoryAccessMode.
#define TARGET_ARCH_OPCODE_WITH_MEMORY_ACCESS_MODE_LIST(V) // None.
#define TARGET_ARCH_OPCODE_LIST(V) \ #define TARGET_ARCH_OPCODE_LIST(V) \
TARGET_ARCH_OPCODE_WITH_MEMORY_ACCESS_MODE_LIST(V) \
V(Mips64Add) \ V(Mips64Add) \
V(Mips64Dadd) \ V(Mips64Dadd) \
V(Mips64DaddOvf) \ V(Mips64DaddOvf) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment