Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexfernandez/building-efficient-software
Companion repo for the talk "Building Efficient Software"
https://github.com/alexfernandez/building-efficient-software
Last synced: about 1 month ago
JSON representation
Companion repo for the talk "Building Efficient Software"
- Host: GitHub
- URL: https://github.com/alexfernandez/building-efficient-software
- Owner: alexfernandez
- License: mit
- Created: 2018-02-16T16:11:50.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-13T11:00:03.000Z (over 6 years ago)
- Last Synced: 2024-11-24T18:38:54.902Z (about 1 month ago)
- Language: JavaScript
- Size: 41 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# building-efficient-software
Companion repo for the talk "Building Efficient Software".
## Optimization
Function multiplyTrivial32:
2 movq move quad word
2 shrq shift right quad-word
1 testb compare with byte?
1 jnz jump not zero
1 shll shift left long?
2 movzxwl move ? long?
1 sarl shift arithmetically right long?
3 imull multiply long
2 addl add long
1 shrl shift right long?Function multiplyMagic 32:
3 movq move quad word
2 shrq shift right quad-word
1 testb compare with byte?
1 jnz jump not zero
2 movzxwl move ? long?
1 andl and long?
2 imull multiply long
1 jo jump overflow
1 leal load effective address