Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(241)

Side by Side Diff: src/x64/code-stubs-x64.cc

Issue 6760027: Revert "Made test.py not mention the defunct --crankshaft flag." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/x64/assembler-x64.cc ('k') | src/x64/deoptimizer-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 2943 matching lines...) Expand 10 before | Expand all | Expand 10 after
2954 GenerateConvertHashCodeToIndex(masm, scratch, mask); 2954 GenerateConvertHashCodeToIndex(masm, scratch, mask);
2955 2955
2956 Register index = scratch; 2956 Register index = scratch;
2957 Register probe = mask; 2957 Register probe = mask;
2958 __ movq(probe, 2958 __ movq(probe,
2959 FieldOperand(number_string_cache, 2959 FieldOperand(number_string_cache,
2960 index, 2960 index,
2961 times_1, 2961 times_1,
2962 FixedArray::kHeaderSize)); 2962 FixedArray::kHeaderSize));
2963 __ JumpIfSmi(probe, not_found); 2963 __ JumpIfSmi(probe, not_found);
2964 ASSERT(CpuFeatures::IsSupported(SSE2));
2965 CpuFeatures::Scope fscope(SSE2);
2964 __ movsd(xmm0, FieldOperand(object, HeapNumber::kValueOffset)); 2966 __ movsd(xmm0, FieldOperand(object, HeapNumber::kValueOffset));
2965 __ movsd(xmm1, FieldOperand(probe, HeapNumber::kValueOffset)); 2967 __ movsd(xmm1, FieldOperand(probe, HeapNumber::kValueOffset));
2966 __ ucomisd(xmm0, xmm1); 2968 __ ucomisd(xmm0, xmm1);
2967 __ j(parity_even, not_found); // Bail out if NaN is involved. 2969 __ j(parity_even, not_found); // Bail out if NaN is involved.
2968 __ j(not_equal, not_found); // The cache did not contain this value. 2970 __ j(not_equal, not_found); // The cache did not contain this value.
2969 __ jmp(&load_result_from_cache); 2971 __ jmp(&load_result_from_cache);
2970 } 2972 }
2971 2973
2972 __ bind(&is_smi); 2974 __ bind(&is_smi);
2973 __ SmiToInteger32(scratch, object); 2975 __ SmiToInteger32(scratch, object);
(...skipping 2149 matching lines...) Expand 10 before | Expand all | Expand 10 after
5123 // Do a tail call to the rewritten stub. 5125 // Do a tail call to the rewritten stub.
5124 __ jmp(rdi); 5126 __ jmp(rdi);
5125 } 5127 }
5126 5128
5127 5129
5128 #undef __ 5130 #undef __
5129 5131
5130 } } // namespace v8::internal 5132 } } // namespace v8::internal
5131 5133
5132 #endif // V8_TARGET_ARCH_X64 5134 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/assembler-x64.cc ('k') | src/x64/deoptimizer-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698