cosmopolitan/dsp/core/c121s.h
Justine Tunney fa20edc44d
Reduce header complexity
- 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
2023-11-28 14:39:42 -08:00

15 lines
299 B
C

#ifndef COSMOPOLITAN_DSP_CORE_C121S_H_
#define COSMOPOLITAN_DSP_CORE_C121S_H_
__funline signed char C121S(signed char al, signed char bl, signed char cl) {
short ax;
ax = al;
ax += bl;
ax += bl;
ax += cl;
ax += 2;
ax >>= 2;
return ax;
}
#endif /* COSMOPOLITAN_DSP_CORE_C121S_H_ */