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++ » External resources » Software optimization resources
Re: Software optimization resources [message #30530 is a reply to message #30523] Thu, 06 January 2011 22:52 Go to previous messageGo to previous message
Didier is currently offline  Didier
Messages: 728
Registered: November 2008
Location: France
Contributor
Hi Novo,

I haven't tried the samples you are talking about but for special assembler functions to work (SSE, or whatever, ....) the memory has to be aligned on 4 bytes or 64 bytes or 128 bytes or more maybe.
The alignement depends on the assembler instructions used.

If the memory is not aligned correctly either you get bad results or just poor execution timings.

Maybe this is what happens in you're case
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Bit Twiddling Hacks
Next Topic: C++ Resyntaxed
Goto Forum:
  


Current Time: Sat Jun 07 07:14:29 CEST 2025

Total time taken to generate the page: 0.04638 seconds