Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » What does SSE2 usage enhance?
Re: What does SSE2 usage enhance? [message #39684 is a reply to message #39682] Wed, 17 April 2013 11:17 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
crydev wrote on Wed, 17 April 2013 04:54

Thanks Mirek for your reply. Does that mean a SSE enabled version of functions as memcpy() can be used in U++? Or can I assume that by enabling SSE2 in the compiler flags automatically enables a SSE2 enabled version of memcpy? I think the Windows stock function is fairly slow.



SSE2 flag is likely to have no impact on memcpy. If it is emitted as function call (not intrinsics), it is likely that the function is SSE2 optimized anyway. For intrinsics, SSE2 code is way too complicated.

The main difference is in code using FP arithmetics: without SSE2, it is using x87 FP stack, with SSE2 it is using XMM register file, which is potentially faster.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: What does !! in e.g. FtpClient class mean?
Next Topic: Stripping U++
Goto Forum:
  


Current Time: Tue May 14 03:12:54 CEST 2024

Total time taken to generate the page: 0.02453 seconds