mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-03 17:58:30 +00:00
Add glob and some finer tuning of documentation
This commit is contained in:
parent
799e24a87b
commit
d51409ccd9
77 changed files with 1321 additions and 736 deletions
2
third_party/xed/x86ild.greg.c
vendored
2
third_party/xed/x86ild.greg.c
vendored
|
@ -1229,7 +1229,7 @@ privileged static void xed_decode_instruction_length(
|
|||
*
|
||||
* @return d->decoded_length is byte length, or 1 w/ error code
|
||||
* @note binary footprint increases ~4kb if this is used
|
||||
* @see cf. biggest thing in tensorflow, gdb, clang, etc. binaries
|
||||
* @see biggest code in gdb/clang/tensorflow binaries
|
||||
*/
|
||||
privileged enum XedError xed_instruction_length_decode(
|
||||
struct XedDecodedInst *xedd, const uint8_t *itext, const size_t bytes) {
|
||||
|
|
22
third_party/xed/x86tab.S
vendored
22
third_party/xed/x86tab.S
vendored
|
@ -1,25 +1,25 @@
|
|||
/*-*- mode:unix-assembly; indent-tabs-mode:t; tab-width:8; coding:utf-8 -*-│
|
||||
│vi: set et ft=asm ts=8 sw=8 fenc=utf-8 :vi│
|
||||
╞══════════════════════════════════════════════════════════════════════════════╡
|
||||
│ Copyright 2018 Intel Corporation │
|
||||
│ Copyright 2020 Justine Alexandra Roberts Tunney │
|
||||
│ │
|
||||
│ This program is free software; you can redistribute it and/or modify │
|
||||
│ it under the terms of the GNU General Public License as published by │
|
||||
│ the Free Software Foundation; version 2 of the License. │
|
||||
│ Licensed under the Apache License, Version 2.0 (the "License"); │
|
||||
│ you may not use this file except in compliance with the License. │
|
||||
│ You may obtain a copy of the License at │
|
||||
│ │
|
||||
│ This program is distributed in the hope that it will be useful, but │
|
||||
│ WITHOUT ANY WARRANTY; without even the implied warranty of │
|
||||
│ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU │
|
||||
│ General Public License for more details. │
|
||||
│ http://www.apache.org/licenses/LICENSE-2.0 │
|
||||
│ │
|
||||
│ You should have received a copy of the GNU General Public License │
|
||||
│ along with this program; if not, write to the Free Software │
|
||||
│ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA │
|
||||
│ 02110-1301 USA │
|
||||
│ Unless required by applicable law or agreed to in writing, software │
|
||||
│ distributed under the License is distributed on an "AS IS" BASIS, │
|
||||
│ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. │
|
||||
│ See the License for the specific language governing permissions and │
|
||||
│ limitations under the License. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/macros.h"
|
||||
|
||||
/ Phash tables for instruction length decoding.
|
||||
/ @see build/rle.py for more context here
|
||||
|
||||
.initbss 300,_init_x86tab
|
||||
xed_prefix_table_bit:
|
||||
|
|
2
third_party/xed/xed.mk
vendored
2
third_party/xed/xed.mk
vendored
|
@ -7,7 +7,7 @@
|
|||
#
|
||||
# DESCRIPTION
|
||||
#
|
||||
# See test/libc/x86ild_test.c for more information.
|
||||
# See test/libc/xed/x86ild_test.c for more information.
|
||||
|
||||
PKGS += THIRD_PARTY_XED
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue