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

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

Issue 1308403010: Version 4.5.103.30 (cherry-pick) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@4.5
Patch Set: Created 5 years, 3 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
« no previous file with comments | « include/v8-version.h ('k') | src/arm64/assembler-arm64.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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 // ARM Cortex-A9 and Cortex-A5 have 32 byte cachelines. 121 // ARM Cortex-A9 and Cortex-A5 have 32 byte cachelines.
122 if (cpu.implementer() == base::CPU::ARM && 122 if (cpu.implementer() == base::CPU::ARM &&
123 (cpu.part() == base::CPU::ARM_CORTEX_A5 || 123 (cpu.part() == base::CPU::ARM_CORTEX_A5 ||
124 cpu.part() == base::CPU::ARM_CORTEX_A9)) { 124 cpu.part() == base::CPU::ARM_CORTEX_A9)) {
125 cache_line_size_ = 32; 125 cache_line_size_ = 32;
126 } 126 }
127 127
128 if (FLAG_enable_32dregs && cpu.has_vfp3_d32()) supported_ |= 1u << VFP32DREGS; 128 if (FLAG_enable_32dregs && cpu.has_vfp3_d32()) supported_ |= 1u << VFP32DREGS;
129 129
130 if (cpu.implementer() == base::CPU::NVIDIA && 130 if (cpu.implementer() == base::CPU::NVIDIA &&
131 cpu.variant() == base::CPU::NVIDIA_DENVER) { 131 cpu.variant() == base::CPU::NVIDIA_DENVER &&
132 cpu.part() <= base::CPU::NVIDIA_DENVER_V10) {
132 supported_ |= 1u << COHERENT_CACHE; 133 supported_ |= 1u << COHERENT_CACHE;
133 } 134 }
134 #endif 135 #endif
135 136
136 DCHECK(!IsSupported(VFP3) || IsSupported(ARMv7)); 137 DCHECK(!IsSupported(VFP3) || IsSupported(ARMv7));
137 } 138 }
138 139
139 140
140 void CpuFeatures::PrintTarget() { 141 void CpuFeatures::PrintTarget() {
141 const char* arm_arch = NULL; 142 const char* arm_arch = NULL;
(...skipping 3839 matching lines...) Expand 10 before | Expand all | Expand 10 after
3981 DCHECK(is_uint12(offset)); 3982 DCHECK(is_uint12(offset));
3982 instr_at_put(pc, SetLdrRegisterImmediateOffset(instr, offset)); 3983 instr_at_put(pc, SetLdrRegisterImmediateOffset(instr, offset));
3983 } 3984 }
3984 } 3985 }
3985 3986
3986 3987
3987 } // namespace internal 3988 } // namespace internal
3988 } // namespace v8 3989 } // namespace v8
3989 3990
3990 #endif // V8_TARGET_ARCH_ARM 3991 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « include/v8-version.h ('k') | src/arm64/assembler-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698