[pulseaudio-commits] [Git][pulseaudio/webrtc-audio-processing][master] arch.h: Add RISC-V support

Arun Raghavan (@arun) gitlab at gitlab.freedesktop.org
Thu Jun 17 13:00:17 UTC 2021



Arun Raghavan pushed to branch master at PulseAudio / webrtc-audio-processing


Commits:
e47b68df by Zhaofeng Li at 2021-06-17T01:48:37+00:00
arch.h: Add RISC-V support

- - - - -


1 changed file:

- webrtc/rtc_base/system/arch.h


Changes:

=====================================
webrtc/rtc_base/system/arch.h
=====================================
@@ -27,6 +27,13 @@
 #define WEBRTC_ARCH_ARM_FAMILY
 #define WEBRTC_ARCH_64_BITS
 #define WEBRTC_ARCH_LITTLE_ENDIAN
+#elif defined(__riscv) || defined(__riscv__)
+#define WEBRTC_ARCH_LITTLE_ENDIAN
+#if __riscv_xlen == 64
+#define WEBRTC_ARCH_64_BITS
+#else
+#define WEBRTC_ARCH_32_BITS
+#endif
 #elif defined(_M_IX86) || defined(__i386__)
 #define WEBRTC_ARCH_X86_FAMILY
 #define WEBRTC_ARCH_X86



View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/commit/e47b68df57aacc511472a1d4af1838538156931a

-- 
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/commit/e47b68df57aacc511472a1d4af1838538156931a
You're receiving this email because of your account on gitlab.freedesktop.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20210617/2f189c0d/attachment.htm>


More information about the pulseaudio-commits mailing list