Browse Source

Merge pull request #4688 from XiWeiGu/loongarch64_fixed_gcc14_compilation

loongarch64: Fixed GCC14 compilation issue
tags/v0.3.28^2
Martin Kroeker GitHub 2 years ago
parent
commit
e1e0d9a2ae
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      cpuid_loongarch64.c

+ 1
- 0
cpuid_loongarch64.c View File

@@ -33,6 +33,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#include <stdint.h>
#include <sys/auxv.h>
#include <stdio.h>

/* If LASX extension instructions supported,
* using core LOONGSON3R5


Loading…
Cancel
Save