Skip to content

Alignment 16 for Vec3f for better simd instructions? #27

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;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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