E43C Use AVX2 · Issue #11 · tinygraph/tinygraph · GitHub
[go: up one dir, main page]

Skip to content

Use AVX2 #11

@daniel-j-h

Description

@daniel-j-h

AVX2 is available for ~7ish years by now in processors; we should take it for granted by now and use it.

Use it to speed up mem copies, finds, bitsets operations, etc.

Requires

  • -march= flag in cflags
  • -mavx2 and related flags in cflags
  • intrinsics header and avx2 implementation
  • thinking about runtime dispatch vs ifdef'ing it out at compile-time vs always requiring avx2

Requires benchmarks first #7

Ideas

  • linear scan / binary search / exponential search / interpolating search: start here
  • all pair shortest path (matrix multiplication): start here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0