Skip to content
Snippets Groups Projects

x86inc: Support memory operands in src1 in 3-operand instructions

Merged Henrik Gramner requested to merge gramner/x264:x86inc_vex_mem_operands into master
  1. Aug 25, 2021
  2. Jun 14, 2021
    • Henrik Gramner's avatar
      x86inc: Support memory operands in src1 in 3-operand instructions · e73fc230
      Henrik Gramner authored
      Particularly in code that makes heavy use of macros it's possible
      to end up with 3-operand instructions with a memory operand in src1.
      In the case of SSE this works fine due to automatic move insertions,
      but in AVX that fails since memory operands are only allowed in src2.
      
      The main purpose of this feature is to minimize the amount of code
      changes required to facilitate conversion of existing SSE code to AVX.
      e73fc230
Loading