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 #39694 is a reply to message #39691] Thu, 18 April 2013 06:34 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 16:04

mirek wrote on Wed, 17 April 2013 11:20

crydev wrote on Wed, 17 April 2013 04:54


p.s. My situation is copying blocks of 1~8 bytes very fast and very frequently in a loop. I have a chunk of memory which I loop though. Say my loop index currently is in the middle of my memory chunk, than it copies 4 bytes from the current index.


BTW, you might have a look at SVO_MEMCPY.


Thanks Mirek for your suggestion. I tried it but that one is actually a lot slower than the conventional memcpy. I stepped through the ASM though and it seems that the default memcpy is already partially optimzed for SSE2.


Are you really copying just 1-8 bytes? For such small amounts and unaligned data, SSE2 is IMO meaningless.

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 19:50:51 CEST 2024

Total time taken to generate the page: 0.02189 seconds