Skip to content
  • sergei's avatar
    x86 assembler fixes: · d908fb42
    sergei authored
    * Factored repeating REX operations into a separate function.
    * Fixed instruction matching bug which was preventing compilation of 3-operand SIMD instructions with RIP-relative operand + test.
    * Do not adjust offset of RIP-relative reference if it is a literal number, this was causing 0x123(%rip) to assemble as 0x122(%rip) in 3-operand instructions. Now tasm2.pp is the same with and without -Aas. Also fixed the expected result, improved verbosity of diagnostic and removed %norun, so it is actually executed.
    + Disallow high-byte registers in instructions requiring REX + test.
    
    git-svn-id: trunk@17478 -
    d908fb42