@ -93,7 +93,7 @@ bool TranslatorVisitor::arm_LDR_imm(Cond cond, bool P, bool U, bool W, Reg n, Re
return UnpredictableInstruction ( ) ;
return UnpredictableInstruction ( ) ;
}
}
ASSERT_MSG ( ! ( ! P & & W ) , " T form of instruction unimplemented " ) ;
ASSERT ( ! ( ! P & & W ) & & " T form of instruction unimplemented " ) ;
if ( ( ! P | | W ) & & n = = t ) {
if ( ( ! P | | W ) & & n = = t ) {
return UnpredictableInstruction ( ) ;
return UnpredictableInstruction ( ) ;
}
}
@ -124,7 +124,7 @@ bool TranslatorVisitor::arm_LDR_imm(Cond cond, bool P, bool U, bool W, Reg n, Re
// LDR <Rt>, [<Rn>, #+/-<Rm>]{!}
// LDR <Rt>, [<Rn>, #+/-<Rm>]{!}
// LDR <Rt>, [<Rn>], #+/-<Rm>
// LDR <Rt>, [<Rn>], #+/-<Rm>
bool TranslatorVisitor : : arm_LDR_reg ( Cond cond , bool P , bool U , bool W , Reg n , Reg t , Imm < 5 > imm5 , ShiftType shift , Reg m ) {
bool TranslatorVisitor : : arm_LDR_reg ( Cond cond , bool P , bool U , bool W , Reg n , Reg t , Imm < 5 > imm5 , ShiftType shift , Reg m ) {
ASSERT_MSG ( ! ( ! P & & W ) , " T form of instruction unimplemented " ) ;
ASSERT ( ! ( ! P & & W ) & & " T form of instruction unimplemented " ) ;
if ( m = = Reg : : PC ) {
if ( m = = Reg : : PC ) {
return UnpredictableInstruction ( ) ;
return UnpredictableInstruction ( ) ;
}
}
@ -182,7 +182,7 @@ bool TranslatorVisitor::arm_LDRB_imm(Cond cond, bool P, bool U, bool W, Reg n, R
return UnpredictableInstruction ( ) ;
return UnpredictableInstruction ( ) ;
}
}
ASSERT_MSG ( ! ( ! P & & W ) , " T form of instruction unimplemented " ) ;
ASSERT ( ! ( ! P & & W ) & & " T form of instruction unimplemented " ) ;
if ( ( ! P | | W ) & & n = = t ) {
if ( ( ! P | | W ) & & n = = t ) {
return UnpredictableInstruction ( ) ;
return UnpredictableInstruction ( ) ;
}
}
@ -207,7 +207,7 @@ bool TranslatorVisitor::arm_LDRB_imm(Cond cond, bool P, bool U, bool W, Reg n, R
// LDRB <Rt>, [<Rn>, #+/-<Rm>]{!}
// LDRB <Rt>, [<Rn>, #+/-<Rm>]{!}
// LDRB <Rt>, [<Rn>], #+/-<Rm>
// LDRB <Rt>, [<Rn>], #+/-<Rm>
bool TranslatorVisitor : : arm_LDRB_reg ( Cond cond , bool P , bool U , bool W , Reg n , Reg t , Imm < 5 > imm5 , ShiftType shift , Reg m ) {
bool TranslatorVisitor : : arm_LDRB_reg ( Cond cond , bool P , bool U , bool W , Reg n , Reg t , Imm < 5 > imm5 , ShiftType shift , Reg m ) {
ASSERT_MSG ( ! ( ! P & & W ) , " T form of instruction unimplemented " ) ;
ASSERT ( ! ( ! P & & W ) & & " T form of instruction unimplemented " ) ;
if ( t = = Reg : : PC | | m = = Reg : : PC ) {
if ( t = = Reg : : PC | | m = = Reg : : PC ) {
return UnpredictableInstruction ( ) ;
return UnpredictableInstruction ( ) ;
}
}
@ -350,7 +350,7 @@ bool TranslatorVisitor::arm_LDRD_reg(Cond cond, bool P, bool U, bool W, Reg n, R
// LDRH <Rt>, [PC, #-/+<imm>]
// LDRH <Rt>, [PC, #-/+<imm>]
bool TranslatorVisitor : : arm_LDRH_lit ( Cond cond , bool P , bool U , bool W , Reg t , Imm < 4 > imm8a , Imm < 4 > imm8b ) {
bool TranslatorVisitor : : arm_LDRH_lit ( Cond cond , bool P , bool U , bool W , Reg t , Imm < 4 > imm8a , Imm < 4 > imm8b ) {
ASSERT_MSG ( ! ( ! P & & W ) , " T form of instruction unimplemented " ) ;
ASSERT ( ! ( ! P & & W ) & & " T form of instruction unimplemented " ) ;
if ( P = = W ) {
if ( P = = W ) {
return UnpredictableInstruction ( ) ;
return UnpredictableInstruction ( ) ;
}
}
@ -380,7 +380,7 @@ bool TranslatorVisitor::arm_LDRH_imm(Cond cond, bool P, bool U, bool W, Reg n, R
return UnpredictableInstruction ( ) ;
return UnpredictableInstruction ( ) ;
}
}
ASSERT_MSG ( ! ( ! P & & W ) , " T form of instruction unimplemented " ) ;
ASSERT ( ! ( ! P & & W ) & & " T form of instruction unimplemented " ) ;
if ( ( ! P | | W ) & & n = = t ) {
if ( ( ! P | | W ) & & n = = t ) {
return UnpredictableInstruction ( ) ;
return UnpredictableInstruction ( ) ;
}
}
@ -405,7 +405,7 @@ bool TranslatorVisitor::arm_LDRH_imm(Cond cond, bool P, bool U, bool W, Reg n, R
// LDRH <Rt>, [<Rn>, #+/-<Rm>]{!}
// LDRH <Rt>, [<Rn>, #+/-<Rm>]{!}
// LDRH <Rt>, [<Rn>], #+/-<Rm>
// LDRH <Rt>, [<Rn>], #+/-<Rm>
bool TranslatorVisitor : : arm_LDRH_reg ( Cond cond , bool P , bool U , bool W , Reg n , Reg t , Reg m ) {
bool TranslatorVisitor : : arm_LDRH_reg ( Cond cond , bool P , bool U , bool W , Reg n , Reg t , Reg m ) {
ASSERT_MSG ( ! ( ! P & & W ) , " T form of instruction unimplemented " ) ;
ASSERT ( ! ( ! P & & W ) & & " T form of instruction unimplemented " ) ;
if ( t = = Reg : : PC | | m = = Reg : : PC ) {
if ( t = = Reg : : PC | | m = = Reg : : PC ) {
return UnpredictableInstruction ( ) ;
return UnpredictableInstruction ( ) ;
}
}
@ -454,7 +454,7 @@ bool TranslatorVisitor::arm_LDRSB_imm(Cond cond, bool P, bool U, bool W, Reg n,
return UnpredictableInstruction ( ) ;
return UnpredictableInstruction ( ) ;
}
}
ASSERT_MSG ( ! ( ! P & & W ) , " T form of instruction unimplemented " ) ;
ASSERT ( ! ( ! P & & W ) & & " T form of instruction unimplemented " ) ;
if ( ( ! P | | W ) & & n = = t ) {
if ( ( ! P | | W ) & & n = = t ) {
return UnpredictableInstruction ( ) ;
return UnpredictableInstruction ( ) ;
}
}
@ -479,7 +479,7 @@ bool TranslatorVisitor::arm_LDRSB_imm(Cond cond, bool P, bool U, bool W, Reg n,
// LDRSB <Rt>, [<Rn>, #+/-<Rm>]{!}
// LDRSB <Rt>, [<Rn>, #+/-<Rm>]{!}
// LDRSB <Rt>, [<Rn>], #+/-<Rm>
// LDRSB <Rt>, [<Rn>], #+/-<Rm>
bool TranslatorVisitor : : arm_LDRSB_reg ( Cond cond , bool P , bool U , bool W , Reg n , Reg t , Reg m ) {
bool TranslatorVisitor : : arm_LDRSB_reg ( Cond cond , bool P , bool U , bool W , Reg n , Reg t , Reg m ) {
ASSERT_MSG ( ! ( ! P & & W ) , " T form of instruction unimplemented " ) ;
ASSERT ( ! ( ! P & & W ) & & " T form of instruction unimplemented " ) ;
if ( t = = Reg : : PC | | m = = Reg : : PC ) {
if ( t = = Reg : : PC | | m = = Reg : : PC ) {
return UnpredictableInstruction ( ) ;
return UnpredictableInstruction ( ) ;
}
}
@ -527,7 +527,7 @@ bool TranslatorVisitor::arm_LDRSH_imm(Cond cond, bool P, bool U, bool W, Reg n,
return UnpredictableInstruction ( ) ;
return UnpredictableInstruction ( ) ;
}
}
ASSERT_MSG ( ! ( ! P & & W ) , " T form of instruction unimplemented " ) ;
ASSERT ( ! ( ! P & & W ) & & " T form of instruction unimplemented " ) ;
if ( ( ! P | | W ) & & n = = t ) {
if ( ( ! P | | W ) & & n = = t ) {
return UnpredictableInstruction ( ) ;
return UnpredictableInstruction ( ) ;
}
}
@ -552,7 +552,7 @@ bool TranslatorVisitor::arm_LDRSH_imm(Cond cond, bool P, bool U, bool W, Reg n,
// LDRSH <Rt>, [<Rn>, #+/-<Rm>]{!}
// LDRSH <Rt>, [<Rn>, #+/-<Rm>]{!}
// LDRSH <Rt>, [<Rn>], #+/-<Rm>
// LDRSH <Rt>, [<Rn>], #+/-<Rm>
bool TranslatorVisitor : : arm_LDRSH_reg ( Cond cond , bool P , bool U , bool W , Reg n , Reg t , Reg m ) {
bool TranslatorVisitor : : arm_LDRSH_reg ( Cond cond , bool P , bool U , bool W , Reg n , Reg t , Reg m ) {
ASSERT_MSG ( ! ( ! P & & W ) , " T form of instruction unimplemented " ) ;
ASSERT ( ! ( ! P & & W ) & & " T form of instruction unimplemented " ) ;
if ( t = = Reg : : PC | | m = = Reg : : PC ) {
if ( t = = Reg : : PC | | m = = Reg : : PC ) {
return UnpredictableInstruction ( ) ;
return UnpredictableInstruction ( ) ;
}
}