mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-23 11:00:31 +00:00
Improve documentation
The Cosmo API documentation page is pretty good now https://justine.lol/cosmopolitan/documentation.html
This commit is contained in:
parent
13437dd19b
commit
1bc3a25505
367 changed files with 2542 additions and 26178 deletions
|
@ -21,10 +21,6 @@
|
|||
|
||||
/ Finds lowest set bit in word.
|
||||
/
|
||||
/ @param edi is the input number
|
||||
/ @return number in range [1,32] or 0 if no bits set
|
||||
/ @see also treasure trove of nearly identical functions
|
||||
/
|
||||
/ uint32 𝑥 bsf(𝑥) tzcnt(𝑥) ffs(𝑥) bsr(𝑥) lzcnt(𝑥)
|
||||
/ 0x00000000 wut 32 0 wut 32
|
||||
/ 0x00000001 0 0 1 0 31
|
||||
|
@ -35,6 +31,9 @@
|
|||
/ 0x08000000 27 27 28 27 4
|
||||
/ 0xffffffff 0 0 1 31 0
|
||||
/
|
||||
/ @param edi is the input number
|
||||
/ @return number in range [1,32] or 0 if no bits set
|
||||
/ @see also treasure trove of nearly identical functions
|
||||
/ @asyncsignalsafe
|
||||
ffs: .leafprologue
|
||||
.profilable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue