Hi,
  Thanks for your interest and reply.
>Do you by chance know which C-#ifdef protects code for this
>architecture? (E.g. on alpha this is __alpha__)
To define LoongArch target, you can use the __loongarch__.
If you want to use other C/C++ preprocessor macros related to the LoongArch architecture,
please visit LoongArch-toolchain-conventions Documentation [1].

[1]:https://loongson.github.io/LoongArch-Documentation/LoongArch-toolchain-conventions-EN.html#_cc_preprocessor_built_in_macro_definitions

thanks,
Dandan Zhang

Reply via email to