src/share/vm/runtime/sharedRuntimeTrig.cpp

changeset 7535
7ae4e26cb1e0
parent 7002
a073be2ce5c2
parent 6876
710a3c8b516e
child 9138
b56ab8e56604
     1.1 --- a/src/share/vm/runtime/sharedRuntimeTrig.cpp	Mon Mar 16 11:49:32 2015 -0700
     1.2 +++ b/src/share/vm/runtime/sharedRuntimeTrig.cpp	Thu Oct 12 21:27:07 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 @@ -534,6 +540,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 */

mercurial