mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Fix Clang support
The amalgamated release is now confirmed to be working with Clang, including its integrated assembler. Fixes #41
This commit is contained in:
parent
e06c90fafc
commit
d7733579d3
103 changed files with 384 additions and 359 deletions
|
@ -40,12 +40,12 @@ TEST(crc32c, test) {
|
|||
strlen(hyperion) - strlen(FANATICS)));
|
||||
}
|
||||
|
||||
FIXTURE(crc32c, pure) {
|
||||
*(void **)(&crc32c) = (void *)crc32c$pure;
|
||||
FIXTURE(crc32c, pure_) {
|
||||
*(void **)(&crc32c) = (void *)crc32c_pure;
|
||||
}
|
||||
|
||||
FIXTURE(crc32c, sse42) {
|
||||
FIXTURE(crc32c, sse42_) {
|
||||
if (X86_HAVE(SSE4_2)) {
|
||||
*(void **)(&crc32c) = (void *)crc32c$sse42;
|
||||
*(void **)(&crc32c) = (void *)crc32c_sse42;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue