Skip to content

PowerPC regressions in v5.0 #2087

Closed
Closed
@wargio

Description

@wargio
  1. The ppc_op_crx are not being set in capstone v5 (this applies for X.crx.reg and for X.crx.cond).

The issue is linked to these lines:

  1. XORI sometimes is marked as XNOR even if is not XORI r0, r0, 0
  2. Some instructions are correctly decoded and their fields are wrongly set:
  • Prints rldicl but is set as PPC_INS_CLRLDI.
  • Prints rlwinm but is set as PPC_INS_CLRLWI.
  • Prints cmpw but is set as PPC_INS_CMP
  • Prints cmpd but is set as PPC_INS_CMP
  • Prints cmplw but is set as PPC_INS_CMPL
  • Prints cmpld but is set as PPC_INS_CMPL
  • Prints cmpwi but is set as PPC_INS_CMPI
  • Prints cmpdi but is set as PPC_INS_CMPI
  • Prints cmplwi but is set as PPC_INS_CMPLI
  • Prints cmpldi but is set as PPC_INS_CMPLI

Metadata

Metadata

Assignees

No one assigned

    Labels

    PowerPCArchbugSomething is not working as it shouldwontfix

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions