You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
480 B
23 lines
480 B
// SPDX-FileCopyrightText: Copyright (c) 2023 merryhime <https://mary.rs>
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
#pragma once
|
|
|
|
#include <optional>
|
|
|
|
#include "oaknut/feature_detection/cpu_feature.hpp"
|
|
#include "oaknut/feature_detection/id_registers.hpp"
|
|
|
|
namespace oaknut {
|
|
|
|
inline CpuFeatures detect_features()
|
|
{
|
|
return CpuFeatures{CpuFeature::FP, CpuFeature::ASIMD};
|
|
}
|
|
|
|
inline std::optional<id::IdRegisters> read_id_registers()
|
|
{
|
|
return std::nullopt;
|
|
}
|
|
|
|
} // namespace oaknut
|