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

Side by Side Diff: src/ia32/assembler-ia32.cc

Issue 11428137: ARM: Make use of d16-d31 when available. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase Created 7 years, 11 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/ia32/assembler-ia32.h ('k') | src/lithium-allocator.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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 // ----------------------------------------------------------------------------- 48 // -----------------------------------------------------------------------------
49 // Implementation of CpuFeatures 49 // Implementation of CpuFeatures
50 50
51 #ifdef DEBUG 51 #ifdef DEBUG
52 bool CpuFeatures::initialized_ = false; 52 bool CpuFeatures::initialized_ = false;
53 #endif 53 #endif
54 uint64_t CpuFeatures::supported_ = 0; 54 uint64_t CpuFeatures::supported_ = 0;
55 uint64_t CpuFeatures::found_by_runtime_probing_ = 0; 55 uint64_t CpuFeatures::found_by_runtime_probing_ = 0;
56 56
57 57
58 ExternalReference ExternalReference::cpu_features() {
59 ASSERT(CpuFeatures::initialized_);
60 return ExternalReference(&CpuFeatures::supported_);
61 }
62
63
58 int IntelDoubleRegister::NumAllocatableRegisters() { 64 int IntelDoubleRegister::NumAllocatableRegisters() {
59 if (CpuFeatures::IsSupported(SSE2)) { 65 if (CpuFeatures::IsSupported(SSE2)) {
60 return XMMRegister::kNumAllocatableRegisters; 66 return XMMRegister::kNumAllocatableRegisters;
61 } else { 67 } else {
62 return X87TopOfStackRegister::kNumAllocatableRegisters; 68 return X87TopOfStackRegister::kNumAllocatableRegisters;
63 } 69 }
64 } 70 }
65 71
66 72
67 int IntelDoubleRegister::NumRegisters() { 73 int IntelDoubleRegister::NumRegisters() {
(...skipping 2613 matching lines...) Expand 10 before | Expand all | Expand 10 after
2681 fprintf(coverage_log, "%s\n", file_line); 2687 fprintf(coverage_log, "%s\n", file_line);
2682 fflush(coverage_log); 2688 fflush(coverage_log);
2683 } 2689 }
2684 } 2690 }
2685 2691
2686 #endif 2692 #endif
2687 2693
2688 } } // namespace v8::internal 2694 } } // namespace v8::internal
2689 2695
2690 #endif // V8_TARGET_ARCH_IA32 2696 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32.h ('k') | src/lithium-allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698