From 9f15f43462e05c2da6eb848c28ebca0a0af0eed5 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 5 Feb 2005 23:41:32 +0000 Subject: [PATCH] disable inline assembly; it makes assumptions about compiler flags that we don't want to meet --- stepmania/src/crypto51/integer.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/stepmania/src/crypto51/integer.cpp b/stepmania/src/crypto51/integer.cpp index a305cabf23..1acb431149 100644 --- a/stepmania/src/crypto51/integer.cpp +++ b/stepmania/src/crypto51/integer.cpp @@ -606,6 +606,12 @@ void Portable::Multiply8Bottom(word *R, const word *A, const word *B) #undef SquAcc #undef SaveSquAcc +/* Disable inline assembly. The x86 gcc code assumes -momit-leaf-frame-pointer; + * I don't want to use that since it hinders production debugging. We don't use + * this crypto in any performance-critical way, so this isn't really important. */ +typedef Portable LowLevel; + +#if 0 // CodeWarrior defines _MSC_VER #if defined(_MSC_VER) && !defined(__MWERKS__) && defined(_M_IX86) && (_M_IX86<=700) @@ -1763,6 +1769,7 @@ inline void AlphaOptimized::Multiply4Bottom(word *R, const word *A, const word * typedef Portable LowLevel; +#endif #endif // ********************************************************