Skip to content

Latest commit

 

History

History
60 lines (35 loc) · 3.18 KB

README.md

File metadata and controls

60 lines (35 loc) · 3.18 KB

deoplete-asm

CircleCI Releases GA

deoplete.nvim source for Assembly based by google/EXEgesis.

Overview

deoplete-asm provides the Assembly code completion for deoplete.nvim.

The completion candidate is acquired from protobuf binary data. That human-readable text is instructions_transformed.pbtxt.

Google's EXEgesis project aims to improve code generation in compilers, via:

  • Providing machine-readable lists of instructions for hardware vendors and microarchitectures.
  • Inferring latencies and µOps scheduling for each instruction/microarchitecture pair.
  • Providing tools for debugging the performance of code based on this data.

EXEgesis parses and dump protobuf format binary from Intel x86-64 instruction set reference manual:

Support architectures

See google/EXEgesis/README.md#whats-next

  • Intel x86-64

Config

g:deoplete#sources#asm#go_mode

If set 1, Use Go Plan9 assembly mode.
Let's try test edit testdata/cpuid_amd64.s with 1.

Update protobuf binary

just make dump_protobuf.
Required docker engine. See also Dockerfile.

TODO

  • Support registers