gstreamer/gst/gstconfig.h.in: Add support for LoongArch
authorWANG Xuerui <xen0n@gentoo.org>
Wed, 18 May 2022 02:04:08 +0000 (10:04 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 18 May 2022 16:08:39 +0000 (16:08 +0000)
commitb6076d73949f291a077bfd80500512ac60c2b063
tree2d85462b2960035c916bc3180d3b3ef66ff64972
parent3296c678b3a639b4757b16b4e7ee1654754dceaf
gstreamer/gst/gstconfig.h.in: Add support for LoongArch

While current and future LoongArch machines that are supposed to run
GStreamer all support unaligned accesses, there might be future
lower-end cores (e.g. the embedded product line) without such support,
and we may not want to penalize these use cases.

So, mark LoongArch as not supporting unaligned accesses for now, and
hope the compilers do a good job optimizing them. We can always flip
switch later.

Suggested-by: CHEN Tao <redeast_cn@outlook.com>
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2443>
subprojects/gstreamer/gst/gstconfig.h.in