///////////
static bool isStringOperation(const MCInst &Inst) {
switch (Inst.getOpcode()) {
case X86::CMPSB:
case X86::CMPSW:
case X86::CMPSL:
case X86::CMPSQ:
case X86::MOVSB:
case X86::MOVSW:
case X86::MOVSL:
case X86::MOVSQ:
case X86::STOSB:
case X86::STOSW:
case X86::STOSL:
case X86::STOSQ:
return true; /// no scas
}
return false;
}
/////////////////
--
You received this message because you are subscribed to the Google Groups "Native-Client-Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to native-client-di...@googlegroups.com.
To post to this group, send email to native-cli...@googlegroups.com.
Visit this group at http://groups.google.com/group/native-client-discuss.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to native-client-discuss+unsub...@googlegroups.com.
yeah !I understand your idea , but why nacl don't support scas ?can it break out ?, I didn't find a way...
To unsubscribe from this group and stop receiving emails from it, send an email to native-client-di...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to native-client-di...@googlegroups.com.
To post to this group, send email to native-cli...@googlegroups.com.
Visit this group at http://groups.google.com/group/native-client-discuss.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Native-Client-Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to native-client-di...@googlegroups.com.
I haven't done any advanced stuff at all.What about Chrome Store, what about Android Storeso tablets can run it when they are unused and charging?
On Tue, Nov 17, 2015 at 6:06 AM, KnoooW <3n4...@gmail.com> wrote:yeah !I understand your idea , but why nacl don't support scas ?can it break out ?, I didn't find a way...scas is supported on NaCl, I have no idea why it's not supported by PNaCl LLVM...
It's not regular instruction thus it's forbidden in src/trusted/validator_ragel/instruction_definitions/general_purpose_instructions.def, but allowed as part of "superinstruction" in src/trusted/validator_ragel/validator_x86_64.rl - it's the same approach as with all other string instructions: movs, lods, cmps, maskmovdqu...