mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-07 03:38:31 +00:00
Make some minor fixups to bug reporting, etc.
This commit is contained in:
parent
84764ce7b8
commit
3f015b1e51
31 changed files with 244 additions and 134 deletions
31
libc/nexgen32e/ktensindex.S
Normal file
31
libc/nexgen32e/ktensindex.S
Normal file
|
@ -0,0 +1,31 @@
|
|||
/*-*- mode:unix-assembly; indent-tabs-mode:t; tab-width:8; coding:utf-8 -*-│
|
||||
│vi: set et ft=asm ts=8 tw=8 fenc=utf-8 :vi│
|
||||
╞══════════════════════════════════════════════════════════════════════════════╡
|
||||
│ Copyright 2022 Justine Alexandra Roberts Tunney │
|
||||
│ │
|
||||
│ Permission to use, copy, modify, and/or distribute this software for │
|
||||
│ any purpose with or without fee is hereby granted, provided that the │
|
||||
│ above copyright notice and this permission notice appear in all copies. │
|
||||
│ │
|
||||
│ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │
|
||||
│ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │
|
||||
│ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │
|
||||
│ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │
|
||||
│ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │
|
||||
│ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │
|
||||
│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │
|
||||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/macros.internal.h"
|
||||
|
||||
.rodata
|
||||
kTensIndex:
|
||||
.byte 0, 0, 0, 1, 1, 1, 2, 2
|
||||
.byte 2, 3, 3, 3, 3, 4, 4, 4
|
||||
.byte 5, 5, 5, 6, 6, 6, 6, 7
|
||||
.byte 7, 7, 8, 8, 8, 9, 9, 9
|
||||
.byte 10, 10, 10, 11, 11, 11, 12, 12
|
||||
.byte 12, 12, 13, 13, 13, 14, 14, 14
|
||||
.byte 15, 15, 15, 15, 16, 16, 16, 17
|
||||
.byte 17, 17, 18, 18, 18, 18, 19, 19
|
||||
.endfn kTensIndex,globl
|
|
@ -5,6 +5,7 @@ COSMOPOLITAN_C_START_
|
|||
|
||||
extern long kHalfCache3;
|
||||
extern const uint64_t kTens[20];
|
||||
extern const unsigned char kTensIndex[64];
|
||||
|
||||
void imapxlatab(void *);
|
||||
void insertionsort(int32_t *, size_t);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue