mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-25 03:00:49 +01:00
I forgot that we actually need this to match arm64 behaviour on x86. Implement the pseudocodefor the instruction.
10 lines
213 B
C++
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);
|
|
}
|