File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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.)
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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,
You can’t perform that action at this time.
0 commit comments