2020-10-23 19:36:12 +00:00
|
|
|
// SPDX-FileCopyrightText: 2017 Google LLC
|
2020-08-21 12:43:04 +00:00
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
#ifndef CPU_FEATURES_TEST_HWCAPS_FOR_TESTING_H_
|
|
|
|
#define CPU_FEATURES_TEST_HWCAPS_FOR_TESTING_H_
|
|
|
|
|
|
|
|
#include "internal/hwcaps.h"
|
|
|
|
|
|
|
|
namespace cpu_features
|
|
|
|
{
|
|
|
|
void SetHardwareCapabilities(uint32_t hwcaps, uint32_t hwcaps2);
|
2021-07-25 12:09:03 +00:00
|
|
|
void SetPlatformPointer(const char* string);
|
|
|
|
void SetBasePlatformPointer(const char* string);
|
|
|
|
|
|
|
|
// To be called before each test.
|
|
|
|
void ResetHwcaps();
|
2020-08-21 12:43:04 +00:00
|
|
|
|
|
|
|
} // namespace cpu_features
|
|
|
|
|
|
|
|
#endif // CPU_FEATURES_TEST_HWCAPS_FOR_TESTING_H_
|