Browse Source

Keep apple clang 11.0.3 from trying to optimize this (and running out of registers)

tags/v0.3.10^2
Martin Kroeker GitHub 5 years ago
parent
commit
54fa90fb25
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      kernel/x86_64/sgemm_kernel_16x4_skylakex.c

+ 3
- 0
kernel/x86_64/sgemm_kernel_16x4_skylakex.c View File

@@ -24,6 +24,9 @@ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
**********************************************************************************/
#if defined(__apple_build_version__) && __clang_major__ == 11 && __clang_minor__ == 0 && __clang_patchlevel__ == 3
#pragma clang optimize off
#endif


/* comment below left for history, data does not represent the implementation in this file */


Loading…
Cancel
Save