16 lines
549 B
C
16 lines
549 B
C
#ifndef COSMOPOLITAN_LIBC_INTRIN_PHADDSW_H_
|
|
#define COSMOPOLITAN_LIBC_INTRIN_PHADDSW_H_
|
|
#include "libc/intrin/macros.h"
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
COSMOPOLITAN_C_START_
|
|
|
|
void phaddsw(int16_t[8], const int16_t[8], const int16_t[8]);
|
|
|
|
#define phaddsw(A, B, C) \
|
|
INTRIN_SSEVEX_X_X_X_(phaddsw, SSSE3, "phaddsw", INTRIN_NONCOMMUTATIVE, A, B, \
|
|
C)
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
#endif /* COSMOPOLITAN_LIBC_INTRIN_PHADDSW_H_ */
|