Skip to content

john5934/Neuron_ASM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

PURPOSE: To compute the weighted sum of a neuron in a neural net.

These primitives are written in assembler for speed and can be called from C on Linux.

Parameters are passed in registers according to the Linux ABI standard, so any compatible C compiler should work.

The x86_64 version requires the NASM assembler.

The ARM64 version builds with the 'as' assembler available on Raspberry Pi OS.

In the C code comments, type 'f64' is a 64-bit floating-point value, and 'u32' is an unsigned 32-bit integer.

LICENSE: This code is released to the public domain. It is provided "as-is" without warranty of any kind.

Releases

No releases published

Packages

No packages published