Clean old .source directive out of asm code

This commit is contained in:
Justine Tunney 2022-03-18 12:43:21 -07:00
parent b149a9bcc4
commit 6c2fd9ecc6
269 changed files with 59 additions and 303 deletions

View file

@ -42,4 +42,3 @@ bsrmax: .leafprologue
2: add $64,%eax
jmp 1b
.endfn bsrmax,globl
.source __FILE__

View file

@ -127,4 +127,3 @@ cescapectab:
add $(8-.Lcescapectab.ro.size%8),%rsi
.endif
.init.end 300,_init_cescapec
.source __FILE__

View file

@ -39,4 +39,3 @@ cmpsb: .leafprologue
.Lneg1: .long -1
.endobj .Lneg1
.previous
.source __FILE__

View file

@ -42,4 +42,3 @@ cmpsl: .leafprologue
.Lneg1: .long -1
.endobj .Lneg1
.previous
.source __FILE__

View file

@ -39,4 +39,3 @@ cmpsq: .leafprologue
.Lneg1: .long -1
.endobj .Lneg1
.previous
.source __FILE__

View file

@ -39,4 +39,3 @@ cmpsw: .leafprologue
.Lneg1: .long -1
.endobj .Lneg1
.previous
.source __FILE__

View file

@ -39,4 +39,3 @@ cmpub: .leafprologue
.Lneg1: .long -1
.endobj .Lneg1
.previous
.source __FILE__

View file

@ -39,4 +39,3 @@ cmpul: .leafprologue
.Lneg1: .long -1
.endobj .Lneg1
.previous
.source __FILE__

View file

@ -39,4 +39,3 @@ cmpuq: .leafprologue
.Lneg1: .long -1
.endobj .Lneg1
.previous
.source __FILE__

View file

@ -39,4 +39,3 @@ cmpuw: .leafprologue
.Lneg1: .long -1
.endobj .Lneg1
.previous
.source __FILE__

View file

@ -138,7 +138,6 @@ crc32_pclmul:
shr $32,%rax
.leafepilogue
.endfn crc32_pclmul,globl,hidden
.source __FILE__
// Definitions of the bit-reflected domain constants k1,k2,k3, etc.
// and the CRC32+Barrett polynomials given at the end of the paper.

View file

@ -67,4 +67,3 @@ crc32init:
leave
ret
.endfn crc32init,globl
.source __FILE__

View file

@ -28,4 +28,3 @@ div1000000000int64:
jmp tinydivsi
.globl tinydivsi
.endfn div1000000000int64,globl
.source __FILE__

View file

@ -27,4 +27,3 @@ div1000000int64:
movabs $0x431bde82d7b634db,%rdx
jmp tinydivsi
.endfn div1000000int64,globl
.source __FILE__

View file

@ -27,4 +27,3 @@ div10000int64:
movabs $0x346dc5d63886594b,%rdx
jmp tinydivsi
.endfn div10000int64,globl
.source __FILE__

View file

@ -27,4 +27,3 @@ div1000int64:
movabs $0x20c49ba5e353f7cf,%rdx
jmp tinydivsi
.endfn div1000int64,globl
.source __FILE__

View file

@ -32,4 +32,3 @@ div100int64:
sub %rdi,%rax
ret
.endfn div100int64,globl
.source __FILE__

View file

@ -27,4 +27,3 @@ div10int64:
movabs $0x6666666666666667,%rdx
jmp tinydivsi
.endfn div10int64,globl
.source __FILE__

View file

@ -1,5 +1,4 @@
#include "libc/macros.internal.h"
.source __FILE__
// D.J. Bernstein's outrageously fast integer sorting algorithm.
//

View file

@ -30,4 +30,3 @@ environ:
.init.start 300,_init_environ
mov %r14,environ(%rip)
.init.end 300,_init_environ
.source __FILE__

View file

@ -18,7 +18,6 @@
*/
#include "libc/macros.internal.h"
.real
.source __FILE__
.code16 # .code32 .code64
// Function entry hook stub.

View file

@ -42,4 +42,3 @@ ffs: .leafprologue
inc %eax
.leafepilogue
.endfn ffs,globl
.source __FILE__

View file

@ -43,4 +43,3 @@ ffsl: .leafprologue
.leafepilogue
.endfn ffsl,globl
.alias ffsl,ffsll
.source __FILE__

View file

@ -58,7 +58,6 @@ __gc: decq __garbage(%rip)
ret
9: hlt
.endfn __gc,globl,hidden
.source __FILE__
.bss
.align 8

View file

@ -25,4 +25,3 @@ identity:
mov %rdi,%rax
ret
.endfn identity,globl
.source __FILE__

View file

@ -36,4 +36,3 @@ imapxlatab:
.loop 1b
.leafepilogue
.endfn imapxlatab,globl,hidden
.source __FILE__

View file

@ -43,4 +43,3 @@ kBase36:.zero 256
.loop 0b
add $255-'Z',%rdi
.init.end 300,_init_kBase36
.source __FILE__

View file

@ -19,7 +19,6 @@
#include "libc/macros.internal.h"
.rodata
.align 16
.source __FILE__
// ibm cp437 unicode table w/ string literal safety
//

View file

@ -84,4 +84,3 @@ kCpuids:.long 0,0,0,0 # EAX=0 (Basic Processor Info)
#endif
5: pop %rbx
.init.end 201,_init_kCpuids
.source __FILE__

View file

@ -38,4 +38,3 @@ kCrc32cTab:
call crc32init
pop %rsi
.init.end 300,_init_kCrc32cTab
.source __FILE__

View file

@ -60,4 +60,3 @@ kHalfCache3:
4: shr %eax
stosq
.init.end 202,_init_kHalfCache3
.source __FILE__

View file

@ -86,4 +86,3 @@ kReverseBits:
.byte 0b00111111,0b10111111,0b01111111,0b11111111
.endobj kReverseBits,globl
.previous
.source __FILE__

View file

@ -75,4 +75,3 @@ htons: movzwl %di,%eax
.endfn htole16,globl
.endfn ntohs,globl
.endfn bswap_16,globl
.source __FILE__

View file

@ -18,7 +18,6 @@
*/
#include "libc/macros.internal.h"
.real
.source __FILE__
.code16 # .code32 .code64
// Function Profiling Hook.

View file

@ -46,4 +46,3 @@ memeqmask:
1: mov %rdi,%rax
.leafepilogue
.endfn memeqmask,globl
.source __FILE__

View file

@ -46,4 +46,3 @@ memjmpinit:
lodsq
.leafepilogue
.endfn memjmpinit,globl,hidden
.source __FILE__

View file

@ -60,4 +60,3 @@ memrchr:
lea (%rdi,%rcx),%rax
9: .leafepilogue
.endfn memrchr,globl
.source __FILE__

View file

@ -60,4 +60,3 @@ memrchr16:
lea (%rdi,%rcx,2),%rax
9: .leafepilogue
.endfn memrchr16,globl
.source __FILE__

View file

@ -60,4 +60,3 @@ wmemrchr:
lea (%rdi,%rcx,4),%rax
9: .leafepilogue
.endfn wmemrchr,globl
.source __FILE__

View file

@ -18,7 +18,6 @@
*/
#include "libc/macros.internal.h"
.real
.source __FILE__
.code16 # .code32 .code64
// Optional function stub.

View file

@ -55,4 +55,3 @@ __nt2sysv:
leave
ret
.endfn __nt2sysv,globl,hidden
.source __FILE__

View file

@ -29,4 +29,3 @@ program_invocation_name:
mov (%r13),%rax
stosq
.init.end 300,_init_program_invocation_name
.source __FILE__

View file

@ -36,4 +36,3 @@ rem1000000000int64:
mov %rdi,%rax
ret
.endfn rem1000000000int64,globl
.source __FILE__

View file

@ -36,4 +36,3 @@ rem1000000int64:
mov %rdi,%rax
ret
.endfn rem1000000int64,globl
.source __FILE__

View file

@ -36,4 +36,3 @@ rem10000int64:
mov %rdi,%rax
ret
.endfn rem10000int64,globl
.source __FILE__

View file

@ -36,4 +36,3 @@ rem1000int64:
mov %rdi,%rax
ret
.endfn rem1000int64,globl
.source __FILE__

View file

@ -36,4 +36,3 @@ rem100int64:
mov %rdi,%rax
ret
.endfn rem100int64,globl
.source __FILE__

View file

@ -37,4 +37,3 @@ rem10int64:
mov %rdi,%rax
ret
.endfn rem10int64,globl
.source __FILE__

View file

@ -37,4 +37,3 @@ rldecode:
jmp 0b
2: .leafepilogue
.endfn rldecode,globl
.source __FILE__

View file

@ -81,4 +81,3 @@ slowcall:
pop %rbp
ret
.endfn slowcall,globl
.source __FILE__

View file

@ -31,4 +31,3 @@ strcpyzbw:
pop %rax
.leafepilogue
.endfn strcpyzbw,globl
.source __FILE__

View file

@ -19,7 +19,6 @@
#include "libc/nexgen32e/x86feature.h"
#include "libc/nexgen32e/macros.h"
#include "libc/macros.internal.h"
.source __FILE__
// Returns length of NUL-terminated string w/ security blankets.
//

View file

@ -156,4 +156,3 @@ strsak16:
add %rcx,%rax
jmp .Lword
.endfn strsak16
.source __FILE__

View file

@ -179,4 +179,3 @@ wcssak: lea -4(%rdi),%rax
.endfn wcslen,globl
.endfn wcschr,globl
.endfn wcschrnul,globl
.source __FILE__

View file

@ -39,4 +39,3 @@ strstr_sse42:
4: xor %eax,%eax
5: .leafepilogue
.endfn strstr_sse42,globl,hidden
.source __FILE__

View file

@ -24,4 +24,3 @@
strstr16$sse42:
.strstr .Lequalorder16
.endfn strstr16$sse42,globl,hidden
.source __FILE__

View file

@ -39,4 +39,3 @@ tinydivsi:
sub %rdi,%rax
.leafepilogue
.endfn tinydivsi,globl
.source __FILE__

View file

@ -33,4 +33,3 @@ tinywcslen:
jmp 1b
2: .leafepilogue
.endfn tinywcslen,globl
.source __FILE__

View file

@ -36,4 +36,3 @@ tinywcsnlen:
jmp 1b
2: .leafepilogue
.endfn tinywcsnlen,globl
.source __FILE__