< prev index next >

src/cpu/x86/vm/macroAssembler_x86_tan.cpp

Print this page




1043   subq(rcx, r8);
1044   sbbq(r11, r10);
1045   sbbq(rbx, r9);
1046   movq(r8, rcx);
1047   movq(r10, r11);
1048   movq(r9, rbx);
1049   movl(rbx, 32768);
1050   shrq(rdi, 2);
1051   addl(rdi, 1073741824);
1052   jmp(L_2TAG_PACKET_8_0_1);
1053 
1054   bind(L_2TAG_PACKET_4_0_1);
1055   movq(xmm0, Address(rsp, 8));
1056   mulsd(xmm0, ExternalAddress(NEG_ZERO));    //0x00000000UL, 0x80000000UL
1057   movq(Address(rsp, 0), xmm0);
1058 
1059   bind(L_2TAG_PACKET_14_0_1);
1060 
1061   bind(B1_4);
1062   addq(rsp, 16);
1063 
1064 }
1065 #else
1066 // The 32 bit code is at most SSE2 compliant
1067 ALIGNED_(16) jushort _TP[] =
1068 {
1069     0x4cd6, 0xaf6c, 0xc710, 0xc662, 0xbffd, 0x0000, 0x4b06, 0xb0ac, 0xd3b2, 0xcc2c,
1070     0x3ff9, 0x0000, 0x00e3, 0xc850, 0xaa28, 0x9533, 0xbff3, 0x0000, 0x2ff0, 0x466d,
1071     0x1a3b, 0xb266, 0x3fe5, 0x0000
1072 };
1073 
1074 ALIGNED_(16) jushort _TQ[] =
1075 {
1076     0x399c, 0x8391, 0x154c, 0x94ca, 0xbfff, 0x0000, 0xb6a3, 0xc36a, 0x44e2, 0x8a2c,
1077     0x3ffe, 0x0000, 0xb70f, 0xd068, 0xa6ce, 0xe9dd, 0xbff9, 0x0000, 0x820f, 0x51ce,
1078     0x7d76, 0x9bff, 0x3ff3, 0x0000
1079 };
1080 
1081 ALIGNED_(16) jushort _GP[] =
1082 {
1083     0xaaab, 0xaaaa, 0xaaaa, 0xaaaa, 0xbffd, 0x0000, 0xb62f, 0x0b60, 0x60b6, 0xb60b,




1043   subq(rcx, r8);
1044   sbbq(r11, r10);
1045   sbbq(rbx, r9);
1046   movq(r8, rcx);
1047   movq(r10, r11);
1048   movq(r9, rbx);
1049   movl(rbx, 32768);
1050   shrq(rdi, 2);
1051   addl(rdi, 1073741824);
1052   jmp(L_2TAG_PACKET_8_0_1);
1053 
1054   bind(L_2TAG_PACKET_4_0_1);
1055   movq(xmm0, Address(rsp, 8));
1056   mulsd(xmm0, ExternalAddress(NEG_ZERO));    //0x00000000UL, 0x80000000UL
1057   movq(Address(rsp, 0), xmm0);
1058 
1059   bind(L_2TAG_PACKET_14_0_1);
1060 
1061   bind(B1_4);
1062   addq(rsp, 16);
1063   pop(rbx);
1064 }
1065 #else
1066 // The 32 bit code is at most SSE2 compliant
1067 ALIGNED_(16) jushort _TP[] =
1068 {
1069     0x4cd6, 0xaf6c, 0xc710, 0xc662, 0xbffd, 0x0000, 0x4b06, 0xb0ac, 0xd3b2, 0xcc2c,
1070     0x3ff9, 0x0000, 0x00e3, 0xc850, 0xaa28, 0x9533, 0xbff3, 0x0000, 0x2ff0, 0x466d,
1071     0x1a3b, 0xb266, 0x3fe5, 0x0000
1072 };
1073 
1074 ALIGNED_(16) jushort _TQ[] =
1075 {
1076     0x399c, 0x8391, 0x154c, 0x94ca, 0xbfff, 0x0000, 0xb6a3, 0xc36a, 0x44e2, 0x8a2c,
1077     0x3ffe, 0x0000, 0xb70f, 0xd068, 0xa6ce, 0xe9dd, 0xbff9, 0x0000, 0x820f, 0x51ce,
1078     0x7d76, 0x9bff, 0x3ff3, 0x0000
1079 };
1080 
1081 ALIGNED_(16) jushort _GP[] =
1082 {
1083     0xaaab, 0xaaaa, 0xaaaa, 0xaaaa, 0xbffd, 0x0000, 0xb62f, 0x0b60, 0x60b6, 0xb60b,


< prev index next >