Skip to content

Remove asm-text "normalization" from cstest #2467

@Rot127

Description

@Rot127

Feature

  • New architecture module
  • Support for processor extension
  • Add more instruction details (elaborated below)
  • Binding support for: language
  • Other (elaborated below)

Describe the feature you'd like

The previous cstest "normalized` the asm string. It removes spaces, replaces tabs, replaces hex with decimal and converts negative numbers to their two's complement positive version.

The last point is very problematic, because we no longer detect incorrect assembly output.

I had to move it into the new cstest, because otherwise too many test cases fail. But this should be removed for all auto-sync architectures.

Additional context

Functions I had to move in suite/cstest/src/helper.c

Metadata

Metadata

Assignees

No one assigned

    Labels

    TestingTest related issuebugSomething is not working as it should

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions