search for: cmpss

Displaying 3 results from an estimated 3 matches for "cmpss".

Did you mean: mpss
2014 Dec 26
2
[LLVMdev] X86 disassembler & assembler mismatch
...t; -triple=x86_64 --output-asm-variant=1 >> .text >> <stdin>:1:1: warning: invalid instruction encoding >> 0x0f,0xc2,0xca,0x17 >> > > i am trying to figure out why this bug happens. according to the code in > X86DisassemblerDecoder.cpp, the last operand of CMPSS is checked against > TYPE_IMM5 (to be in the range [0, 31]), but i cannot find this TYPE_IMM5 > value anywhere in the definition of CMPSS, as below. > can somebody please enlighten me? > > thanks! > > // sse12_cmp_packed - sse 1 & 2 compare packed instructions > multicla...
2014 Dec 26
2
[LLVMdev] X86 disassembler & assembler mismatch
hi, some instructions mismatch between assembler & disassembler, like below. it seems this happens with all SSECC related instructions? thanks, Jun $ echo "cmpps xmm1, xmm2, 23" | ./Release+Asserts/bin/llvm-mc -assemble -triple=x86_64 --output-asm-variant=1 -x86-asm-syntax=intel -show-encoding .text cmpps xmm1, xmm2, 23 # encoding: [0x0f,0xc2,0xca,0x17] $
2010 Jun 21
2
[LLVMdev] MC: Object file specific parsing
...- ExtraImmOp = MCConstantExpr::Create(SSEComparisonCode, - getParser().getContext()); + ExtraImmOp = MCConstantExpr::Create(SSEComparisonCode, Parser->getContext()); if (PatchedName.endswith("ss")) { PatchedName = "cmpss"; } else if (PatchedName.endswith("sd")) { @@ -698,13 +759,13 @@ ParseInstruction(const StringRef &Name, SMLoc NameLoc, if (ExtraImmOp) Operands.push_back(X86Operand::CreateImm(ExtraImmOp, NameLoc, NameLoc)); - if (getLexer().isNot(AsmToken::EndOfStatement)) { +...