rust-x86asm icon indicating copy to clipboard operation
rust-x86asm copied to clipboard

Failed to disassemble `rex ucomisd %xmm0,%xmm0`

Open sunfishcode opened this issue 6 years ago • 1 comments

The following fails in x86asm 0.1.0:

    let buffer = Cursor::new([0x66, 0x40, 0x0f, 0x2e, 0xc0]);
    let mut reader = InstructionReader::new(buffer, Mode::Long);
    match reader.read() {
        Ok(_) => (),
        Err(e) => panic!("{:?}", e),
    }

This byte sequence represents the x64 instruction rex ucomisd %xmm0,%xmm0.

sunfishcode avatar Feb 28 '18 05:02 sunfishcode

Thanks, I'll take a look.

GregoryComer avatar Feb 28 '18 05:02 GregoryComer