Skip to content

Logue SDK on Visual Studio Code - cannot enable the ARM neon instrinsics #139

@fedemone

Description

@fedemone

Hi there,

I'm an happy owner of a Drumlogue, and I'm currently working on a potential yet ambitious project (on the sparse free time I have, so it means that I'm really slow), which is the porting of a open source physical modelling plug-in called RipplerX (it's free + open and you can find that on github, I already contacted the owner and I had his explicit permission) on the ARM Neon environment of the Logue SDK.
That should make the drumlogue a completely new instrument, as it shall reproduce different instruments and model with a lot of customizable parameters.

I'm accustomed to C++ SW programming (I know some Assembler stuff, too) and I'm using Visual Studio Code on my personal laptop (Windows11) instead of the professional one that I use for work, but I'm not able to make the Neon Intrinsics visible to the CLang that's running on VSC.
VSC extensions are the C++ developments tool (with the CMake pakages), as well the ARM development ones. I have LLVM installed, git, WSL and other basic tools.
I put the various includes in the settings.json of the VSC, I filled the tasks.json with the command (especially with -march=armv7-a -mtune=cortex-a7 -marm -Os -flto -mfloat-abi=hard -mfpu=neon-vfpv4 part that's crucial for the ARM defines), I spent hours among documentation and stakoverflow discussions about setting up clang for ARM (including some manual defines) but yet I'm not able to make the e.g. float32_t types visible by the IDE, as

#ifndef __ARM_FP #error "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softp or -mfloat-abi=hard" #else

In the menatime I still work to the code, trying to exploit the vector intrinsics (I'm still studying those though) and to do some mathematical refactoring for some unoptimized code, but I really need to have VSC fully operational for finalizing this.

Currently the code is only local, but I'll be happy to share if anybody is interested in this. Please adive if you can.

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions