Commits

Carl Friedrich Bolz committed 0336b72

treat ADC like ADD

  • Participants
  • Parent commits 033e861
  • Branches int-tag-untag-as-operations

Comments (0)

Files changed (1)

File rpython/jit/backend/x86/test/test_rx86_32_auto_encoding.py

             return result
         else:
             # special cases
-            if methname in ('ADD_ri', 'AND_ri', 'CMP_ri', 'OR_ri',
+            if methname in ('ADD_ri', 'ADC_ri', 'AND_ri', 'CMP_ri', 'OR_ri',
                             'SUB_ri', 'XOR_ri', 'SBB_ri'):
                 if args[0] == rx86.R.eax:
                     return []  # ADD EAX, constant: there is a special encoding