1.1 --- a/src/share/vm/runtime/sharedRuntimeTrig.cpp Mon Sep 08 12:35:01 2014 -0700 1.2 +++ b/src/share/vm/runtime/sharedRuntimeTrig.cpp Tue Aug 08 15:57:29 2017 +0800 1.3 @@ -22,6 +22,12 @@ 1.4 * 1.5 */ 1.6 1.7 +/* 1.8 + * This file has been modified by Loongson Technology in 2015. These 1.9 + * modifications are Copyright (c) 2015 Loongson Technology, and are made 1.10 + * available on the same license terms set forth above. 1.11 + */ 1.12 + 1.13 #include "precompiled.hpp" 1.14 #include "prims/jni.h" 1.15 #include "runtime/interfaceSupport.hpp" 1.16 @@ -590,6 +596,14 @@ 1.17 * then 3 2 1.18 * sin(x) = x + (S1*x + (x *(r-y/2)+y)) 1.19 */ 1.20 +#ifdef MIPS64 1.21 +#undef S1 1.22 +#undef S2 1.23 +#undef S3 1.24 +#undef S4 1.25 +#undef S5 1.26 +#undef S6 1.27 +#endif 1.28 1.29 static const double 1.30 S1 = -1.66666666666666324348e-01, /* 0xBFC55555, 0x55555549 */