CMSIS-DSP icon indicating copy to clipboard operation
CMSIS-DSP copied to clipboard

aarch64 support

Open christophe0606 opened this issue 2 years ago • 2 comments

Some build issues reported for cortex-a76 / cortex-a55:

qsub intrinsics not supported. But the CMSIS Core_A/Include has not compilation flag to disable the definition of intrinsics like qsub.

In arm_max_f32 and arm_min_f32:

/home/sandal/CMSIS_5_BK/CMSIS/DSP/Source/StatisticsFunctions/arm_max_f32.c:168:24: warning: conversion from ‘long unsigned int’ to ‘uint32_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to
4294967295’ [-Woverflow]
  168 |   maxIdx = vdupq_n_u32(ULONG_MAX);

ULONG_MAX is 32 bits so I don't understand why the value is 64 bits according to the compiler.

christophe0606 avatar Jun 29 '22 05:06 christophe0606

ULONG_MAX in both places need to replace with UINT32_MAX

ua1arn avatar Sep 14 '22 17:09 ua1arn

@ua1arn Thanks. Already done in a recent update :-)

christophe0606 avatar Sep 15 '22 05:09 christophe0606