maxfy1992 / asfermi

assembler for NVIDIA FERMI. Imported from Google Code

Home Page:http://code.google.com/p/asfermi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

asfermi: An assembler for the NVIDIA Fermi Instruction Set


Note: entire project imported from Google Code. This project is no longer actively maintained, and the wiki is pretty much broken on GitHub.


asfermi is an assembler for the NVIDIA Fermi ISA. It can output assembled kernels directly into cubin files (an ELF format file that NVIDIA uses to store its machine code), or it can be used to modify existing cubin kernels. Currently around 70 instructions are supported. asfermi works on both 32-bit and 64-bit platforms.

Fermi is NVIDIA's current-generation Graphics Processing Unit (GPU) architecture (as of 2011). NVIDIA does not disclose much of the detail of its current architecture. While NVIDIA provides an assembly-like language, PTX, for the use in CUDA, PTX is actually treated as a high-level language that is compiled and optimized with ptxas. As a result, direct access to the hardware using real opcodes is not available. With this assembler, real opcodes can be directly generated on a one-to-one basis from instruction. Aided with this direct means of interaction, hopefully all the important details of the GF1xx architecture may be uncovered, so that the knowledge may be used for more accurate optimization on the Fermi (and later generations of) GPUs.

Keywords: CUDA, Fermi, Assembler

Documentation: For a list of the wiki pages and their brief descriptions, see Index.

Recent Edit

  • Some interesting discussion has taken place in the asfermi Google Group. You can browse through the discussions to find out more.
  • Updates: Last updated: 13th Jan: mmarc__ contributed a patch to make asfermi callable as a library
  • Plan: Updated to-dos.
  • FAQ: FAQ for coding
  • KnownIssues
  • S2R_Test: contains some preliminary result of the instruction scheduling pattern
  • LEPC_Test
  • CodeExample: code samples

Current Development State

All must-have instructions are now supported. A branch libasfermi has been added.

For more information regarding the state of asfermi, see Updates.


Other information:

Fermi's instruction set is half-disclosed through the disassembler, cuobjdump, provided by NVIDIA in CUDA toolkit 4.0. Instruction names are roughly included in the cuobjdump.pdf of the toolkit's documentation.

A disassembler(decuda) and an assembler(cudasm) for the G80 ISA can be found here.

A paper that reveals the details of the GT200 architecture: Demystifying GPU architecture through Microbenchmarking

About

assembler for NVIDIA FERMI. Imported from Google Code

http://code.google.com/p/asfermi


Languages

Language:C++ 92.0%Language:C 8.0%