Skip to content

AArch64: Extend support for different loop variants #332

@hanno-becker

Description

@hanno-becker

The AArch64 model currently only supports a very limited set of loop forms. To expand the range of programs that SLOTHY can be applied to without major modification, we should expand this.

For concrete examples, see the loop forms used in the assembly routines here: https://github.com/intel/isa-l/tree/master/erasure_code/aarch64

For example:

add     cnt, cnt, #128        # Increment position counter
...
cmp     cnt, threshold                  # Compare position vs length
ble     LABEL                       # Branch if less or equal (signed)

or

ldr/str   ..., [cnt], #128        # Increment position counter
...
cmp     cnt, threshold              # Compare position vs length
ble     LABEL                # Branch if less or equal (signed)

where threshold is fixed in either case.

@dop-amin How would you approach this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions