Skip to content

Commit f9a0a16

Browse files
srikumarbCommit bot
authored andcommitted
Version 4.5.103.30 (cherry-pick)
Merged 434a291 Make FlushICache NOP for Nvidia Denver 1.0 only R=bmeurer@chromium.org, rodolph.perfetta@arm.com BUG=v8:4398 NOTRY=true NOPRESUBMIT=true Review URL: https://codereview.chromium.org/1308403010 Cr-Commit-Position: refs/branch-heads/4.5@{#32} Cr-Branched-From: 7f21153-refs/heads/4.5.103@{#1} Cr-Branched-From: 4b38c15-refs/heads/master@{#29527}
1 parent 64f2877 commit f9a0a16

4 files changed

Lines changed: 8 additions & 3 deletions

File tree

include/v8-version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#define V8_MAJOR_VERSION 4
1212
#define V8_MINOR_VERSION 5
1313
#define V8_BUILD_NUMBER 103
14-
#define V8_PATCH_LEVEL 29
14+
#define V8_PATCH_LEVEL 30
1515

1616
// Use 1 for candidates and 0 otherwise.
1717
// (Boolean macro values are not supported by all preprocessors.)

src/arm/assembler-arm.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ void CpuFeatures::ProbeImpl(bool cross_compile) {
128128
if (FLAG_enable_32dregs && cpu.has_vfp3_d32()) supported_ |= 1u << VFP32DREGS;
129129

130130
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) {
132133
supported_ |= 1u << COHERENT_CACHE;
133134
}
134135
#endif

src/arm64/assembler-arm64.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ void CpuFeatures::ProbeImpl(bool cross_compile) {
5353
// Probe for runtime features
5454
base::CPU cpu;
5555
if (cpu.implementer() == base::CPU::NVIDIA &&
56-
cpu.variant() == base::CPU::NVIDIA_DENVER) {
56+
cpu.variant() == base::CPU::NVIDIA_DENVER &&
57+
cpu.part() <= base::CPU::NVIDIA_DENVER_V10) {
5758
supported_ |= 1u << COHERENT_CACHE;
5859
}
5960
}

src/base/cpu.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ class CPU final {
5959
static const int ARM_CORTEX_A12 = 0xc0c;
6060
static const int ARM_CORTEX_A15 = 0xc0f;
6161

62+
// Denver-specific part code
63+
static const int NVIDIA_DENVER_V10 = 0x002;
64+
6265
// PPC-specific part codes
6366
enum {
6467
PPC_POWER5,

0 commit comments

Comments
 (0)