Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
P parabix-devel
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • sla489
  • parabix-devel
  • Merge requests
  • !2

Merged
Created Jun 28, 2024 by sla489@sla489Maintainer

Improve pack

  • Overview 0
  • Commits 6
  • Pipelines 1
  • Changes 1

Reimplements hsimd_packh and hsimd_packl in terms of the uzp1 and uzp2 NEON instructions. The commit history shows some other approaches I tried. It appears that the uzp implementation performs the best.

I think the saturating versions of hsimd_packl (hsimd_packus and hsimd_packss) should also be given a once-over, but I don't believe we'll be able to use uzp instructions as they don't saturate the values. Instead, we should use uqxtn and sqxtn. The existing implmentation of hsimd_packus does this already, but it could be expanded for fw >= 16 && fw <= 64. I will make a note of that when I make a list of functions to update, but thought it was worth mentioning here.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: improve_pack