Commit 5f965c98 authored by Deepti Gandluri's avatar Deepti Gandluri Committed by Commit Bot

Rename Atomics64 logical binop macro

Change-Id: I554c028627c4032d7c47e8d6d6a6ed4e4a38d0a5
Reviewed-on: https://chromium-review.googlesource.com/1241474Reviewed-by: 's avatarBill Budge <bbudge@chromium.org>
Commit-Queue: Deepti Gandluri <gdeepti@chromium.org>
Cr-Commit-Position: refs/heads/master@{#56183}
parent 31228a69
...@@ -436,15 +436,15 @@ void ComputePoisonedAddressForLoad(CodeGenerator* codegen, ...@@ -436,15 +436,15 @@ void ComputePoisonedAddressForLoad(CodeGenerator* codegen,
__ dmb(ISH); \ __ dmb(ISH); \
} while (0) } while (0)
#define ASSEMBLE_ATOMIC64_LOGIC_BINOP(foo) \ #define ASSEMBLE_ATOMIC64_LOGIC_BINOP(instr) \
do { \ do { \
Label binop; \ Label binop; \
__ add(i.TempRegister(0), i.InputRegister(2), i.InputRegister(3)); \ __ add(i.TempRegister(0), i.InputRegister(2), i.InputRegister(3)); \
__ dmb(ISH); \ __ dmb(ISH); \
__ bind(&binop); \ __ bind(&binop); \
__ ldrexd(r2, r3, i.TempRegister(0)); \ __ ldrexd(r2, r3, i.TempRegister(0)); \
__ foo(i.TempRegister(1), r2, Operand(i.InputRegister(0))); \ __ instr(i.TempRegister(1), r2, Operand(i.InputRegister(0))); \
__ foo(i.TempRegister(2), r3, Operand(i.InputRegister(1))); \ __ instr(i.TempRegister(2), r3, Operand(i.InputRegister(1))); \
__ strexd(i.TempRegister(3), i.TempRegister(1), i.TempRegister(2), \ __ strexd(i.TempRegister(3), i.TempRegister(1), i.TempRegister(2), \
i.TempRegister(0)); \ i.TempRegister(0)); \
__ teq(i.TempRegister(3), Operand(0)); \ __ teq(i.TempRegister(3), Operand(0)); \
......
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