Skip to content

Port asm tests to cg_gcc #839

Open
Open

Description

@antoyo
  • Handle CHECK annotations for cg_gcc.
  • Port tests/codegen-llvm/asm/.
  • Port tests/assembly-llvm/asm/

Activity

  1. harin-ramesh commented on Mar 14, 2026

    @harin-ramesh
    Contributor
  2. antoyo commented on Mar 14, 2026

    @antoyo
    ContributorAuthor

    Yes, it is those tests.

    Btw, sorry about not getting back to review your PRs yet, I'm still fairly busy.
    I should be able to get back to them in ~2 weeks.

  3. harin-ramesh commented on Apr 4, 2026

    @harin-ramesh
    Contributor

    I noticed that clobbers for registers such as x87 and MMX are currently being dropped.

    In src/asm.rs, the existing logic relies on supported_types to determine whether a register is valid for the target. However, these registers are clobber-only, they don’t support any data types. As a result, they get filtered out by the current check. Is this an expected an behavior.

    x => x.supported_types(asm_arch, true).iter().any(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions