mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
fa20edc44d
- Remove most __ASSEMBLER__ __LINKER__ ifdefs - Rename libc/intrin/bits.h to libc/serialize.h - Block pthread cancelation in fchmodat() polyfill - Remove `clang-format off` statements in third_party
18 lines
383 B
C
18 lines
383 B
C
#ifndef COSMOPOLITAN_DSP_CORE_C121_H_
|
|
#define COSMOPOLITAN_DSP_CORE_C121_H_
|
|
COSMOPOLITAN_C_START_
|
|
|
|
__funline unsigned char C121(unsigned char al, unsigned char bl,
|
|
unsigned char cl) {
|
|
unsigned short ax;
|
|
ax = al;
|
|
ax += bl;
|
|
ax += bl;
|
|
ax += cl;
|
|
ax += 2;
|
|
ax >>= 2;
|
|
return ax;
|
|
}
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* COSMOPOLITAN_DSP_CORE_C121_H_ */
|