coprocessor: Use && instead of & with boolean arguments
This commit is contained in:
parent
2c9dcfa2db
commit
7639dfea51
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ bool ArmTranslatorVisitor::arm_LDC(Cond cond, bool p, bool u, bool d, bool w, Re
|
|||
const bool index = p;
|
||||
const bool add = u;
|
||||
const bool wback = w;
|
||||
const bool has_option = !p & !w & u;
|
||||
const bool has_option = !p && !w && u;
|
||||
|
||||
// LDC{2}{L} <coproc_no>, <CRd>, [<Rn>, #+/-<imm32>]{!}
|
||||
// LDC{2}{L} <coproc_no>, <CRd>, [<Rn>], #+/-<imm32>
|
||||
|
@ -130,7 +130,7 @@ bool ArmTranslatorVisitor::arm_STC(Cond cond, bool p, bool u, bool d, bool w, Re
|
|||
const bool index = p;
|
||||
const bool add = u;
|
||||
const bool wback = w;
|
||||
const bool has_option = !p & !w & u;
|
||||
const bool has_option = !p && !w && u;
|
||||
|
||||
// STC{2}{L} <coproc>, <CRd>, [<Rn>, #+/-<imm32>]{!}
|
||||
// STC{2}{L} <coproc>, <CRd>, [<Rn>], #+/-<imm32>
|
||||
|
|
Loading…
Reference in a new issue