mirror of
https://github.com/azahar-emu/dynarmic
synced 2025-11-09 00:20:01 +01:00
emit_x64_vector_floating_point: ChooseOnFsize arguments maybe_unused
This commit is contained in:
parent
04f325a05e
commit
2ef59b4f03
@ -29,7 +29,7 @@ using namespace Xbyak::util;
|
|||||||
namespace mp = Common::mp;
|
namespace mp = Common::mp;
|
||||||
|
|
||||||
template<size_t fsize, typename T>
|
template<size_t fsize, typename T>
|
||||||
static T ChooseOnFsize(T f32, T f64) {
|
static T ChooseOnFsize([[maybe_unused]] T f32, [[maybe_unused]] T f64) {
|
||||||
static_assert(fsize == 32 || fsize == 64, "fsize must be either 32 or 64");
|
static_assert(fsize == 32 || fsize == 64, "fsize must be either 32 or 64");
|
||||||
|
|
||||||
if constexpr (fsize == 32) {
|
if constexpr (fsize == 32) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user