Merge pull request #26 from aewag/develop

fix INNERMUL and PROPCARRY warnings for ARM inline asm
This commit is contained in:
Steffen Jaeckel 2021-02-19 20:42:34 +01:00 committed by GitHub
commit 7bfb903735
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -293,7 +293,7 @@ asm( \
" MOVCC %0,#0 \n\t" \ " MOVCC %0,#0 \n\t" \
" UMLAL r0,%0,%3,%4 \n\t" \ " UMLAL r0,%0,%3,%4 \n\t" \
" STR r0,%1 \n\t" \ " STR r0,%1 \n\t" \
:"=r"(cy),"=m"(_c[0]):"0"(cy),"r"(mu),"r"(*tmpm++),"1"(_c[0]):"r0","cc"); :"=r"(cy),"=m"(_c[0]):"0"(cy),"r"(mu),"r"(*tmpm++),"m"(_c[0]):"r0","cc");
#define PROPCARRY \ #define PROPCARRY \
asm( \ asm( \
@ -302,7 +302,7 @@ asm( \
" STR r0,%1 \n\t" \ " STR r0,%1 \n\t" \
" MOVCS %0,#1 \n\t" \ " MOVCS %0,#1 \n\t" \
" MOVCC %0,#0 \n\t" \ " MOVCC %0,#0 \n\t" \
:"=r"(cy),"=m"(_c[0]):"0"(cy),"1"(_c[0]):"r0","cc"); :"=r"(cy),"=m"(_c[0]):"0"(cy),"m"(_c[0]):"r0","cc");
/******************************************************************/ /******************************************************************/
#elif defined(TFM_PPC32) #elif defined(TFM_PPC32)