diff options
author | 2019-01-29 22:35:43 +0000 | |
---|---|---|
committer | 2019-01-29 22:35:43 +0000 | |
commit | 64bb0428c690670660f6397e66ca194e512556ae (patch) | |
tree | 9897a6785a6c40cf0bb4f0b680a49cb4ea433f49 /lib/libcompiler_rt/cpu_model.c | |
parent | replace some archaic quotes with plain variations. (diff) | |
download | wireguard-openbsd-64bb0428c690670660f6397e66ca194e512556ae.tar.xz wireguard-openbsd-64bb0428c690670660f6397e66ca194e512556ae.zip |
Update compiler-rt to 7.0.1. This is mostly a cosmetic update since
most changes are guarded behind WIN32 or GCC ifdefs. The functional
change is in emutls and AMD model checking.
ok kettenis@
Diffstat (limited to 'lib/libcompiler_rt/cpu_model.c')
-rw-r--r-- | lib/libcompiler_rt/cpu_model.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcompiler_rt/cpu_model.c b/lib/libcompiler_rt/cpu_model.c index 4c96e9cd85d..43b913390fc 100644 --- a/lib/libcompiler_rt/cpu_model.c +++ b/lib/libcompiler_rt/cpu_model.c @@ -416,9 +416,9 @@ static void getAMDProcessorTypeAndSubtype(unsigned Family, unsigned Model, *Subtype = AMDFAM15H_BDVER3; break; // "bdver3"; 30h-3Fh: Steamroller } - if (Model >= 0x10 && Model <= 0x1f) { + if ((Model >= 0x10 && Model <= 0x1f) || Model == 0x02) { *Subtype = AMDFAM15H_BDVER2; - break; // "bdver2"; 10h-1Fh: Piledriver + break; // "bdver2"; 02h, 10h-1Fh: Piledriver } if (Model <= 0x0f) { *Subtype = AMDFAM15H_BDVER1; |