summaryrefslogtreecommitdiff
path: root/deps/v8/test/cctest/test-icache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/cctest/test-icache.cc')
-rw-r--r--deps/v8/test/cctest/test-icache.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/deps/v8/test/cctest/test-icache.cc b/deps/v8/test/cctest/test-icache.cc
index f68789df2c..be7f846d86 100644
--- a/deps/v8/test/cctest/test-icache.cc
+++ b/deps/v8/test/cctest/test-icache.cc
@@ -56,6 +56,10 @@ static void FloodWithInc(Isolate* isolate, TestingAssemblerBuffer* buffer) {
for (int i = 0; i < kNumInstr; ++i) {
__ Addu(v0, v0, Operand(1));
}
+#elif V8_TARGET_ARCH_LOONG64
+ for (int i = 0; i < kNumInstr; ++i) {
+ __ Add_w(a0, a0, Operand(1));
+ }
#elif V8_TARGET_ARCH_PPC || V8_TARGET_ARCH_PPC64
for (int i = 0; i < kNumInstr; ++i) {
__ addi(r3, r3, Operand(1));