1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 14:45:08 +00:00
serenity/Userland/DevTools/UserspaceEmulator/CMakeLists.txt
Hendiadyoin1 6c41267dcf UserspaceEmulator: Delegate rounding to the actual hardware
This also makes us a bit more accurate, due to better rounding of
intermediate results.

This also gives us the flush-to-zero and denormals-are-zero SSE settings
for free! (Assuming UE is build with SSE)
2022-05-07 20:27:05 +02:00

26 lines
510 B
CMake

serenity_component(
UserspaceEmulator
RECOMMENDED
TARGETS UserspaceEmulator
)
set(SOURCES
Emulator.cpp
Emulator_syscalls.cpp
MallocTracer.cpp
MmapRegion.cpp
Range.cpp
RangeAllocator.cpp
Region.cpp
SimpleRegion.cpp
SoftCPU.cpp
SoftFPU.cpp
SoftMMU.cpp
SoftVPU.cpp
main.cpp
)
add_compile_options(-mmmx -Wno-psabi -frounding-math)
serenity_bin(UserspaceEmulator)
target_link_libraries(UserspaceEmulator LibX86 LibDebug LibCore LibPthread LibLine)