Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

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.

Activity

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