X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=folly%2Ftest%2FCpuIdTest.cpp;h=dbab554c9e2863b718ff90ca40fd0711b02a6312;hb=e229101b0e2fc1d9ccfbcb10be991cb62e19d32d;hp=ed6bcd1eb03cf52cb60da4d711513c60b6584430;hpb=ce64f0f685111ac24c7a321ea56d0c3524621df1;p=folly.git diff --git a/folly/test/CpuIdTest.cpp b/folly/test/CpuIdTest.cpp index ed6bcd1e..dbab554c 100644 --- a/folly/test/CpuIdTest.cpp +++ b/folly/test/CpuIdTest.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2014 Facebook, Inc. + * Copyright 2017-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,14 +16,12 @@ #include -#include -#include +#include using namespace folly; TEST(CpuId, Simple) { - // All CPUs should support MMX CpuId id; - EXPECT_TRUE(id.mmx()); + // All x64 CPUs should support MMX + EXPECT_EQ(kIsArchAmd64, id.mmx()); } -