mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 03:22:43 +00:00 
			
		
		
		
	 2377344a89
			
		
	
	
		2377344a89
		
	
	
	
	
		
			
			This almost fully implements the SSE extension, similar to the x87 and MMX extensions, using a separate class "SoftVPU". Currently missing are all shadow and exception checks, as well as the denormals-are-zero and flush-to-zero flags. Also missing are some integer-SIMD functions.
		
			
				
	
	
		
			26 lines
		
	
	
	
		
			494 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
	
		
			494 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)
 | |
| 
 | |
| serenity_bin(UserspaceEmulator)
 | |
| target_link_libraries(UserspaceEmulator LibX86 LibDebug LibCore LibPthread LibLine)
 |