Skip to content

Alignment 16 for Vec3f for better simd instructions? #27

@RicoP

Description

@RicoP

I was wondering could a explicit alignment attribute for Vec3f improve code generation for SIMD instructions?

#ifdef _WIN32
__declspec(align(16))
#else
__attribute__ ((aligned (16)))
#endif
typedef Vec<3, float>          Vec3f;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions