/*
- * Copyright 2017 Facebook, Inc.
+ * Copyright 2012-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.
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());
}