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

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

Issue 1287173004: Make FlushICache NOP for Nvidia Denver 1.0 only (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@lkgr
Patch Set: Created 5 years, 4 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 | « no previous file | src/arm64/assembler-arm64.cc » ('j') | src/arm64/assembler-arm64.cc » ('J')
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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 // ARM Cortex-A9 and Cortex-A5 have 32 byte cachelines. 119 // ARM Cortex-A9 and Cortex-A5 have 32 byte cachelines.
120 if (cpu.implementer() == base::CPU::ARM && 120 if (cpu.implementer() == base::CPU::ARM &&
121 (cpu.part() == base::CPU::ARM_CORTEX_A5 || 121 (cpu.part() == base::CPU::ARM_CORTEX_A5 ||
122 cpu.part() == base::CPU::ARM_CORTEX_A9)) { 122 cpu.part() == base::CPU::ARM_CORTEX_A9)) {
123 cache_line_size_ = 32; 123 cache_line_size_ = 32;
124 } 124 }
125 125
126 if (FLAG_enable_32dregs && cpu.has_vfp3_d32()) supported_ |= 1u << VFP32DREGS; 126 if (FLAG_enable_32dregs && cpu.has_vfp3_d32()) supported_ |= 1u << VFP32DREGS;
127 127
128 if (cpu.implementer() == base::CPU::NVIDIA && 128 if (cpu.implementer() == base::CPU::NVIDIA &&
129 cpu.variant() == base::CPU::NVIDIA_DENVER) { 129 cpu.variant() == base::CPU::NVIDIA_DENVER &&
Rodolph Perfetta (ARM) 2015/08/19 08:19:27 same as arm64
Srikumar 2015/08/19 17:33:28 As mentioned by Alex on the other comment, cpu.imp
130 cpu.part() <= base::CPU::NVIDIA_DENVER_V10) {
130 supported_ |= 1u << COHERENT_CACHE; 131 supported_ |= 1u << COHERENT_CACHE;
131 } 132 }
132 #endif 133 #endif
133 134
134 DCHECK(!IsSupported(VFP3) || IsSupported(ARMv7)); 135 DCHECK(!IsSupported(VFP3) || IsSupported(ARMv7));
135 } 136 }
136 137
137 138
138 void CpuFeatures::PrintTarget() { 139 void CpuFeatures::PrintTarget() {
139 const char* arm_arch = NULL; 140 const char* arm_arch = NULL;
(...skipping 3856 matching lines...) Expand 10 before | Expand all | Expand 10 after
3996 DCHECK(is_uint12(offset)); 3997 DCHECK(is_uint12(offset));
3997 instr_at_put(pc, SetLdrRegisterImmediateOffset(instr, offset)); 3998 instr_at_put(pc, SetLdrRegisterImmediateOffset(instr, offset));
3998 } 3999 }
3999 } 4000 }
4000 4001
4001 4002
4002 } // namespace internal 4003 } // namespace internal
4003 } // namespace v8 4004 } // namespace v8
4004 4005
4005 #endif // V8_TARGET_ARCH_ARM 4006 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm64/assembler-arm64.cc » ('j') | src/arm64/assembler-arm64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698