]> begriffs open source - cmsis/commit
GCC: SSAT and USAT need asm volatile
authorKevin Bracey <kevin.bracey@arm.com>
Fri, 11 Jan 2019 10:23:24 +0000 (12:23 +0200)
committerJonatan Antoni <jonatan.antoni@arm.com>
Tue, 30 Jul 2019 14:47:32 +0000 (16:47 +0200)
commite047ca44962ea7320d6807113d4cc5e4b228a49b
treee98c9e2e558d9a14d1ccae1c836a4a3ea22e5e87
parentd0fe4e7baa35996248af239d0480041ff1086812
GCC: SSAT and USAT need asm volatile

Both SSAT and USAT modify the Q flag, so need something to order them
with respect to reads of the PSR. Add `volatile`, matching SADD8 et al.

Also SSAT16 and USAT16.

Change-Id: Ia2a5669609fd9533ccedc8dbdae791ec5d86b054
CMSIS/Core/Include/cmsis_gcc.h
CMSIS/Core_A/Include/cmsis_gcc.h