[Issue 10226] core.simd bad codegen

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 3 09:46:26 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10226


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #5 from bearophile_hugs at eml.cc 2013-06-03 09:46:24 PDT ---
(In reply to comment #3)

> On modern processors unaligned loads come at almost no penalty, and it is a lot
> easier to use unaligned loads within a highly optimized functions compared to
> making all the data in the whole project 16 byte aligned and use aligned loads.

If this is true then is it worth reducing the smallest allocation size of the D
garbage collector from 16 bytes to 8 bytes and reduce the alignment to 8 bytes?
This saves some memory when you allocate many small objects, like small tree
nodes.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list