Skip to content
  • sergei's avatar
    x86_64 assembler reader improvements: · f97f223d
    sergei authored
    + Added new value TAttSuffix.attsufINTdual, assigned it to movsX and movzX instructions
    * Moved suffix-to-size translation tables from rax86att.pas to itcpugas.pas
    + Added x86_64 specific suffix-to-size translation, enabling BQ and WQ suffixes (LQ seems unnecessary at the moment)
    * Fixed logic of tx86attreader.is_asmopcode so it only assigns dual suffix to instructions that explicitly allow it. This disambiguates cases like movsbq=movs+bq vs. cmovbq=cmovb+q
    * As a net result: movz[bw]q and movs[bw]q now compile for x86_64; cmovbw and cmovbl which were incorrectly handled for i386 are now fixed.
    + Test for correct assembling of cmov.
    
    git-svn-id: trunk@17353 -
    f97f223d