Skip to content

ARM64 mode: inline assembler clobber registers are still wrongly reported as error #5381

@RSDuck

Description

@RSDuck

Type: LanguageService

Describe the bug

ARM64 registers in the clobber list of inline assembler statements are reported as errors, while x64 registers aren't.

Steps to reproduce
Set intellisenseMode to gcc-arm64 and paste the following code inside a file:

#include <arm_neon.h>
#include <stdint.h>

typedef int32_t s32;

void MatrixMult4x4(s32* m, s32* s)
{
    __asm__ volatile
    (
        :
        :
        : "q0", "x0", "w0", "eax"
    );
}

Expected behavior

It should be the other way around.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions