base64-amd64-avx512vbmi

Encode and decode Base64 data using AVX512 VBMI instructions on AMD64 processors.

16|Updated Nov 1, 2023
One-click install
npx skills add https://github.com/emmansun/base64 --skill base64-amd64-avx512vbmi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: base64-amd64-avx512vbmi
Source: https://github.com/emmansun/base64/tree/main/.github/skills/base64-amd64-avx512vbmi
Command: npx skills add https://github.com/emmansun/base64 --skill base64-amd64-avx512vbmi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill optimizes Base64 encoding and decoding operations on AMD64 processors by leveraging advanced AVX512 VBMI SIMD instructions, significantly speeding up these common data transformation tasks.

Core Features & Use Cases

  • SIMD Acceleration: Implements highly optimized assembly code for Base64 using AVX512 VBMI instructions (VPERMB, VPMULTISHIFTQB, VPERMI2B).
  • Runtime CPU Detection: Automatically selects the fastest available SIMD path based on CPU capabilities.
  • Compatibility: Maintains the same public API as Go's standard encoding/base64.
  • Use Case: When processing large amounts of data that require Base64 encoding or decoding in performance-critical applications on modern Intel/AMD CPUs.

Quick Start

Use the base64-amd64-avx512vbmi skill to encode the byte slice 'hello world' using standard Base64 encoding.