mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
7e0a09feec
This change ports APE Loader to Linux AARCH64, so that Raspberry Pi users can run programs like redbean, without the executable needing to modify itself. Progress has also slipped into this change on the issue of making progress better conforming to user expectations and industry standards regarding which symbols we're allowed to declare
12 lines
427 B
C
12 lines
427 B
C
#ifndef COSMOPOLITAN_THIRD_PARTY_MBEDTLS_SELECT_H_
|
|
#define COSMOPOLITAN_THIRD_PARTY_MBEDTLS_SELECT_H_
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
COSMOPOLITAN_C_START_
|
|
|
|
static inline uint64_t Select(uint64_t a, uint64_t b, uint64_t mask) {
|
|
return (__conceal("r", mask) & a) | (__conceal("r", ~mask) & b);
|
|
}
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
#endif /* COSMOPOLITAN_THIRD_PARTY_MBEDTLS_SELECT_H_ */
|