]> begriffs open source - cmsis/commit
Revert "Core(M): Added memory clobbers to get_PRIMASK on GCC to prevent (erroneous...
authorKevin Bracey <kevin.bracey@arm.com>
Thu, 17 Jan 2019 14:19:40 +0000 (16:19 +0200)
committerJonatan Antoni <jonatan.antoni@arm.com>
Tue, 30 Jul 2019 14:28:06 +0000 (16:28 +0200)
commitb542d48f3aa13bac12991de4cad235038ab2d2d3
tree1df81935e54467912898c3c1616b56bf512044a5
parent6c0cf7f4c6bdd01975b0b2163f75e3297a14398e
Revert "Core(M): Added memory clobbers to get_PRIMASK on GCC to prevent (erroneous) instruction reordering. [Issue #261]"

GCC bug was fixed in October 2017 - change went to GCC 6.5, 7.3 and 8.1.

Remove the unnecessary memory clobbers to improve optimisation, on the
assumption that people will have updated their compilers.

This reverts commit 6261e0c956188bf51065b84e6edfe5ffda2c87e7.

Change-Id: I0e6fff7910c8cdc0d50176cabc9c03369083ebe2
CMSIS/Core/Include/cmsis_gcc.h