Skip to content

Instantly share code, notes, and snippets.

View quasilyte's full-sized avatar
🕵️

quasilyte quasilyte

🕵️
View GitHub Profile
$GOROOT/src/net/http/socks_bundle.go:106:3: append-combine: can combine chain of 2 appends into one
$GOROOT/src/cmd/vet/asmdecl.go:425:4: append-combine: can combine chain of 2 appends into one
$GOROOT/src/cmd/vet/asmdecl.go:430:3: append-combine: can combine chain of 2 appends into one
$GOROOT/src/cmd/vet/asmdecl.go:434:3: append-combine: can combine chain of 2 appends into one
$GOROOT/src/cmd/vet/asmdecl.go:438:3: append-combine: can combine chain of 3 appends into one
$GOROOT/src/cmd/vet/asmdecl.go:443:3: append-combine: can combine chain of 2 appends into one
$GOROOT/src/cmd/vet/asmdecl.go:448:3: append-combine: can combine chain of 2 appends into one
$GOROOT/src/cmd/dist/test.go:605:3: append-combine: can combine chain of 2 appends into one
$GOROOT/src/cmd/dist/test.go:674:4: append-combine: can combine chain of 2 appends into one
$GOROOT/src/net/dnsclient.go:30:3: append-combine: can combine chain of 4 appends into one
xed conventional filename
AVX512BW_128 AVX512BW+AVX512VL avx512bw
AVX512BW_128N AVX512BW+AVX512VL avx512bw
AVX512BW_256 AVX512BW+AVX512VL avx512bw
AVX512BW_512 AVX512BW avx512bw
AVX512BW_KOP AVX512BW avx512bw
AVX512CD_128 AVX512CD+AVX512VL avx512cd
AVX512CD_256 AVX512CD+AVX512VL avx512cd
AVX512CD_512 AVX512CD avx512cd
AVX512DQ_128 AVX512DQ+AVX512VL avx512dq

Given this data.txt file that includes all encodings from new end2end tests:

c5f970ffb1
c4e37bf010ff
c4e3fbf010ff
c5f970d1ff
c5fd70d1ff
c5fa70d1ff
c5fe70d1ff
c5fb70d1ff
benchmark speedup%
image/color/YCbCrToRGB/0 100
math/cmplx/Conj 100
image/color/YCbCrToRGB/255 100
image/color/RGBToYCbCr/0 100
image/color/RGBToYCbCr/Cb 100
image/color/RGBToYCbCr/Cr 100
image/color/YCbCrToRGB/128 100
image/color/NYCbCrAToRGBA/255 95
image/color/NYCbCrAToRGBA/0 94
@quasilyte
quasilyte / nop.csv
Last active November 7, 2022 19:10
opcode encoding mode32 mode64 cpuid tags rw_actions multisize datasize
NOP 90+rd V V operand32,operand64 Y
NOP 90+rw V V operand16,operand64 Y
NOP F3 90+rd V V operand32 Y
NOP F3 90+rw V V operand16 Y
NOP r/m32 0F 18 /4 V V operand32 r Y 32
NOP r/m32 0F 18 /5 V V operand32 r Y 32
NOP r/m32 0F 18 /6 V V operand32 r Y 32
NOP r/m32 0F 18 /7 V V operand32 r Y 32
NOP r/m32, r32 0F 19 /r V V operand32 r,r Y 32
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; File name: ` ~/.emacs '
;;; ---------------------
;;;
;;; If you need your own personal ~/.emacs
;;; please make a copy of this file
;;; an placein your changes and/or extension.
;;;
;;; Copyright (c) 1997-2002 SuSE Gmbh Nuernberg, Germany.
;;;
@quasilyte
quasilyte / emacs
Created July 27, 2017 07:04
dot emacs dot el -- summer 2017
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; File name: ` ~/.emacs '
;;; ---------------------
;;;
;;; If you need your own personal ~/.emacs
;;; please make a copy of this file
;;; an placein your changes and/or extension.
;;;
;;; Copyright (c) 1997-2002 SuSE Gmbh Nuernberg, Germany.
;;;
/*
COPIED FROM MUSL
http://git.musl-libc.org/cgit/musl/tree/src/string/memset.c
*/
#include <string.h>
#include <stdint.h>
void *memset(void *dest, int c, size_t n)
{
// source
z = 100
x = 4
y = 10
x = x + y
z = z + y
// stack based:
push 100
push 10
get(key): {
container[key]
}
lazy_get(key): {
IF ({container[key].has_key?} '@lazyLoader') @then {
({container[key]['@lazyLoader']})
BECOME get
}