mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 08:12:28 +00:00
Make progress towards aarch64 build
This commit is contained in:
parent
08ff26c817
commit
ca2860947f
15428 changed files with 25694 additions and 23138 deletions
|
@ -17,7 +17,6 @@
|
|||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/intrin/bits.h"
|
||||
#include "libc/intrin/initializer.internal.h"
|
||||
#include "libc/macros.internal.h"
|
||||
#include "libc/math.h"
|
||||
#include "tool/viz/lib/graphic.h"
|
||||
|
@ -97,12 +96,10 @@ static const uint8_t kPerm[] = {
|
|||
180,
|
||||
};
|
||||
|
||||
static nooptimize textstartup void init(void) {
|
||||
__attribute__((__constructor__)) static void init(void) {
|
||||
unsigned i;
|
||||
for (i = 0; i < 256; ++i) {
|
||||
perm[i] = kPerm[i];
|
||||
perm[i + 256] = kPerm[i];
|
||||
}
|
||||
}
|
||||
|
||||
INITIALIZER(400, _init_perlin3, init());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue