Commit 97473f49 authored by Vasili Skurydzin's avatar Vasili Skurydzin Committed by Commit Bot

ppc: Allow passing r0 as a second argument to instructions in

PPC_X_OPCODE_D_FORM_LIST.

Change-Id: Ia4fbe3f81bdc8569f7b168c11362e3d99c1d2188
Reviewed-on: https://chromium-review.googlesource.com/1181646Reviewed-by: 's avatarJunliang Yan <jyan@ca.ibm.com>
Commit-Queue: Junliang Yan <jyan@ca.ibm.com>
Cr-Commit-Position: refs/heads/master@{#55238}
parent 454f19e6
...@@ -660,7 +660,6 @@ class Assembler : public AssemblerBase { ...@@ -660,7 +660,6 @@ class Assembler : public AssemblerBase {
template <class R> \ template <class R> \
inline void name(const R rt, const Register ra, const Register rb, \ inline void name(const R rt, const Register ra, const Register rb, \
const RCBit rc = LeaveRC) { \ const RCBit rc = LeaveRC) { \
DCHECK(ra != r0); \
x_form(instr_name, rt.code(), ra.code(), rb.code(), rc); \ x_form(instr_name, rt.code(), ra.code(), rb.code(), rc); \
} \ } \
template <class R> \ template <class R> \
......
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