mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 14:45:08 +00:00

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)
26 lines
510 B
CMake
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)
|