Menu

#6 Problem with encoding of instructions

open
nobody
None
5
2005-03-08
2005-03-08
Anonymous
No

I'm not that good with x86 asm, but the following seens
to be a valid statement:

mov edx, dword ptr[esi - 4]

Using the intrinsics equivalent makes Softwire die a
horrible death by throwing INTERNAL_ERROR in
Synthesizer::encodeRegField (Synthesizer.cpp):

mov(edx, dword_ptr[esi - 4]);

Discussion

  • Nicolas Capens

    Nicolas Capens - 2005-03-09

    Logged In: YES
    user_id=628186

    Hi, I tested that code and it did not fail on my system. Are
    you using the latest release? On what line in
    Synthesizer.cpp does the exception get thrown? Thanks.

     
  • Rodrigo Kumpera

    Rodrigo Kumpera - 2005-03-10

    Logged In: YES
    user_id=952

    I'm using winXP, cygwin and gcc 3.4.1 and softwire 4.6.2.

    The stack trace is something like this:

    Synthesizer::encodeInstruction(const Instruction *instruction)
    case EFF_ADDR:
    Synthesizer::encodeRegField
    last else

    I would not count off cygwin weirdness.

     

Log in to post a comment.

MongoDB Logo MongoDB