We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello !
The input and return type of the signed saturate function ( __SSAT(ARG1,ARG2) ) is incorrect in the file : cores/teensy4/core_cmInstr.h
it should be int32_t, but it is declared as uin32_t like the __USAT function below.
Correct code :
#define __SSAT(ARG1,ARG2) \ ({ \ int32_t __RES, __ARG1 = (ARG1); \ __ASM ("ssat %0, %1, %2" : "=r" (__RES) : "I" (ARG2), "r" (__ARG1) ); \ __RES; \ })
Is this possible to correct it ?
Thanks.
The text was updated successfully, but these errors were encountered:
0753ac2
No branches or pull requests
Hello !
The input and return type of the signed saturate function ( __SSAT(ARG1,ARG2) ) is incorrect in the file : cores/teensy4/core_cmInstr.h
it should be int32_t, but it is declared as uin32_t like the __USAT function below.
Correct code :
#define __SSAT(ARG1,ARG2) \ ({ \ int32_t __RES, __ARG1 = (ARG1); \ __ASM ("ssat %0, %1, %2" : "=r" (__RES) : "I" (ARG2), "r" (__ARG1) ); \ __RES; \ })
Is this possible to correct it ?
Thanks.
The text was updated successfully, but these errors were encountered: