Files
Ryan Houdek 17ebb38ebd FEXCore/Utils: Make crc32 match between architectures
I forgot that we actually need this to match arm64 behaviour on x86.
Implement the pseudocodefor the instruction.
2026-09-15 14:21:08 -07:00

10 lines
213 B
C++

// SPDX-License-Identifier: MIT
#include <catch2/catch_all.hpp>
#include "Utils/crc32.h"
TEST_CASE("Simple") {
uint32_t data = 0x41424344U;
CHECK(FEXCore::Utils::crc32(&data, sizeof(data)) == 0xa53ea072);
}